Skip to content
Snippets Groups Projects
PList.js 8.49 KiB
Newer Older
//all property lists for the app, these are "static" variables


Amanda Ghassaei's avatar
Amanda Ghassaei committed
define(['three'], function(THREE){
Amanda Ghassaei's avatar
Amanda Ghassaei committed
    return {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allMenuTabs: {
            navDesign:{
                lattice:"Lattice",
                //sketch:"Sketch",
                material:"Material",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                import:"Import",
                part:"Part",
                script:"Script"
            electronicNavSim:{
                eSetup:"Connectivity",
                eStatic:"Statics",
                eDynamic:"Dynamics",
                optimize:"Optimize"
            },
            mechanicalNavSim:{
                mSetup:"Setup",
                mStatic:"Statics",
                mDynamic:"Dynamics"
            },
            navOptimize:{
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                optimize:"Optimize"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            navAssemble:{
                assembler:"Assembler",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                cam: "Process",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                animate:"Preview"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            navComm:{
                setupComm: "Setup",
                send: "Send"
            //maybe do something different here?
            navComposite:{
                composite:"Composite Editor"
            },
            navMaterial:{
                materialEditor: "Material Editor"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            }
        },

        allCellTypes: {
            octa:"Octahedron",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            tetra: "Tetrahedron",
            cube:"Cube",
            truncatedCube:"Cuboctahedron",
            kelvin:"Kelvin"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        },
        allConnectionTypes: {
            octa: {face:"Face",  edgeRot:"Edge", vertex:"Vertex"},// freeformFace:"Freeform Face"  edge:"Edge",   (Rotated)
            tetra: {stacked: "Stacked"},//vertex: "Vertex"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            cube: {face:"Face", gik: "GIK"},
            truncatedCube: {face:"Face"},
            kelvin: {face: "Face"}
        },
        allPartTypes:{
            octa:{
                face: {
                    triangle:"Triangle"
                },
                edge: null,
                    edgeRot: {
                    vox: "Snap Voxel (high res)",
                    voxLowPoly: "Snap Voxel (low res)"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                vertex: {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    kennyTeq: "Kenny Teq",
                    kennyTeqHighRes: "Kenny Teq (High Res)",
                    samTeq: "Square"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                }
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            tetra: {vertex: null},
            cube: {face: null,
                gik: {
                lego: "Micro LEGO (high res)",
                legoLowPoly: "Micro LEGO (low res)"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            }
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            truncatedCube: {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                face: null//{
//                    square:"Square",
//                    xShape:"X"
//                }
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            kelvin: {face: null}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        },
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allMaterialTypes:{
            octa:{
                face: 'mechanical',
                edge: 'mechanical',
                edgeRot: 'mechanical',
                vertex: 'mechanical'
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            tetra: {
                stacked: 'mechanical',
                vertex: 'mechanical'
            },
            cube: {
                face: 'mechanical',
                gik: 'electronic'
            },
            truncatedCube: {face: 'mechanical'},
            kelvin: {face: 'mechanical'}
        },

        allMaterialClasses:{
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            mechanical: "Structural",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            electronic: "Electronic",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
//            space: "Space Structures"
        allMaterials:{
            electronic:{
                brass:{
                    name: "Brass",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#b5a642",
                    altColor: "#857B64"
                },
                fiberGlass: {
                    name: "Fiberglass",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#fef1b5",
//                    opacity: "0.9",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    altColor: "#ecf0f1"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                },
                carbon: {
                    name: "Carbon Composite",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#222",
                    altColor: "#000"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                },
                nType: {
                    name: "Silicon N-Type",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#bcc6cc",
                    altColor: "#8391AC"
                },
                nTypePlus: {
                    name: "Silicon Heavily Doped N-Type (N+)",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#c6ccbc",
                    altColor: "#9CC9CB"
                },
                pType: {
                    name: "Silicon P-Type",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#ccbcc6",
                    altColor: "#F5447B"
                },
                pTypePlus: {
                    name: "Silicon Heavily Doped P-Type (P+)",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#ccc2bc",
                    altColor: "#F99987"
                //857B64
                //FDE2D9
                //D77948
            mechanical:{
                rigid:{
                    name: "Rigid",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#aaa",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    altColor: "#666"
                },
                flexure: {
                    name: "Flexure",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    color: "#aaa",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    altColor: "#8391AC"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            space:{
                fiberGlass: {
                    name: "Glass Filled Nylon",
                    color: "#fef1b5",
//                    opacity: "0.9",
                    altColor: "#ecf0f1"
                },
                carbon: {
                    name: "Carbon Composite",
                    color: "#222",
                    altColor: "#000"
                },
                nType: {
                    name: "Aluminum",
                    color: "#bcc6cc",
                    altColor: "#8391AC"
                },
                brass:{
                    name: "Brass",
                    color: "#b5a642",
                    altColor: "#857B64"
                },
                nTypePlus: {
                    name: "Power Storage",
                    color: "#c6ccbc",
                    altColor: "#9CC9CB"
                },
                pType: {
                    name: "Logic",
                    color: "#ccbcc6",
                    altColor: "#F5447B"
                },
                pTypePlus: {
                    name: "Solar Panel",
                    color: "#ccc2bc",
                    altColor: "#F99987"
                }
                //857B64
                //FDE2D9
                //D77948
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allMachineTypes:{
            octa:{
                face: {handOfGod: "Hand of God"},
                edgeRot: {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    crab: "Crab",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    shopbot: "Shopbot",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    oneBitBot: "One Bit Bot",
                    oneBitBotLegs: "One Bit Bot with Legs",
                    handOfGod: "Hand of God"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                },
                vertex: {handOfGod: "Hand of God"}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            tetra: {
                vertex:{handOfGod: "Hand of God"}
            },
            cube:{
                face:{handOfGod: "Hand of God"},
                gik: {
                    stapler: "Dual Head Stapler"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
//                handOfGod: "Hand of God"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                }
            },
            truncatedCube:{
                face:{handOfGod: "Hand of God"}
            },
            kelvin:{
                face:{handOfGod: "Hand of God"}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            }
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allAssemblyStrategies: {
            raster: "Raster"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allCamProcesses: {
            shopbot:{
                shopbot: "Shopbot (sbp)",
                gcode: "G-Code"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            handOfGod:{gcode: "G-Code"},
            oneBitBot:{
                gcode: "G-Code",
                tinyG: "TinyG"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            stapler: {gcode: "G-Code"},
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            staplerDual: {gcode: "G-Code"},
            crab: {gcode: "G-Code"}
Amanda Ghassaei's avatar
Amanda Ghassaei committed

        allMachineDefaults: {
            shopbot:null,
            handOfGod:null,
            oneBitBot:null,
            stapler: {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                camStrategy: "raster",
                placementOrder: "XYZ",//used for raster strategy entry
                camProcess: "gcode",
                rapidHeight:3,
                rapidHeightRelative: true,
                safeHeight: 0.05,
                originPosition: new THREE.Vector3(0,0,0),
                rapidSpeeds:{xy: 3, z: 2},
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                feedRate:{xy: 0.1, z: 0.1}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            crab: null
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        },
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allScripts: {
            loadFile: "Load From File..."
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allUnitTypes: {
            inches: "Inches",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            mm: "mm"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            //um: "micron"
        }