mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-28 03:30:36 +01:00
203 lines
6.8 KiB
Lua
Executable File
203 lines
6.8 KiB
Lua
Executable File
---------------------
|
|
-- 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}
|
|
|
|
pipeworks.pipe_selectboxes = {
|
|
{ -32/64, -8/64, -8/64, 8/64, 8/64, 8/64 },
|
|
{ -8/64 , -8/64, -8/64, 32/64, 8/64, 8/64 },
|
|
{ -8/64 , -32/64, -8/64, 8/64, 8/64, 8/64 },
|
|
{ -8/64 , -8/64, -8/64, 8/64, 32/64, 8/64 },
|
|
{ -8/64 , -8/64, -32/64, 8/64, 8/64, 8/64 },
|
|
{ -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 = {
|
|
{ -32/64, -9/64, -9/64, 9/64, 9/64, 9/64 }, -- tube segment against -X face
|
|
}
|
|
|
|
pipeworks.tube_rightstub = {
|
|
{ -9/64, -9/64, -9/64, 32/64, 9/64, 9/64 }, -- tube segment against +X face
|
|
}
|
|
|
|
pipeworks.tube_bottomstub = {
|
|
{ -9/64, -32/64, -9/64, 9/64, 9/64, 9/64 }, -- tube segment against -Y face
|
|
}
|
|
|
|
pipeworks.tube_topstub = {
|
|
{ -9/64, -9/64, -9/64, 9/64, 32/64, 9/64 }, -- tube segment against +Y face
|
|
}
|
|
|
|
pipeworks.tube_frontstub = {
|
|
{ -9/64, -9/64, -32/64, 9/64, 9/64, 9/64 }, -- tube segment against -Z face
|
|
}
|
|
|
|
pipeworks.tube_backstub = {
|
|
{ -9/64, -9/64, -9/64, 9/64, 9/64, 32/64 }, -- tube segment against -Z face
|
|
}
|
|
|
|
pipeworks.tube_boxes = {pipeworks.tube_leftstub, pipeworks.tube_rightstub, pipeworks.tube_bottomstub, pipeworks.tube_topstub, pipeworks.tube_frontstub, pipeworks.tube_backstub}
|
|
|
|
pipeworks.tube_selectboxes = {
|
|
{ -32/64, -10/64, -10/64, 10/64, 10/64, 10/64 },
|
|
{ -10/64 , -10/64, -10/64, 32/64, 10/64, 10/64 },
|
|
{ -10/64 , -32/64, -10/64, 10/64, 10/64, 10/64 },
|
|
{ -10/64 , -10/64, -10/64, 10/64, 32/64, 10/64 },
|
|
{ -10/64 , -10/64, -32/64, 10/64, 10/64, 10/64 },
|
|
{ -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 }
|
|
}
|