Skip to content

Export an airplane as STEP or, if possible, STL #106

Answered by peterdsharpe
chiefenne asked this question in Q&A
Discussion options

You must be logged in to vote

Hmmm, interesting!

For the STL case, an immediate workaround is to instead bypass CadQuery and use the alternate PyVista API:

plotter = airplane.draw(backend="pyvista", show=False)
plotter.save("airplane.stl")

However, in general I think STEP files are more useful than STLs for supporting ongoing engineering, so I'd like to figure out what's causing the bug you're seeing with STEP export.

Can you send a self-contained minimum reproducible example of this bug (both code and traceback) along with your versions of AeroSandbox, cadquery, NumPy, and Python?

Thank you!

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by chiefenne
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@peterdsharpe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants