The Carve SOP works with any face or surface type, be that polygon, Bzier, or NURBS. It can be used to slice a primitive, cut it into multiple sections, or extract points or cross-sections from it.
Like the Project SOP, it also creates profile curves, but they are extracted as iso-parametric (2D) profiles directly from a surface, whereas the Project SOP extracts a 3D curve projected onto a surface.
Note: When using a Carve SOP on a trimmed surface, you can't fillet or join the trim curves.
- 1 Summary
- 2 Parameters - Page
- 3 Parameters - Divisions Page
- 4 Parameters - Breakpoints Page
- 5 Parameters - Cut Page
- 6 Parameters - Extract Page
- 7 Example
- 8 Operator Inputs
Parameters - Page
group - If there are input groups, specifying a group name in this field will cause this SOP to act only upon the Group specified. Accepts patterns, as described in the Scripting Guide under Pattern Matching.
firstu - This specifies a starting location to begin the cut/extract. Select this and a parametric U location between 0 and 1.
secondu - This specifies an ending location to complete the cut / extract. Select this and a parametric U location between 0 and 1.
firstv - This specifies a starting location to begin the cut/extract. Select this and a parametric V location between 0 and 1. Applies only to surfaces.
secondv - This specifies an ending location to complete the cut / extract. Select this and a parametric V location between 0 and 1. Applies only to surfaces.
Parameters - Divisions Page
divsu - This specifies the number of cuts / extracts to be performed between first U and the second U.
divsv - Specifies the number of cuts/extracts to be performed between first V and second V.
Parameters - Breakpoints Page
Performs cutting or extractions at breakpoints for curves and surfaces, at vertices for polygons, and along isoparms for meshes.
By default the Only At Breakpoints option will only cut the outer breakpoints within the specified interval. By enabling Only At Breakpoints, the U and V divisions parameters are replaced with Cut At All Internal U/V Breakpoints, which cut the primitives at all breakpoints falling within the specified interval when enabled.
Cut at All Internal U Breakpoints
Cut at All Internal V Breakpoints
Parameters - Cut Page
If enabled, it will split the primitives at the locations specified above, creating an array of distinct smaller primitives.
keepin - Keep the primitives specified between the first and second locations.
keepout - Keep the primitives lying outside the first and second locations.
Parameters - Extract Page
extractop - ⊞ - If enabled, it will extract a cross-section along each location specified above.
Note: if a face is used, only points can be extracted and the V parameters have no effect.
- Extract 3D Isoparametric Curve(s)
xisoparm- The extraction operation creates a 3-D, free-floating curve that matches the surface perfectly at the given U or V location.
- Extract Point(s)
xpoint- Available for Mesh and surfaces only. If selected, it will create a point at every U, V location specified, rather than removing a U cross section and a V cross section.
- Extract 2D Isoparametric Profile(s)
xprofile- Creates a 2D curve at the specified U/V location that matches the surface perfectly.
keeporiginal - If selected, it will not remove the original primitive.
Opening a Closed Primitive
Given a closed surface, it can be converted to an identical open surface at any location by using the Carve SOP, and cutting at a single location (e.g. First U enabled, Second U disabled). The same is true for faces.
Dicing a Face or Surface
Select the Cut operation, First U =
0, Second U =
1, First V =
0, Second V =
1, with (at least) three Divisions for U and V. This will dice the surface into (at least) 3 components. This can later be used with the Primitive SOP to "explode" the surface.
Cutting a Hole in a Surface
Select the Cut operation, First U =
0.33, Second U =
0.66, First V =
0.33, Second V =
2 Divisions for U and V. Keep Inside is off, Keep Outside is on. This will cut a rectangular region from the centre of the surface.
Animating a Point Over a Face or Surface
Select the Extract option, First U =
x, Last U disabled, First V =
y, Last V disabled, Extract Point is on, Keep Primitives is optional. This will create a point over any position on the surface (0<=x<=1, 0<=y<=1).
- Input 0 -
|• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •|
An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.
Each SOP has a list of Points. Each point has an XYZ 3D position value plus other optional attributes. Each polygon Primitive is defined by a vertex list, which is list of point numbers.