pymel.core.modeling.planarSrf

static modeling.planarSrf(*args, **kwargs)

This command computes a planar trimmed surface given planar boundary curves that form a closed region.

Flags:
Long name (short name) Argument Types Properties
caching (cch) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.
constructionHistory (ch) bool ../../../_images/create.gif
 
Turn the construction history on or off
degree (d) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
The degree of the resulting surface: 1 - linear, 3 - cubic Default:3
keepOutside (ko) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
If true, keep the regions outside the given curves. Default:false
name (n) unicode ../../../_images/create.gif
 
Name the resulting object
nodeState (nds) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Modifies the node state. See the node documentation for more information. Note:For advanced users only. Common flags
object (o) bool ../../../_images/create.gif
 
Create the result, or just the dependency node
polygon (po) int ../../../_images/create.gif
 

The value of this argument controls the type of the object created by this operation 0: nurbs surface1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)3: Bezier surface4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)

range (rn) bool ../../../_images/create.gif
 
Force a curve range on complete input curve Flag can have multiple arguments, passed either as a tuple or a list.
tolerance (tol) float ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
The distance tolerance for the cvs of the curves to be in the same plane. Default:0.01 Advanced flags

Derived from mel command maya.cmds.planarSrf

Example:

import pymel.core as pm

# create linear planar trimmed surface given boundary curve(s)
pm.planarSrf( d=1 )

# use boundary curve(s) to create a hole by
# keeping the outside trimmed regions
pm.planarSrf( ko=True)

Previous topic

pymel.core.modeling.offsetSurface

Next topic

pymel.core.modeling.plane

Core

Core Modules

Other Modules

This Page