Generate the surface figure "windrose" that consists of cones.
Generate the surface figure "windrose" that consists of cones
1
2import coat
3
5
7volume = current.Volume()
8
9volume.toSurface()
10height = 100
11radius = 20
14matrix = coat.mat4.Identity
15for i in range(4) :
16 alpha = i*90
17
19 cone1.transform(matrix)
20
21 cone1.add(volume)
22
24 cone2.transform(matrix)
25 cone2.add(volume)
SceneElement sculptRoot()
get the root of all sculpt objects
Definition coat.py:2687
mat4 RotationZ(float Angle)
Definition coat.py:568
toRoom(str name, bool Force=False)
switch to the room
Definition coat.py:3284