|On this page|
The Project SOP creates profile curves (also known as trim curves or curves-on-surface) by projecting a 3D face onto a spline surface, much like a light casts a 2D shadow onto a 3D surface.
There are two projection methods: along a vector, or mapping the face directly onto the parametric space of the surface.
After a Project node you will often want to…
Use a Trim SOP to cut a hole in the projected surface (as shown above).
Use a Bridge SOP to skin the profile curve to another profile curve.
Use a Profile SOP to extract the curve on surface or remap its position.
Additional Operations for Profile Curves
To delete a projected curve, use a Delete SOP, and enter the profile number (e.g. 1.4 returns the fifth profile on the second primitive (counting starts at 0) ). You can visualize the number of the profiles by enabling the Profile Number icon in the Viewport Display options.
You can group the profile curves with a Group SOP. Do this by typing the profile numbers in the Pattern field. You can use all regular expressions.
When applying transformations to a profile in the Primitive SOP, you can only rotate about the Z axis because the projected curve is a planar curve that lives in the domain of the surface. Therefore it wouldn’t make any sense to allow rotations in X or Y for profiles.
Connect them into a Project op: Circle to Input1; Tube to Input2.
Append a Trim SOP to the Project node. It trims the surface according to the projection provided by the Project node. You need to append a Trim node to a Project node to get this trimming.
Turn on the template flags on the Circle and Tube nodes; make the Project op the display op.
The: Minimum Distance option is extremely useful, say in the following situation: You have a NURBS surface of a head, and you want to obtain a NURBS patch by projecting a hairline onto the head’s surface. You could:
Template the NURBS head.
Enable the "Snap to Template" option in the Model Editor (Snap options).
Draw a NURBS curve along the surface of the head where you want the hairline.
Then, with the Project op, you select the Minimum Distance option, and you have a profile curve with which you can trim the surface of the head to obtain the patch.
Thus having obtained a NURBS patch for the scalp, you could use it as the source, say for the Emit pop to grow a particle system in order to produce hair.
Subset of faces (NURBS,Bezier,polygons) to project.
Subset of spline surfaces to project on.
Ways of choosing projection order and sequencing:
All faces on each surface in sequence
In the given domain interval
All faces on each surface overlapping
In the given domain interval
One face per surface: Cycled
One face per surface, cycled until all surfaces have been traversed
Faces are projected along a 3D vector
Vector along which to project the faces: X, Y, Z, user-defined, or minimum distance to the surface
x,y,z components of projection vector
What side of the surface to project the face on:
On the first side encountered in either direction
On the last side encountered in either direction
Divisions Per Span
Number of 3D points evaluated in each span
Precision of ray-surface intersection
Precision of 2D fitting algorithm
Max UV Gap (%)
Percentage of domain to join 2 profiles
Spline order of resulting profile curve
Preserve Sharp Corners
Enable or disable fitting of sharp turns in curve
Use a very accurate, yet time consuming algorithm
Direct conversion of 3D CVs to domain points
Which of X,Y,Z must be mapped to the U parameter
Which of X,Y,Z must be mapped to the V parameter
Map Profile to Range
Constrain the profile to the domain range below:
Area of the unit U domain to be mapped on
Area of the unit V domain to be mapped on
Uniform or chord length based conversion
This example shows the Project SOP projecting a Circle onto a Tube geometry.
By projecting along a vector the Circle profile is attached to the tube. With the use of a Trim SOP the profile can then be used to cut holes in the Tube.
The following examples include this node.
This example shows how to create a trimmed NURBS or Bezier surface using the Convert SOP.
There are four examples contained that compare how a trimmed surface handles a texture.
Grid Surface a simple texture map on a grid.
Trimmed Circle Using the Trim SOP the conventional way of creating a trimmed surface using a Project SOP and a Trim SOP.
Trimmed Circle Using the Convert SOP creates a trimmed surface using a Convert SOP.
NURBS Surface Using the Convert SOP shows how a texture is parametrized over a surface that is not trimmed.
To get a better sense of the parameterization of the texture, turn on points and toggle between wireframe and shaded modes.
This is a demonstration of how the CurveClay SOP can create an embossed effect on nurbs or bezier geometry.
Two different methods of using the CurveClay SOP to imprint font onto a sphere are shown.
The first method uses a single projected profile, the second method uses two profiles.
This example demonstrates how to refine a curveclay geometry.
A letter "t" is projected onto a grid. The CurveClay SOP understands profile information and uses it to deform the surface geometry.
To get sharp edges on a curveclay, play with the Sharpness and Refinement parameters.
This contains two examples of how to use the Bridge SOP.
The first example illustrates how to use the Bridge SOP on projected and trimmed curves. The second illustrates how to use the Bridge SOP on two carved primitives.
Press Play to see an animated version of the Bridge over Two Carves.
This example shows how to use the Project SOP to create a profile on a surface.
The Profile SOP is then used to extract the profile from the surface or remap the profile on it. It also shows how the profile will animate with the surface or independent of it.