Add 3d printer (Prussa i3/"bedflinger" style)

This commit is contained in:
Vanessa Dannenberg 2019-08-21 07:19:28 -04:00
parent 67f2065408
commit 60be4a6320
4 changed files with 11258 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,7 @@
-- Printers of some kind or another -- Printers of some kind or another
local S = homedecor.gettext
minetest.register_node("computer:printer", { minetest.register_node("computer:printer", {
description = S("Printer-Scanner Combo"), description = S("Printer-Scanner Combo"),
inventory_image = "computer_printer_inv.png", inventory_image = "computer_printer_inv.png",
@ -26,3 +28,25 @@ minetest.register_node("computer:printer", {
}, },
}) })
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
local cbox = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.3, 0.25, 0.3 }
}
minetest.register_node("computer:3dprinter_bedflinger", {
description = S('3D Printer ("bedflinger")'),
inventory_image = "computer_3dprinter_bedflinger_inv.png",
tiles = {"computer_3dprinter_bedflinger.png"},
paramtype = "light",
paramtype2 = "facedir",
walkable = true,
groups = {snappy=3},
sound = default.node_sound_wood_defaults(),
drawtype = "mesh",
mesh = "computer_3dprinter_bedflinger.obj",
selection_box = cbox,
collision_box = cbox,
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB