Archimedean solid- Truncated Cube

  • Email
  • Sharebar
  • Email
Tnyka Breen's picture

I have created the truncated cube which is an Archimedean solid. The truncated cube has 14 faces which are made up of 6 octagons and 8 triangles. The shape has 36 edges and 24 vertices. This shape relates to the platonic solid the cube however it has all of its corners chopped off. The code below is how I created my truncated cube using the angle information from the Challenge page.

I could not use the 90 degree angle so instead after googling, I found that I could use the angle 35.264 for the rotation.

 

 

This was created using the code below:

TO polygon_r :side
PD
Repeat :side [FD 1 RT 360/:side]
PU 
end 
 
TO polygon_l :side
PD
Repeat :side [FD 1 LT 360/:side]
PU
end 
 
Clean home
Face
PCOFF
setmat 0 8
polygon_r 3
 
Repeat 3 [
FD 1 RT 120
Tiltleft 180 - 125.264166666666666666666 
setmat 0 10
polygon_l 8
Tiltright 180 - 125.264166666666666666666 ]
 
Repeat 2 [
FD 1 LT 30 RD 35.264 FD 1 RD 35.264 LT 30
setmat 0 8
polygon_r 3
 
FD 1 RT 120
Tiltleft 180 - 125.264166666666666666666 
setmat 0 10 
polygon_l 8
Tiltright 180 - 125.264166666666666666666 ]
 
Repeat 2 [ 
FD 1 LT 30 RD 35.264 FD 1 RD 35.264 LT 30
setmat 0 8
polygon_r 3 ]
 
FD 1 RT 120
Tiltleft 180 - 125.264166666666666666666 
Setmat 0 10 
polygon_l 8
Tiltright 180 - 125.264166666666666666666 
 
Repeat 3 [
FD 1 LT 30 RD 35.264 FD 1 RD 35.264 LT 30
 
setmat 0 8
polygon_r 3 ]
 
end