Wiki Markup |
---|
{alias:ctp} h2. Name ctp — Cut polydata or grid with a plane h2. Syntax {panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA} *ctp* \[*x | y | z* _axisvalue_] \[*nor*] \[*cen*] \[*ref*] \[*cur*] \[*scaoff*] \[*scaon*] \[*clean*] \[*ncs*] {panel} h2. Description Will produce a cutline from a grid or polydata set. h2. Arguments *x | y | z* _axisvalue_ {indent}Cut with a plane crossing *x | y | z* axis.{indent} *nor* _n1 n2 n3_ {indent}Cut with plane having normals _n1 n2 n3_.{indent} *cen* _xcen ycen zcen_ {indent}Put the plane center in _xcen ycen zcen_. {indent} *ref* {indent}Cut through the reference point.{indent} *cur* {indent}Cut through the cursor position.{indent} *scaon* {indent}Generation of cut scalars.{indent} *scaoff* {indent}No generation of cut scalars.{indent} *clean* _tolerance_ {indent}Set a clean tolerance for clipping.{indent} *ncs* {indent}Bypass cleaning and stripping in the clipping algorithm.{indent} h2. Examples h3. Ex.1: Cutting a grid crossing x axis {noformat:|borderWidth=1|bgColor=#eeeeee} win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000) spe bgc whi ;# Specify background color to white mak ran 11 ;# Make 11 random points grp 222 222 ;# Make grid of dimension 222 x 222 map ;# Map the grid ctp x 453000 ;# Cut the grid crossing x axis at 453000 col bla ;# Black color pol 2 ;# Draw cut line with line width 2 {noformat} The above example produces this image. !att:_img_ref^cmd_ctp.png! _Generating cut line in a grid_ h2. See also [clp - Clip with closed line], [cut - Cut grid data], [ref - Reference point], [gen - Generate grid], [pla - Plane generation], [zap - Zap (or snap) to data] {pagebreak} |
Page Comparison
General
Content
Integrations