|
Sweet Home 3D Forum » List all forums » » Forum: 3D models and textures » » » Thread: create own 3D models with opening » » » » Post: Re: create own 3D models with opening |
Print at Dec 17, 2025, 11:52:50 PM |
| Posted by Keet at Dec 31, 2022, 5:27:10 PM |
|
Re: create own 3D models with opening Yes, you need an OBJ file. When you export a model from SH3D it produces an OBJ and a MTL file. The OBJ file is the model description, the MTL file is the material file. The first post in the second forum thread you listed (http://www.sweethome3d.com/support/forum/viewthread_thread,8704_offset,8) explains how to add deformations. In short, you edit the OBJ file with a plain text editor. You have to find which g group(s) is/are the axis for your deformation and you prefix the g name(s) with "sweethome3d_hinge_1_" (or "sweethome3d_rail_1_" for a slider or "sweethome3d_ball_1_" for a ball deformation). See also this thread where new deformation options and chaining are explained: http://www.sweethome3d.com/support/forum/viewthread_thread,11818. After you have added the prefix for the axis you determine every g group that has to move using the defined axis. For every one of those g groups you rename them by prefixing them with "sweethome3d_opening_on_hinge_1_" (or rail or ball). Import the OBJ file and the deformation should work. You can also use Blender to rename the groups. That might be easier because you can select a group to see what it is. After changing the group names in Blender, export as OBJ file and import it in SH3D. I usualy set different temporary textures in SH3D to guide me to which group is what and edit the OBJ file with a text editor but you might find the Blender way easier. To get an example simply export a door from SH3D (one that has the modify openings option) and view the OBJ file that is created. You will see the prefixes as mentioned in the forum threads. You should also download the examples mentioned in that post to review how it is done. Especially if you want to have multiple different deformations in a single object and/or have chained deformations. Once you understand it it's not that difficult. By-the-way, for deformations the furniture library is not a requirement, just the prefixes in the OBJ file. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 17, 2025, 11:52:50 PM |