Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DMDesign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amanda Ghassaei
DMDesign
Commits
32b79837
Commit
32b79837
authored
9 years ago
by
Amanda Ghassaei
Browse files
Options
Downloads
Patches
Plain Diff
plist by lattice type
parent
76866962
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/plists/PList.js
+117
-64
117 additions, 64 deletions
js/plists/PList.js
with
117 additions
and
64 deletions
js/plists/PList.js
+
117
−
64
View file @
32b79837
...
...
@@ -94,7 +94,22 @@ define(['three'], function(THREE){
connection
:
{
face
:
{
name
:
"
Face
"
,
subclass
:
"
octaFaceLattice
"
subclass
:
"
octaFaceLattice
"
,
types
:
{
octaTruss
:
{
name
:
"
Matt's Truss
"
,
parts
:
{
triangle
:
"
Triangle
"
},
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
),
materialClasses
:
[
'
mechanical
'
]
},
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
},
// edge: {
// name: "Edge (Rotated)",
...
...
@@ -102,11 +117,45 @@ define(['three'], function(THREE){
// },
edgeRot
:
{
name
:
"
Edge
"
,
subclass
:
"
octaRotEdgeLattice
"
subclass
:
"
octaRotEdgeLattice
"
,
types
:
{
snapVoxel
:
{
name
:
"
Ben's Voxels
"
,
parts
:
{
vox
:
"
Snap Voxel (high res)
"
,
voxLowPoly
:
"
Snap Voxel (low res)
"
},
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
),
materialClasses
:
[
'
mechanical
'
]
},
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
},
vertex
:
{
name
:
"
Vertex
"
,
subclass
:
"
octaVertexLattice
"
subclass
:
"
octaVertexLattice
"
,
type
:
{
kennyVertex
:
{
name
:
"
Kenny's Lattice
"
,
parts
:
{
kennyTeq
:
"
Kenny Teq
"
,
kennyTeqHighRes
:
"
Kenny Teq (High Res)
"
,
samTeq
:
"
Square
"
// xShape:"X"
},
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
),
materialClasses
:
[
'
mechanical
'
]
},
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
},
...
...
@@ -115,7 +164,14 @@ define(['three'], function(THREE){
connection
:
{
//vertex: "Vertex"
stacked
:
{
name
:
"
Stacked
"
,
subclass
:
"
tetraStackedLattice
"
subclass
:
"
tetraStackedLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
},
...
...
@@ -124,11 +180,34 @@ define(['three'], function(THREE){
connection
:
{
face
:
{
name
:
"
Face
"
,
subclass
:
"
cubeLattice
"
subclass
:
"
cubeLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
},
gik
:
{
name
:
"
GIK
"
,
subclass
:
"
gikLattice
"
subclass
:
"
gikLattice
"
,
type
:
{
willGik
:
{
name
:
"
Will's Lattice
"
,
parts
:
{
lego
:
"
Micro LEGO (high res)
"
,
legoLowPoly
:
"
Micro LEGO (low res)
"
},
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1.28
),
materialClasses
:
[
'
electronic
'
]
},
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
},
...
...
@@ -137,7 +216,14 @@ define(['three'], function(THREE){
connection
:
{
face
:
{
name
:
"
Face
"
,
subclass
:
"
truncatedCubeLattice
"
subclass
:
"
truncatedCubeLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
},
...
...
@@ -146,7 +232,14 @@ define(['three'], function(THREE){
connection
:
{
face
:
{
name
:
"
Face
"
,
subclass
:
"
kelvinLattice
"
subclass
:
"
kelvinLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
},
...
...
@@ -155,51 +248,30 @@ define(['three'], function(THREE){
connection
:
{
face
:
{
name
:
"
Face
"
,
subclass
:
"
hexLattice
"
subclass
:
"
hexLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
},
faceRot
:
{
name
:
"
Face (Rotated)
"
,
subclass
:
"
hexRotLattice
"
subclass
:
"
hexRotLattice
"
,
type
:
{
default
:
{
name
:
"
Default
"
,
parts
:
null
,
aspectRatio
:
new
THREE
.
Vector3
(
1
,
1
,
1
)
}
}
}
}
}
},
allPartTypes
:{
octa
:{
face
:
{
triangle
:
"
Triangle
"
},
edge
:
null
,
edgeRot
:
{
vox
:
"
Snap Voxel (high res)
"
,
voxLowPoly
:
"
Snap Voxel (low res)
"
},
vertex
:
{
kennyTeq
:
"
Kenny Teq
"
,
kennyTeqHighRes
:
"
Kenny Teq (High Res)
"
,
samTeq
:
"
Square
"
// xShape:"X"
}
},
tetra
:
{
vertex
:
null
},
cube
:
{
face
:
null
,
gik
:
{
lego
:
"
Micro LEGO (high res)
"
,
legoLowPoly
:
"
Micro LEGO (low res)
"
}
},
truncatedCube
:
{
face
:
null
//{
// square:"Square",
// xShape:"X"
// }
},
kelvin
:
{
face
:
null
},
hex
:
{
face
:
null
,
faceRot
:
null
}
},
allCellModes
:{
//supercell, cell, part, node, beam
supercell
:
"
Hierarchical Mode
"
,
cell
:
"
Voxel Mode
"
,
...
...
@@ -207,25 +279,6 @@ define(['three'], function(THREE){
hide
:
"
Hide Cells
"
},
allMaterialTypes
:{
octa
:{
face
:
'
mechanical
'
,
edge
:
'
mechanical
'
,
edgeRot
:
'
mechanical
'
,
vertex
:
'
mechanical
'
},
tetra
:
{
stacked
:
'
mechanical
'
,
vertex
:
'
mechanical
'
},
cube
:
{
face
:
'
electronic
'
,
gik
:
'
electronic
'
},
truncatedCube
:
{
face
:
'
mechanical
'
},
kelvin
:
{
face
:
'
mechanical
'
},
hex
:
{
face
:
'
mechanical
'
,
faceRot
:
'
mechanical
'
}
},
allMaterialClasses
:{
mechanical
:
"
Structural
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment