summaryrefslogtreecommitdiff
path: root/models.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-01-15 06:25:41 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-01-15 06:25:41 -0500
commit50359104c7e1a304360a5c9e7e53a416954fcea7 (patch)
treed6328e998b690c3c59069c2848bcf39abcadc185 /models.lua
parente0039f22f8dfbd9fc3f476ced9ddd8a37e70ea68 (diff)
downloadpipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.gz
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.bz2
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.tar.xz
pipeworks-50359104c7e1a304360a5c9e7e53a416954fcea7.zip
Use mesh nodes for all nodebox-based pipe-related nodes
Diffstat (limited to 'models.lua')
-rw-r--r--models.lua157
1 files changed, 2 insertions, 155 deletions
diff --git a/models.lua b/models.lua
index 6a841d3..3be773c 100644
--- a/models.lua
+++ b/models.lua
@@ -1,87 +1,5 @@
----------------------
--- The various models
-
--- Pipe models
-
-pipeworks.pipe_leftstub = {
- { -32/64, -2/64, -6/64, 1/64, 2/64, 6/64 }, -- pipe segment against -X face
- { -32/64, -4/64, -5/64, 1/64, 4/64, 5/64 },
- { -32/64, -5/64, -4/64, 1/64, 5/64, 4/64 },
- { -32/64, -6/64, -2/64, 1/64, 6/64, 2/64 },
-
- { -32/64, -3/64, -8/64, -30/64, 3/64, 8/64 }, -- (the flange for it)
- { -32/64, -5/64, -7/64, -30/64, 5/64, 7/64 },
- { -32/64, -6/64, -6/64, -30/64, 6/64, 6/64 },
- { -32/64, -7/64, -5/64, -30/64, 7/64, 5/64 },
- { -32/64, -8/64, -3/64, -30/64, 8/64, 3/64 }
-}
-
-pipeworks.pipe_rightstub = {
- { -1/64, -2/64, -6/64, 32/64, 2/64, 6/64 }, -- pipe segment against +X face
- { -1/64, -4/64, -5/64, 32/64, 4/64, 5/64 },
- { -1/64, -5/64, -4/64, 32/64, 5/64, 4/64 },
- { -1/64, -6/64, -2/64, 32/64, 6/64, 2/64 },
-
- { 30/64, -3/64, -8/64, 32/64, 3/64, 8/64 }, -- (the flange for it)
- { 30/64, -5/64, -7/64, 32/64, 5/64, 7/64 },
- { 30/64, -6/64, -6/64, 32/64, 6/64, 6/64 },
- { 30/64, -7/64, -5/64, 32/64, 7/64, 5/64 },
- { 30/64, -8/64, -3/64, 32/64, 8/64, 3/64 }
-}
-
-pipeworks.pipe_bottomstub = {
- { -2/64, -32/64, -6/64, 2/64, 1/64, 6/64 }, -- pipe segment against -Y face
- { -4/64, -32/64, -5/64, 4/64, 1/64, 5/64 },
- { -5/64, -32/64, -4/64, 5/64, 1/64, 4/64 },
- { -6/64, -32/64, -2/64, 6/64, 1/64, 2/64 },
-
- { -3/64, -32/64, -8/64, 3/64, -30/64, 8/64 }, -- (the flange for it)
- { -5/64, -32/64, -7/64, 5/64, -30/64, 7/64 },
- { -6/64, -32/64, -6/64, 6/64, -30/64, 6/64 },
- { -7/64, -32/64, -5/64, 7/64, -30/64, 5/64 },
- { -8/64, -32/64, -3/64, 8/64, -30/64, 3/64 }
-}
-
-pipeworks.pipe_topstub = {
- { -2/64, -1/64, -6/64, 2/64, 32/64, 6/64 }, -- pipe segment against +Y face
- { -4/64, -1/64, -5/64, 4/64, 32/64, 5/64 },
- { -5/64, -1/64, -4/64, 5/64, 32/64, 4/64 },
- { -6/64, -1/64, -2/64, 6/64, 32/64, 2/64 },
-
- { -3/64, 30/64, -8/64, 3/64, 32/64, 8/64 }, -- (the flange for it)
- { -5/64, 30/64, -7/64, 5/64, 32/64, 7/64 },
- { -6/64, 30/64, -6/64, 6/64, 32/64, 6/64 },
- { -7/64, 30/64, -5/64, 7/64, 32/64, 5/64 },
- { -8/64, 30/64, -3/64, 8/64, 32/64, 3/64 }
-}
-
-pipeworks.pipe_frontstub = {
- { -6/64, -2/64, -32/64, 6/64, 2/64, 1/64 }, -- pipe segment against -Z face
- { -5/64, -4/64, -32/64, 5/64, 4/64, 1/64 },
- { -4/64, -5/64, -32/64, 4/64, 5/64, 1/64 },
- { -2/64, -6/64, -32/64, 2/64, 6/64, 1/64 },
-
- { -8/64, -3/64, -32/64, 8/64, 3/64, -30/64 }, -- (the flange for it)
- { -7/64, -5/64, -32/64, 7/64, 5/64, -30/64 },
- { -6/64, -6/64, -32/64, 6/64, 6/64, -30/64 },
- { -5/64, -7/64, -32/64, 5/64, 7/64, -30/64 },
- { -3/64, -8/64, -32/64, 3/64, 8/64, -30/64 }
-}
-
-pipeworks.pipe_backstub = {
- { -6/64, -2/64, -1/64, 6/64, 2/64, 32/64 }, -- pipe segment against -Z face
- { -5/64, -4/64, -1/64, 5/64, 4/64, 32/64 },
- { -4/64, -5/64, -1/64, 4/64, 5/64, 32/64 },
- { -2/64, -6/64, -1/64, 2/64, 6/64, 32/64 },
-
- { -8/64, -3/64, 30/64, 8/64, 3/64, 32/64 }, -- (the flange for it)
- { -7/64, -5/64, 30/64, 7/64, 5/64, 32/64 },
- { -6/64, -6/64, 30/64, 6/64, 6/64, 32/64 },
- { -5/64, -7/64, 30/64, 5/64, 7/64, 32/64 },
- { -3/64, -8/64, 30/64, 3/64, 8/64, 32/64 }
-}
-
-pipeworks.pipe_boxes = {pipeworks.pipe_leftstub, pipeworks.pipe_rightstub, pipeworks.pipe_bottomstub, pipeworks.pipe_topstub, pipeworks.pipe_frontstub, pipeworks.pipe_backstub}
+-----------------------------------
+-- The various pipe select boxes
pipeworks.pipe_selectboxes = {
{ -32/64, -8/64, -8/64, 8/64, 8/64, 8/64 },
@@ -92,13 +10,6 @@ pipeworks.pipe_selectboxes = {
{ -8/64 , -8/64, -8/64, 8/64, 8/64, 32/64 }
}
-pipeworks.pipe_bendsphere = {
- { -4/64, -4/64, -4/64, 4/64, 4/64, 4/64 },
- { -5/64, -3/64, -3/64, 5/64, 3/64, 3/64 },
- { -3/64, -5/64, -3/64, 3/64, 5/64, 3/64 },
- { -3/64, -3/64, -5/64, 3/64, 3/64, 5/64 }
-}
-
-- Tube models
pipeworks.tube_leftstub = {
@@ -136,67 +47,3 @@ pipeworks.tube_selectboxes = {
{ -10/64 , -10/64, -10/64, 10/64, 10/64, 32/64 }
}
--- Device models
-
-pipeworks.pipe_pumpbody = {
- { -7/16, -6/16, -7/16, 7/16, 5/16, 7/16 },
- { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }
-}
-
-pipeworks.pipe_valvebody = {
- { -4/16, -4/16, -4/16, 4/16, 4/16, 4/16 }
-}
-
-pipeworks.pipe_valvehandle_on = {
- { -5/16, 4/16, -1/16, 0, 5/16, 1/16 }
-}
-
-pipeworks.pipe_valvehandle_off = {
- { -1/16, 4/16, -5/16, 1/16, 5/16, 0 }
-}
-
-pipeworks.pipe_sensorbody = {
- { -3/16, -2/16, -2/16, 3/16, 2/16, 2/16 }
-}
-
-pipeworks.spigot_bottomstub = {
- { -2/64, -16/64, -6/64, 2/64, 1/64, 6/64 }, -- pipe segment against -Y face
- { -4/64, -16/64, -5/64, 4/64, 1/64, 5/64 },
- { -5/64, -16/64, -4/64, 5/64, 1/64, 4/64 },
- { -6/64, -16/64, -2/64, 6/64, 1/64, 2/64 },
-
- { -3/64, -16/64, -8/64, 3/64, -14/64, 8/64 }, -- (the flange for it)
- { -5/64, -16/64, -7/64, 5/64, -14/64, 7/64 },
- { -6/64, -16/64, -6/64, 6/64, -14/64, 6/64 },
- { -7/64, -16/64, -5/64, 7/64, -14/64, 5/64 },
- { -8/64, -16/64, -3/64, 8/64, -14/64, 3/64 }
-}
-
-pipeworks.spigot_stream = {
- { -3/64, (-41/64)-0.01, -5/64, 3/64, -16/64, 5/64 },
- { -4/64, (-41/64)-0.01, -4/64, 4/64, -16/64, 4/64 },
- { -5/64, (-41/64)-0.01, -3/64, 5/64, -16/64, 3/64 }
-}
-
-pipeworks.entry_panel = {
- { -8/16, -8/16, -1/16, 8/16, 8/16, 1/16 }
-}
-
-pipeworks.fountainhead_model = {
- { -2/64, -32/64, -6/64, 2/64, 21/64, 6/64 }, -- main segment
- { -4/64, -32/64, -5/64, 4/64, 21/64, 5/64 },
- { -5/64, -32/64, -4/64, 5/64, 21/64, 4/64 },
- { -6/64, -32/64, -2/64, 6/64, 21/64, 2/64 },
-
- { -3/64, -32/64, -8/64, 3/64, -30/64, 8/64 }, -- bottom flange
- { -5/64, -32/64, -7/64, 5/64, -30/64, 7/64 },
- { -6/64, -32/64, -6/64, 6/64, -30/64, 6/64 },
- { -7/64, -32/64, -5/64, 7/64, -30/64, 5/64 },
- { -8/64, -32/64, -3/64, 8/64, -30/64, 3/64 },
-
- { -3/64, 20/64, -8/64, 3/64, 32/64, 8/64 }, -- top flange/outlet
- { -5/64, 20/64, -7/64, 5/64, 32/64, 7/64 },
- { -6/64, 20/64, -6/64, 6/64, 32/64, 6/64 },
- { -7/64, 20/64, -5/64, 7/64, 32/64, 5/64 },
- { -8/64, 20/64, -3/64, 8/64, 32/64, 3/64 }
-}