[Closed] splineOps.divide Question
Hi guys, i just want to divide a spline in four segments but maxscript don´t let my specify the amount of divisions. If i write for example “splineOps.divide $mySpline” it´ll divide it always by 2, is there any way i can tell it to divide the shape by n segmets?. I notice if i did it manually first, and then use the same command “splineOps.divide $mySpline” Max will divide it by the last amount of segments its written on the spinner Divide at spline segment level, so how can access it by script?. Another solution would be to position helpers where i want to be a divition and re create the spline putting a knot at those helpers.positions, but i want to avoid this, i´ll really appreciate your help!, thanks!
Yeah, I would be interested in this too.
I ended up using the Normalize Spline modifier to fix issues I was having, but if you need to have a certain amount, this isnt going to work so well.
Thanks Ruramuq!, i miss this in the help, it works perfectly!
Ex. subdivideSegment $splineName 1 1 5
[left]subdivideSegment <splineShape> <spline_index> <seg_index> <divisions>
[/left]
[left]Divides the segment into the specified number of divisions. Double precision calculations, very accurate.
[/left]