View Full Version : max normalize spline not accurate?
03-09-2011, 12:12 PM
Is max's normalize spline modifier broken? It's supposed to put knots at equal length along a spline. When I use it the knots aren't equally space. My system units are 1 unit = 0.05 meters and I want my knots at 4 meters so I set the normalize spline modifier's segment length to 80. It doesn't work, some are space 4.3 meters apart, some are less than 4. Is this a bug or do I have some setting wrong?
03-09-2011, 06:18 PM
out of interest what knot type are you using. I often get odd results when not using smooth knots.
03-10-2011, 03:41 AM
Just as your transforms can get screwed up when you non-uniformly scale a box, you can get weird normalize results from squashing/scaling your splines in weird ways...
Get rid of the modifier, Reset your Xforms, and try again. ;)
Let us know if that was the issue because I have run into this issue before and reseting the xforms always did the trick.
03-10-2011, 11:24 AM
I've tried line and curve with corner, smooth and bezier. Yep I've tried reseting xforms. I've tried straight lines and curved lines. I think it's just broken. Anyone have a script that would work?
03-10-2011, 11:39 AM
I may be able to write you something. what i wonder is how you would want it to behave. 90% of the time your going to get a remainder, also your hand placed knots are not going to be placed in the correct positions.
It would seem simplist to resample a new spline from your current one, and calculate the total number of whole segment possible, then leave the remainder either at the last segment, spread it out across the length of the spline or just leave it out totally.
This all said im not having your problem with the modifier myself. I wonder if your doing something wrong.
03-10-2011, 12:08 PM
I think it should leave the remainder at one end. It would be cool to have options for other things but i'll take what I can get.
I'll try at home tonight, maybe it's the setup here.
03-10-2011, 01:10 PM
give it a go, if it wont work ill see if i can do something
03-10-2011, 01:29 PM
I just tried it at home, same thing.
Create a spline with a few points using shift to make it straight (so that it's easy to measure). Throw a normalize spline modifier on it. Measure the knots with the measure tool and snapping.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.