Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:ctp}

Name

ctp — Cut polydata or grid with a plane

...

Arguments

x | y | z axisvalue

Cut with a plane crossing x | y | z axis.

nor n1 n2 n3

Cut with plane having normals n1 n2 n3.

cen xcen ycen zcen

Put the plane center in xcen ycen zcen.

ref

Cut through the reference point.

cur

Cut through the cursor position.

scaon

Generation of cut scalars.

scaoff

No generation of cut scalars.

clean tolerance

Set a clean tolerance for clipping.

ncs

Bypass cleaning and stripping in the clipping algorithm.

Examples

Ex.1: Cutting a grid crossing x axis

No Format
bgColor#eeeeee
borderWidth1

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

...