Inhalt

Index

MAPPING

MAPPING defines the mapping of textures to 3D-solids.

Syntax

MAPPING type [, angle] [, scale_x, scale_y] [, offs_x, offs_y] [, phong_angle] [, ref_face, ref_edge]

Parameters

typ (integer; 1 ... 6): mapping type

0: cube (default)
1: wall
2: roof
3: ground
4: cylinder
5: sphere
6: uv

angle (0 ... 180): mapping angle (default: 0)

scale_x , scale_y ( > 0): scalings (default: 1)

offs_x, offs_y (): offsets (default: 0)

phong_angle (0 ... 90): phong angle (default: 40)

ref_face, ref_edge: reference edge (default: 0 = off)

Remarks

Usable since script version 2.0 (Allplan 2014-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy