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: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 105 times and has 2 replies Next Thread
ArtOfHome
Newbie



Italy
Joined: Jan 24, 2024
Post Count: 13
Status: Offline
Reply to this Post  Reply with Quote 
Padding from objects

Is it possible to create an invisible space between 2 objects? Perhaps a padding of 1 centimeter to always leave an equally spaced gap when they are joined?
[Feb 15, 2024, 11:14:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 790
Status: Offline
Reply to this Post  Reply with Quote 
Re: Padding from objects

Yes: create a box with the needed size. Make all sides invisible except the top. Export it and edit the MTL file so the single block of material "top" gets a last line with "d 0.0". This makes the box invisible.
Import and you can use this object as an invisible space. Only the gap width needs to be precise. The object is invisible anyway so as long as it doesn't stick outside your other objects it's good.

Edit to complete:
While you're editing the MTL file change "newmtl top" to "newmtl invisible" and in the OBJ file change "usemtl top" to "usemtl invisible". When you import the object its material name will be "invisible". This makes it easier to recognize it when you combine it in an export with other objects.

Edit 2 for all users:
The invisible box is useful for something else. Imagine you created several pieces of furniture that can be stacked BUT they don't all have the same size (bounding box). That makes aligning them while you stack them difficult.
By adding invisible boxes to the smaller parts you can make sure that the bounding boxes are all the same size so your parts can be easily aligned.
----------------------------------------
[Edit 2 times, last edit by Keet at Feb 15, 2024, 11:34:08 AM]
[Feb 15, 2024, 11:23:25 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 555
Status: Offline
Reply to this Post  Reply with Quote 
Re: Padding from objects

For this kind of tasks I usually use the already old implemented tool "Align or distribute furniture" which have 9 aligning types and 2 distribution (horizontal and vertical).
I've added also an "Distribute elevation plugin" to complete this options.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Feb 15, 2024, 1:21:45 PM] 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