PYRAMID generates a pyramid with its base defined by a polyline in the XY plane; its peak is situated in P (0,0,h). Arcs and segments can be defined within the polyline by using additional status code values.

Syntax
PYRAMID n, h, mask, x1, y1, s1, ..., xn, yn, sn
Parameters
n (integer): number of polyline nodes
h (decimal): height of the pyramid; defines the Z coordinate of the peak
mask: controls the existence of the bottom and, in the case of an open polyline, side surfaces (see below)
xi, yi (decimal): X and Y coordinates of the polyline nodes
si: with si = -1 holes are defined directly
parameter restrictions: h > 0 and n > 2
Masking
mask = j1 + 4*j3
with j1, j3 may be 0 or 1j1 (1): bottom surface is presentj3 (4): side surfaces are present
Remarks
Usable since script version 1.1 (Allplan 2012-1).
|
(C) ALLPLAN GmbH |
Privacy policy |