Commit 76866962 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

working...

parent 5fc82bde
...@@ -88,37 +88,91 @@ define(['three'], function(THREE){ ...@@ -88,37 +88,91 @@ define(['three'], function(THREE){
} }
}, },
allCellTypes: { allLattices:{
octa:"Octahedron", octa: {
tetra: "Tetrahedron", name: "Octahedron",
cube:"Cube", connection: {
truncatedCube:"Cuboctahedron", face: {
kelvin:"Kelvin", name: "Face",
hex: "Hexagonal" subclass: "octaFaceLattice"
}, },
allConnectionTypes: { // edge: {
octa: {face:"Face", edgeRot:"Edge", vertex:"Vertex"},// freeformFace:"Freeform Face" edge:"Edge", (Rotated) // name: "Edge (Rotated)",
tetra: {stacked: "Stacked"},//vertex: "Vertex" // subclass: "octaEdgeLattice"
cube: {face:"Face", gik: "GIK"}, // },
truncatedCube: {face:"Face"}, edgeRot: {
kelvin: {face: "Face"}, name: "Edge",
hex: {face: "Face", faceRot: "Face (Rotated)"} subclass: "octaRotEdgeLattice"
}, },
allLatticeSubclasses:{ vertex: {
octa: {face:"octaFaceLattice", edgeRot:"octaRotEdgeLattice", vertex:"octaVertexLattice"},// freeformFace:"Freeform Face" edge:"octaEdgeLattice", (Rotated) name: "Vertex",
tetra: {stacked: "tetraStackedLattice"},//vertex: "tetraVertexLattice" subclass: "octaVertexLattice"
cube: {face:"cubeLattice", gik: "gikLattice"}, }
truncatedCube: {face:"truncatedCubeLattice"}, }
kelvin: {face: "kelvinLattice"}, },
hex: {face: "hexLattice", faceRot: "hexRotLattice"} tetra: {
name: "Tetrahedron",
connection: {//vertex: "Vertex"
stacked: {
name: "Stacked",
subclass: "tetraStackedLattice"
}
}
},
cube: {
name: "Cube",
connection: {
face: {
name: "Face",
subclass: "cubeLattice"
},
gik: {
name: "GIK",
subclass: "gikLattice"
}
}
},
truncatedCube: {
name: "Cuboctahedron",
connection: {
face: {
name: "Face",
subclass: "truncatedCubeLattice"
}
}
},
kelvin: {
name: "Kelvin",
connection: {
face: {
name: "Face",
subclass: "kelvinLattice"
}
}
},
hex: {
name: "Hexagonal",
connection: {
face: {
name: "Face",
subclass: "hexLattice"
},
faceRot: {
name: "Face (Rotated)",
subclass: "hexRotLattice"
}
}
}
}, },
allPartTypes:{ allPartTypes:{
octa:{ octa:{
face: { face: {
triangle:"Triangle" triangle:"Triangle"
}, },
edge: null, edge: null,
edgeRot: { edgeRot: {
vox: "Snap Voxel (high res)", vox: "Snap Voxel (high res)",
voxLowPoly: "Snap Voxel (low res)" voxLowPoly: "Snap Voxel (low res)"
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment