summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-03-18 00:42:25 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-03-18 00:42:25 +0300
commitefd50864f5218360967eadad4d5f2f78ed0027cc (patch)
tree1ce80b0874cd3a60b4bdb184943059c6ba17a1ee
parent34da2adeedc8760394d17e10431bed5896971d03 (diff)
better nodeboxes
-rw-r--r--technic/machines/LV/cnc_api.lua62
1 files changed, 50 insertions, 12 deletions
diff --git a/technic/machines/LV/cnc_api.lua b/technic/machines/LV/cnc_api.lua
index 2c58ae7..8b3c86e 100644
--- a/technic/machines/LV/cnc_api.lua
+++ b/technic/machines/LV/cnc_api.lua
@@ -103,12 +103,24 @@ technic.cnc.programs = {
{ suffix = "technic_cnc_sphere_half",
model = "technic_sphere_half.obj",
- desc = S("Half Sphere")
+ desc = S("Half Sphere"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.5, 0.5, 0, 0.5 },
+ }
+ }
},
{ suffix = "technic_cnc_sphere_quarter",
model = "technic_sphere_quarter.obj",
- desc = S("Quarter Sphere")
+ desc = S("Quarter Sphere"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.5, 0.5, 0, 0 },
+ }
+ }
},
{ suffix = "technic_cnc_cylinder_horizontal",
@@ -123,12 +135,24 @@ technic.cnc.programs = {
{ suffix = "technic_cnc_cylinder_half",
model = "technic_cylinder_half.obj",
- desc = S("Half Cylinder")
+ desc = S("Half Cylinder"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.5, 0.5, 0, 0.5 },
+ }
+ }
},
{ suffix = "technic_cnc_cylinder_half_corner",
model = "technic_cylinder_half_corner.obj",
- desc = S("Half Cylinder Corner")
+ desc = S("Half Cylinder Corner"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.5, 0.5, 0, 0.5 },
+ }
+ }
},
{ suffix = "technic_cnc_cylinder_fluted",
@@ -136,6 +160,11 @@ technic.cnc.programs = {
desc = S("Fluted Cylinder Column")
},
+ { suffix = "technic_cnc_block_fluted",
+ model = "technic_block_fluted.obj",
+ desc = S("Fluted Square Column")
+ },
+
{ suffix = "technic_cnc_twocurvededge",
model = "technic_two_curved_edge.obj",
desc = S("Two Curved Edge/Corner Block")
@@ -156,19 +185,28 @@ technic.cnc.programs = {
desc = S("Opposed Curved Edges Block")
},
+ -- 4/16 Diagonal truss
+
{ suffix = "technic_cnc_diagonal_truss",
model = "technic_diagonal_truss.obj",
- desc = S("Diagonal Truss")
+ desc = S("Diagonal Truss"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.25, 0.5, 0.5, 0.25 },
+ }
+ }
},
-
+
{ suffix = "technic_cnc_diagonal_truss_cross",
model = "technic_diagonal_truss_cross.obj",
- desc = S("Diagonal Truss Cross")
- },
-
- { suffix = "technic_cnc_block_fluted",
- model = "technic_block_fluted.obj",
- desc = S("Fluted Square Column")
+ desc = S("Diagonal Truss Cross"),
+ cbox = {
+ type = "fixed",
+ fixed = {
+ { -0.5, -0.5, -0.25, 0.5, 0.5, 0.25 },
+ }
+ }
},
-- 2/16 Beams