Notifications
Clear all
[Closed] NURBS Curve – Make fit (Smooth) using MaxScript?
Sep 29, 2017 1:11 pm
I am looking for a way to make CV curve smooth. I have simple curve, in modify panel there is a command “Make fit”
but macro recorder does not cover that.
select $Curve001
subobjectLevel = 2
modPanel.setCurrentObject $.baseObject
deselect $.baseObject.curves
select $.baseObject.curves[]
I got to this point, also couldn’t find anything in online doc.
Or, if there is some other way to make CV curve smooth using MaxScript, to have this result?
If there is not a way for nurbs, is there an example script for a Line, that would make it smooth?
2 Replies
Sep 29, 2017 1:11 pm
I know nothing about nurbs, but perhaps this can help you to refine a selected CV Curve:
s = getnurbsset $ #relational -- s holds the nurb
obj = getobject s 1 -- you get the first object if it's an isolated CV Curve.
step = 1.0/20 -- refine with 20 CV points
for i = step to (1.0-step) by step do refine obj i