move CNC machine into its own mod

This commit is contained in:
Vanessa Dannenberg
2018-11-25 06:54:27 -05:00
committed by Nathanaël Courant
parent 51d7bd81ff
commit dc0689018d
59 changed files with 173 additions and 165 deletions

231
technic_cnc/cnc.lua Normal file
View File

@ -0,0 +1,231 @@
-- Technic CNC v1.0 by kpoppel
-- Based on the NonCubic Blocks MOD v1.4 by yves_de_beck
-- Idea:
-- Somehow have a tabbed/paged panel if the number of shapes should expand
-- beyond what is available in the panel today.
-- I could imagine some form of API allowing modders to come with their own node
-- box definitions and easily stuff it in the this machine for production.
local technic_modpath = minetest.get_modpath("technic")
local S = technic.getter
minetest.register_craft({
output = 'technic:cnc',
recipe = {
{'default:glass', 'technic:diamond_drill_head', 'default:glass'},
{'technic:control_logic_unit', 'technic:machine_casing', 'basic_materials:motor'},
{'technic:carbon_steel_ingot', 'technic:lv_cable', 'technic:carbon_steel_ingot'},
},
})
local shape = {}
local onesize_products = {
slope = 2,
slope_edge = 1,
slope_inner_edge = 1,
pyramid = 2,
spike = 1,
cylinder = 2,
oblate_spheroid = 1,
sphere = 1,
stick = 8,
slope_upsdown = 2,
slope_edge_upsdown = 1,
slope_inner_edge_upsdown = 1,
cylinder_horizontal = 2,
slope_lying = 2,
onecurvededge = 1,
twocurvededge = 1,
}
local twosize_products = {
element_straight = 4,
element_end = 2,
element_cross = 1,
element_t = 1,
element_edge = 2,
}
local cnc_formspec =
"size[9,11;]"..
"label[1,0;"..S("Choose Milling Program:").."]"..
"image_button[1,0.5;1,1;technic_cnc_slope.png;slope; ]"..
"image_button[2,0.5;1,1;technic_cnc_slope_edge.png;slope_edge; ]"..
"image_button[3,0.5;1,1;technic_cnc_slope_inner_edge.png;slope_inner_edge; ]"..
"image_button[4,0.5;1,1;technic_cnc_pyramid.png;pyramid; ]"..
"image_button[5,0.5;1,1;technic_cnc_spike.png;spike; ]"..
"image_button[6,0.5;1,1;technic_cnc_cylinder.png;cylinder; ]"..
"image_button[7,0.5;1,1;technic_cnc_oblate_spheroid.png;oblate_spheroid; ]"..
"image_button[8,0.5;1,1;technic_cnc_stick.png;stick; ]"..
"image_button[1,1.5;1,1;technic_cnc_slope_upsdwn.png;slope_upsdown; ]"..
"image_button[2,1.5;1,1;technic_cnc_slope_edge_upsdwn.png;slope_edge_upsdown; ]"..
"image_button[3,1.5;1,1;technic_cnc_slope_inner_edge_upsdwn.png;slope_inner_edge_upsdown; ]"..
"image_button[4,1.5;1,1;technic_cnc_cylinder_horizontal.png;cylinder_horizontal; ]"..
"image_button[5,1.5;1,1;technic_cnc_sphere.png;sphere; ]"..
"image_button[1,2.5;1,1;technic_cnc_slope_lying.png;slope_lying; ]"..
"image_button[2,2.5;1,1;technic_cnc_onecurvededge.png;onecurvededge; ]"..
"image_button[3,2.5;1,1;technic_cnc_twocurvededge.png;twocurvededge; ]"..
"label[1,3.5;"..S("Slim Elements half / normal height:").."]"..
"image_button[1,4;1,0.5;technic_cnc_full.png;full; ]"..
"image_button[1,4.5;1,0.5;technic_cnc_half.png;half; ]"..
"image_button[2,4;1,1;technic_cnc_element_straight.png;element_straight; ]"..
"image_button[3,4;1,1;technic_cnc_element_end.png;element_end; ]"..
"image_button[4,4;1,1;technic_cnc_element_cross.png;element_cross; ]"..
"image_button[5,4;1,1;technic_cnc_element_t.png;element_t; ]"..
"image_button[6,4;1,1;technic_cnc_element_edge.png;element_edge; ]"..
"label[0, 5.5;"..S("In:").."]"..
"list[current_name;src;0.5,5.5;1,1;]"..
"label[4, 5.5;"..S("Out:").."]"..
"list[current_name;dst;5,5.5;4,1;]"..
"list[current_player;main;0,7;8,4;]"..
"listring[current_name;dst]"..
"listring[current_player;main]"..
"listring[current_name;src]"..
"listring[current_player;main]"
local size = 1;
-- The form handler is declared here because we need it in both the inactive and active modes
-- in order to be able to change programs wile it is running.
local function form_handler(pos, formname, fields, sender)
-- REGISTER MILLING PROGRAMS AND OUTPUTS:
------------------------------------------
-- Program for half/full size
if fields["full"] then
size = 1
return
end
if fields["half"] then
size = 2
return
end
-- Resolve the node name and the number of items to make
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
local inputstack = inv:get_stack("src", 1)
local inputname = inputstack:get_name()
local multiplier = 0
for k, _ in pairs(fields) do
-- Set a multipier for the half/full size capable blocks
if twosize_products[k] ~= nil then
multiplier = size * twosize_products[k]
else
multiplier = onesize_products[k]
end
if onesize_products[k] ~= nil or twosize_products[k] ~= nil then
meta:set_float( "cnc_multiplier", multiplier)
meta:set_string("cnc_user", sender:get_player_name())
end
if onesize_products[k] ~= nil or (twosize_products[k] ~= nil and size==2) then
meta:set_string("cnc_product", inputname .. "_technic_cnc_" .. k)
--print(inputname .. "_technic_cnc_" .. k)
break
end
if twosize_products[k] ~= nil and size==1 then
meta:set_string("cnc_product", inputname .. "_technic_cnc_" .. k .. "_double")
--print(inputname .. "_technic_cnc_" .. k .. "_double")
break
end
end
return
end
-- Action code performing the transformation
local run = function(pos, node)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
local eu_input = meta:get_int("LV_EU_input")
local machine_name = S("%s CNC Machine"):format("LV")
local machine_node = "technic:cnc"
local demand = 450
local result = meta:get_string("cnc_product")
if inv:is_empty("src") or
(not minetest.registered_nodes[result]) or
(not inv:room_for_item("dst", result)) then
technic.swap_node(pos, machine_node)
meta:set_string("infotext", S("%s Idle"):format(machine_name))
meta:set_string("cnc_product", "")
meta:set_int("LV_EU_demand", 0)
return
end
if eu_input < demand then
technic.swap_node(pos, machine_node)
meta:set_string("infotext", S("%s Unpowered"):format(machine_name))
elseif eu_input >= demand then
technic.swap_node(pos, machine_node.."_active")
meta:set_string("infotext", S("%s Active"):format(machine_name))
meta:set_int("src_time", meta:get_int("src_time") + 1)
if meta:get_int("src_time") >= 3 then -- 3 ticks per output
meta:set_int("src_time", 0)
srcstack = inv:get_stack("src", 1)
srcstack:take_item()
inv:set_stack("src", 1, srcstack)
inv:add_item("dst", result.." "..meta:get_int("cnc_multiplier"))
end
end
meta:set_int("LV_EU_demand", demand)
end
-- The actual block inactive state
minetest.register_node(":technic:cnc", {
description = S("%s CNC Machine"):format("LV"),
tiles = {"technic_cnc_top.png", "technic_cnc_bottom.png", "technic_cnc_side.png",
"technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front.png"},
groups = {cracky=2, technic_machine=1, technic_lv=1},
connect_sides = {"bottom", "back", "left", "right"},
paramtype2 = "facedir",
legacy_facedir_simple = true,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("infotext", S("%s CNC Machine"):format("LV"))
meta:set_float("technic_power_machine", 1)
meta:set_string("formspec", cnc_formspec)
local inv = meta:get_inventory()
inv:set_size("src", 1)
inv:set_size("dst", 4)
end,
can_dig = technic.machine_can_dig,
allow_metadata_inventory_put = technic.machine_inventory_put,
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
on_receive_fields = form_handler,
technic_run = run,
})
-- Active state block
minetest.register_node(":technic:cnc_active", {
description = S("%s CNC Machine"):format("LV"),
tiles = {"technic_cnc_top_active.png", "technic_cnc_bottom.png", "technic_cnc_side.png",
"technic_cnc_side.png", "technic_cnc_side.png", "technic_cnc_front_active.png"},
groups = {cracky=2, technic_machine=1, technic_lv=1, not_in_creative_inventory=1},
connect_sides = {"bottom", "back", "left", "right"},
paramtype2 = "facedir",
drop = "technic:cnc",
legacy_facedir_simple = true,
can_dig = technic.machine_can_dig,
allow_metadata_inventory_put = technic.machine_inventory_put,
allow_metadata_inventory_take = technic.machine_inventory_take,
allow_metadata_inventory_move = technic.machine_inventory_move,
on_receive_fields = form_handler,
technic_run = run,
technic_disabled_machine_name = "technic:cnc",
})
technic.register_machine("LV", "technic:cnc", technic.receiver)
technic.register_machine("LV", "technic:cnc_active", technic.receiver)

369
technic_cnc/cnc_api.lua Normal file
View File

