Inhalt

Index

CUTFORM

CUTFORM is similar to CUTPOLYA. In addition, you can define form and extent of the cutting body.

Syntax

CUTFORM n, method, status,
rx, ry, rz, d,
x1, y1, mask1, ... xn, yn, maskn
CUTEND

Parameters

n (integer, >3): number of points

method (integer, 0 < method < 4): defines the shape of the cutting body

1: prism-shaped
2: pyramid-shaped
3: wedge-shaped
The wedge's top edge is parallel to the Y axis, a

status (integer): defines the extent of the cutting body

status = 8*j4 + 16*j5 + 32*j6
j4, j5: define the limit of the cut:
j4 = 0 and j5 = 0:finite cut
j4 = 0 and j5 = 1:semi-infinite cut
j4 = 1 and j5 = 1:infinite cut
j6: generate a boolean intersection with the cutting body rather than a boolean difference (only for CUTFORM)

rx, ry, rz (decimal): coordinates of the directional vector for cutting form (prism-shaped) or the height (pyramid-shaped)

d (decimal): distance to the end of the cut along directional vector.

For infinite cuts: parameter d has no effect
For finite cuts: cutting body begins in the local coordinate system and ends in distance d along the directional vector
For semi-infinite cuts: cutting body begins in distance d along the directional vector, and the cut will be in the opposite direction of the directional vector.

xi, yi (decimal): coordinates of cutting form in XY plane.

maski (integer): defines the visibility of the edges of the cutting body (not supported)

Remarks

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



Allplan

(C) ALLPLAN GmbH

Privacy policy