Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1812 times and has 4 replies Next Thread
T_R
Member



currently ;China
Joined: Jan 14, 2019
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
Help request for coding a double- door with dynamic functions

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.
----------------------------------------
Laptop : EEEPC 1201N
250GB, 2 GB Ram, Broken Display, SH3D 6.2
Behind Chines "Firewall"- NO Google Servive working at all.
Never give Up!
[Apr 28, 2023, 7:47:21 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Help request for coding a double- door with dynamic functions

The rules are explained here.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Apr 28, 2023, 8:04:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
T_R
Member



currently ;China
Joined: Jan 14, 2019
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
Laptop : EEEPC 1201N
250GB, 2 GB Ram, Broken Display, SH3D 6.2
Behind Chines "Firewall"- NO Google Servive working at all.
Never give Up!
[Apr 28, 2023, 9:35:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
T_R
Member



currently ;China
Joined: Jan 14, 2019
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
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
----------------------------------------
Laptop : EEEPC 1201N
250GB, 2 GB Ram, Broken Display, SH3D 6.2
Behind Chines "Firewall"- NO Google Servive working at all.
Never give Up!
[Apr 28, 2023, 9:37:23 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[May 3, 2023, 10:07:24 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved