Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BRepTools, read a brep file #43

Open
JoseGR-C opened this issue Nov 13, 2023 · 0 comments
Open

BRepTools, read a brep file #43

JoseGR-C opened this issue Nov 13, 2023 · 0 comments

Comments

@JoseGR-C
Copy link

Hello.
I'm doing some test in the java script wrapper and I'd like to open a brep file that I've created in the python wrapper. I can open it in python and CAD Assistant so i think that the file is ok.
In js I'm trying to:

      const stepShape = new oc.TopoDS_Shape();
      const builder = new oc.BRep_Builder();
      const reader = oc.BRepTools.Read_2(stepShape,"myShape.brep",new oc.BRep_Builder(),new oc.Message_ProgressRange_1());

But my stepShape always is empty. What I'm doing wrong?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant