Abaqus Export Skill
Export geometry and results from Abaqus to external formats for 3D printing, CAD exchange, data analysis, or archival.
When to Use This Skill
Route here when user mentions:
- "Export to STL" / "Convert to STL" / "3D printing"
- "Save as STEP" / "Export to CAD"
- "Generate input file" / "Write INP"
- "Export results to CSV" / "Export to Excel"
- "Save the mesh" / "Extract mesh data"
- "Export deformed shape" / "Export topology result"
Route elsewhere:
- Reading ODB results →
/abaqus-odb
- Importing CAD files →
/abaqus-geometry
- Running analysis →
/abaqus-job
Key Decisions
What Format to Use?
| Need |
Format |
Requires |
| 3D printing |
STL (double precision) |
Meshed part |
| CAD exchange |
STEP |
Part geometry |
| Legacy CAD |
IGES |
Part geometry |
| Data analysis |
CSV |
ODB file |
| Archive/HPC |
INP |
Complete model |
| Reports/images |
PNG/SVG |
GUI session |
What to Export?
| Source |
Available Formats |
| Part geometry |
STL, STEP, IGES, SAT |
| Assembly |
STL, SAT |
| Mesh data |
CSV (nodes, elements) |
| Results (U, S, RF) |
CSV |
| Time history |
CSV |
| Model definition |
INP |
| Topology result |
STL (with density threshold) |
What to Ask User
If unclear, ask:
- What format? STL, STEP, CSV, INP?
- What to export? Geometry, mesh, or results?
- Which parts/steps? Specific part name, all parts, specific time step?
- For TO results: What density threshold? (0.3-0.5 typical)
Workflow
Exporting Geometry (STL/STEP/IGES)
- Identify the part - Get part name from model
- Check if meshed - STL requires mesh; STEP works on geometry
- Call export method - Use appropriate API call
- Verify output - Check file was created
Exporting Results to CSV
- Open the ODB - Use
openOdb() with readOnly=True
- Navigate to frame - Find correct step and frame (typically last)
- Extract field output - U (displacement), S (stress), etc.
- Write CSV - Loop through values, write rows
- Close ODB - Always close when done
Generating Input File
- Create job object - Job needs model name
- Call writeInput() - Creates
JobName.inp
- Verify INP created - Check file exists
Exporting TO Result
- Locate TO ODB - Usually
Optimization/TOSCA_POST/Optimization.odb
- Set density threshold - 0.3-0.5 typical (lower = more material)
- Export STL - Use session method or GUI
Troubleshooting
| Problem |
Cause |
Solution |
| "Cannot write STL - no mesh" |
Part not meshed |
Mesh part first |
| "STEP export failed" |
Invalid geometry |
Try IGES or SAT |
| Large STL file |
Fine mesh |
Coarsen mesh for viz |
| Permission denied |
File open elsewhere |
Close file first |
| Image export fails |
noGUI mode |
Run with GUI |
Code Patterns
For API syntax and code examples, see:
- API Quick Reference
- Common Patterns
- Troubleshooting Guide
1---2name: abaqus-export3description: Export Abaqus geometry and results. Use when user mentions exporting to STL, STEP, CSV, or generating input files for external use.4---56# Abaqus Export Skill78Export geometry and results from Abaqus to external formats for 3D printing, CAD exchange, data analysis, or archival.910## When to Use This Skill1112**Route here when user mentions:**13- "Export to STL" / "Convert to STL" / "3D printing"14- "Save as STEP" / "Export to CAD"15- "Generate input file" / "Write INP"16- "Export results to CSV" / "Export to Excel"17- "Save the mesh" / "Extract mesh data"18- "Export deformed shape" / "Export topology result"1920**Route elsewhere:**21- Reading ODB results → `/abaqus-odb`22- Importing CAD files → `/abaqus-geometry`23- Running analysis → `/abaqus-job`2425## Key Decisions2627### What Format to Use?2829| Need | Format | Requires |30|------|--------|----------|31| 3D printing | STL (double precision) | Meshed part |32| CAD exchange | STEP | Part geometry |33| Legacy CAD | IGES | Part geometry |34| Data analysis | CSV | ODB file |35| Archive/HPC | INP | Complete model |36| Reports/images | PNG/SVG | GUI session |3738### What to Export?3940| Source | Available Formats |41|--------|------------------|42| Part geometry | STL, STEP, IGES, SAT |43| Assembly | STL, SAT |44| Mesh data | CSV (nodes, elements) |45| Results (U, S, RF) | CSV |46| Time history | CSV |47| Model definition | INP |48| Topology result | STL (with density threshold) |4950## What to Ask User5152If unclear, ask:531. **What format?** STL, STEP, CSV, INP?542. **What to export?** Geometry, mesh, or results?553. **Which parts/steps?** Specific part name, all parts, specific time step?564. **For TO results:** What density threshold? (0.3-0.5 typical)5758## Workflow5960### Exporting Geometry (STL/STEP/IGES)61621. **Identify the part** - Get part name from model632. **Check if meshed** - STL requires mesh; STEP works on geometry643. **Call export method** - Use appropriate API call654. **Verify output** - Check file was created6667### Exporting Results to CSV68691. **Open the ODB** - Use `openOdb()` with `readOnly=True`702. **Navigate to frame** - Find correct step and frame (typically last)713. **Extract field output** - U (displacement), S (stress), etc.724. **Write CSV** - Loop through values, write rows735. **Close ODB** - Always close when done7475### Generating Input File76771. **Create job object** - Job needs model name782. **Call writeInput()** - Creates `JobName.inp`793. **Verify INP created** - Check file exists8081### Exporting TO Result82831. **Locate TO ODB** - Usually `Optimization/TOSCA_POST/Optimization.odb`842. **Set density threshold** - 0.3-0.5 typical (lower = more material)853. **Export STL** - Use session method or GUI8687## Troubleshooting8889| Problem | Cause | Solution |90|---------|-------|----------|91| "Cannot write STL - no mesh" | Part not meshed | Mesh part first |92| "STEP export failed" | Invalid geometry | Try IGES or SAT |93| Large STL file | Fine mesh | Coarsen mesh for viz |94| Permission denied | File open elsewhere | Close file first |95| Image export fails | noGUI mode | Run with GUI |9697## Code Patterns9899For API syntax and code examples, see:100- [API Quick Reference](references/api-quick-ref.md)101- [Common Patterns](references/common-patterns.md)102- [Troubleshooting Guide](references/troubleshooting.md)