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

Runtime error in edge.py #26

Open
bimworld opened this issue Feb 23, 2021 · 0 comments
Open

Runtime error in edge.py #26

bimworld opened this issue Feb 23, 2021 · 0 comments

Comments

@bimworld
Copy link

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()
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