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

Is BRepBuilderAPI_MakeEdge from GC_MakeArcOfCircle not working? #126

Open
womaas opened this issue Dec 17, 2021 · 1 comment
Open

Is BRepBuilderAPI_MakeEdge from GC_MakeArcOfCircle not working? #126

womaas opened this issue Dec 17, 2021 · 1 comment

Comments

@womaas
Copy link

womaas commented Dec 17, 2021

Hi. I am trying to create an edge from an arc:

let arc_curve = new oc.GC_MakeArcOfCircle(p1, p2, p3).Value();
let arc1 = new oc.BRepBuilderAPI_MakeEdge(arc_curve).Edge();

sceneShapes.push(arc1);

but I get the error:

Line 12511002: RuntimeError: indirect call to null
Line 18: uncaught exception: There were no scene shapes returned!

Everything works for an edge from a line (GC_MakeSegment) .

@womaas
Copy link
Author

womaas commented Dec 17, 2021

It looks like the problem was related to the inability to build an arc through the provided points. With suitable points everything is ok.

But the error message was not informative. Is it the same in the C ++ version?

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