Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Unknown macro: {alias}

Name

ctp — Cut polydata or grid with a plane

Syntax

ctp [x | y | z axisvalue] [nor] [cen] [ref] [cur] [scaoff] [scaon] [clean] [ncs]

Description

Will produce a cutline from a grid or polydata set.

Arguments

x | y | z axisvalue

nor n1 n2 n3

cen xcen ycen zcen

ref

cur

scaon

scaoff

clean tolerance

ncs

Examples

Ex.1: Cutting a grid crossing x axis

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

The above example produces this image.


Generating cut line in a grid

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

  • No labels