Add Svenbertil Chair

master
benrob0329 2020-01-25 00:03:38 -05:00
parent 45332ffd3a
commit 700f08e420
5 changed files with 300 additions and 0 deletions

View File

@ -21,3 +21,26 @@ ikea.register_furniture({ -- Furniture Registration
selection_box = vedbo_nodebox,
collision_box = vedbo_nodebox,
})
local svenbertil_box = {
type = "fixed",
fixed = {
{-0.437484, 0.937491, 0.313884, 0.437516, 0.124991, 0.376384}, -- Back
{-0.437484, 0.124991, -0.436116, 0.437516, 0.062491, 0.376384}, -- Seat
{-0.374984, 0.062491, -0.373616, -0.312484, -0.500009, 0.313884}, -- Left
{0.312516, 0.062491, -0.373616, 0.375016, -0.500009, 0.313884}, -- Right
},
}
local svenbertil_name = "Svenbertil Chair"
ikea.register_furniture({ -- Furniture Registration
name = svenbertil_name,
tags = {"chair", "kitchen"},
box_contents = {"chairs:svenbertil"},
node_name = "chairs:svenbertil",
}, { -- Nodedef
description = svenbertil_name,
mesh = "ikea_chairs_svenbertil.obj",
tiles = {"ikea_chairs_svenbertil.png"},
selection_box = svenbertil_box,
collision_box = svenbertil_box,
})

View File

