Inhalt

Index

CUTPLANE

CUTPLANE creates a cutting plane in 3-dimensional space. All 3D elements in its area are cut, the cut parts are removed. A different number of parameters is possible. CUTPLANE must be finished with CUTEND.

Syntax

CUTPLANE [x, y, z [, side]]
[statement1 ... statementn]
CUTEND

or

CUTPLANE angle
[statement1 ... statementn]
CUTEND

Parameters

x, y, z (decimal): coordinates defining the plane, max. one coordinate = 0

side (boolean): cutting side

statement (integer, 0 £ statement £ 3): define behavior of cutting edges and areas

Number of statements and their effects:

0: cutting plane is XY plane
1: cutting plane across X axis, angle between cutting plane and XY plane
2: cutting plane parallel to Z axis, intersects X and Y axis at given values
3: cutting plane intersects X, Y and Z axis at given values
4: side value is added:
side = 0: parts above cutting plane are cut off (default);
side = 1: parts below cutting plane are cut off;
in case of XY, XZ, YZ planes, the parts in the negative direction of the axis are cut off.

angle (decimal): rotation angle of cutting plane

Remarks

Without side parameter, the elements are cut above the cutting plane.

If CUTEND is missing, CUTPLANE affects all elements until the end of the script.

CUTPLANE commands can be included in subscripts. Only the shapes in the subscript are affected.

CUTPLANE parameters refer to the current coordinate system. Transformations must be stated before in order to be effective.

CUTPLANE - CUTEND pairs can be nested.

If there are current material, pen and fill settings, they will be used for the cut surfaces.

Usable since script version 1.1 (Allplan 2012-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy