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: 197
Posts: 197   Pages: 20   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 573642 times and has 196 replies Next Thread
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Just a quick test. No problems, hiccups or slowdowns. Interesting development. Congratulations - and thanks.
.. useful, and that after a while, you'll understand how rotation works. I prefer to let you test this feature first...
Yes, very useful. Especially to visualise the proportions of a room design. The mannequin will be put to work right away. No fancy figure needed for that. Modifying the mannequin is easy and consistent with rest of SH3D interface.

Very curious as to whether it could be possible to create my own 'deformation' models at some point, or indeed whether the mannequin will be (slightly) more human later. Tried to use a texture for the head without great success. Maybe the head could be mapped with a default texture that is easy to change as an easy way of adding just a touch more life. Another totally minor detail, it might be a bit easier to add colour (shirt / trousers / shoes) to a mannequin using military style colour names: (ArmUpperLeft,ArmForearmLeft,ArmWristLeft). Or maybe it does not matter at all.

Anyway, the concept is great and looking forward to seeing where this will be going. You mention extend this feature to open doors and window sashes which sounds like a very good idea. Maybe even to other models as well.
..mirror surface under the picture surface ...
Yes, materials to manipulate a model has become very useful (especially after the invisible option). I would have preferred custom mtl materials like frame/mirror/canvas - easier to identify for SH3D users - but if I understood correctly, there are other reasons for using obj format colours (?).
.. furniture price management among other things...
smile

ok

PS I get an error message for enkonyito's Rendering plugin (v1.5), but I guess that could have to do with using the Java Web Start version like several other plugins.

Win8/32
Version 6.0 Beta Java version 1.8.0_171 / 32 bit / 0.6 GB max Java 3D version 1.6.0

Java Console:
Java Web Start 11.171.2.11 x86
Using JRE version 1.8.0_171-b11 Java HotSpot(TM) Client VM
...
Missing Application-Name manifest attribute for: http://www.sweethome3d.com/lib6/freehep-vectorgraphics-svg-2.1.1b.jar
Insecure property: (com.eteks.sweethome3d.applicationId, SweetHome3D#JavaWebStart) specified in unsigned jnlp file will not be set.
Insecure property: (com.eteks.sweethome3d.deploymentInformation, Java Web Start) specified in unsigned jnlp file will not be set.

[Jun 29, 2018, 10:59:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

@okh
PS I get an error message for enkonyito's Rendering plugin (v1.5), but I guess that could have to do with using the Java Web Start version like several other plugins.
Indeed, Java Web Start does not allow access to certain system properties hence this error message.

----------------------------------------
EnkoNyito
[Jun 29, 2018, 3:08:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
VeroniQ
Advanced Member



France
Joined: Mar 3, 2015
Post Count: 882
Status: Offline
Reply to this Post  Reply with Quote 
applause Re: Sweet Home 3D 6.0


Perfect for footballers and just in time for World Cup round of 16!
[Jun 29, 2018, 9:26:33 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

And exactly which teams was that you were cheering for...? Of course, if you give the right answer the rendering is supercool showing the great new features. smile But yes, possibilities are great with mannequins (impressed with the details)... ok
[Jun 29, 2018, 10:42:06 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
VeroniQ
Advanced Member



France
Joined: Mar 3, 2015
Post Count: 882
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

smile Winner? Sweet Home 3D team, of course!
[Jun 30, 2018, 9:39:37 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Here's version 6.0 Beta 2 (I removed offline running and file associations to avoid conflicts with installed versions).

ndorigatti, you're going to be happy, I continued the programmation of 3D models deformation and succeeded to extend it for rotations around hinges and translations along rails. This was quite tough to manage wide opened doors and windows, but I finally managed to make it work too smile

So, it's now possible to open windows, doors, cabinets and other objects when their modification pane displays a button named Modify openings or Modify posture for mannequins. This is now the case for 32 models in the updated default catalog. I added the default tag (défaut in French) to the 100 models of this catalog to let you find these models more quickly if you installed more libraries.



When you click on the Modify openings button, a dialog box appears to let you rotate or slide some parts.



I added a Reset shape button to reset openings or mannequin to their initial position (i.e. the one in their 3D model file) and three buttons to let you quickly change the point of view on the edited model.
There's no limitations on the angles or translations, and you'll have to visually check if the 3D model will remain consistant or not. You can open sashes at a larger width than window's one and the drawing of the sashes in the plan will keep their size and location correctly. The selection rectangle in the plan will match the total width and depth of the 3D model like until now, even if this may lead to strange rectangles like in the following screenshot.



As soon as an object is deformed, its size can be changed only proportionally, otherwise this could lead to strange shapes. If ever you need a wider or deeper or higher object, first reset its shape, change the dimensions you want, and deform again its shape.

This new feature works thanks to naming conventions in the 3D model files where are described the various parts of the mannequin, the hinges and their openings, as well as the rails and their sliding parts. Remember the ability to declare a shape as a mirror thanks to sweethome3d_window_mirror prefix? Here, it's the same thing, but with more prefixes:
- Hinge parts are prefixed by sweethome3d_hinge_ followed by the order number of the hinge axis they describe, starting from 1 (for example, sweethome3d_hinge_1, sweethome3d_hinge_2,...). A given axis can be defined with more than one part, for example with 2 shapes named sweethome3d_hinge_1_top and sweethome3d_hinge_1_bottom.
- 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).

- Straight rail parts are prefixed by sweethome3d_rail_ followed by the order number of the rail axis they describe, starting from 1 (for example, sweethome3d_rail_1, sweethome3d_rail_2,...). A given axis can be defined with more than one part too. If a 3D model has multiple openings translating along a unique rail, you may also use the prefix sweethome3d_unique_rail instead.
- The parts of an opening able to move along the rail numbered x should be prefixed by sweethome3d_opening_on_rail_ followed by the same number x. For example, sweethome3d_opening_on_rail_1_door and sweethome3d_opening_on_rail_1_handle will translate along the direction of the axis defined by sweethome3d_rail_1. If you want to define transparent panes directly without a transparent material, you can also use the prefix sweethome3d_window_pane_on_rail_ followed by the rail number. If a unique rail is used, you still have to number each opening to be able to distinguish the different openings that can be moved.
Similarly to hinges, the axis direction of the rail x is guessed from the largest dimension of the global bounding box of the rail parts. Thus, if the largest dimension of a rail 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 in X direction. Axes can only be parallel to X, Y or Z axes at the moment.

- The different parts of a mannequin are prefixed by:
sweethome3d_mannequin_abdomen,
sweethome3d_mannequin_chest,
sweethome3d_mannequin_pelvis,
sweethome3d_mannequin_neck,
sweethome3d_mannequin_head,
sweethome3d_mannequin_left_shoulder,
sweethome3d_mannequin_left_arm,
sweethome3d_mannequin_left_elbow,
sweethome3d_mannequin_left_forearm,
sweethome3d_mannequin_left_wrist,
sweethome3d_mannequin_left_hand,
sweethome3d_mannequin_left_hip,
sweethome3d_mannequin_left_thigh,
sweethome3d_mannequin_left_knee,
sweethome3d_mannequin_left_leg,
sweethome3d_mannequin_left_ankle,
sweethome3d_mannequin_left_foot,
sweethome3d_mannequin_right_shoulder,
sweethome3d_mannequin_right_arm,
sweethome3d_mannequin_right_elbow,
sweethome3d_mannequin_right_forearm,
sweethome3d_mannequin_right_wrist,
sweethome3d_mannequin_right_hand,
sweethome3d_mannequin_right_hip,
sweethome3d_mannequin_right_thigh,
sweethome3d_mannequin_right_knee,
sweethome3d_mannequin_right_leg,
sweethome3d_mannequin_right_ankle,
sweethome3d_mannequin_right_foot
and all these prefixes must be found in a 3D model file, otherwise Sweet Home 3D won't accept to handle it as an articulated mannequin.

How to use these prefixes in your own 3D model files?
In a file at OBJ format, it's quite easy because the parts of a 3D model are defined by lines starting by g or o, so you just have to look for these lines and add the good prefixes to make it work. If you want to visually identify these parts, you can import your 3D model in Blender, click and rename the different parts, and reexport them at OBJ format.



It's the way I used to rename (and improve) the hinges, rails and openings of the 32 following 3D models of the default catalog:
chest.obj
clothesWasher.obj
cooker.obj
desk.obj
dishwasher.obj
door.obj
doubleFrenchWindow126x200.obj
doubleHungWindow80x122.obj
doubleOutwardOpeningWindow.obj
doubleWindow126x123.obj
doubleWindow126x163.obj
dresser.obj
frenchWindow85x200.obj
fridge.obj
fridgeFreezer.obj
frontDoor.obj
glassDoorCabinet.obj
kitchenCabinet.obj
kitchenUpperCabinet.obj
laptop.obj
mannequin.obj
openDoor.obj
oven.obj
piano.obj
roundedDoor.obj
sink.obj
sliderWindow126x200.obj
slidingDoors.obj
wardrobe.obj
washbasinWithCabinet.obj
window85x123.obj
window85x163.obj
Keep in mind to use the previous links to view some real examples using these prefixes.
I'll try to update also 3D models found in other libraries.

If you want to quickly test these features on existing homes, simply open the demos available in Sweet Home 3D, and play with the openings available in them.




okh, I tried a few times to deform the head of the mannequin, but it gave only weird results. The problem is that if you start to give it a more human look, you probably have to change all the limbs and not only one part. Feel free to try yourself by moving vertices (or adding some) on the existing model in Blender, but it's a very time-consuming task. I'll try to define some texture coordinates on the head to check if it can give interesting results.
About changing limb colors, I plan to improve the Material modification dialog box by allowing multiple selection in the materials list.
Finally, I also changed the frame.obj file to use a separated MTL file with clear material names. This kind of object with a double use is already weird enough, not to make it more complicated for beginners!
I tend to use predefined colors in the default catalog to simplify code organization, but sometimes I wonder if I shouldn't forget this old habit.

Thanks all for your feedback smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jul 5, 2018, 11:12:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Wow. This is exciting. Looking very much forward to experiment with a new set of windows.

Took a sneak peak before work today. Only thing I noticed (but this was a very quick test), was that if:
1) I import window85x123.obj as a Door/Window, place it in the wall, and then modify the opening, the proportions are ok and the window looks right, however, if
2) I import window85x123.obj as a Door/Window, modify the opening, and then place it in the wall, the window is too deep for the wall.

And the proportions seem to be auto-locked when opening is modified. But there is a logic here, just need to get my head around how this works - and how translates into my own window collection - how to use this with some of my other favourite properties
doorOrWindowWallThickness#
doorOrWindowWallDistance#

Anyway, congratulations. Very interesting development. Will test properly later.

ok
[Jul 6, 2018, 8:05:14 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bdfd
Advanced Member
Member's Avatar

Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

Amazing !!! applause

Bravo Manu !

love struck
----------------------------------------
Evil progresses when good people do nothing!
---
SH3D 7.1 and nothing else - W11 64b in 4K
[Jul 6, 2018, 8:14: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 
ndorigatti
Member



Italia
Joined: May 12, 2017
Post Count: 65
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

woow, that's amazing and fast! I'll try to take out some time in the next days to try the deformatiions, and if I understand them, I'll try to update my models!!! thank you!!!
[Jul 6, 2018, 9:16:58 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
enkonyito
Advanced Member




Joined: May 28, 2015
Post Count: 607
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D 6.0

@Puybaret

The openings of the doors, windows or furniture work rather well if one keeps in mind a direction and a coherent opening angle relative to the hinges.

When sliding the doors of the default slider window, the display is correct only after changing the wall thickness.
Demo-Studio



By adding 2 cylinders as axes of rotation, it is possible to open the Turn window .



You can also use the "Modify openings..." feature to modify articulated lights.
Wall spotlight


I like it! applause
----------------------------------------
EnkoNyito
----------------------------------------
[Edit 1 times, last edit by enkonyito at Jul 7, 2018, 7:38:24 PM]
[Jul 6, 2018, 8:59:39 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 197   Pages: 20   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ 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 2024 Space Mushrooms - All rights reserved