PRISM_S2
is an extension of the PRISM_S command, with the possibility of having an upper and lower polygon non-parallel with the x-y plane. The top and bottom of the prism is defined at the reference line. Upper and lower polygon intersection is forbidden.
Syntax
PRISM_S2 top_material, bottom_material, side_material,
n,
xtb, ytb, xte, yte, topz, tangle,
xbb, ybb, xbe, ybe, bottomz, bangle,
x1, y1, s1, mat1,
...,
xn, yn, sn, matn
Parameters
top_material
(string/integer): name/index of top surface
bottom_material
(string/integer): name/index of bottom surface
side_material
(string/integer): name/index of side surfaces
n
(
integer, ³ 3): number of nodes
xtb, ytb, xte, yte
(decimal): coordinates of reference line for inclined upper polygon
topz
(decimal): the 'z' level of the reference line of the top polygon
tangle
: rotation angle of the upper polygon around the given oriented reference line in degrees (CCW).
xbb, ybb, xbe, ybe
: reference line (vector) of the bottom polygon starting and end coordinates.
bottomz
: the 'z' level of the reference line of the top polygon.
bangle
: rotation angle of the lower polygon around the given oriented reference line in degrees (CCW).
x(n)
(decimal): X coordinate of node n
y(n)
(decimal): Y coordinate of node n
s(n)
(integer): status code of node n
mat(n)
(string/integer): material reference that allows you to control the material of the side surfaces
Remarks
Only top_material
is used for the whole solid.
The height of the upper polygon is defined at the reference line. Upper and lower polygon must not intersect.
Usable since script version 1.3 (Allplan 2013-1).
(C) ALLPLAN GmbH |
Privacy policy |