Page 1 of 1

projecting surfaces onto surfaces

Posted: Fri Nov 16, 2007 12:07 pm
by deadalvs
hello there.

i have a complicated problem. i am working on a tool for volume calculations in maya and for a script part i need an algorithm to vertically project a closed curve or surface onto a series of nurbs planes and get the resulting surfaces INSIDE that area as nurbs shells or a triangle mesh.

the problem i have is that there's no maya command to project surfaces onto surfaces and i need the info if the surfaces that the area is projected onto lies INSIDE or not of the area.

when projecting curves onto a surface one can get either a result or not, depending if a projection curve results, but this alone does not say anything about inside or outside. (i have a solution for shell parts of surfaces that actually are valid to get the inside part by a second projection with an offset of the curve to determine the inner part, but really nothing for non-projected surfaces that lie totally inside the perimeter)

is there any command available that would help me ?

thanks a lot for any hint !

Posted: Wed Nov 21, 2007 11:36 am
by deadalvs
well... i have found a way to script it but for this i need an other solution:

how can i get the UV-Position of the surface of any cv of a projected curve ?

more detailed what i need:
1) i project a curve
2) i select any one of the cvs of that projected curve
3) i want to get the UV coordinates of the «underlying» projection surface.

any idea ? any ?

Posted: Wed Nov 21, 2007 10:03 pm
by deadalvs
it works now all.

if anyone is interested in the algorithm, just PM me.

any closed curve produces a correctly trimmed INSIDE-nurbsShell from the surface onto which the curve has been vertically projected.

hail !

8) 8) 8)