Inhalt

Index

SOLID_SLAB

SOLID_SLAB creates a polygonal prism; it is similar to PRISM. The side faces are perpendicular to XY plane. The bottom and top face can be inclined to XY plane.

solid_slab

Syntax

SOLID_SLAB n, h, x1, y1, z1, ... xn, yn, zn

Parameters

n (integer, ³ 3): number of nodes defining the base polygon

h (decimal): distance between bottom and top surface, always along z axis

x(n) (decimal): X coordinate of node n

y(n) (decimal): Y coordinate of node n

z(n) (decimal): Z coordinate of node n

Restrictions of parameters:

n ³ 3

Remarks

Inclination is defined by differing z values, not by an angle.

A negative h value can be used. Then the first polygon is above the second one, and the slab extrudes in negative Z direction.

There is no check whether all nodes are on one plane. If they are not, this may cause strange effects with shading and rendering.

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



Allplan

(C) ALLPLAN GmbH

Privacy policy