Update to use gdpc Transform (simplifies a lot)

This commit is contained in:
AKreuzer
2024-05-20 20:47:12 +02:00
parent fb6206c52f
commit 7071b0a81c
10 changed files with 84 additions and 114 deletions

View File

@@ -18,7 +18,7 @@ shapes = f.data
y = YamlReader('params.yml')
random_data = y.data
transform = Transform((-2,0,-5),rotation = 3)
transform = Transform((0,-60,0),rotation = 0)
editor.transform.push(transform)
geometry.placeCuboid(editor, (0,-60,-5), (100,-45,-5), Block("air"))
@@ -31,7 +31,7 @@ for i in range(3,13):
x += i+2
for f in facade:
f.build(editor, ["stone_bricks","glass_pane","glass","cobblestone_wall"], -60)
f.build(editor, ["stone_bricks","glass_pane","glass","cobblestone_wall"])
# F = Foundations((0,0), (20,20), shapes[0]['matrice'])