PDA

View Full Version : Shape knot normal


peliosis
12-23-2006, 12:40 PM
I cant find any "normal" or "orientation" or "vector" property and method for shapes.
I need to control a spline orientation on per knot basis (for example to make a tape with sweep modifier, and twist it here and there). How to achieve that?

Zbuffer
12-23-2006, 03:17 PM
Hi

Look for
setKnotPoint, setInVec, setOutVec
in MaxScript Help

peliosis
12-23-2006, 11:17 PM
Yes, I know that, but actually it controls only bezier handles, not the normal.
There have to be a normal, cince something has to control eg. dir. of extrusion of this curve or up vector of path constrained object. Only how to access it?

rantomi
12-24-2006, 04:16 PM
how about taking a cross-product and deciding by yourself what the angle should be? or control the angle as attribute.

peliosis
12-26-2006, 01:18 PM
I would eagerly do, thats the point, but where to put that data?
For example I have an extruded spline, and an external array of upvectors or quaternion rotations or JUST angle of each knot around the spline (dont' know what works in max). Now where are these knot normals stored? How to apply them? The simplest example is sweep modifier. How to rotate section per knot? I don't think it is impossible...?

CGTalk Moderation
12-26-2006, 01:18 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.