Skip to content

BRepTools, read a brep file #43

@JoseGR-C

Description

@JoseGR-C

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions