Generate the text primitive.
Generate the text primitive
1
2import coat
3name = "Hello world"
4
6
8volume = current.Volume()
9
10volume.toSurface()
11
12
15txt.string(name)
16txt.width(200)
17txt.depth(10)
18txt.scale(2)
19txt.add(volume)
SceneElement sculptRoot()
get the root of all sculpt objects
Definition coat.py:2687
toRoom(str name, bool Force=False)
switch to the room
Definition coat.py:3284