Skip to content

Runtime error in edge.py #26

Description

@bimworld

I get a runtime error calling the is_line function in Utils' edge.py

b = BRepPrimAPI_MakeBox(10, 20, 30).Shape()
t = Topo(b)
ed = next(t.edges())
my_e = Edge(ed)
print(my_e.is_line())

return self.adaptor.NbKnots()
RuntimeError: Standard_NoSuchObject
GeomAdaptor_Curve::NbKnots
wrapper details:

  • symname: Adaptor3d_Curve_NbKnots
  • wrapname: _wrap_Adaptor3d_Curve_NbKnots
  • fulldecl: Standard_Integer Adaptor3d_Curve::NbKnots()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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