Generated Code
LDraw Code is used to create lego models. The output by our AI is shown below.
0 Name: Trees_on_Asteroid.ldr
0 Author: AI Assistant
0 First Layer: Base of the asteroid with grey plates
0 STEP
1 71 0 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 20 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 40 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 60 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 80 0 0 1 0 0 0 1 0 0 0 1 3020.dat
0 Building up the asteroid with slopes and bricks
0 Height y = -24 due to the grey plate's height (8 LDU * 3 plates = 24 LDU)
0 STEP
1 71 0 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 20 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 60 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 80 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 40 -24 0 -1 0 0 0 1 0 0 0 -1 3003.dat
0 Tree trunks created with brown bricks
0 Height y = -48 because slope is 24 LDU in height
0 STEP
1 70 10 -48 10 1 0 0 0 1 0 0 0 1 3001.dat
1 70 50 -48 50 1 0 0 0 1 0 0 0 1 3001.dat
0 Adding the greenery with green plates
0 Height y = -72 due to the last brown brick's height (24 LDU)
0 STEP
1 2 10 -72 10 1 0 0 0 1 0 0 0 1 3022.dat
1 2 50 -72 50 1 0 0 0 1 0 0 0 1 3022.dat
1 2 10 -80 10 1 0 0 0 1 0 0 0 1 3023.dat
1 2 50 -80 50 1 0 0 0 1 0 0 0 1 3023.dat
1 2 -10 -88 10 1 0 0 0 1 0 0 0 1 3022.dat
1 2 30 -88 50 1 0 0 0 1 0 0 0 1 3022.dat
0 Additional details with green slopes for treetops
0 Height y = -96 due to the last green plate's height (16 LDU)
0 STEP
1 2 10 -96 10 0 0 1 0 1 0 -1 0 0 3039.dat
1 2 50 -96 50 0 0 1 0 1 0 -1 0 0 3039.dat
1 2 -10 -96 10 0 0 -1 0 1 0 1 0 0 3039.dat
1 2 30 -96 50 0 0 -1 0 1 0 1 0 0 3039.dat
LDraw Code is used to create lego models. The output by our AI is shown below.
0 Name: Trees_on_Asteroid.ldr
0 Author: AI Assistant
0 First Layer: Base of the asteroid with grey plates
0 STEP
1 71 0 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 20 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 40 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 60 0 0 1 0 0 0 1 0 0 0 1 3020.dat
1 71 80 0 0 1 0 0 0 1 0 0 0 1 3020.dat
0 Building up the asteroid with slopes and bricks
0 Height y = -24 due to the grey plate's height (8 LDU * 3 plates = 24 LDU)
0 STEP
1 71 0 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 20 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 60 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 80 -24 0 1 0 0 0 1 0 0 0 1 3298.dat
1 71 40 -24 0 -1 0 0 0 1 0 0 0 -1 3003.dat
0 Tree trunks created with brown bricks
0 Height y = -48 because slope is 24 LDU in height
0 STEP
1 70 10 -48 10 1 0 0 0 1 0 0 0 1 3001.dat
1 70 50 -48 50 1 0 0 0 1 0 0 0 1 3001.dat
0 Adding the greenery with green plates
0 Height y = -72 due to the last brown brick's height (24 LDU)
0 STEP
1 2 10 -72 10 1 0 0 0 1 0 0 0 1 3022.dat
1 2 50 -72 50 1 0 0 0 1 0 0 0 1 3022.dat
1 2 10 -80 10 1 0 0 0 1 0 0 0 1 3023.dat
1 2 50 -80 50 1 0 0 0 1 0 0 0 1 3023.dat
1 2 -10 -88 10 1 0 0 0 1 0 0 0 1 3022.dat
1 2 30 -88 50 1 0 0 0 1 0 0 0 1 3022.dat
0 Additional details with green slopes for treetops
0 Height y = -96 due to the last green plate's height (16 LDU)
0 STEP
1 2 10 -96 10 0 0 1 0 1 0 -1 0 0 3039.dat
1 2 50 -96 50 0 0 1 0 1 0 -1 0 0 3039.dat
1 2 -10 -96 10 0 0 -1 0 1 0 1 0 0 3039.dat
1 2 30 -96 50 0 0 -1 0 1 0 1 0 0 3039.dat
LEGO ergo sum