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 5 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

Unknown macro: {indent}

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

nor n1 n2 n3

Unknown macro: {indent}

Cut with plane having normals n1 n2 n3.

cen xcen ycen zcen

Unknown macro: {indent}

Put the plane center in xcen ycen zcen.

ref

Unknown macro: {indent}

Cut through the reference point.

cur

Unknown macro: {indent}

Cut through the cursor position.

scaon

Unknown macro: {indent}

Generation of cut scalars.

scaoff

Unknown macro: {indent}

No generation of cut scalars.

clean tolerance

Unknown macro: {indent}

Set a clean tolerance for clipping.

ncs

Unknown macro: {indent}

Bypass cleaning and stripping in the clipping algorithm.

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

[clip - Clip with closed line], cut - Cut grid data, ref - Reference point, gen - Generate grid, pla - Plane generation, zap - Zap (or snap) to data

Unknown macro: {pagebreak}
  • No labels