Add Lisabo Table

master
benrob0329 2020-01-24 00:31:02 -05:00
parent 64a535c662
commit 992aaeeeb3
5 changed files with 235 additions and 7 deletions

View File

@ -5,7 +5,7 @@ local listerby_box = {
{-0.0625, -0.06125, -0.25, 0.0, -0.56125, 0.25}, -- Left
{1.0, -0.06125, -0.25, 1.0625, -0.56125, 0.25}, -- Right
{0.0, -0.31125, -0.25, 1.0, -0.37375, 0.25}, -- Shelf
}
},
}
local listerby_name = "Listerby Table"
ikea.register_furniture({ -- Furniture Registration
@ -21,3 +21,29 @@ ikea.register_furniture({ -- Furniture Registration
selection_box = listerby_box,
collision_box = listerby_box,
})
local lisabo_box = {
type = "fixed",
fixed = {
{-0.625, 0.5, -0.5625, 1.625, 0.4375, 0.5625}, -- Tabletop
{-0.5625, 0.4375, -0.5, 1.5625, 0.375, 0.5}, -- Lower Tabletop
{1.4375, 0.375, -0.4375, 1.5, -0.5, -0.375}, -- Front Right Leg
{1.4375, 0.375, 0.375, 1.5, -0.5, 0.4375}, -- Back Right Leg
{-0.5, 0.375, -0.4375, -0.4375, -0.5, -0.375}, -- Front Left Leg
{-0.5, 0.375, 0.375, -0.4375, -0.5, 0.4375}, -- Back Left Leg
},
}
local lisabo_name = "Lisabo Table"
ikea.register_furniture({ -- Furniture Registration
name = lisabo_name,
tags = {"table", "kitchen"},
box_contents = {"tables:lisabo"},
node_name = "tables:lisabo",
size_x = 2,
}, { -- Nodedef
description = lisabo_name,
mesh = "ikea_tables_lisabo.obj",
tiles = {"ikea_tables_lisabo.png"},
selection_box = lisabo_box,
collision_box = lisabo_box,
})

View File

@ -0,0 +1,163 @@
# Blender v2.81 (sub 16) OBJ File: 'ikea_tables_lisabo.blend'
# www.blender.org
o Cube_Cube.001
v 0.625000 0.437500 -0.562500
v 0.625000 0.500000 -0.562500
v 0.625000 0.437500 0.562500
v 0.625000 0.500000 0.562500
v -1.625000 0.437500 -0.562500
v -1.625000 0.500000 -0.562500
v -1.625000 0.437500 0.562500
v -1.625000 0.500000 0.562500
v 0.562500 0.375000 -0.500000
v 0.562500 0.437500 -0.500000
v 0.562500 0.375000 0.500000
v 0.562500 0.437500 0.500000
v -1.562500 0.375000 -0.500000
v -1.562500 0.437500 -0.500000
v -1.562500 0.375000 0.500000
v -1.562500 0.437500 0.500000
v 0.500000 -0.500000 -0.437500
v 0.500000 0.375000 -0.437500
v 0.500000 -0.500000 -0.375000
v 0.500000 0.375000 -0.375000
v 0.437500 -0.500000 -0.437500
v 0.437500 0.375000 -0.437500
v 0.437500 -0.500000 -0.375000
v 0.437500 0.375000 -0.375000
v -1.437500 -0.500000 -0.437500
v -1.437500 0.375000 -0.437500
v -1.437500 -0.500000 -0.375000
v -1.437500 0.375000 -0.375000
v -1.500000 -0.500000 -0.437500
v -1.500000 0.375000 -0.437500
v -1.500000 -0.500000 -0.375000
v -1.500000 0.375000 -0.375000
v 0.500000 -0.500000 0.375000
v 0.500000 0.375000 0.375000
v 0.500000 -0.500000 0.437500
v 0.500000 0.375000 0.437500
v 0.437500 -0.500000 0.375000
v 0.437500 0.375000 0.375000
v 0.437500 -0.500000 0.437500
v 0.437500 0.375000 0.437500
v -1.437500 -0.500000 0.375000
v -1.437500 0.375000 0.375000
v -1.437500 -0.500000 0.437500
v -1.437500 0.375000 0.437500
v -1.500000 -0.500000 0.375000
v -1.500000 0.375000 0.375000
v -1.500000 -0.500000 0.437500
v -1.500000 0.375000 0.437500
vt -0.000000 0.015625
vt 0.015625 0.015625
vt 0.015625 0.296875
vt -0.000000 0.296875
vt 0.015625 0.312500
vt 0.578125 0.296875
vt 0.578125 0.312500
vt 0.593750 0.296875
vt 0.578125 0.015625
vt 0.593750 0.015625
vt 0.578125 -0.000000
vt 0.015625 -0.000000
vt 0.578125 0.593750
vt 0.015625 0.593750
vt 0.015625 0.625000
vt 0.000000 0.625000
vt 0.000000 0.875000
vt 0.015625 0.875000
vt 0.015625 0.890625
vt 0.546875 0.890625
vt 0.546875 0.875000
vt 0.562500 0.875000
vt 0.562500 0.625000
vt 0.546875 0.625000
vt 0.546875 0.609375
vt 0.015625 0.609375
vt 0.625000 0.015625
vt 0.625000 0.234375
vt 0.609375 0.234375
vt 0.609375 0.015625
vt 0.671875 0.015625
vt 0.671875 0.234375
vt 0.656250 0.234375
vt 0.656250 0.015625
vt 0.640625 0.234375
vt 0.640625 0.015625
vt 0.625000 -0.000000
vt 0.640625 -0.000000
vt 0.625000 0.015625
vt 0.625000 0.234375
vt 0.609375 0.234375
vt 0.609375 0.015625
vt 0.671875 0.015625
vt 0.671875 0.234375
vt 0.656250 0.234375
vt 0.656250 0.015625
vt 0.640625 0.234375
vt 0.640625 0.015625
vt 0.625000 -0.000000
vt 0.640625 -0.000000
vt 0.625000 0.015625
vt 0.625000 0.234375
vt 0.609375 0.234375
vt 0.609375 0.015625
vt 0.671875 0.015625
vt 0.671875 0.234375
vt 0.656250 0.234375
vt 0.656250 0.015625
vt 0.640625 0.234375
vt 0.640625 0.015625
vt 0.625000 -0.000000
vt 0.640625 -0.000000
vt 0.625000 0.015625
vt 0.625000 0.234375
vt 0.609375 0.234375
vt 0.609375 0.015625
vt 0.671875 0.015625
vt 0.671875 0.234375
vt 0.656250 0.234375
vt 0.656250 0.015625
vt 0.640625 0.234375
vt 0.640625 0.015625
vt 0.625000 -0.000000
vt 0.640625 -0.000000
vn 1.0000 0.0000 0.0000
vn 0.0000 0.0000 1.0000
vn -1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 1.0000 0.0000
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 3/5/2 4/3/2 8/6/2 7/7/2
f 7/8/3 8/6/3 6/9/3 5/10/3
f 5/11/4 6/9/4 2/2/4 1/12/4
f 3/5/5 7/7/5 5/13/5 1/14/5
f 8/6/6 4/3/6 2/2/6 6/9/6
f 9/15/1 10/16/1 12/17/1 11/18/1
f 11/18/2 12/19/2 16/20/2 15/21/2
f 15/21/3 16/22/3 14/23/3 13/24/3
f 13/24/4 14/25/4 10/26/4 9/15/4
f 11/18/5 15/21/5 13/24/5 9/15/5
f 17/27/1 18/28/1 20/29/1 19/30/1
f 19/31/2 20/32/2 24/33/2 23/34/2
f 23/34/3 24/33/3 22/35/3 21/36/3
f 21/36/4 22/35/4 18/28/4 17/27/4
f 19/37/5 23/38/5 21/36/5 17/27/5
f 25/39/1 26/40/1 28/41/1 27/42/1
f 27/43/2 28/44/2 32/45/2 31/46/2
f 31/46/3 32/45/3 30/47/3 29/48/3
f 29/48/4 30/47/4 26/40/4 25/39/4
f 27/49/5 31/50/5 29/48/5 25/39/5
f 33/51/1 34/52/1 36/53/1 35/54/1
f 35/55/2 36/56/2 40/57/2 39/58/2
f 39/58/3 40/57/3 38/59/3 37/60/3
f 37/60/4 38/59/4 34/52/4 33/51/4
f 35/61/5 39/62/5 37/60/5 33/51/5
f 41/63/1 42/64/1 44/65/1 43/66/1
f 43/67/2 44/68/2 48/69/2 47/70/2
f 47/70/3 48/69/3 46/71/3 45/72/3
f 45/72/4 46/71/4 42/64/4 41/63/4
f 43/73/5 47/74/5 45/72/5 41/63/5

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1,39 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="64" height="64" viewBox="0 0 64 64"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<desc>ikea_tables_lisabo.blend, (Blender 2.81 (sub 16))</desc>
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="-0.000,63.000 1.000,63.000 1.000,45.000 -0.000,45.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,44.000 1.000,45.000 37.000,45.000 37.000,44.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="38.000,45.000 37.000,45.000 37.000,63.000 38.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="37.000,64.000 37.000,63.000 1.000,63.000 1.000,64.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,44.000 37.000,44.000 37.000,26.000 1.000,26.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="37.000,45.000 1.000,45.000 1.000,63.000 37.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,24.000 0.000,24.000 0.000,8.000 1.000,8.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,8.000 1.000,7.000 35.000,7.000 35.000,8.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="35.000,8.000 36.000,8.000 36.000,24.000 35.000,24.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="35.000,24.000 35.000,25.000 1.000,25.000 1.000,24.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,8.000 35.000,8.000 35.000,24.000 1.000,24.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,63.000 40.000,49.000 39.000,49.000 39.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="43.000,63.000 43.000,49.000 42.000,49.000 42.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="42.000,63.000 42.000,49.000 41.000,49.000 41.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="41.000,63.000 41.000,49.000 40.000,49.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,64.000 41.000,64.000 41.000,63.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,63.000 40.000,49.000 39.000,49.000 39.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="43.000,63.000 43.000,49.000 42.000,49.000 42.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="42.000,63.000 42.000,49.000 41.000,49.000 41.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="41.000,63.000 41.000,49.000 40.000,49.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,64.000 41.000,64.000 41.000,63.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,63.000 40.000,49.000 39.000,49.000 39.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="43.000,63.000 43.000,49.000 42.000,49.000 42.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="42.000,63.000 42.000,49.000 41.000,49.000 41.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="41.000,63.000 41.000,49.000 40.000,49.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,64.000 41.000,64.000 41.000,63.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,63.000 40.000,49.000 39.000,49.000 39.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="43.000,63.000 43.000,49.000 42.000,49.000 42.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="42.000,63.000 42.000,49.000 41.000,49.000 41.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="41.000,63.000 41.000,49.000 40.000,49.000 40.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="40.000,64.000 41.000,64.000 41.000,63.000 40.000,63.000 " />
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB