Closed rianadon closed 1 year ago
Did you check if the TopoDS_Shape
returned by sewing.SewedShape()
is actually a Shell? You could do that by calling the ShapeType()
method and console.logging / inspecting the return value.
But yeah, this does sound like something is missing in the build... I will look into this at some point, but its probably going to take me a while to get to this.
Thank you! I think there's definitely something wrong on my end I did. I used another library wrapping OpenCascade.js to build the shape and it worked without errors.
I'll have to look more into specifically what was wrong about the process of turning the shell into the shape, but at least the library isn't the problem. You're probably right about sewing.SewedShape() returning something unexpected.
That said, your time is probably better spent elsewhere. Thank you for the help!
This project is some very incredible work! I'm impressed you've brought a whole cad platform to JavaScript.
I'm trying to build a solid object from a shell and have been encountering this error:
The code I'm using is (from Node.js)
I'm just starting to learn how to debug web assembly. But based on the stack trace, it looks like there might be some function used by
SolidFromShell
that's not working?I'm using the latest beta version of opencascade.js on npm.