Add dev instructions

This commit is contained in:
2024-04-20 15:48:32 +02:00
parent aaf72e7806
commit 4e80fc3791
4 changed files with 93 additions and 9 deletions

19
main.py
View File

@@ -1,12 +1,17 @@
from gdpc import Editor, Block, geometry
import networks.curve as curve
editor = Editor(buffering=True)
# Get a block
block = editor.getBlock((0,48,0))
# Place a block
editor.placeBlock((394, 132, 741), Block("stone"))
# editor = Editor(buffering=True)
# Build a cube
geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))
# # Get a block
# block = editor.getBlock((0,48,0))
# # Place a block
# editor.placeBlock((394, 132, 741), Block("stone"))
# # Build a cube
# geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))
curve = curve.Curve([(0, 0, 0)])