@ -0,0 +1,227 @@
# Blender v2.81 (sub 16) OBJ File: 'ikea_chairs_svenbertil.blend'
# www.blender.org
o Cube_Cube.001
v 0.437484 0.937491 0.313884
v 0.437484 0.937491 0.376384
v -0.436638 0.937491 0.313884
v -0.436638 0.937491 0.376384
v 0.437484 0.187491 0.376384
v -0.437516 0.187491 0.376384
v -0.437516 0.187491 0.313884
v 0.437484 0.187491 0.313884
v 0.374984 0.124991 0.376384
v 0.374984 0.187491 0.313884
v 0.374984 0.187491 0.376384
v -0.437516 0.124991 0.376384
v -0.437516 0.062491 0.376384
v -0.437516 0.124991 -0.436116
v -0.437516 0.062491 -0.436116
v 0.437484 0.124991 0.376384
v 0.437484 0.062491 0.376384
v 0.437484 0.124991 -0.436116
v 0.437484 0.062491 -0.436116
v -0.312516 0.062491 -0.311116
v -0.312516 -0.500009 -0.311116
v -0.312516 0.062491 -0.373616
v -0.312516 -0.500009 -0.373616
v -0.375016 -0.500009 -0.373616
v -0.375016 0.062491 -0.373616
v -0.375016 -0.500009 -0.311116
v -0.375016 0.062491 -0.311116
v -0.375016 0.187491 0.376384
v 0.374984 0.124991 0.313884
v -0.375016 0.124991 0.376384
v -0.375016 0.187491 0.313884
v -0.375016 0.124991 0.313884
v 0.374984 0.062491 -0.311116
v 0.374984 -0.500009 -0.311116
v 0.374984 0.062491 -0.373616
v 0.374984 -0.500009 -0.373616
v 0.312484 -0.500009 -0.373616
v 0.312484 0.062491 -0.373616
v 0.312484 -0.500009 -0.311116
v 0.312484 0.062491 -0.311116
v 0.374984 0.062491 0.313884
v 0.374984 -0.500009 0.313884
v 0.374984 0.062491 0.251384
v 0.374984 -0.500009 0.251384
v 0.312484 -0.500009 0.251384
v 0.312484 0.062491 0.251384
v 0.312484 -0.500009 0.313884
v 0.312484 0.062491 0.313884
v -0.312516 0.062491 0.313884
v -0.312516 -0.500009 0.313884
v -0.312516 0.062491 0.251384
v -0.312516 -0.500009 0.251384
v -0.375016 -0.500009 0.251384
v -0.375016 0.062491 0.251384
v -0.375016 -0.500009 0.313884
v -0.375016 0.062491 0.313884
v -0.312500 0.000000 -0.312500
v -0.312500 0.062500 -0.312500
v -0.312500 0.000000 0.250000
v -0.312500 0.062500 0.250000
v -0.375000 0.000000 -0.312500
v -0.375000 0.062500 -0.312500
v -0.375000 0.000000 0.250000
v -0.375000 0.062500 0.250000
v 0.375000 0.000000 -0.312500
v 0.375000 0.062500 -0.312500
v 0.375000 0.000000 0.250000
v 0.375000 0.062500 0.250000
v 0.312500 0.000000 -0.312500
v 0.312500 0.062500 -0.312500
v 0.312500 0.000000 0.250000
v 0.312500 0.062500 0.250000
vt 0.234375 0.796875
vt 0.234375 0.984375
vt 0.218750 0.984375
vt 0.218750 0.796875
vt 0.453125 1.000000
vt 0.234375 1.000000
vt 0.453125 0.984375
vt 0.000000 0.984375
vt 0.000000 0.796875
vt 0.468750 0.796875
vt 0.468750 0.984375
vt 0.453125 0.796875
vt 0.453125 0.750000
vt 0.453125 0.765625
vt 0.437500 0.765625
vt 0.437500 0.750000
vt 0.250000 0.750000
vt 0.250000 0.765625
vt 0.234375 0.765625
vt 0.234375 0.750000
vt 0.640625 0.750000
vt 0.640625 0.765625
vt 0.234375 0.781250
vt 0.453125 0.781250
vt 0.234375 0.531250
vt 0.234375 0.515625
vt 0.453125 0.515625
vt 0.453125 0.531250
vt 0.453125 0.734375
vt 0.234375 0.734375
vt 0.453125 0.296875
vt 0.453125 0.312500
vt 0.234375 0.312500
vt 0.234375 0.296875
vt 0.218750 0.312500
vt 0.218750 0.515625
vt 0.468750 0.515625
vt 0.468750 0.312500
vt 0.015625 0.015625
vt 0.015625 0.156250
vt -0.000000 0.156250
vt -0.000000 0.015625
vt 0.062500 0.015625
vt 0.062500 0.156250
vt 0.046875 0.156250
vt 0.046875 0.015625
vt 0.031250 0.156250
vt 0.031250 0.015625
vt 0.015625 -0.000000
vt 0.031250 -0.000000
vt 0.015625 0.015625
vt 0.015625 0.156250
vt 0.000000 0.156250
vt 0.000000 0.015625
vt 0.062500 0.015625
vt 0.062500 0.156250
vt 0.046875 0.156250
vt 0.046875 0.015625
vt 0.031250 0.156250
vt 0.031250 0.015625
vt 0.015625 0.000000
vt 0.031250 0.000000
vt 0.015625 0.015625
vt 0.015625 0.156250
vt 0.000000 0.156250
vt 0.000000 0.015625
vt 0.062500 0.015625
vt 0.062500 0.156250
vt 0.046875 0.156250
vt 0.046875 0.015625
vt 0.031250 0.156250
vt 0.031250 0.015625
vt 0.015625 -0.000000
vt 0.031250 -0.000000
vt 0.015625 0.015625
vt 0.015625 0.156250
vt -0.000000 0.156250
vt -0.000000 0.015625
vt 0.062500 0.015625
vt 0.062500 0.156250
vt 0.046875 0.156250
vt 0.046875 0.015625
vt 0.031250 0.156250
vt 0.031250 0.015625
vt 0.015625 0.000000
vt 0.031250 0.000000
vt 0.500000 0.343750
vt 0.484375 0.343750
vt 0.484375 0.484375
vt 0.500000 0.484375
vt 0.187500 0.484375
vt 0.203125 0.484375
vt 0.203125 0.343750
vt 0.187500 0.343750
vt 0.515625 0.484375
vt 0.531250 0.484375
vt 0.531250 0.343750
vt 0.515625 0.343750
vt 0.171875 0.343750
vt 0.156250 0.343750
vt 0.156250 0.484375
vt 0.171875 0.484375
vn 1.0000 0.0000 0.0000
vn 0.0000 1.0000 0.0000
vn 0.0000 0.0000 1.0000
vn -1.0000 0.0012 0.0000
vn -1.0000 0.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 0.0000 -1.0000
s off
f 8/1/1 1/2/1 2/3/1 5/4/1
f 4/5/2 2/6/2 1/2/2 3/7/2
f 4/8/3 6/9/3 5/4/3 2/3/3
f 6/10/4 4/11/4 3/7/4 7/12/4
f 30/13/5 28/14/5 31/15/5 32/16/5
f 29/17/1 10/18/1 11/19/1 9/20/1
f 9/21/3 11/22/3 28/14/3 30/13/3
f 7/12/6 8/1/6 5/23/6 6/24/6
f 32/16/7 31/15/7 10/18/7 29/17/7
f 17/25/3 16/26/3 12/27/3 13/28/3
f 1/2/7 8/1/7 7/12/7 3/7/7
f 17/25/6 13/28/6 15/29/6 19/30/6
f 15/31/7 14/32/7 18/33/7 19/34/7
f 12/27/2 16/26/2 18/33/2 14/32/2
f 19/35/1 18/33/1 16/26/1 17/36/1
f 13/37/5 12/27/5 14/32/5 15/38/5
f 23/39/1 22/40/1 20/41/1 21/42/1
f 21/43/3 20/44/3 27/45/3 26/46/3
f 26/46/5 27/45/5 25/47/5 24/48/5
f 24/48/7 25/47/7 22/40/7 23/39/7
f 21/49/6 26/50/6 24/48/6 23/39/6
f 36/51/1 35/52/1 33/53/1 34/54/1
f 34/55/3 33/56/3 40/57/3 39/58/3
f 39/58/5 40/57/5 38/59/5 37/60/5
f 37/60/7 38/59/7 35/52/7 36/51/7
f 34/61/6 39/62/6 37/60/6 36/51/6
f 44/63/1 43/64/1 41/65/1 42/66/1
f 42/67/3 41/68/3 48/69/3 47/70/3
f 47/70/5 48/69/5 46/71/5 45/72/5
f 45/72/7 46/71/7 43/64/7 44/63/7
f 42/73/6 47/74/6 45/72/6 44/63/6
f 52/75/1 51/76/1 49/77/1 50/78/1
f 50/79/3 49/80/3 56/81/3 55/82/3
f 55/82/5 56/81/5 54/83/5 53/84/5
f 53/84/7 54/83/7 51/76/7 52/75/7
f 50/85/6 55/86/6 53/84/6 52/75/6
f 57/87/1 58/88/1 60/89/1 59/90/1
f 71/91/5 72/92/5 70/93/5 69/94/5
f 63/95/5 64/96/5 62/97/5 61/98/5
f 65/99/1 66/100/1 68/101/1 67/102/1
f 59/90/6 63/95/6 61/98/6 57/87/6
f 67/102/6 71/91/6 69/94/6 65/99/6

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

View File

@ -0,0 +1,50 @@
<?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_chairs_svenbertil.blend, (Blender 2.81 (sub 16))</desc>
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="15.000,13.000 15.000,1.000 14.000,1.000 14.000,13.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="29.000,0.000 15.000,0.000 15.000,1.000 29.000,1.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="0.000,1.000 0.000,13.000 14.000,13.000 14.000,1.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="30.000,13.000 30.000,1.000 29.000,1.000 29.000,13.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="29.000,16.000 29.000,15.000 28.000,15.000 28.000,16.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="16.000,16.000 16.000,15.000 15.000,15.000 15.000,16.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="41.000,16.000 41.000,15.000 29.000,15.000 29.000,16.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="29.000,13.000 15.000,13.000 15.000,14.000 29.000,14.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="28.000,16.000 28.000,15.000 16.000,15.000 16.000,16.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="15.000,30.000 15.000,31.000 29.000,31.000 29.000,30.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="15.000,1.000 15.000,13.000 29.000,13.000 29.000,1.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="15.000,30.000 29.000,30.000 29.000,17.000 15.000,17.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="29.000,45.000 29.000,44.000 15.000,44.000 15.000,45.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="29.000,31.000 15.000,31.000 15.000,44.000 29.000,44.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="14.000,44.000 15.000,44.000 15.000,31.000 14.000,31.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="30.000,31.000 29.000,31.000 29.000,44.000 30.000,44.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,63.000 1.000,54.000 -0.000,54.000 -0.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="4.000,63.000 4.000,54.000 3.000,54.000 3.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="3.000,63.000 3.000,54.000 2.000,54.000 2.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="2.000,63.000 2.000,54.000 1.000,54.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,64.000 2.000,64.000 2.000,63.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,63.000 1.000,54.000 0.000,54.000 0.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="4.000,63.000 4.000,54.000 3.000,54.000 3.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="3.000,63.000 3.000,54.000 2.000,54.000 2.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="2.000,63.000 2.000,54.000 1.000,54.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,64.000 2.000,64.000 2.000,63.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,63.000 1.000,54.000 0.000,54.000 0.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="4.000,63.000 4.000,54.000 3.000,54.000 3.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="3.000,63.000 3.000,54.000 2.000,54.000 2.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="2.000,63.000 2.000,54.000 1.000,54.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,64.000 2.000,64.000 2.000,63.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,63.000 1.000,54.000 -0.000,54.000 -0.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="4.000,63.000 4.000,54.000 3.000,54.000 3.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="3.000,63.000 3.000,54.000 2.000,54.000 2.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="2.000,63.000 2.000,54.000 1.000,54.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="1.000,64.000 2.000,64.000 2.000,63.000 1.000,63.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="32.000,42.000 31.000,42.000 31.000,33.000 32.000,33.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="12.000,33.000 13.000,33.000 13.000,42.000 12.000,42.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="33.000,33.000 34.000,33.000 34.000,42.000 33.000,42.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="11.000,42.000 10.000,42.000 10.000,33.000 11.000,33.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="32.000,33.000 33.000,33.000 33.000,42.000 32.000,42.000 " />
<polygon stroke="black" stroke-width="1" fill="rgb(204, 204, 204)" fill-opacity="0.25" points="11.000,33.000 12.000,33.000 12.000,42.000 11.000,42.000 " />
</svg>

After

Width:  |  Height:  |  Size: 6.6 KiB