- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm new to .NET Arx and now I have a question about how to convert a periodic spline to a non-periodic one. I would appreciate for any help here.
If we use spline command to create a spline in AutoCAD and close it, we will get a closed periodic spline (unclamped spline).
Spline can be represented by clamped format or unclamped format. The difference is the form of the knot vector. The clamped format will look like (0, 0, 0, 0, 1, 2, 3, 4, ... n, n, n, n). The unclamped format will look like (0, 1, 2, ..., n). Only unclamped format can be used to represent a periodic spline. So when we talk about periodic spline, it must be in unclamped format.
I used Spline.InsertKnot Method to insert three knots (value=0.0) and three knots (value=last existing knot value), but it did not work. Although the spline was converted into a non-periodic spline, the control points and knots were wrong.
Solved! Go to Solution.