Go to: Synopsis. Flags. Return value. Related. MEL examples.

Synopsis

intersect [-constructionHistory boolean] [-curveOnSurface boolean] [-curveOnSurface boolean] [-firstSurface boolean] [-name string] [-object boolean] [-polygon int] [-range boolean] [-rebuild boolean] [-replaceOriginal boolean] [-tolerance linear] [surface1] [surface2]

intersect is undoable, queryable, and editable.

The intersect command creates a curve on surface where all surfaces intersect with each other. By default, the curve on surface is created for both surfaces. However, by using the -fs flag, only the first surface will have a curve on surface. Also, the intersection curve can be created as a 3D curve rather than a curve on surface.

Flags

constructionHistory, curveOnSurface, curveOnSurface, firstSurface, name, object, polygon, range, rebuild, replaceOriginal, tolerance
Long name (short name) [argument types] Properties
-tolerance(-tol) linear queryedit
Tolerance to fit to.
Default: 0.01

In query mode, this flag needs a value.

-name(-n) string create
Name the resulting object
-constructionHistory(-ch) boolean create
Turn the construction history on or off (not available in all commands)
-object(-o) boolean create
Create the result, or just the dependency node (not available in all commands)
-replaceOriginal(-rpo) boolean create
Create "in place" (i.e., replace) (not available in all commands)
-curveOnSurface(-cos) boolean create
If possible, create 2D curve as a result (not available in all commands)
-polygon(-po) int create
The value of this argument controls the type of the object created by this operation (not available in all commands)
  • 0: nurbs surface
  • 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)
  • 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)
  • 3: Bezier surface
  • 4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)
-range(-rn) boolean create
Force a curve range on complete input curve (not available in all commands)
-rebuild(-rb) boolean create
Rebuild the input curve(s) before using them in the operation. Use nurbsCurveRebuildPref to set the parameters for the conversion. (not available in all commands)
-firstSurface(-fs) boolean queryedit
creates a curve-on-surface on the first surface only or on all surfaces (default)

In query mode, this flag needs a value.

-curveOnSurface(-cos) boolean queryedit
set option to create curve-on-surface as a 3D curve only or as a curve-on-surface (default)

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


[string[]] (object name and node name)

Related

curveOnSurface, duplicateCurve, projectCurve

MEL examples

// Intersect the two active surfaces and create the resulting curve on
// surface as a 3D curve (note: only one 3D curve is created for each
// pair of intersecting surfaces):
intersect -cos no;

// Intersect the nurbs sphere and nurbs plane, creating a curve-on-surface
// on each surface:
intersect -fs no nurbsSphere1 nurbsPlane1;