Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
By "freehand" spline, I mean, not a primitive, like Star or Circle. So, any spline that is converted into an editable spline or imported from an EPS ou Illustrator file would be considered a "freehand" spline. My problem is that:
is_spline = bool(info & c4d.OBJECT_ISSPLINE)
will return True for ALL splines, wether they are parametric or editable splines. How can I differentiate between them?
Ok, found a solution. I checked for:
is_spline = spline.IsInstanceOf(c4d.Ospline)
And, if False, it is a parametric primitive.
Hello,
I just want to add that an example on how check a spline can be found in the BaseObject Manual.
best wishes, Sebastian