samo

hi,

is it possible to change the normals of a curve and feed it back to a curveShape?.

changing the normals with the point node is working but how do you feed that back to the maya native curveShape?

thanks

Reply 0 0
pshipkov

NurbsCurves in Maya don't have the notion of a "normal".

We can create this information as a side cart, but Maya's native tools are blind for it.

Reply 0 0
samo

and do you have an idea how the nurbs extrude with a path is doing it thing?

cause it seems to somehow following the normal of the curve points 

Reply 0 0
pshipkov
It is a transient data only that exists during extrusion - it is inside the extrude operator, but not in the NurbsCurve primitive.
Reply 0 0
samo

(i see, this maya curves shape really need an overhaul)

and i guess it's not possible to modify this data with soup before going to the extrude node?

Reply 0 0
pshipkov

No, not really.

Not in front of Maya, but if the NurbsCurves don't store "normals" and the extrude node does not auxiliary input to supply normal vectors - then you are out of luck. Unless code your own extrude operator.

There are things in the design of many DG nodes and the data structures of Maya that make me wonder ... :)

Reply 0 0
samo
yeah i'm probably better off bringing some houdini nodes with the engine to deal with this.
Reply 0 0
pshipkov
Could be a good solution.
Can you share what you are after ?
Reply 0 0
samo

basically the typical extrude with a linear curve, the top one is the maya native extrude, not homogeneous. 

the bottom one is a python node doing the extrusion as expected keeping the same width.

but in this python node you can't have custom shapes, also both will suffer from some from of distortion if you start to move the curve points et a 3d fashion.

So the goal was to have some control on the banking of the generated shape, or something like an aiming direction with another curve        

maya_2020-08-18_03-18-17.jpg 

Reply 0 0
ytsejam
You can force the normal(if they are or if with can call they normal or more convinced Curvature) by create a curve on surface. This is the only way i know where the curve take orientation. This is more automotive modeling workflow where i'm working on.
Reply 0 0
noizfactory
It’s been a while since I used it but you could try using a paint effects stroke on your curve, adjust the brush settings and then probably use that with the SOuP nodes to extract the required information. I remember doing the same years ago to get objects fo instantiate on curve points and orient according to the curve normals/tangents, etc.
Reply 0 0
pshipkov
Ah, good point. I know what you mean here :)
Reply 0 0
Reply