#!/usr/bin/python
import Geom3D
import math

u = 1
a = math.sqrt(2)/2
b = a + u

Vs = [
	[ a, -a, b],
	[ a,  a, b],
	[-a,  a, b],
	[-a, -a, b],
]

Fs = [
        [0, 1, 2, 3],
]

print "Use S4xI | D4C4"
print "where S4xI H0 = [1, 0, 0]"
print "where S4xI H1 _|_ H0 = [0, 1, 0]"
print "----------------------------"
print "where D4C4 O4 = [0, 0, 1]"
print "where D4C4 H _|_ O4 = [1, 0, 0]"

shape = Geom3D.SimpleShape(Vs = Vs, Fs = Fs)

dfe8399c8f46f1064b91c910af69829439636791
#!/usr/bin/python
import Geom3D
import math

u = 1
a = math.sqrt(2)/2
b = a + u

Vs = [
	[ a, -a, b],
	[ a,  a, b],
	[-a,  a, b],
	[-a, -a, b],
]

Fs = [
        [0, 1, 2, 3],
]

print "Use S4xI | D4C4"
print "where S4xI H0 = [1, 0, 0]"
print "where S4xI H1 _|_ H0 = [0, 1, 0]"
print "----------------------------"
print "where D4C4 O4 = [0, 0, 1]"
print "where D4C4 H _|_ O4 = [1, 0, 0]"

shape = Geom3D.SimpleShape(Vs = Vs, Fs = Fs)
