CadQuery / CadQuery/cadquery

how to export DXF from Compund?

Open
#588 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

How to export dxf section from a compound's workplane?

`vals = []
for o in Ls.all(): vals.extend(o.vals())
for o in L.all(): vals.extend(o.vals())
compound_object = cq.Compound.makeCompound(vals)
# stl can be exported
compound_object.exportStl('Ls.stl')

#dxf cannot be exported
dxf = compound_object.Workplane("XY")
cq.exporters.export(dxf.section(),'Ls_section.dxf')`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.