| name | cad-engineering-step-to-dxf |
| description | Sub-skill of cad-engineering: STEP to DXF (+2). |
| version | 1.0.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
STEP to DXF (+2)
STEP to DXF
from digitalmodel.agents.cad import FormatConverter
converter = FormatConverter()
result = converter.convert(
input_file="model.step",
output_file="drawing.dxf",
projection="front",
*See sub-skills for full details.*
```python
result = converter.convert(
input_file="drawing_2024.dwg",
output_file="drawing_2010.dwg",
target_version="2010"
)
Batch Format Conversion
from digitalmodel.agents.cad import BatchConverter
batch = BatchConverter()
results = batch.convert_directory(
input_directory="./step_files",
output_directory="./iges_files",
input_format="STEP",
*See sub-skills for full details.*