@ -0,0 +1,369 @@
-- API for the technic CNC machine
-- Again code is adapted from the NonCubic Blocks MOD v1.4 by yves_de_beck
local S = technic.getter
technic.cnc = {}
-- REGISTER NONCUBIC FORMS, CREATE MODELS AND RECIPES:
------------------------------------------------------
-- Define slope boxes for the various nodes
-------------------------------------------
technic.cnc.programs = {
{ suffix = "technic_cnc_stick",
model = {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15},
desc = S("Stick")
},
{ suffix = "technic_cnc_element_end_double",
model = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.5},
desc = S("Element End Double")
},
{ suffix = "technic_cnc_element_cross_double",
model = {
{0.3, -0.5, -0.3, 0.5, 0.5, 0.3},
{-0.3, -0.5, -0.5, 0.3, 0.5, 0.5},
{-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}},
desc = S("Element Cross Double")
},
{ suffix = "technic_cnc_element_t_double",
model = {
{-0.3, -0.5, -0.5, 0.3, 0.5, 0.3},
{-0.5, -0.5, -0.3, -0.3, 0.5, 0.3},
{0.3, -0.5, -0.3, 0.5, 0.5, 0.3}},
desc = S("Element T Double")
},
{ suffix = "technic_cnc_element_edge_double",
model = {
{-0.3, -0.5, -0.5, 0.3, 0.5, 0.3},
{-0.5, -0.5, -0.3, -0.3, 0.5, 0.3}},
desc = S("Element Edge Double")
},
{ suffix = "technic_cnc_element_straight_double",
model = {-0.3, -0.5, -0.5, 0.3, 0.5, 0.5},
desc = S("Element Straight Double")
},
{ suffix = "technic_cnc_element_end",
model = {-0.3, -0.5, -0.3, 0.3, 0, 0.5},
desc = S("Element End")
},
{ suffix = "technic_cnc_element_cross",
model = {
{0.3, -0.5, -0.3, 0.5, 0, 0.3},
{-0.3, -0.5, -0.5, 0.3, 0, 0.5},
{-0.5, -0.5, -0.3, -0.3, 0, 0.3}},
desc = S("Element Cross")
},
{ suffix = "technic_cnc_element_t",
model = {
{-0.3, -0.5, -0.5, 0.3, 0, 0.3},
{-0.5, -0.5, -0.3, -0.3, 0, 0.3},
{0.3, -0.5, -0.3, 0.5, 0, 0.3}},
desc = S("Element T")
},
{ suffix = "technic_cnc_element_edge",
model = {
{-0.3, -0.5, -0.5, 0.3, 0, 0.3},
{-0.5, -0.5, -0.3, -0.3, 0, 0.3}},
desc = S("Element Edge")
},
{ suffix = "technic_cnc_element_straight",
model = {-0.3, -0.5, -0.5, 0.3, 0, 0.5},
desc = S("Element Straight")
},
{ suffix = "technic_cnc_oblate_spheroid",
model = "technic_cnc_oblate_spheroid.obj",
desc = S("Oblate spheroid"),
cbox = {
type = "fixed",
fixed = {
{ -6/16, 4/16, -6/16, 6/16, 8/16, 6/16 },
{ -8/16, -4/16, -8/16, 8/16, 4/16, 8/16 },
{ -6/16, -8/16, -6/16, 6/16, -4/16, 6/16 }
}
}
},
{ suffix = "technic_cnc_sphere",
model = "technic_cnc_sphere.obj",
desc = S("Sphere")
},
{ suffix = "technic_cnc_cylinder_horizontal",
model = "technic_cnc_cylinder_horizontal.obj",
desc = S("Horizontal Cylinder")
},
{ suffix = "technic_cnc_cylinder",
model = "technic_cnc_cylinder.obj",
desc = S("Cylinder")
},
{ suffix = "technic_cnc_twocurvededge",
model = "technic_cnc_two_curved_edge.obj",
desc = S("Two Curved Edge/Corner Block")
},
{ suffix = "technic_cnc_onecurvededge",
model = "technic_cnc_one_curved_edge.obj",
desc = S("One Curved Edge Block")
},
{ suffix = "technic_cnc_spike",
model = "technic_cnc_pyramid_spike.obj",
desc = S("Spike"),
cbox = {
type = "fixed",
fixed = {
{ -2/16, 4/16, -2/16, 2/16, 8/16, 2/16 },
{ -4/16, 0, -4/16, 4/16, 4/16, 4/16 },
{ -6/16, -4/16, -6/16, 6/16, 0, 6/16 },
{ -8/16, -8/16, -8/16, 8/16, -4/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_pyramid",
model = "technic_cnc_pyramid.obj",
desc = S("Pyramid"),
cbox = {
type = "fixed",
fixed = {
{ -2/16, -2/16, -2/16, 2/16, 0, 2/16 },
{ -4/16, -4/16, -4/16, 4/16, -2/16, 4/16 },
{ -6/16, -6/16, -6/16, 6/16, -4/16, 6/16 },
{ -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_slope_inner_edge_upsdown",
model = "technic_cnc_innercorner_upsdown.obj",
desc = S("Slope Upside Down Inner Edge/Corner"),
sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
},
cbox = {
type = "fixed",
fixed = {
{ 0.25, -0.25, -0.5, 0.5, -0.5, 0.5 },
{ -0.5, -0.25, 0.25, 0.5, -0.5, 0.5 },
{ 0, 0, -0.5, 0.5, -0.25, 0.5 },
{ -0.5, 0, 0, 0.5, -0.25, 0.5 },
{ -0.25, 0.25, -0.5, 0.5, 0, -0.25 },
{ -0.5, 0.25, -0.25, 0.5, 0, 0.5 },
{ -0.5, 0.5, -0.5, 0.5, 0.25, 0.5 }
}
}
},
{ suffix = "technic_cnc_slope_edge_upsdown",
model = "technic_cnc_outercorner_upsdown.obj",
desc = S("Slope Upside Down Outer Edge/Corner"),
cbox = {
type = "fixed",
fixed = {
{ -8/16, 8/16, -8/16, 8/16, 4/16, 8/16 },
{ -4/16, 4/16, -4/16, 8/16, 0, 8/16 },
{ 0, 0, 0, 8/16, -4/16, 8/16 },
{ 4/16, -4/16, 4/16, 8/16, -8/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_slope_inner_edge",
model = "technic_cnc_innercorner.obj",
desc = S("Slope Inner Edge/Corner"),
sbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
},
cbox = {
type = "fixed",
fixed = {
{ -0.5, -0.5, -0.5, 0.5, -0.25, 0.5 },
{ -0.5, -0.25, -0.25, 0.5, 0, 0.5 },
{ -0.25, -0.25, -0.5, 0.5, 0, -0.25 },
{ -0.5, 0, 0, 0.5, 0.25, 0.5 },
{ 0, 0, -0.5, 0.5, 0.25, 0.5 },
{ -0.5, 0.25, 0.25, 0.5, 0.5, 0.5 },
{ 0.25, 0.25, -0.5, 0.5, 0.5, 0.5 }
}
}
},
{ suffix = "technic_cnc_slope_edge",
model = "technic_cnc_outercorner.obj",
desc = S("Slope Outer Edge/Corner"),
cbox = {
type = "fixed",
fixed = {
{ 4/16, 4/16, 4/16, 8/16, 8/16, 8/16 },
{ 0, 0, 0, 8/16, 4/16, 8/16 },
{ -4/16, -4/16, -4/16, 8/16, 0, 8/16 },
{ -8/16, -8/16, -8/16, 8/16, -4/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_slope_upsdown",
model = "technic_cnc_slope_upsdown.obj",
desc = S("Slope Upside Down"),
cbox = {
type = "fixed",
fixed = {
{ -8/16, 8/16, -8/16, 8/16, 4/16, 8/16 },
{ -8/16, 4/16, -4/16, 8/16, 0, 8/16 },
{ -8/16, 0, 0, 8/16, -4/16, 8/16 },
{ -8/16, -4/16, 4/16, 8/16, -8/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_slope_lying",
model = "technic_cnc_slope_horizontal.obj",
desc = S("Slope Lying"),
cbox = {
type = "fixed",
fixed = {
{ 4/16, -8/16, 4/16, 8/16, 8/16, 8/16 },
{ 0, -8/16, 0, 4/16, 8/16, 8/16 },
{ -4/16, -8/16, -4/16, 0, 8/16, 8/16 },
{ -8/16, -8/16, -8/16, -4/16, 8/16, 8/16 }
}
}
},
{ suffix = "technic_cnc_slope",
model = "technic_cnc_slope.obj",
desc = S("Slope"),
cbox = {
type = "fixed",
fixed = {
{ -8/16, 4/16, 4/16, 8/16, 8/16, 8/16 },
{ -8/16, 0, 0, 8/16, 4/16, 8/16 },
{ -8/16, -4/16, -4/16, 8/16, 0, 8/16 },
{ -8/16, -8/16, -8/16, 8/16, -4/16, 8/16 }
}
}
},
}
-- Allow disabling certain programs for some node. Default is allowing all types for all nodes
technic.cnc.programs_disable = {
-- ["default:brick"] = {"technic_cnc_stick"}, -- Example: Disallow the stick for brick
-- ...
["default:dirt"] = {"technic_cnc_oblate_spheroid", "technic_cnc_slope_upsdown", "technic_cnc_edge",
"technic_cnc_inner_edge", "technic_cnc_slope_edge_upsdown",
"technic_cnc_slope_inner_edge_upsdown", "technic_cnc_stick",
"technic_cnc_cylinder_horizontal"}
}
-- Generic function for registering all the different node types
function technic.cnc.register_program(recipeitem, suffix, model, groups, images, description, cbox, sbox)
local dtype
local nodeboxdef
local meshdef
if type(model) ~= "string" then -- assume a nodebox if it's a table or function call
dtype = "nodebox"
nodeboxdef = {
type = "fixed",
fixed = model
}
else
dtype = "mesh"
meshdef = model
end
if cbox and not sbox then sbox = cbox end
minetest.register_node(":"..recipeitem.."_"..suffix, {
description = description,
drawtype = dtype,
node_box = nodeboxdef,
mesh = meshdef,
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = groups,
selection_box = sbox,
collision_box = cbox
})
end
-- function to iterate over all the programs the CNC machine knows
function technic.cnc.register_all(recipeitem, groups, images, description)
for _, data in ipairs(technic.cnc.programs) do
-- Disable node creation for disabled node types for some material
local do_register = true
if technic.cnc.programs_disable[recipeitem] ~= nil then
for __, disable in ipairs(technic.cnc.programs_disable[recipeitem]) do
if disable == data.suffix then
do_register = false
end
end
end
-- Create the node if it passes the test
if do_register then
technic.cnc.register_program(recipeitem, data.suffix, data.model,
groups, images, description.." "..data.desc, data.cbox, data.sbox)
end
end
end
-- REGISTER NEW TECHNIC_CNC_API's PART 2: technic.cnc..register_element_end(subname, recipeitem, groups, images, desc_element_xyz)
-----------------------------------------------------------------------------------------------------------------------
function technic.cnc.register_slope_edge_etc(recipeitem, groups, images, desc_slope, desc_slope_lying, desc_slope_upsdown, desc_slope_edge, desc_slope_inner_edge, desc_slope_upsdwn_edge, desc_slope_upsdwn_inner_edge, desc_pyramid, desc_spike, desc_onecurvededge, desc_twocurvededge, desc_cylinder, desc_cylinder_horizontal, desc_spheroid, desc_element_straight, desc_element_edge, desc_element_t, desc_element_cross, desc_element_end)
technic.cnc.register_slope(recipeitem, groups, images, desc_slope)
technic.cnc.register_slope_lying(recipeitem, groups, images, desc_slope_lying)
technic.cnc.register_slope_upsdown(recipeitem, groups, images, desc_slope_upsdown)
technic.cnc.register_slope_edge(recipeitem, groups, images, desc_slope_edge)
technic.cnc.register_slope_inner_edge(recipeitem, groups, images, desc_slope_inner_edge)
technic.cnc.register_slope_edge_upsdown(recipeitem, groups, images, desc_slope_upsdwn_edge)
technic.cnc.register_slope_inner_edge_upsdown(recipeitem, groups, images, desc_slope_upsdwn_inner_edge)
technic.cnc.register_pyramid(recipeitem, groups, images, desc_pyramid)
technic.cnc.register_spike(recipeitem, groups, images, desc_spike)
technic.cnc.register_onecurvededge(recipeitem, groups, images, desc_onecurvededge)
technic.cnc.register_twocurvededge(recipeitem, groups, images, desc_twocurvededge)
technic.cnc.register_cylinder(recipeitem, groups, images, desc_cylinder)
technic.cnc.register_cylinder_horizontal(recipeitem, groups, images, desc_cylinder_horizontal)
technic.cnc.register_spheroid(recipeitem, groups, images, desc_spheroid)
technic.cnc.register_element_straight(recipeitem, groups, images, desc_element_straight)
technic.cnc.register_element_edge(recipeitem, groups, images, desc_element_edge)
technic.cnc.register_element_t(recipeitem, groups, images, desc_element_t)
technic.cnc.register_element_cross(recipeitem, groups, images, desc_element_cross)
technic.cnc.register_element_end(recipeitem, groups, images, desc_element_end)
end
-- REGISTER STICKS: noncubic.register_xyz(recipeitem, groups, images, desc_element_xyz)
------------------------------------------------------------------------------------------------------------
function technic.cnc.register_stick_etc(recipeitem, groups, images, desc_stick)
technic.cnc.register_stick(recipeitem, groups, images, desc_stick)
end
function technic.cnc.register_elements(recipeitem, groups, images, desc_element_straight_double, desc_element_edge_double, desc_element_t_double, desc_element_cross_double, desc_element_end_double)
technic.cnc.register_element_straight_double(recipeitem, groups, images, desc_element_straight_double)
technic.cnc.register_element_edge_double(recipeitem, groups, images, desc_element_edge_double)
technic.cnc.register_element_t_double(recipeitem, groups, images, desc_element_t_double)
technic.cnc.register_element_cross_double(recipeitem, groups, images, desc_element_cross_double)
technic.cnc.register_element_end_double(recipeitem, groups, images, desc_element_end_double)
end

View File

@ -0,0 +1,91 @@
-- REGISTER MATERIALS AND PROPERTIES FOR NONCUBIC ELEMENTS:
-----------------------------------------------------------
local S = technic.getter
-- DIRT
-------
technic.cnc.register_all("default:dirt",
{snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
{"default_grass.png", "default_dirt.png", "default_grass.png"},
S("Dirt"))
-- WOOD
-------
technic.cnc.register_all("default:wood",
{snappy=2, choppy=2, oddly_breakable_by_hand=2, not_in_creative_inventory=1},
{"default_wood.png"},
S("Wooden"))
-- STONE
--------
technic.cnc.register_all("default:stone",
{cracky=3, not_in_creative_inventory=1},
{"default_stone.png"},
S("Stone"))
-- COBBLE
---------
technic.cnc.register_all("default:cobble",
{cracky=3, not_in_creative_inventory=1},
{"default_cobble.png"},
S("Cobble"))
-- BRICK
--------
technic.cnc.register_all("default:brick",
{cracky=3, not_in_creative_inventory=1},
{"default_brick.png"},
S("Brick"))
-- SANDSTONE
------------
technic.cnc.register_all("default:sandstone",
{crumbly=2, cracky=3, not_in_creative_inventory=1},
{"default_sandstone.png"},
S("Sandstone"))
-- LEAVES
---------
technic.cnc.register_all("default:leaves",
{snappy=2, choppy=2, oddly_breakable_by_hand=3, not_in_creative_inventory=1},
{"default_leaves.png"},
S("Leaves"))
-- TREE
-------
technic.cnc.register_all("default:tree",
{snappy=1, choppy=2, oddly_breakable_by_hand=2, flammable=3, wood=1, not_in_creative_inventory=1},
{"default_tree.png"},
S("Tree"))
-- WROUGHT IRON
---------------
technic.cnc.register_all("default:steelblock",
{cracky=1, level=2, not_in_creative_inventory=1},
{"technic_wrought_iron_block.png"},
S("Wrought Iron"))
-- Bronze
--------
technic.cnc.register_all("default:bronzeblock",
{cracky=1, level=2, not_in_creative_inventory=1},
{"default_bronze_block.png"},
S("Bronze"))
-- Stainless Steel
--------
technic.cnc.register_all("technic:stainless_steel_block",
{cracky=1, level=2, not_in_creative_inventory=1},
{"technic_stainless_steel_block.png"},
S("Stainless Steel"))
-- Marble
------------
technic.cnc.register_all("technic:marble",
{cracky=3, not_in_creative_inventory=1},
{"technic_marble.png"},
S("Marble"))
-- Granite
------------
technic.cnc.register_all("technic:granite",
{cracky=1, not_in_creative_inventory=1},
{"technic_granite.png"},
S("Granite"))

2
technic_cnc/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
technic

13
technic_cnc/init.lua Normal file
View File

@ -0,0 +1,13 @@
local modpath = minetest.get_modpath("technic_cnc")
technic_cnc = {}
if rawget(_G, "intllib") then
technic_cnc.getter = intllib.Getter()
else
technic_cnc.getter = function(s,a,...)if a==nil then return s end a={a,...}return s:gsub("(@?)@(%(?)(%d+)(%)?)",function(e,o,n,c)if e==""then return a[tonumber(n)]..(o==""and c or"")else return"@"..o..n..c end end) end
end
dofile(modpath.."/cnc.lua")
dofile(modpath.."/cnc_api.lua")
dofile(modpath.."/cnc_materials.lua")

35
technic_cnc/locale/de.txt Normal file
View File

@ -0,0 +1,35 @@
## CNC
%s CNC Machine = %s CNC-Maschine
Cylinder = Zylinder
Element Cross = Halbes Kreuzelement
Element Cross Double = Kreuzelement
Element Edge = Halbes Eckelement
Element Edge Double = Eckelement
Element End = Halbes Endelement
Element End Double = Endelement
Element Straight = Halbes aufrechtes Element
Element Straight Double = Aufrechtes Element
Element T = Halbes T-Element
Element T Double = T-Element
Horizontal Cylinder = Liegender Zylinder
One Curved Edge Block = Block mit einer abgerundeten Kante
Pyramid = Pyramide
Slope = Schraege
Slope Edge = Schraege mit Ecke
Slope Inner Edge = Schraege mit Innenecke
Slope Lying = Liegende Schraege
Slope Upside Down = Umgedrehte Schraege
Slope Upside Down Edge = Umgedrehte Schraege mit Ecke
Slope Upside Down Inner Edge = Umgedrehte Schraege mit Innenecke
Sphere = Kugel
Spike = Spitze
Stick = Stange
Two Curved Edge Block = Block mit zwei abgerundeten Kanten
Brick = Ziegel:
Cobble = Pflasterstein:
Dirt = Erde:
Leaves = Laub:
Sandstone = Sandstein:
Stone = Stein:
Tree = Baumstamm:
Wooden = Holz:

34
technic_cnc/locale/es.txt Normal file
View File

@ -0,0 +1,34 @@
## CNC
%s CNC Machine = Maquina CNC %s
Element Edge = Elemento Borde
Tree = Arbol
Element Cross Double = Elemento Cruz Doble
Spike = Pica
Element Edge Double = Elemento Borde Doble
Two Curved Edge Block = Dos Bloques de Borde Curvados
Pyramid = Piramide
Slope Upside Down Inner Edge = Borde Interno de Rampa Al Reves
Slope Upside Down Edge = Borde de Rampa Al Reves
Element Straight Double = Elemento Doble Recto
Sphere = Esfera
Element End Double = Doble Fin de Elemento
Element Straight = Recta de Elemento
Horizontal Cylinder = Cilindro Horizontal
Slope Inner Edge = Borde Interno de Rampa
One Curved Edge Block = Un Bloque de Borde Curvado
Element Cross = Cruce de Elementos
Stick = Varita
Element End = Fin de Elemento
Slope Lying = Rampa en Reposo
Slope Upside Down = Rampa Al Reves
Slope Edge = Borde de Rampa
Slope = Rampa
Element T = Elemento T
Cylinder = Cilindro
Cobble = Adoquines
Stone = Piedra
Brick = Ladrillo
Dirt = Tierra
Sandstone = Arenisca
Wooden = Madera
Leaves = Hojas

35
technic_cnc/locale/it.txt Normal file
View File

@ -0,0 +1,35 @@
## CNC
%s CNC Machine = Tornio CNC %s
Cylinder = Cilindro
Element Cross = Elemento a croce
Element Cross Double = Elemento a croce doppio
Element Edge = Elemento bordo
Element Edge Double = Elemento bordo doppio
Element End = Elemento finale
Element End Double = Elemento finale doppio
Element Straight = Elemento dritto
Element Straight Double = Elemento dritto doppio
Element T = Elemento a T
Element T Double = Elemento a T doppio
Horizontal Cylinder = Cilindro orizzontale
One Curved Edge Block = Blocco con bordo curvo
Pyramid = Piramide
Slope = Inclinato
Slope Edge = Bordo inclinato
Slope Inner Edge = Bordo interno inclinato
Slope Lying = Pendenza bugiarda
Slope Upside Down = Pendenza capovolta
Slope Upside Down Edge = Bordo inclinato capovolto
Slope Upside Down Inner Edge = Bordo interno inclinato capovolto
Sphere = Sfera
Spike = Spuntone
Stick = Bastone
Two Curved Edge Block = Blocco con bordo a doppia curva
Brick = Mattone
Cobble = Ciottolato
Dirt = Terra
Leaves = Foglie
Sandstone = Arenaria
Stone = Pietra
Tree = Albero
Wooden = Legno

View File

@ -0,0 +1,35 @@
## CNC
%s CNC Machine =
Cylinder =
Element Cross =
Element Cross Double =
Element Edge =
Element Edge Double =
Element End =
Element End Double =
Element Straight =
Element Straight Double =
Element T =
Element T Double =
Horizontal Cylinder =
One Curved Edge Block =
Pyramid =
Slope =
Slope Edge =
Slope Inner Edge =
Slope Lying =
Slope Upside Down =
Slope Upside Down Edge =
Slope Upside Down Inner Edge =
Sphere =
Spike =
Stick =
Two Curved Edge Block =
Brick =
Cobble =
Dirt =
Leaves =
Sandstone =
Stone =
Tree =
Wooden =

View File

@ -0,0 +1,238 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_cylinder_onetexture.blend'
# www.blender.org
o Cylinder_Cylinder.001
v 0.000000 -0.500000 -0.500000
v 0.000000 0.500000 -0.500000
v 0.097545 -0.500000 -0.490393
v 0.097545 0.500000 -0.490393
v 0.191342 -0.500000 -0.461940
v 0.191342 0.500000 -0.461940
v 0.277785 -0.500000 -0.415735
v 0.277785 0.500000 -0.415735
v 0.353553 -0.500000 -0.353554
v 0.353553 0.500000 -0.353554
v 0.415735 -0.500000 -0.277785
v 0.415735 0.500000 -0.277785
v 0.461940 -0.500000 -0.191342
v 0.461940 0.500000 -0.191342
v 0.490393 -0.500000 -0.097545
v 0.490393 0.500000 -0.097545
v 0.500000 -0.500000 -0.000000
v 0.500000 0.500000 -0.000000
v 0.490393 -0.500000 0.097545
v 0.490393 0.500000 0.097545
v 0.461940 -0.500000 0.191341
v 0.461940 0.500000 0.191341
v 0.415735 -0.500000 0.277785
v 0.415735 0.500000 0.277785
v 0.353553 -0.500000 0.353553
v 0.353553 0.500000 0.353553
v 0.277785 -0.500000 0.415735
v 0.277785 0.500000 0.415735
v 0.191342 -0.500000 0.461940
v 0.191342 0.500000 0.461940
v 0.097545 -0.500000 0.490392
v 0.097545 0.500000 0.490392
v -0.000000 -0.500000 0.500000
v -0.000000 0.500000 0.500000
v -0.097545 -0.500000 0.490392
v -0.097545 0.500000 0.490392
v -0.191342 -0.500000 0.461939
v -0.191342 0.500000 0.461939
v -0.277785 -0.500000 0.415734
v -0.277785 0.500000 0.415734
v -0.353554 -0.500000 0.353553
v -0.353554 0.500000 0.353553
v -0.415735 -0.500000 0.277785
v -0.415735 0.500000 0.277785
v -0.461940 -0.500000 0.191341
v -0.461940 0.500000 0.191341
v -0.490393 -0.500000 0.097545
v -0.490393 0.500000 0.097545
v -0.500000 -0.500000 -0.000001
v -0.500000 0.500000 -0.000001
v -0.490393 -0.500000 -0.097546
v -0.490393 0.500000 -0.097546
v -0.461940 -0.500000 -0.191342
v -0.461940 0.500000 -0.191342
v -0.415734 -0.500000 -0.277786
v -0.415734 0.500000 -0.277786
v -0.353553 -0.500000 -0.353554
v -0.353553 0.500000 -0.353554
v -0.277785 -0.500000 -0.415735
v -0.277785 0.500000 -0.415735
v -0.191341 -0.500000 -0.461940
v -0.191341 0.500000 -0.461940
v -0.097544 -0.500000 -0.490393
v -0.097544 0.500000 -0.490393
vt 0.499996 0.999997
vt 0.499995 0.000005
vt 0.562495 0.000004
vt 0.562496 0.999997
vt 0.624995 0.000003
vt 0.624997 0.999997
vt 0.687496 0.000002
vt 0.687497 0.999998
vt 0.749997 0.000001
vt 0.749997 0.999998
vt 0.812497 0.000001
vt 0.812497 0.999998
vt 0.874997 -0.000000
vt 0.874997 0.999998
vt 0.937498 -0.000000
vt 0.937498 0.999998
vt 0.999998 -0.000000
vt 0.999998 0.999998
vt 0.000005 0.999997
vt 0.000001 0.000024
vt 0.062500 0.000023
vt 0.062505 0.999996
vt 0.124999 0.000021
vt 0.125004 0.999996
vt 0.187498 0.000020
vt 0.187503 0.999995
vt 0.249997 0.000018
vt 0.250003 0.999994
vt 0.312497 0.000017
vt 0.312502 0.999994
vt 0.374997 0.000015
vt 0.375002 0.999993
vt 0.437496 0.000014
vt 0.437501 0.999993
vt 0.402487 0.009601
vt 0.597576 0.009614
vt 0.691371 0.038072
vt 0.777811 0.084282
vt 0.853576 0.146469
vt 0.915753 0.222242
vt 0.961953 0.308689
vt 0.990399 0.402487
vt 1.000000 0.500033
vt 0.990386 0.597577
vt 0.961928 0.691370
vt 0.915717 0.777811
vt 0.853531 0.853575
vt 0.777758 0.915753
vt 0.691312 0.961952
vt 0.597514 0.990398
vt 0.402424 0.990386
vt 0.308630 0.961928
vt 0.222188 0.915717
vt 0.146424 0.853531
vt 0.084248 0.777759
vt 0.038049 0.691313
vt 0.009602 0.597515
vt 0.000000 0.499970
vt 0.009614 0.402425
vt 0.038073 0.308630
vt 0.084283 0.222189
vt 0.146470 0.146424
vt 0.222243 0.084248
vt 0.308689 0.038048
vt 0.499927 0.999999
vt 0.084226 0.777725
vt 0.000000 0.499927
vt 0.222277 0.084224
vt 0.500074 0.000000
vt 0.915777 0.222279
vt 1.000000 0.500077
vt 0.777724 0.915775
vn 0.000000 -0.685700 -0.727900
vn 0.000000 0.685700 -0.727900
vn 0.142000 0.685700 -0.713900
vn 0.142000 -0.685700 -0.713900
vn 0.278500 0.685700 -0.672500
vn 0.278500 -0.685700 -0.672500
vn 0.404400 0.685700 -0.605200
vn 0.404400 -0.685700 -0.605200
vn 0.514700 0.685700 -0.514700
vn 0.514700 -0.685700 -0.514700
vn 0.605200 0.685700 -0.404400
vn 0.605200 -0.685700 -0.404400
vn 0.672500 0.685700 -0.278500
vn 0.672500 -0.685700 -0.278500
vn 0.713900 0.685700 -0.142000
vn 0.713900 -0.685700 -0.142000
vn 0.727900 0.685700 0.000000
vn 0.727900 -0.685700 0.000000
vn 0.713900 0.685700 0.142000
vn 0.713900 -0.685700 0.142000
vn 0.672500 0.685700 0.278500
vn 0.672500 -0.685700 0.278500
vn 0.605200 0.685700 0.404400
vn 0.605200 -0.685700 0.404400
vn 0.514700 0.685700 0.514700
vn 0.514700 -0.685700 0.514700
vn 0.404400 0.685700 0.605200
vn 0.404400 -0.685700 0.605200
vn 0.278500 0.685700 0.672500
vn 0.278500 -0.685700 0.672500
vn 0.142000 0.685700 0.713900
vn 0.142000 -0.685700 0.713900
vn 0.000000 0.685700 0.727900
vn 0.000000 -0.685700 0.727900
vn -0.142000 0.685700 0.713900
vn -0.142000 -0.685700 0.713900
vn -0.278500 0.685700 0.672500
vn -0.278500 -0.685700 0.672500
vn -0.404400 0.685700 0.605200
vn -0.404400 -0.685700 0.605200
vn -0.514700 0.685700 0.514700
vn -0.514700 -0.685700 0.514700
vn -0.605200 0.685700 0.404400
vn -0.605200 -0.685700 0.404400
vn -0.672500 0.685700 0.278500
vn -0.672500 -0.685700 0.278500
vn -0.713900 0.685700 0.142000
vn -0.713900 -0.685700 0.142000
vn -0.727900 0.685700 0.000000
vn -0.727900 -0.685700 0.000000
vn -0.713900 0.685700 -0.142000
vn -0.713900 -0.685700 -0.142000
vn -0.672500 0.685700 -0.278500
vn -0.672500 -0.685700 -0.278500
vn -0.605200 0.685700 -0.404400
vn -0.605200 -0.685700 -0.404400
vn -0.514700 0.685700 -0.514700
vn -0.514700 -0.685700 -0.514700
vn -0.404400 0.685700 -0.605200
vn -0.404400 -0.685700 -0.605200
vn -0.278500 0.685700 -0.672500
vn -0.278500 -0.685700 -0.672500
vn -0.142000 0.685700 -0.713900
vn -0.142000 -0.685700 -0.713900
s 1
f 1/1/1 2/2/2 4/3/3 3/4/4
f 3/4/4 4/3/3 6/5/5 5/6/6
f 5/6/6 6/5/5 8/7/7 7/8/8
f 7/8/8 8/7/7 10/9/9 9/10/10
f 9/10/10 10/9/9 12/11/11 11/12/12
f 11/12/12 12/11/11 14/13/13 13/14/14
f 13/14/14 14/13/13 16/15/15 15/16/16
f 15/16/16 16/15/15 18/17/17 17/18/18
f 17/19/18 18/20/17 20/21/19 19/22/20
f 19/22/20 20/21/19 22/23/21 21/24/22
f 21/24/22 22/23/21 24/25/23 23/26/24
f 23/26/24 24/25/23 26/27/25 25/28/26
f 25/28/26 26/27/25 28/29/27 27/30/28
f 27/30/28 28/29/27 30/31/29 29/32/30
f 29/32/30 30/31/29 32/33/31 31/34/32
f 31/34/32 32/33/31 34/2/33 33/1/34
f 33/1/34 34/2/33 36/3/35 35/4/36
f 35/4/36 36/3/35 38/5/37 37/6/38
f 37/6/38 38/5/37 40/7/39 39/8/40
f 39/8/40 40/7/39 42/9/41 41/10/42
f 41/10/42 42/9/41 44/11/43 43/12/44
f 43/12/44 44/11/43 46/13/45 45/14/46
f 45/14/46 46/13/45 48/15/47 47/16/48
f 47/16/48 48/15/47 50/17/49 49/18/50
f 49/19/50 50/20/49 52/21/51 51/22/52
f 51/22/52 52/21/51 54/23/53 53/24/54
f 53/24/54 54/23/53 56/25/55 55/26/56
f 55/26/56 56/25/55 58/27/57 57/28/58
f 57/28/58 58/27/57 60/29/59 59/30/60
f 59/30/60 60/29/59 62/31/61 61/32/62
f 4/35/3 2/2/2 64/36/63 62/37/61 60/38/59 58/39/57 56/40/55 54/41/53 52/42/51 50/43/49 48/44/47 46/45/45 44/46/43 42/47/41 40/48/39 38/49/37 36/50/35 34/1/33 32/51/31 30/52/29 28/53/27 26/54/25 24/55/23 22/56/21 20/57/19 18/58/17 16/59/15 14/60/13 12/61/11 10/62/9 8/63/7 6/64/5
f 63/34/64 64/33/63 2/2/2 1/1/1
f 61/32/62 62/31/61 64/33/63 63/34/64
f 1/65/1 3/51/4 5/52/6 7/53/8 9/54/10 11/66/12 13/56/14 15/57/16 17/67/18 19/59/20 21/60/22 23/61/24 25/62/26 27/68/28 29/64/30 31/35/32 33/69/34 35/36/36 37/37/38 39/38/40 41/39/42 43/70/44 45/41/46 47/42/48 49/71/50 51/44/52 53/45/54 55/46/56 57/47/58 59/72/60 61/49/62 63/50/64

View File

@ -0,0 +1,238 @@
# Blender v2.73 (sub 0) OBJ File: 'technic-cylinder-horizontal.blend'
# www.blender.org
o Cylinder_Cylinder.001
v 0.500000 0.000000 -0.500000
v -0.500000 0.000000 -0.500000
v 0.500000 0.097545 -0.490393
v -0.500000 0.097545 -0.490393
v 0.500000 0.191342 -0.461940
v -0.500000 0.191342 -0.461940
v 0.500000 0.277785 -0.415735
v -0.500000 0.277785 -0.415735
v 0.500000 0.353553 -0.353553
v -0.500000 0.353553 -0.353554
v 0.500000 0.415735 -0.277785
v -0.500000 0.415735 -0.277785
v 0.500000 0.461940 -0.191342
v -0.500000 0.461940 -0.191342
v 0.500000 0.490393 -0.097545
v -0.500000 0.490393 -0.097545
v 0.500000 0.500000 -0.000000
v -0.500000 0.500000 -0.000000
v 0.500000 0.490393 0.097545
v -0.500000 0.490393 0.097545
v 0.500000 0.461940 0.191342
v -0.500000 0.461940 0.191341
v 0.500000 0.415735 0.277785
v -0.500000 0.415735 0.277785
v 0.500000 0.353553 0.353553
v -0.500000 0.353553 0.353553
v 0.500000 0.277785 0.415735
v -0.500000 0.277785 0.415735
v 0.500000 0.191342 0.461940
v -0.500000 0.191342 0.461940
v 0.500000 0.097545 0.490393
v -0.500000 0.097545 0.490392
v 0.500000 -0.000000 0.500000
v -0.500000 -0.000000 0.500000
v 0.500000 -0.097546 0.490392
v -0.500000 -0.097545 0.490392
v 0.500000 -0.191342 0.461940
v -0.500000 -0.191342 0.461939
v 0.500000 -0.277785 0.415734
v -0.500000 -0.277785 0.415734
v 0.500000 -0.353554 0.353553
v -0.500000 -0.353554 0.353553
v 0.500000 -0.415735 0.277785
v -0.500000 -0.415735 0.277785
v 0.500000 -0.461940 0.191341
v -0.500000 -0.461940 0.191341
v 0.500000 -0.490393 0.097545
v -0.500000 -0.490393 0.097544
v 0.500000 -0.500000 -0.000001
v -0.500000 -0.500000 -0.000001
v 0.500000 -0.490393 -0.097546
v -0.500000 -0.490393 -0.097546
v 0.500000 -0.461940 -0.191342
v -0.500000 -0.461940 -0.191343
v 0.500000 -0.415734 -0.277786
v -0.500000 -0.415734 -0.277786
v 0.500000 -0.353553 -0.353554
v -0.500000 -0.353553 -0.353554
v 0.500000 -0.277785 -0.415735
v -0.500000 -0.277784 -0.415735
v 0.500000 -0.191341 -0.461940
v -0.500000 -0.191341 -0.461940
v 0.500000 -0.097544 -0.490393
v -0.500000 -0.097544 -0.490393
vt 0.000003 0.499996
vt 0.999995 0.499995
vt 0.999996 0.562495
vt 0.000002 0.562496
vt 0.999997 0.624995
vt 0.000003 0.624996
vt 0.999998 0.687496
vt 0.000002 0.687496
vt 0.999999 0.749997
vt 0.000002 0.749996
vt 0.999999 0.812497
vt 0.000002 0.812497
vt 1.000000 0.874997
vt 0.000001 0.874997
vt 1.000000 0.937498
vt 0.000001 0.937497
vt 1.000000 0.999998
vt 0.000001 0.999998
vt 0.000003 0.000005
vt 0.999976 0.000001
vt 0.999977 0.062500
vt 0.000003 0.062505
vt 0.999978 0.124999
vt 0.000004 0.125004
vt 0.999980 0.187498
vt 0.000005 0.187503
vt 0.999982 0.249997
vt 0.000005 0.250003
vt 0.999983 0.312497
vt 0.000006 0.312502
vt 0.999985 0.374997
vt 0.000007 0.375001
vt 0.999986 0.437496
vt 0.000007 0.437501
vt 0.009601 0.597512
vt 0.009614 0.402424
vt 0.038072 0.308628
vt 0.084283 0.222189
vt 0.146469 0.146424
vt 0.222242 0.084247
vt 0.308689 0.038047
vt 0.402487 0.009601
vt 0.500033 -0.000000
vt 0.597577 0.009613
vt 0.691371 0.038072
vt 0.777811 0.084283
vt 0.853575 0.146469
vt 0.915753 0.222242
vt 0.961952 0.308688
vt 0.990398 0.402486
vt 0.990386 0.597576
vt 0.961928 0.691370
vt 0.915717 0.777812
vt 0.853531 0.853576
vt 0.777759 0.915752
vt 0.691313 0.961951
vt 0.597515 0.990398
vt 0.499970 1.000000
vt 0.402425 0.990386
vt 0.308630 0.961927
vt 0.222189 0.915717
vt 0.146424 0.853530
vt 0.084248 0.777757
vt 0.038048 0.691311
vt 0.999999 0.500073
vt 0.777724 0.915774
vt 0.499927 0.999999
vt 0.084224 0.777723
vt 0.000000 0.499925
vt 0.222279 0.084223
vt 0.500078 -0.000000
vt 0.915775 0.222276
vn 0.685700 0.000000 -0.727900
vn -0.685700 0.000000 -0.727900
vn -0.685700 0.142000 -0.713900
vn 0.685700 0.142000 -0.713900
vn -0.685700 0.278500 -0.672500
vn 0.685700 0.278500 -0.672500
vn -0.685700 0.404400 -0.605200
vn 0.685700 0.404400 -0.605200
vn -0.685700 0.514700 -0.514700
vn 0.685700 0.514700 -0.514700
vn -0.685700 0.605200 -0.404400
vn 0.685700 0.605200 -0.404400
vn -0.685700 0.672500 -0.278500
vn 0.685700 0.672500 -0.278500
vn -0.685700 0.713900 -0.142000
vn 0.685700 0.713900 -0.142000
vn -0.685700 0.727900 0.000000
vn 0.685700 0.727900 0.000000
vn -0.685700 0.713900 0.142000
vn 0.685700 0.713900 0.142000
vn -0.685700 0.672500 0.278500
vn 0.685700 0.672500 0.278500
vn -0.685700 0.605200 0.404400
vn 0.685700 0.605200 0.404400
vn -0.685700 0.514700 0.514700
vn 0.685700 0.514700 0.514700
vn -0.685700 0.404400 0.605200
vn 0.685700 0.404400 0.605200
vn -0.685700 0.278500 0.672500
vn 0.685700 0.278500 0.672500
vn -0.685700 0.142000 0.713900
vn 0.685700 0.142000 0.713900
vn -0.685700 0.000000 0.727900
vn 0.685700 0.000000 0.727900
vn -0.685700 -0.142000 0.713900
vn 0.685700 -0.142000 0.713900
vn -0.685700 -0.278500 0.672500
vn 0.685700 -0.278500 0.672500
vn -0.685700 -0.404400 0.605200
vn 0.685700 -0.404400 0.605200
vn -0.685700 -0.514700 0.514700
vn 0.685700 -0.514700 0.514700
vn -0.685700 -0.605200 0.404400
vn 0.685700 -0.605200 0.404400
vn -0.685700 -0.672500 0.278500
vn 0.685700 -0.672500 0.278500
vn -0.685700 -0.713900 0.142000
vn 0.685700 -0.713900 0.142000
vn -0.685700 -0.727900 0.000000
vn 0.685700 -0.727900 0.000000
vn -0.685700 -0.713900 -0.142000
vn 0.685700 -0.713900 -0.142000
vn -0.685700 -0.672500 -0.278500
vn 0.685700 -0.672500 -0.278500
vn -0.685700 -0.605200 -0.404400
vn 0.685700 -0.605200 -0.404400
vn -0.685700 -0.514700 -0.514700
vn 0.685700 -0.514700 -0.514700
vn -0.685700 -0.404400 -0.605200
vn 0.685700 -0.404400 -0.605200
vn -0.685700 -0.278500 -0.672500
vn 0.685700 -0.278500 -0.672500
vn -0.685700 -0.142000 -0.713900
vn 0.685700 -0.142000 -0.713900
s 1
f 1/1/1 2/2/2 4/3/3 3/4/4
f 3/4/4 4/3/3 6/5/5 5/6/6
f 5/6/6 6/5/5 8/7/7 7/8/8
f 7/8/8 8/7/7 10/9/9 9/10/10
f 9/10/10 10/9/9 12/11/11 11/12/12
f 11/12/12 12/11/11 14/13/13 13/14/14
f 13/14/14 14/13/13 16/15/15 15/16/16
f 15/16/16 16/15/15 18/17/17 17/18/18
f 17/19/18 18/20/17 20/21/19 19/22/20
f 19/22/20 20/21/19 22/23/21 21/24/22
f 21/24/22 22/23/21 24/25/23 23/26/24
f 23/26/24 24/25/23 26/27/25 25/28/26
f 25/28/26 26/27/25 28/29/27 27/30/28
f 27/30/28 28/29/27 30/31/29 29/32/30
f 29/32/30 30/31/29 32/33/31 31/34/32
f 31/34/32 32/33/31 34/2/33 33/1/34
f 33/1/34 34/2/33 36/3/35 35/4/36
f 35/4/36 36/3/35 38/5/37 37/6/38
f 37/6/38 38/5/37 40/7/39 39/8/40
f 39/8/40 40/7/39 42/9/41 41/10/42
f 41/10/42 42/9/41 44/11/43 43/12/44
f 43/12/44 44/11/43 46/13/45 45/14/46
f 45/14/46 46/13/45 48/15/47 47/16/48
f 47/16/48 48/15/47 50/17/49 49/18/50
f 49/19/50 50/20/49 52/21/51 51/22/52
f 51/22/52 52/21/51 54/23/53 53/24/54
f 53/24/54 54/23/53 56/25/55 55/26/56
f 55/26/56 56/25/55 58/27/57 57/28/58
f 57/28/58 58/27/57 60/29/59 59/30/60
f 59/30/60 60/29/59 62/31/61 61/32/62
f 4/35/3 2/1/2 64/36/63 62/37/61 60/38/59 58/39/57 56/40/55 54/41/53 52/42/51 50/43/49 48/44/47 46/45/45 44/46/43 42/47/41 40/48/39 38/49/37 36/50/35 34/2/33 32/51/31 30/52/29 28/53/27 26/54/25 24/55/23 22/56/21 20/57/19 18/58/17 16/59/15 14/60/13 12/61/11 10/62/9 8/63/7 6/64/5
f 63/34/64 64/33/63 2/2/2 1/1/1
f 61/32/62 62/31/61 64/33/63 63/34/64
f 1/65/1 3/51/4 5/52/6 7/53/8 9/54/10 11/66/12 13/56/14 15/57/16 17/67/18 19/59/20 21/60/22 23/61/24 25/62/26 27/68/28 29/64/30 31/35/32 33/69/34 35/36/36 37/37/38 39/38/40 41/39/42 43/70/44 45/41/46 47/42/48 49/71/50 51/44/52 53/45/54 55/46/56 57/47/58 59/72/60 61/49/62 63/50/64

View File

@ -0,0 +1,33 @@
# Blender v2.73 (sub 0) OBJ File: 'technic-icorner.blend'
# www.blender.org
o Cube_Cube.000
v -0.500000 0.500000 0.500000
v -0.500000 0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v 0.500000 -0.500000 -0.500000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vn -0.000000 -0.000000 1.000000
vn -0.000000 -0.000000 -1.000000
vn 0.707100 0.707100 -0.000000
vn 1.000000 0.000000 -0.000000
vn 0.000000 -1.000000 -0.000000
vn -1.000000 -0.000000 -0.000000
vn 0.000000 0.707100 -0.707100
s off
f 6/1/1 1/2/1 7/3/1 8/4/1
f 2/1/2 5/3/2 3/4/2
f 2/1/3 1/2/3 5/4/3
f 6/2/4 8/3/4 9/4/4
f 9/1/5 8/2/5 7/3/5 3/4/5
f 3/3/6 7/4/6 1/1/6 2/2/6
f 1/1/7 6/2/7 9/3/7
l 1 4
l 3 4

View File

@ -0,0 +1,33 @@
# Blender v2.73 (sub 0) OBJ File: 'technic-icorner-upsdown.blend'
# www.blender.org
o Cube_Cube.000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
v -0.500000 0.500000 0.500000
v -0.500000 0.500000 -0.500000
v 0.500000 0.500000 -0.500000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vn -1.000000 0.000000 0.000000
vn 1.000000 -0.000000 0.000000
vn -0.000000 -0.707100 -0.707100
vn -0.000000 0.000000 -1.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 -0.000000 1.000000
vn 0.707100 -0.707100 -0.000000
s off
f 6/1/1 1/2/1 7/3/1 8/4/1
f 2/1/2 5/3/2 3/4/2
f 2/1/3 1/2/3 5/4/3
f 6/2/4 8/3/4 9/4/4
f 9/1/5 8/2/5 7/3/5 3/4/5
f 3/3/6 7/4/6 1/1/6 2/2/6
f 1/1/7 6/2/7 9/3/7
l 1 4
l 3 4

View File

@ -0,0 +1,300 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_blob_onetexture.blend'
# www.blender.org
o Cube
v 0.213679 -0.450000 -0.213679
v -0.213679 -0.450000 0.213680
v 0.213680 -0.450000 0.213680
v -0.213679 -0.450000 -0.213679
v 0.213679 0.450000 -0.213679
v -0.213679 0.450000 -0.213679
v 0.213679 0.450000 0.213680
v 0.500000 -0.000003 0.500000
v 0.277785 -0.415735 0.277785
v -0.277785 -0.415735 0.277785
v 0.353553 -0.353554 0.353553
v -0.353553 -0.353554 0.353553
v -0.500000 -0.000002 0.500000
v 0.415735 -0.277786 0.415735
v -0.277785 0.415735 0.277785
v 0.277785 0.415735 0.277785
v -0.415735 -0.277785 0.415735
v 0.353554 0.353553 0.353554
v -0.500000 -0.000002 -0.499983
v 0.461940 -0.191342 0.461940
v -0.461940 -0.191342 0.461940
v -0.353553 0.353553 0.353554
v 0.490393 -0.097546 0.490393
v 0.500000 -0.000002 -0.500000
v 0.490393 0.097545 -0.490392
v 0.490393 0.097545 0.490393
v -0.490393 -0.097546 0.490393
v 0.490393 -0.097545 -0.490393
v 0.461940 0.191341 0.461940
v -0.461940 0.191341 0.461940
v 0.461940 0.191342 -0.461940
v -0.490393 0.097545 0.490393
v 0.415735 0.277785 0.415735
v -0.490393 0.097545 -0.490392
v -0.415735 0.277785 0.415735
v 0.461940 -0.191341 -0.461940
v 0.415735 0.277785 -0.415735
v -0.461940 0.191341 -0.461940
v -0.415735 0.277785 -0.415735
v 0.415735 -0.277785 -0.415735
v -0.490393 -0.097546 -0.490392
v 0.353553 0.353553 -0.353553
v -0.213679 0.450000 0.213680
v -0.353553 0.353553 -0.353553
v 0.277785 0.415735 -0.277785
v -0.461940 -0.191342 -0.461939
v 0.353554 -0.353553 -0.353554
v -0.277785 0.415735 -0.277785
v -0.415735 -0.277785 -0.415734
v 0.277786 -0.415735 -0.277785
v -0.353553 -0.353554 -0.353553
v -0.277785 -0.415735 -0.277784
vt 0.038487 0.679029
vt 0.010047 0.589789
vt 0.990397 0.589790
vt 0.915772 0.767073
vt 0.084671 0.767071
vt 0.961957 0.679029
vt 0.852473 0.146294
vt 0.914576 0.232749
vt 0.084146 0.232744
vt 0.712776 0.000003
vt 0.221926 0.061588
vt 0.285951 0.000000
vt 0.285945 0.999818
vt 0.221920 0.938229
vt 0.712771 0.999818
vt 0.009578 0.589789
vt 0.989138 0.589792
vt 0.960721 0.679031
vt 0.286638 0.000000
vt 0.777884 0.061589
vt 0.222561 0.061589
vt 0.777608 0.938229
vt 0.222164 0.938229
vt 0.146413 0.853527
vt 0.286255 0.999818
vt 0.713517 0.999818
vt 0.776800 0.061592
vt 0.146251 0.146290
vt 0.000000 0.499907
vt 0.989139 0.410032
vt 0.998734 0.499910
vt 0.853618 0.146291
vt 0.915772 0.232746
vt 0.146826 0.146290
vt 0.961957 0.320789
vt 0.084672 0.232745
vt 0.990397 0.410029
vt 0.038487 0.320789
vt 0.776796 0.938230
vt 0.777790 0.938229
vt 0.146467 0.853526
vt 0.853556 0.853527
vt 0.146825 0.853526
vt 1.000000 0.499907
vt 0.010047 0.410028
vt 0.146246 0.853527
vt 0.222559 0.938228
vt 0.777882 0.938230
vt 0.915737 0.767073
vt 0.084287 0.767072
vt 0.038083 0.679029
vt 0.961941 0.679029
vt 0.037995 0.679029
vt 0.960723 0.320792
vt 0.037998 0.320787
vt 0.009580 0.410028
vt 0.990167 0.589790
vt 0.999772 0.499909
vt 0.961721 0.679029
vt 0.084246 0.767072
vt 0.915526 0.767072
vt 0.853359 0.853527
vt 0.914573 0.767074
vt 0.084142 0.767072
vt 0.852470 0.853528
vt 0.777609 0.061590
vt 0.853360 0.146293
vt 0.222166 0.061589
vt 0.146414 0.146291
vt 0.915527 0.232748
vt 0.084247 0.232746
vt 0.961721 0.320791
vt 0.038052 0.320789
vt 0.990167 0.410031
vt 0.713686 0.999818
vt 0.749950 0.250050
vt 0.749950 0.749950
vt 0.250050 0.749950
vt 0.250050 0.250050
vt 0.713807 0.000000
vt 0.286258 0.000000
vt 0.713519 0.000001
vt 0.250050 0.250050
vt 0.749950 0.250050
vt 0.749950 0.749950
vt 0.286636 0.999817
vt 0.777791 0.061589
vt 0.146467 0.146291
vt 0.084287 0.232745
vt 0.915737 0.232746
vt 0.961941 0.320789
vt 0.000444 0.499907
vt 0.713687 0.000000
vt 0.713805 0.999818
vn -0.620400 0.479600 0.620400
vn -0.683900 0.254100 0.683900
vn 0.683900 0.254100 0.683900
vn 0.531000 0.660300 0.531000
vn -0.531000 0.660300 0.531000
vn 0.620400 0.479600 0.620400
vn -0.429700 -0.794100 0.429700
vn -0.531000 -0.660300 0.531000
vn -0.531000 -0.660300 -0.531000
vn -0.185700 -0.964900 0.185700
vn -0.325800 -0.887500 -0.325800
vn -0.185700 -0.964900 -0.185700
vn -0.185700 0.964900 -0.185700
vn -0.325800 0.887500 -0.325800
vn -0.185700 0.964900 0.185700
vn -0.683900 0.254000 -0.683900
vn 0.325800 -0.887500 0.325800
vn -0.325800 -0.887500 0.325800
vn 0.325800 0.887500 -0.325800
vn 0.429700 0.794100 -0.429700
vn 0.185700 0.964900 -0.185700
vn -0.429700 -0.794100 -0.429700
vn -0.707100 0.000000 -0.707100
vn -0.683900 -0.254100 0.683900
vn -0.707100 0.000000 0.707100
vn 0.429700 -0.794100 0.429700
vn 0.531000 -0.660300 0.531000
vn 0.620400 -0.479600 0.620400
vn 0.683900 -0.254100 0.683900
vn -0.620400 -0.479600 0.620400
vn -0.325800 0.887500 0.325800
vn 0.185700 0.964900 0.185700
vn 0.325800 0.887500 0.325800
vn 0.429700 0.794100 0.429700
vn -0.429700 0.794100 0.429700
vn 0.707100 0.000000 0.707100
vn -0.429700 0.794100 -0.429700
vn 0.531000 0.660300 -0.531000
vn 0.683900 0.254100 -0.683900
vn 0.707100 0.000000 -0.707100
vn 0.620400 0.479600 -0.620400
vn -0.620400 0.479600 -0.620400
vn -0.620400 -0.479600 -0.620400
vn -0.683900 -0.254000 -0.683900
vn 0.683900 -0.254100 -0.683900
vn -0.531000 0.660300 -0.531000
vn 0.325800 -0.887500 -0.325800
vn 0.429700 -0.794100 -0.429700
vn 0.531000 -0.660300 -0.531000
vn 0.620400 -0.479600 -0.620400
vn 0.185700 -0.964900 -0.185700
vn 0.185700 -0.964900 0.185700
s 1
f 30/1/1 32/2/2 26/3/3
f 33/4/4 35/5/5 29/6/6
f 12/7/7 17/8/8 49/9/9
f 2/10/10 52/11/11 4/12/12
f 6/13/13 48/14/14 43/15/15
f 34/16/16 32/17/2 30/18/1
f 2/19/10 9/20/17 10/21/18
f 48/22/14 45/23/19 42/24/20
f 5/25/21 45/23/19 6/26/13
f 10/27/18 12/7/7 51/28/22
f 19/29/23 27/30/24 13/31/25
f 9/20/17 11/32/26 10/21/18
f 11/32/26 14/33/27 12/34/7
f 14/33/27 20/35/28 17/36/8
f 20/35/28 23/37/29 21/38/30
f 43/15/15 48/14/14 15/39/31
f 7/25/32 16/23/33 45/40/19
f 18/41/34 42/42/20 45/40/19
f 29/6/6 30/1/1 26/3/3
f 22/43/35 33/4/4 18/42/34
f 26/3/3 32/2/2 8/44/36
f 8/44/36 27/45/24 23/37/29
f 11/32/26 12/34/7 10/21/18
f 14/33/27 17/36/8 12/34/7
f 20/35/28 21/38/30 17/36/8
f 23/37/29 27/45/24 21/38/30
f 10/27/18 52/11/11 2/10/10
f 15/39/31 48/14/14 44/46/37
f 22/43/35 35/5/5 33/4/4
f 15/47/31 22/43/35 16/48/33
f 37/49/38 42/42/20 18/41/34
f 33/50/4 29/51/6 37/49/38
f 8/29/36 25/3/39 26/16/3
f 24/44/40 25/3/39 8/29/36
f 29/51/6 26/16/3 31/52/41
f 26/16/3 25/3/39 31/52/41
f 29/51/6 31/52/41 37/49/38
f 38/53/42 34/16/16 30/18/1
f 19/29/23 32/17/2 34/16/16
f 13/31/25 32/17/2 19/29/23
f 17/8/8 21/54/30 46/55/43
f 21/54/30 27/30/24 41/56/44
f 8/29/36 28/37/45 24/44/40
f 34/57/16 25/16/39 19/58/23
f 38/59/42 31/51/41 34/57/16
f 31/51/41 25/16/39 34/57/16
f 37/60/38 38/59/42 39/61/46
f 37/60/38 31/51/41 38/59/42
f 44/62/37 42/24/20 37/60/38
f 38/53/42 30/18/1 35/63/5
f 39/64/46 35/63/5 22/65/35
f 52/66/11 51/67/22 50/68/47
f 51/67/22 47/69/48 50/68/47
f 51/67/22 49/70/9 47/69/48
f 49/70/9 40/71/49 47/69/48
f 49/70/9 46/72/43 40/71/49
f 46/72/43 36/73/50 40/71/49
f 19/58/23 28/56/45 41/74/44
f 46/72/43 41/74/44 36/73/50
f 41/74/44 28/56/45 36/73/50
f 22/43/35 18/42/34 16/48/33
f 5/75/21 7/25/32 45/40/19
f 2/76/10 4/77/12 1/78/51 3/79/52
f 44/62/37 48/22/14 42/24/20
f 35/5/5 30/1/1 29/6/6
f 3/80/52 9/20/17 2/19/10
f 45/23/19 48/22/14 6/26/13
f 1/81/51 52/66/11 50/68/47
f 39/61/46 44/62/37 37/60/38
f 52/66/11 1/81/51 4/82/12
f 24/29/40 28/56/45 19/58/23
f 7/78/32 5/83/21 6/84/13 43/85/15
f 24/29/40 19/58/23 25/16/39
f 15/47/31 16/48/33 43/86/15
f 22/65/35 44/46/37 39/64/46
f 39/64/46 38/53/42 35/63/5
f 41/56/44 27/30/24 19/29/23
f 46/55/43 21/54/30 41/56/44
f 49/9/9 17/8/8 46/55/43
f 51/28/22 12/7/7 49/9/9
f 52/11/11 10/27/18 51/28/22
f 9/68/17 50/87/47 11/88/26
f 50/87/47 47/32/48 11/88/26
f 11/88/26 47/32/48 14/89/27
f 47/32/48 40/90/49 14/89/27
f 14/89/27 40/90/49 20/73/28
f 40/90/49 36/91/50 20/73/28
f 23/56/29 28/37/45 8/29/36
f 20/73/28 36/91/50 23/56/29
f 36/91/50 28/37/45 23/56/29
f 13/92/25 8/44/36 32/2/2
f 50/87/47 9/68/17 1/93/51
f 13/92/25 27/45/24 8/44/36
f 16/23/33 18/41/34 45/40/19
f 22/65/35 15/39/31 44/46/37
f 9/68/17 3/81/52 1/93/51
f 33/50/4 37/49/38 18/41/34
f 43/86/15 16/48/33 7/94/32

View File

@ -0,0 +1,132 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_quarter_round_onetexture.blend'
# www.blender.org
o Cylinder
v -0.500000 0.490393 -0.097545
v 0.500000 0.490393 -0.097545
v -0.500000 0.461940 -0.191342
v 0.500000 0.461940 -0.191342
v -0.500000 0.415735 -0.277785
v 0.500000 0.415735 -0.277785
v -0.500000 0.353553 -0.353553
v 0.500000 0.353553 -0.353553
v -0.500000 0.277785 -0.415735
v 0.500000 0.277785 -0.415735
v -0.500000 0.191342 -0.461940
v 0.500000 0.191342 -0.461940
v -0.500000 0.097545 -0.490393
v 0.500000 0.097545 -0.490393
v 0.500000 -0.000000 -0.500000
v 0.500000 0.490393 -0.097545
v -0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.000000 -0.500000
v -0.500000 0.500000 -0.000000
v 0.500000 0.500000 0.000000
v -0.500000 0.490393 -0.097545
v -0.500000 0.461940 -0.191342
v -0.500000 0.415735 -0.277785
v -0.500000 0.353553 -0.353553
v -0.500000 0.277785 -0.415735
v -0.500000 0.191342 -0.461940
v -0.500000 0.097545 -0.490393
v -0.500000 0.000000 0.000000
v -0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v -0.500000 0.500000 0.500000
v -0.500000 0.000000 -0.500000
v -0.500000 0.500000 -0.000000
v 0.500000 0.461940 -0.191342
v 0.500000 0.415735 -0.277785
v 0.500000 0.353553 -0.353553
v 0.500000 0.277785 -0.415735
v 0.500000 0.191342 -0.461940
v 0.500000 0.097545 -0.490393
v 0.500000 -0.000000 -0.500000
v 0.500000 -0.000000 -0.000000
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v 0.500000 0.500000 0.000000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 0.500000
vt 1.000000 0.000000
vt 1.000000 0.500000
vt 0.500001 0.500000
vt 0.500001 1.000000
vt 0.000003 1.000000
vt 0.000003 0.000000
vt 0.597546 0.990393
vt 0.691342 0.961940
vt 1.000000 1.000000
vt 0.990393 0.597545
vt 0.961940 0.691341
vt 0.777786 0.915735
vt 0.853554 0.853553
vt 0.915735 0.777785
vt 0.146446 0.853552
vt 0.084265 0.777783
vt 0.038060 0.691340
vt 0.308658 0.961938
vt 0.222214 0.915733
vt 0.000000 0.499999
vt 0.402454 0.990391
vt 0.009607 0.597544
vt 1.000000 0.375000
vt 0.000000 0.375000
vt 0.000000 0.250000
vt 1.000000 0.250000
vt 0.000000 0.125000
vt 1.000000 0.125000
vt 0.000000 0.875000
vt 1.000000 0.875000
vt 0.000000 0.750000
vt 1.000000 0.750000
vt 0.000000 0.625000
vt 1.000000 0.625000
vn 1.000000 -0.000000 0.000000
vn -0.000000 0.000000 1.000000
vn -0.000000 -1.000000 0.000000
vn -1.000000 0.000000 0.000000
vn 0.000000 0.980800 -0.195100
vn 0.000000 0.923900 -0.382700
vn -0.000000 0.831500 -0.555600
vn -0.000000 0.707100 -0.707100
vn -0.000000 0.555600 -0.831500
vn -0.000000 0.382700 -0.923900
vn -0.000000 0.195100 -0.980800
vn 0.000000 1.000000 -0.000000
vn 0.000000 0.998800 -0.049100
vn -0.000000 0.049100 -0.998800
vn -0.000000 0.000000 -1.000000
s off
f 46/1/1 44/2/1 45/3/1 49/4/1 48/5/1 47/6/1
f 16/7/1 49/4/1 45/3/1 38/8/1
f 55/5/2 53/6/2 54/1/2 56/9/2
f 43/10/1 42/11/1 45/3/1 44/2/1
f 39/12/1 38/8/1 45/3/1 40/13/1
f 41/14/1 40/13/1 45/3/1 42/11/1
f 50/9/3 51/5/3 52/6/3 17/1/3
f 28/15/4 29/16/4 30/17/4 32/3/4
f 26/18/4 27/19/4 28/15/4 32/3/4
f 35/9/4 37/4/4 32/3/4 36/20/4 34/6/4 33/1/4
f 37/4/4 25/21/4 26/18/4 32/3/4
f 30/17/4 31/22/4 36/20/4 32/3/4
s 1
f 1/23/5 2/24/5 4/25/6 3/26/6
f 3/26/6 4/25/6 6/27/7 5/28/7
f 5/28/7 6/27/7 8/6/8 7/1/8
f 7/9/8 8/5/8 10/29/9 9/30/9
f 9/30/9 10/29/9 12/31/10 11/32/10
f 11/32/10 12/31/10 14/33/11 13/34/11
f 21/5/12 24/20/13 23/2/13 20/9/12
f 13/34/11 14/33/11 15/20/14 22/2/14
f 23/2/13 24/20/13 2/24/5 1/23/5
f 18/1/15 22/2/14 15/20/14 19/6/15

View File

@ -0,0 +1,23 @@
# Blender v2.73 (sub 0) OBJ File: 'technic-ocorner.blend'
# www.blender.org
o Cube_Cube.002
v -0.500000 0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 0.500000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vn 0.000000 -1.000000 -0.000000
vn 0.000000 0.000000 1.000000
vn -1.000000 -0.000000 0.000000
vn -0.000000 0.707100 -0.707100
vn 0.707100 0.707100 -0.000000
s off
f 3/1/1 2/2/1 4/3/1 5/4/1
f 1/2/2 3/3/2 5/4/2
f 1/1/3 2/3/3 3/4/3
f 1/1/4 4/3/4 2/4/4
f 1/2/5 5/3/5 4/4/5

View File

@ -0,0 +1,23 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_ocorner_onetexture.blend'
# www.blender.org
o Cube_Cube.002
v -0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 0.500000 -0.500000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vn 0.000000 1.000000 -0.000000
vn -1.000000 0.000000 -0.000000
vn 0.000000 0.000000 1.000000
vn 0.707100 -0.707100 0.000000
vn -0.000000 -0.707100 -0.707100
s off
f 3/1/1 2/2/1 4/3/1 5/4/1
f 1/2/2 3/3/2 5/4/2
f 1/1/3 2/3/3 3/4/3
f 1/1/4 4/3/4 2/4/4
f 1/2/5 5/3/5 4/4/5

View File

@ -0,0 +1,24 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_pyramid_short_onetexture.blend'
# www.blender.org
o Cube
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v -0.000000 0.000000 -0.000000
vt 1.000000 0.500000
vt 0.000000 0.500000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.500000 0.500000
vn 0.000000 -1.000000 0.000000
vn -0.707100 0.707100 -0.000000
vn 0.000000 0.707100 -0.707100
vn 0.707100 0.707100 0.000000
vn -0.000000 0.707100 0.707100
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 3/4/2 5/5/2 4/3/2
f 5/5/3 1/3/3 4/4/3
f 1/4/4 5/5/4 2/3/4
f 2/4/5 5/5/5 3/3/5

View File

@ -0,0 +1,24 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_pyramid_onetexture.blend'
# www.blender.org
o Cube
v 0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v -0.000000 0.500000 -0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 0.500000 1.000000
vn 0.000000 -1.000000 0.000000
vn -0.894400 0.447200 -0.000000
vn 0.000000 0.447200 -0.894400
vn 0.894400 0.447200 0.000000
vn -0.000000 0.447200 0.894400
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 3/4/2 5/5/2 4/3/2
f 5/5/3 1/3/3 4/4/3
f 1/4/4 5/5/4 2/3/4
f 2/4/5 5/5/5 3/3/5

View File

@ -0,0 +1,24 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_slope_onetexture.blend'
# www.blender.org
o Cube_Cube.002
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vn 0.000000 -0.000000 1.000000
vn 0.000000 -1.000000 -0.000000
vn -1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 0.707100 -0.707100
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/3/2 3/4/2 5/1/2 6/2/2
f 2/1/3 5/3/3 3/4/3
f 1/2/4 4/3/4 6/4/4
f 2/1/5 1/2/5 6/3/5 5/4/5

View File

@ -0,0 +1,24 @@
# Blender v2.73 (sub 0) OBJ File: 'technic-slope-horizontal.blend'
# www.blender.org
o Cube_Cube.002
v -0.500000 0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v 0.500000 -0.500000 -0.500000
v 0.500000 0.500000 -0.500000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vn 0.000000 -0.000000 1.000000
vn 1.000000 -0.000000 -0.000000
vn -0.000000 -1.000000 0.000000
vn 0.000000 1.000000 -0.000000
vn -0.707100 0.000000 -0.707100
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/1/2 3/2/2 5/3/2 6/4/2
f 2/3/3 5/1/3 3/2/3
f 1/4/4 4/1/4 6/2/4
f 2/3/5 1/4/5 6/1/5 5/2/5

View File

@ -0,0 +1,24 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_slope_onetexture.blend'
# www.blender.org
o Cube_Cube.002
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 0.500000 -0.500000
vt 0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 1.000000 -0.000000
vn 1.000000 -0.000000 0.000000
vn -1.000000 0.000000 -0.000000
vn -0.000000 -0.707100 -0.707100
s off
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/3/2 3/4/2 5/1/2 6/2/2
f 2/1/3 5/3/3 3/4/3
f 1/2/4 4/3/4 6/4/4
f 2/1/5 1/2/5 6/3/5 5/4/5

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,207 @@
# Blender v2.73 (sub 0) OBJ File: 'slope_test_quarter_round_corner_onetexture.blend'
# www.blender.org
o corner1_Cylinder
v 0.415732 0.277783 0.499997
v 0.461936 0.191340 0.499997
v 0.415735 0.277783 -0.415732
v 0.461940 0.191340 -0.461937
v 0.490389 0.097544 0.499997
v 0.353551 0.353551 0.499997
v 0.353555 0.353551 -0.353551
v 0.499996 -0.000000 0.499997
v 0.277783 0.415732 0.499997
v 0.490393 0.097544 -0.490389
v 0.277787 0.415732 -0.277784
v 0.191340 0.461936 0.499997
v 0.191344 0.461937 -0.191341
v 0.097544 0.490389 0.499997
v 0.097547 0.490391 -0.097545
v -0.000000 0.499996 0.499997
v -0.499997 0.499997 0.499997
v -0.499997 0.499997 -0.000030
v -0.499997 0.415735 -0.277785
v -0.499997 0.461940 -0.191342
v -0.499997 0.490393 -0.097545
v -0.500000 -0.500000 -0.500000
v -0.499997 -0.499997 0.499997
v 0.000000 0.499998 0.000000
v -0.499998 0.000014 -0.499999
v -0.499997 0.353553 -0.353554
v -0.499998 0.097545 -0.490393
v -0.499997 0.277785 -0.415735
v -0.499998 0.191342 -0.461940
v 0.499997 -0.000000 -0.499996
v 0.500000 -0.500000 -0.500000
v 0.499997 -0.499997 0.499997
v -0.499997 -0.499997 0.499997
v -0.499997 0.499997 0.499997
v -0.499997 0.499997 -0.000030
v -0.499997 0.415735 -0.277785
v -0.499997 0.461940 -0.191342
v -0.499997 0.490393 -0.097545
v -0.500000 -0.500000 -0.500000
v -0.499998 0.000014 -0.499999
v -0.499997 0.353553 -0.353554
v -0.499998 0.097545 -0.490393
v -0.499997 0.277785 -0.415735
v -0.499998 0.191342 -0.461940
v -0.499998 -0.033351 0.033348
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v 0.499997 -0.499997 0.499997
v 0.415732 0.277783 0.499997
v 0.461936 0.191340 0.499997
v 0.490389 0.097544 0.499997
v 0.353551 0.353551 0.499997
v 0.499996 -0.000000 0.499997
v 0.277783 0.415732 0.499997
v 0.191340 0.461936 0.499997
v -0.499997 -0.499997 0.499997
v 0.097544 0.490389 0.499997
v -0.000000 0.499996 0.499997
v -0.499997 0.499997 0.499997
v -0.033351 -0.033351 0.499997
v 0.499997 -0.499997 0.499997
vt 1.000000 0.500100
vt 0.990395 0.597625
vt 0.466756 0.466756
vt 1.000000 0.000200
vt 0.000201 0.000201
vt 0.597626 0.990394
vt 0.500101 1.000000
vt 0.691404 0.961947
vt 0.777830 0.915751
vt 0.853583 0.853583
vt 0.915752 0.777829
vt 0.000201 1.000000
vt 0.961948 0.691403
vt -0.000000 0.000000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt -0.000000 1.000000
vt 0.533443 0.466757
vt 0.000202 0.500115
vt 0.402575 0.990397
vt 0.308797 0.961949
vt 0.222371 0.915753
vt 0.146617 0.853584
vt 0.084449 0.777831
vt 0.038253 0.691405
vt 0.009806 0.597626
vt 0.999996 0.125448
vt 0.222353 0.125462
vt 0.146597 0.000612
vt 0.999995 0.000594
vt 0.000178 0.874582
vt 0.915751 0.874577
vt 0.853580 0.999436
vt 0.000178 0.999439
vt 0.999808 0.625427
vt 0.009599 0.625446
vt -0.000005 0.500594
vt 0.999807 0.500594
vt 0.597441 0.374574
vt 0.499912 0.499435
vt 0.000000 0.499434
vt 0.000000 0.374576
vt 0.999999 0.375154
vt 1.000000 0.499969
vt 0.500093 0.500015
vt 0.402562 0.375164
vt 0.999812 0.999983
vt 0.146415 1.000000
vt 0.084244 0.875149
vt 0.999811 0.875131
vt 0.990396 0.624861
vt 0.961947 0.749719
vt 0.000178 0.749724
vt 0.000178 0.624866
vt 0.777649 0.124857
vt 0.691221 0.249715
vt 0.000001 0.249719
vt 0.000001 0.124861
vt 0.308782 0.250314
vt 0.999998 0.250301
vt 0.853403 -0.000000
vt 0.038047 0.750298
vt 0.999809 0.750280
vt 0.000177 0.500008
vt 0.000000 0.500000
vt 0.500000 1.000000
vt 0.500000 0.500000
vn 0.000000 -0.000000 1.000000
vn -0.000000 -1.000000 0.000000
vn -1.000000 0.000000 0.000000
vn 0.000000 0.831500 -0.555600
vn 0.325800 0.887500 -0.325800
vn 0.429700 0.794100 -0.429700
vn 0.000000 0.707100 -0.707100
vn 0.831500 0.555600 0.000000
vn 0.531000 0.660300 -0.531000
vn 0.707100 0.707100 0.000000
vn 0.000000 0.195100 -0.980800
vn 0.683900 0.254100 -0.683900
vn 0.705500 0.067100 -0.705500
vn 0.000000 0.049100 -0.998800
vn 0.123100 0.984700 -0.123100
vn 0.036800 0.998600 -0.036800
vn 0.049100 0.998800 0.000000
vn 0.195100 0.980800 0.000000
vn 0.000000 0.980800 -0.195100
vn 0.000000 0.998800 -0.049100
vn 0.000000 0.555600 -0.831500
vn 0.620400 0.479600 -0.620400
vn 0.923900 0.382700 0.000000
vn 0.980800 0.195100 0.000000
vn 0.223300 0.948800 -0.223200
vn 0.382700 0.923900 0.000000
vn 0.555600 0.831500 0.000000
vn 0.000000 0.923900 -0.382700
vn 0.000000 0.382700 -0.923900
vn 0.998800 0.049100 0.000000
vn 0.707100 0.000000 -0.707100
vn 0.000000 0.000000 -1.000000
vn -0.000000 1.000000 0.000000
vn 1.000000 0.000000 0.000000
s off
f 53/1/1 51/2/1 60/3/1
f 61/4/1 53/1/1 60/3/1 56/5/1
f 57/6/1 58/7/1 60/3/1
f 55/8/1 57/6/1 60/3/1
f 54/9/1 55/8/1 60/3/1
f 52/10/1 54/9/1 60/3/1
f 49/11/1 52/10/1 60/3/1
f 59/12/1 56/5/1 60/3/1 58/7/1
f 50/13/1 49/11/1 60/3/1
f 48/14/2 23/15/2 46/16/2 47/17/2
f 39/5/3 33/4/3 45/18/3 40/19/3
f 35/7/3 38/20/3 45/18/3
f 38/20/3 37/21/3 45/18/3
f 37/21/3 36/22/3 45/18/3
f 36/22/3 41/23/3 45/18/3
f 41/23/3 43/24/3 45/18/3
f 43/24/3 44/25/3 45/18/3
f 44/25/3 42/26/3 45/18/3
f 42/26/3 40/19/3 45/18/3
f 34/16/3 35/7/3 45/18/3 33/4/3
f 51/2/1 50/13/1 60/3/1
s 1
f 19/27/4 11/28/5 7/29/6 26/30/7
f 1/31/8 3/32/9 7/33/6 6/34/10
f 27/35/11 10/36/12 30/37/13 25/38/14
f 15/39/15 24/40/16 16/41/17 14/42/18
f 21/43/19 18/44/20 24/45/16 15/46/15
f 26/47/7 7/48/6 3/49/9 28/50/21
f 10/51/12 4/52/22 2/53/23 5/54/24
f 11/55/5 13/56/25 12/57/26 9/58/27
f 21/43/19 15/46/15 13/59/25 20/60/28
f 20/60/28 13/59/25 11/28/5 19/27/4
f 9/58/27 6/14/10 7/61/6 11/55/5
f 4/52/22 3/32/9 1/31/8 2/53/23
f 3/49/9 4/62/22 29/63/29 28/50/21
f 10/51/12 5/54/24 8/64/30 30/44/13
f 29/63/29 4/62/22 10/36/12 27/35/11
f 25/44/14 30/65/13 31/14/31 22/15/32
f 16/66/17 24/67/16 18/44/20 17/16/33
f 8/65/30 32/14/34 31/15/31 30/44/13
f 12/57/26 13/56/25 15/39/15 14/42/18

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB