Skip to content

Error make Edge from Bspline #149

Answered by donalffons
oppakun asked this question in Q&A
Discussion options

You must be logged in to vote

Without having tried that myself, but maybe this works?

let edge = new oc.BRepBuilderAPI_MakeEdge_24(new oc.Handle_Geom_Curve_2(geomCurveHandle.get())).Edge();

It's impossible to allow all implicit conversions implemented in OCCT from JavaScript, so sometimes you have to be very explicit in your JS code.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oppakun
Comment options

Answer selected by oppakun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants