Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
opMoveCurveBoundary is simply not working right

I have this code which literally makes a point on the curve i want to trim:
but I get this error:
Unless … the parameter for the point is more than 0.5.
Debug shows the point is where I think it is, at the base of the arrow.
parameter 0.28:
Parameter 0.68:
in addition, helpPoint has absolutely no effect on which side of the curve is removed, nor does flipHeuristics … some of the time.
I am using either one of the endpoints of the curve for helpPoint during testing.
is there any reliable, rational way to simply trim the end off of a curve, which actually behaves the way it should?
Comments
Not sure what you've go going in the rest of your code but this https://cad.onshape.com/documents/5584072770c128de9993fa51/w/086ef47d24fc743b535b55de/e/6fad78c66bcee37c2743aad1 is stable. The help point is a bit moot but is included as it does work. The flipper also works…
@GregBrown, thank you. I rewrote that potion from scratch and now it does work. This is for my EZWire that I've been obsessing over for a few weeks now. Almost 1000 lines of code is big for me. Your "definition.whichPoint" is in there. A different approach from RoutingCurve.