Inhalt

Index

CUTPOLYA

CUTPOLYA is similar to CUTPOLY and creates a cutting tube, too. The tube needs not to be infinite, it can be closed on one side.

Syntax

CUTPOLYA n, status, d,
x1, y1, mask1, ... xn, yn, maskn
[, x, y, z]
[statement1 statement2 ... statementn]
CUTEND

Parameters

n (decimal): number of points

status (integer): defines how the cut polygons are handled (not supported)

d (decimal): end of cutting tube

xi, yi (decimal): coordinates in XY plane

maski (integer): defines how the cutting tube's edges affect the cut elements

x, y, z (decimal): coordinates of optional vector

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.

Remarks

If the cutting tube intersects a solid or body partially or completely, the corresponding part is cut out.

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



Allplan

(C) ALLPLAN GmbH

Privacy policy