Romania
Joined: Apr 24, 2014
Post Count: 676
Status:
Offline
Re: Sweet Home 3D 6.0
@Mike53
... i don't see how to make an object that can be deformed, the window obj's i have made recently do not have this
Your personal objects will be "deformed" after You've add the specific prefixes like Emmanuel and alaX explained. I've do this also with my doors and I try to do for most of the furniture from Contribution furniture. For more help I'am available for You on mail.
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law
UK
Joined: Jan 6, 2018
Post Count: 677
Status:
Offline
Re: Sweet Home 3D 6.0
Thank you Dorin i may take you up on the offer. I still don't know if "modify deformation" gets added during the process of making the object or if it needs to be a library item 1st .... is the "modification" made in the mtl or object file ... is it made with the library editor or similar.. lots of don't knows. Thanks for the offer, it is much appreciated. Mike
Romania
Joined: Apr 24, 2014
Post Count: 676
Status:
Offline
Re: Sweet Home 3D 6.0
You must modify the obj file. (with Notepad++/ ArtOfIllusion/ Blender). Rename the moving part with new prefixes. e.g. You have a door and hinge objects name; rename hinge to hinge_1 and door to sweethome3d_opening_on_hinge_1_door Save and import. I will tray to do this directly from SH3D when I'll have some time to test. At that moment I don't know other way.
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law
Italia
Joined: May 12, 2017
Post Count: 65
Status:
Offline
Re: Sweet Home 3D 6.0
Dear Pubayet, I think i've found a use case that is not managed by rotation implementation. I have a door with the "rotating" part composed of a small frame and a mirror. Before sh 6.0 my model had the mirror obj item named as: sweethome3d_window_mirror for making it reflect. Now since i want the mirror to rotate around the hinge, i tryed to rename the item but with no success.. I've seen there is sweethome3d_windows_pane_on_hinge but this makes the part transparent and not a mirror! Any hint?
Italia
Joined: May 12, 2017
Post Count: 65
Status:
Offline
Re: Sweet Home 3D 6.0
What i mean is that according to your explanation at first page:
- The parts of an opening able to turn around the hinge numbered x should be prefixed by sweethome3d_opening_on_hinge_ followed by the same number x. For example, sweethome3d_opening_on_hinge_1_door and sweethome3d_opening_on_hinge_1_handle will rotate around the axis defined by sweethome3d_hinge_1, or defined by sweethome3d_hinge_1_top and sweethome3d_hinge_1_bottom. If you want to define transparent panes directly without a transparent material, you can also use the prefix sweethome3d_window_pane_on_hinge_ followed by the hinge number. The axis direction of the hinge x is guessed from the largest dimension of the global bounding box of the hinge parts. Thus, if the largest dimension of a hinge is its height, the axis will be vertical, if its largest dimension is its depth the axis will be horizontal in Y direction and if its largest dimension is its width the axis will be also horizontal but in X direction. Axes can only be parallel to X, Y or Z axes at the moment, but this looks largely enough. The axis may be defined with some dummy parts that are not visible (like in the kitchen cabinet).
There is one name missing here, I'd add sweethome3d_window_mirror_on_hinge_ and similarly for rails. This would allow to have openable mirror door (I have one at home!) and also turnable mirrors like:
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Sweet Home 3D 6.0
sweethome3d_window_mirror_on_hinge_ or sweethome3d_mirror_on_hinge_ prefixes don't exist, so you can't make a mirror turn yet. I'll see if it's possible in a coming version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Italia
Joined: May 12, 2017
Post Count: 65
Status:
Offline
Re: Sweet Home 3D 6.0
sweethome3d_window_mirror_on_hinge_ or sweethome3d_mirror_on_hinge_ prefixes don't exist, so you can't make a mirror turn yet. I'll see if it's possible in a coming version.
ok thanks for the confirmation! in the meantime i've prepared my door with the first prefix you wrote, so if ever will be possible, i'll be already there! I just have to remember to not rotate the door! :D
UK
Joined: Jan 6, 2018
Post Count: 677
Status:
Offline
Re: Sweet Home 3D 6.0
Probably just me but thought i would post anyway, i got the latest version from amazon earlier but i couldn't get the shape generator plugin or 1.6 of the photo rendering to work, so now i have the free ver. 6 again.