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.
Get Edge/Curve Parameters?
S1mon
Member Posts: 2,901 PRO
Unless I'm missing something, it seems it's currently not possible with FeatureScript to extract the control points, knots, weights, etc. of an existing edge or curve. It really seems like a fundamental problem. Is this on the roadmap?
I do see opSplineThroughEdges in the documentation, but it sounds like it's approximating whatever edge(s) it's given. What is the intended use of this function?
I do see opSplineThroughEdges in the documentation, but it sounds like it's approximating whatever edge(s) it's given. What is the intended use of this function?
Tagged:
0
Comments
https://forum.onshape.com/discussion/17598/improvements-to-onshape-january-31st-2022
FEATURESCRIPT EVALUATION IMPROVEMENTS
In this release, evSurfaceDefinition and evCurveDefinition now return b-spline surfaces and curves respectively. There is also a new function named evApproximateBSplineCurve that will approximate any curve as a b-spline. Both of these updates give you more flexibility in capturing existing geometry for use in Custom Features.