EXTRUDE
generates a general prism with its base defined by a polyline in the XY plane; the displacement vector between the bases is (dx
, dy
, dz
). This command is a generalization of the commands PRISM
and SOLID_SLAB
; the base polyline is not necessarily closed, as the lateral edges are not always perpendicular to the XY plane. Arcs and segments can be defined within the polyline by using additional status code values.
Tipp: The base polyline may include holes, just like PRISM_
.
Syntax
EXTRUDE n, dx, dy, dz, mask, x1, y1, s1, ... , xn, yn, sn
Parameters
n
(integer): number of polyline nodes
dx
, dy
, dz
(decimal): displacement vector in X, Y and Z direction
mask
: controls the existence of the bottom, top and - in the case of an open polyline - side surfaces (see below)
xi
, yi
(decimal): X and Y coordinates of the polyline nodes
si
(boolean): marks the end of the polygon or hole
parameter restrictions: n
> 2
Masking
mask
= j1 + 2*j2 + 4*j3
with j1
, j2
, j3
may be 0 or 1j1
(1): bottom surface is presentj2
(2): top surface is presentj3
(4): side (closing) surface is present
Status Values
-1: marks the end of the enclosing polygon or a hole, and means that the next node will be the first vertex of another hole.
Remarks
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |