Argument type of cadquery.occ_impl.shapes.Solid.makeSolid
#1505
Labels
question
Further information is requested
cadquery.occ_impl.shapes.Solid.makeSolid
#1505
I'm calling
cadquery.occ_impl.shapes.Solid.makeSolid
with acadquery.occ_impl.shapes.Shell
object.The body of this function is the one-liner
My problem is that
SolidFromShell
complains that it wants anOCP.TopoDS.TopoDS_Shell
object as a parameter.shell.wrapped
however contains anOCP.TopoDS.TopoDS_Compound
:Naïvely I'd assume that wrapping a shell returns, well, the appropriate shell object.
Is that a bug? if not how do I call this correctly?
My usecase is importing an STL mesh, using the script at https://github.com/JustinSDK/cqMore/blob/main/examples/import_stl.py – if there's another / better / less-buggy way of doing this I'm all ears.
The text was updated successfully, but these errors were encountered: