Skip to content
Snippets Groups Projects
PList.js 5.96 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",
//            import:"Import",
                    //sketch:"Sketch",
                    part:"Part",
                    script:"Script"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            navSim:{
                physics:"Physics",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                part:"Part",
                material:"Material",
                optimize:"Optimize"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            navAssemble:{
                assembler:"Assembler",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                cam: "Process",
                animate:"Preview",
                send: "Send"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            }
        },

        allCellTypes: {
            octa:"Octahedron",
                tetra: "Tetrahedron (Coming Soon)",
                cube:"Cube",
                truncatedCube:"Cuboctahedron",
                kelvin:"Kelvin"
        },
        allConnectionTypes: {
            octa: {face:"Face", edgeRot:"Edge", vertex:"Vertex"},//edge:"Edge", freeformFace:"Freeform Face"
            tetra: {vertex: "Vertex"},
            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)"
                },
                vertex: {
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    square:"Square",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                        xShape:"X"
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)",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                    legoLowPoly: "Micro LEGO (low res)"
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            }
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            truncatedCube: {
                face: {
                    square:"Square",
                        xShape:"X"
                }
            },
            kelvin: {face: null}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        },
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allMaterialTypes:{
            octa:{
                face: null,
                    edge: null,
                    edgeRot: null,
                    vertex: null
            },
            tetra: {vertex: null},
            cube: {face: null,
                gik: {
                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: "#9CC9CB"
                },
                nTypePlus: {
                    name: "Silicon Heavily Doped N-Type (N+)",
Amanda Ghassaei's avatar
Amanda Ghassaei committed
                        color: "#c6ccbc",
                        altColor: "#8391AC"
                },
                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
Amanda Ghassaei's avatar
Amanda Ghassaei committed
            },
            truncatedCube: {face: null},
            kelvin: {face: null}
Amanda Ghassaei's avatar
Amanda Ghassaei committed
        allMachineTypes:{
            octa:{
                face: {handOfGod: "Hand of God"},
                edgeRot: {
                    shopbot: "Shopbot",
                        oneBitBot: "One Bit Bot",
                        oneBitBotLegs: "One Bit Bot with Legs",
                        handOfGod: "Hand of God"
                },
                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: "Stapler",
                        staplerDual: "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"
            },
            handOfGod:{gcode: "G-Code"},
            oneBitBot:{
                gcode: "G-Code",
                    tinyG: "TinyG"
            },
            stapler: {gcode: "G-Code"},
            staplerDual: {gcode: "G-Code"}
Amanda Ghassaei's avatar
Amanda Ghassaei committed

        allMachineDefaults: {
            shopbot:null,
                handOfGod:null,
                oneBitBot:null,
                stapler: {
                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},
                feedRate:{xy: 0.1, z: 0.1}
            },
            staplerDual: 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",
                mm: "mm"
            //um: "micron"
        }