mol-3d-viewer

Convert SMILES strings or chemical names into 3D molecular models with SDF, PNG, and HTML outputs.

52|11|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/InternScience/ChemClaw --skill mol-3d-viewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mol-3d-viewer
Source: https://github.com/InternScience/ChemClaw/tree/main/skills/mol-3d-viewer
Command: npx skills add https://github.com/InternScience/ChemClaw --skill mol-3d-viewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdkit, requests, numpy, playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Converting SMILES strings or chemical names into tangible 3D molecular representations is time-consuming and error-prone when done manually, hindering rapid analysis and visualization.

Core Features & Use Cases

  • Convert SMILES or IUPAC names into optimized 3D coordinates suitable for visualization and downstream modeling.
  • Output standard formats (SDF, high-quality 3D render images, and interactive HTML viewers) for reporting, sharing, and web deployment.
  • Handle simple molecules and polymers, batch-process multiple inputs, and integrate with OPSIN for name-to-SMILES conversions.

Quick Start

Provide a SMILES string to generate a 3D visualization and export SDF, PNG, and HTML outputs.

Frequently Asked Questions about mol-3d-viewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a SMILES string to a 3D molecular model?

To convert SMILES strings to 3D molecular models, you provide the SMILES input to generate optimized 3D coordinates using RDKit. The process outputs interactive HTML viewers, SDF files, and high-quality PNG images for visualization and downstream analysis.

Can I generate 3D structures from IUPAC chemical names?

Yes, you can generate 3D structures from IUPAC chemical names by leveraging OPSIN for name-to-SMILES conversion. Once converted, the resulting SMILES string is processed by RDKit to produce fully structured 3D molecular models and interactive HTML outputs.

Does this approach support batch processing for multiple molecules and polymers?

This approach supports batch processing for multiple molecules and polymers by handling polymer SMILES and batch inputs. It generates 3D coordinates and exports SDF, PNG, and HTML artifacts for each structure, integrating error handling to manage processing failures.

What is the best way to export 3D molecule visualizations for web deployment?

The best way to export 3D molecule visualizations for web deployment is generating interactive HTML viewers rendered via 3Dmol.js. This method creates standalone HTML files from SMILES or chemical names, enabling quick sharing and web integration without external dependencies.

Do I need RDKit and OPSIN to optimize 3D molecule geometry from SMILES?

Yes, you need RDKit for 3D coordinate generation and geometry optimization, while OPSIN is required for converting chemical names to SMILES. These dependencies work together to transform text inputs into structured 3D molecular models and exportable SDF files.

What formats are available when exporting 3D molecular structures?

Available export formats for 3D molecular structures include SDF for structural data, PNG for high-quality render images, and HTML for interactive 3D visualization. These outputs are generated directly from SMILES strings or IUPAC names using RDKit.