how to change curvature of 3D spline using API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am using API to create sweep between 2 taps. In some case when taps are too close or with an angle, because the curvature in certain portion of the spline is too tight, the sweep will fail. As shown in picture, the sweep 1 is fine; but for the sweep 2, at the arrow pointed location, the curvature generated by default from Inventor is too tight, the sweep will fail. I am able to inquire the curvature information at all interpolated locations using "Geometry.evaluator.GetCurvature(guessParams, oDirections, oCurvatures)".
My question is : is it possible to CHANGE the curvature value at the sharp location using API (instead of I have to manually insert a point in the spline and maneuver with it) after I know its value is too high?
I ever tried set up of "oPartDoc.Sketch3DSettings.AutoBendRadius". Looks like it does nothing to the spline curvature.
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit