Hello Forum,
Compliment first, this is the greatest Forum around a awesome software.
I currently search ( re- search) the how to do of makeing my own " double door with frame" who can actually opened. I couldn't find a solution right now.
I created a very complex 3d model in SketchUp and made the code so the
Dynamic open/ close Funktion works. Wasn't easy but..
Is there a " ready- to- use" code to make the whole think working in SH3D?
IAM work- related based in china,big iron firewall, can't upload to a platform the files to show u. I can copy the code of the .MTL here on request.
I run a Win7 x86 so there are also kind of limitations by Adobeproducts. This all is non- commercial, hobby only and any constructive (!) Help is appreciated.
Thanks advanced for your input.
Help request for coding a double- door with dynamic functions
This topic has been viewed 3732 times and has 4 replies
Help request for coding a double- door with dynamic functions
Laptop :ThinkPad 490, WIN11Pro, 64Bit, 8GBRam, 6T Harddrive
Never give Up!
Never give Up!
Re: Help request for coding a double- door with dynamic functions
The rules are explained here.
Emmanuel Puybaret, Sweet Home 3D creator
Re: Help request for coding a double- door with dynamic functions
@Puybaret
Hello Sir. Thank you for the rules. what I was asking is for HELP.
I can't "mirror" the doors because they have a different design.
Furthermore, if I would be a programmer, I would not ask here in the first place.
I was thinking to contribute this Door.......
but I get a feeling I'm not too welcome here.
Anyway, my hope is that someone really tries to help me a PM is wellcome.
Hello Sir. Thank you for the rules. what I was asking is for HELP.
I can't "mirror" the doors because they have a different design.
Furthermore, if I would be a programmer, I would not ask here in the first place.
I was thinking to contribute this Door.......
Anyway, my hope is that someone really tries to help me a PM is wellcome.
Laptop :ThinkPad 490, WIN11Pro, 64Bit, 8GBRam, 6T Harddrive
Never give Up!
Never give Up!
Re: Help request for coding a double- door with dynamic functions
Thats the code i have so far made in sketchUp:
# Dynamic Container Door by Thorsten Reimann (C)2/2023
# No Copy or use without my permission or licence.
## Alias OBJ Material File
# Exported from SketchUp, (c) 2000-2012 Trimble Navigation Limited
newmtl _auto_
Ka 0.000000 0.000000 0.000000
Kd 0.701961 0.701961 0.701961
Ks 0.330000 0.330000 0.330000
newmtl _auto_4
Ka 0.000000 0.000000 0.000000
Kd 1.000000 1.000000 1.000000
Ks 0.330000 0.330000 0.330000
newmtl ForegroundColor
Ka 0.000000 0.000000 0.000000
Kd 0.000000 0.000000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl _auto_7
Ka 0.000000 0.000000 0.000000
Kd 0.643137 0.694118 0.729412
Ks 0.330000 0.330000 0.330000
newmtl ewfger5tge
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/ewfger5tge.png
newmtl hgfdvcsa
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/hgfdvcsa.png
newmtl _auto_8
Ka 0.000000 0.000000 0.000000
Kd 0.980392 0.839216 0.505882
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/_auto_8.jpg
newmtl Color_M09
Ka 0.000000 0.000000 0.000000
Kd 0.000000 0.000000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl _auto_1
Ka 0.000000 0.000000 0.000000
Kd 0.250980 0.250980 0.250980
Ks 0.330000 0.330000 0.330000
newmtl Color_D05
Ka 0.000000 0.000000 0.000000
Kd 1.000000 0.749020 0.000000
Ks 0.330000 0.330000 0.330000
newmtl Steel_Brushed_Stainless
Ka 0.000000 0.000000 0.000000
Kd 0.717647 0.733333 0.745098
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/Steel_Brushed_Stainless.jpg
newmtl Metal_Silver
Ka 0.000000 0.000000 0.000000
Kd 0.917647 0.913725 0.933333
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/Metal_Silver.jpg
newmtl _auto_10
Ka 0.000000 0.000000 0.000000
Kd 0.800000 0.800000 0.800000
Ks 0.330000 0.330000 0.330000
newmtl _auto_3
Ka 0.000000 0.000000 0.000000
Kd 0.200000 0.200000 0.200000
Ks 0.330000 0.330000 0.330000
newmtl LR
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/LR.png
newmtl one_world
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/one_world.png
newmtl WeChat_Image_20230217180105
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/WeChat_Image_20230217180105.jpg
newmtl Color_D06
Ka 0.000000 0.000000 0.000000
Kd 0.800000 0.600000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl warning
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/warning.png
newmtl Lisanne_Boot_Sole_02
Ka 0.000000 0.000000 0.000000
Kd 0.156863 0.109804 0.062745
Ks 0.330000 0.330000 0.330000
newmtl Container_lable1
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/Container_lable1.png
newmtl lable2
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/lable2.png
newmtl label6
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/label6.png
newmtl FrontColor
Ka 0.000000 0.000000 0.000000
Kd 1.000000 1.000000 1.000000
Ks 0.330000 0.330000 0.330000
newmtl BackColor
Ka 0.000000 0.000000 0.000000
Kd 0.643137 0.698039 0.733333
Ks 0.330000 0.330000 0.330000
# Dynamic Container Door by Thorsten Reimann (C)2/2023
# No Copy or use without my permission or licence.
## Alias OBJ Material File
# Exported from SketchUp, (c) 2000-2012 Trimble Navigation Limited
newmtl _auto_
Ka 0.000000 0.000000 0.000000
Kd 0.701961 0.701961 0.701961
Ks 0.330000 0.330000 0.330000
newmtl _auto_4
Ka 0.000000 0.000000 0.000000
Kd 1.000000 1.000000 1.000000
Ks 0.330000 0.330000 0.330000
newmtl ForegroundColor
Ka 0.000000 0.000000 0.000000
Kd 0.000000 0.000000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl _auto_7
Ka 0.000000 0.000000 0.000000
Kd 0.643137 0.694118 0.729412
Ks 0.330000 0.330000 0.330000
newmtl ewfger5tge
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/ewfger5tge.png
newmtl hgfdvcsa
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/hgfdvcsa.png
newmtl _auto_8
Ka 0.000000 0.000000 0.000000
Kd 0.980392 0.839216 0.505882
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/_auto_8.jpg
newmtl Color_M09
Ka 0.000000 0.000000 0.000000
Kd 0.000000 0.000000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl _auto_1
Ka 0.000000 0.000000 0.000000
Kd 0.250980 0.250980 0.250980
Ks 0.330000 0.330000 0.330000
newmtl Color_D05
Ka 0.000000 0.000000 0.000000
Kd 1.000000 0.749020 0.000000
Ks 0.330000 0.330000 0.330000
newmtl Steel_Brushed_Stainless
Ka 0.000000 0.000000 0.000000
Kd 0.717647 0.733333 0.745098
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/Steel_Brushed_Stainless.jpg
newmtl Metal_Silver
Ka 0.000000 0.000000 0.000000
Kd 0.917647 0.913725 0.933333
Ks 0.330000 0.330000 0.330000
map_Kd container doors and frame v2/Metal_Silver.jpg
newmtl _auto_10
Ka 0.000000 0.000000 0.000000
Kd 0.800000 0.800000 0.800000
Ks 0.330000 0.330000 0.330000
newmtl _auto_3
Ka 0.000000 0.000000 0.000000
Kd 0.200000 0.200000 0.200000
Ks 0.330000 0.330000 0.330000
newmtl LR
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/LR.png
newmtl one_world
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/one_world.png
newmtl WeChat_Image_20230217180105
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/WeChat_Image_20230217180105.jpg
newmtl Color_D06
Ka 0.000000 0.000000 0.000000
Kd 0.800000 0.600000 0.000000
Ks 0.330000 0.330000 0.330000
newmtl warning
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/warning.png
newmtl Lisanne_Boot_Sole_02
Ka 0.000000 0.000000 0.000000
Kd 0.156863 0.109804 0.062745
Ks 0.330000 0.330000 0.330000
newmtl Container_lable1
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/Container_lable1.png
newmtl lable2
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/lable2.png
newmtl label6
Ka 0.000000 0.000000 0.000000
Kd 0.501961 0.501961 0.501961
Ks 0.000000 0.000000 0.000000
map_Kd container doors and frame v2/label6.png
newmtl FrontColor
Ka 0.000000 0.000000 0.000000
Kd 1.000000 1.000000 1.000000
Ks 0.330000 0.330000 0.330000
newmtl BackColor
Ka 0.000000 0.000000 0.000000
Kd 0.643137 0.698039 0.733333
Ks 0.330000 0.330000 0.330000
Laptop :ThinkPad 490, WIN11Pro, 64Bit, 8GBRam, 6T Harddrive
Never give Up!
Never give Up!
Re: Help request for coding a double- door with dynamic functions
The prefixes to add are in OBJ files, not in MTL files. Read again the post about it, you'll see there are plenty of examples in it.
Emmanuel Puybaret, Sweet Home 3D creator
Who is online
Users browsing this forum: No registered users and 1 guest