Sweet Home 3D 6.0

This topic has been viewed 1206437 times and has 196 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
YGYL
Posts: 157
Joined: Tue Feb 05, 2013 4:00 pm

Re: Sweet Home 3D 6.0

Post by YGYL »

YGYL, please preview your posts, you'll see that images don't appear in them because you use links to the page that views an image and not the link to the image that the page contains.
Your first use case is interesting but handling such a polyline in 2D will be too complicated.
Image
The significance of 'Polyline vertical in 3D view' is that communication is more convenient when showing to multiple people.

Image
LED roll word screen,Sometimes it will include multiple lines of text.

Image
However, multiple lines of text are overlapped and cannot be changed Angle or height at the same time.

With multiple different heights, it is difficult to choose the one you want to change.
Overlapping objects can be changed to click on the mouse to change to the lower layer.
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.0

Post by enkonyito »

@Puybaret
These features are probably the last ones with user interface items that will appear in the coming version 6.0, so I can start to ask our great contributors to translate the new texts before considering a final release.
As in the Beta9 there is no item to modify the new VIDEO_SPEED property , I suppose it will only be accessible by a plug-in or a derived version of SH3D?
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.0

Post by Puybaret »

It’s good to know that some of you follow code changes too [;)]
You’re right, I added a [font=courier new]videoSpeed[/font] attribute (in m/s) to home environment this weekend and made it available in Beta 10 tonight. I also completed outline 3D drawing with a new System property [font=courier new]com.eteks.sweethome3d.j3d.ignoreDrawingMode[/font] that can be set to [font=courier new]false[/font] if you want Sweet Home 3D to take into accout the [font=courier new]drawingMode[/font] attribute.
As I didn’t request help for translations yet, maybe I could add some Speed and Frame rate fields below Video format in Video pane, without making it too crowded. Or wait for a future version, in particular because more development might be required to manage the localization of the speed unit for our American friends... anyway, feel free to use it in your plugin and for other users, to set the speed in the Home.xml entry.
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.0

Post by enkonyito »

It is better to be aware of source code changes to files used by a plug-in to ensure compatibility with future versions of Sweet Home 3D.

This may be due to the #IMPLIED value but the videoSpeed attribute is not visible in the Home.xml file when saving as an old file or creating a new video path with the Beta10.
By adding the videoSpeed attribute in the Home.xml file with a different value from the default one, the speed of movement is slower or faster and therefore the number of images bigger or smaller which increases or decreases the duration of the rendering for a frame rate of 25.

By adding the system property

Code: Select all

<property name='com.eteks.sweethome3d.j3d.ignoreDrawingMode' value='false'/>
and the environment attibut

Code: Select all

<environment ... drawingMode='OUTLINE' .../>
there is no change in 3D drawing mode , probably due to unauthorized access in Java Web Start.
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.0

Post by Puybaret »

I set [font=courier new]videoSpeed[/font] attribute to [font=courier new]#IMPLIED[/font] because the default speed is 2.4 km/h, i.e. 2/3 or the long 0.66666666666666... value.
But maybe I could simplify as 0.667...
By adding the system property

Code: Select all

<property name='com.eteks.sweethome3d.j3d.ignoreDrawingMode' value='false'/>
[...]
By System property, I meant the java option:

Code: Select all

-Dcom.eteks.sweethome3d.j3d.ignoreDrawingMode=false
or a call to [font=courier new]System.setProperty[/font]
(if you want to try with the Beta version, you'll have to build the JAR executable version).
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.0

Post by enkonyito »

if you want to try with the Beta version, you'll have to build the JAR executable version
I usually use a version of the available source code to build an executable JAR version from the build.xml.
In the README.TXT , it is indicated that we can also download the source code with an SVN command but how to do?
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.0

Post by Puybaret »

As the tag for 6.0 wasn't set on source code yet, you should use the following command to get the current source code:

Code: Select all

svn checkout https://svn.code.sf.net/p/sweethome3d/code/trunk/SweetHome3D SweetHome3D
If svn isn't installed on your computer, I'm pretty sure you'll find plenty of helpful documentation on the web.

If you want to set some System properties when running a JAR executable, you should cite the [font=courier new]-D[/font] option before the [font=courier new]-jar[/font] option like in:

Code: Select all

java -Dcom.eteks.sweethome3d.j3d.ignoreDrawingMode=false -jar [i]/path/to/[/i]SweetHome3D-6.0.jar

Caution!! I generally make some tests before committing changes, but during development, source code may still contain some major bug fixes.
Emmanuel Puybaret, Sweet Home 3D creator
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Sweet Home 3D 6.0

Post by enkonyito »

The drawing modes (FILL, OUTLINE, FILL_AND_OUTLINE) are well taken into account for 3D offscreen images (Quality 1 and 2) but not by the Sunflow rendering engine (Quality 3 and 4).

Image Image Image
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweet Home 3D 6.0

Post by Puybaret »

Thanks for your tests. I updated the program to ignore the drawing mode in SunFlow and in OBJ export.
I also renamed [font=courier new]com.eteks.sweethome3d.j3d.ignoreDrawingMode[/font] as [font=courier new]com.eteks.sweethome3d.j3d.drawingModeEnabled[/font] that has to be set to [font=courier new]true[/font] instead of [font=courier new]false[/font].

No idea if I'll go further one day with this drawing mode, handling big designs in OUTLINE mode doesn't even seem to be faster.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Sweet Home 3D 6.0

Post by hansmex »

Hi Emmanuel,

Ubuntu keeps changing things, whether for better or worse, I am not sure.

SH3D-5.7 is offered in the software store: it installs and runs without any problem. However... if you look at the installation, it is very different from the "old" installation, where you only had to unzip the downloaded file. There are 3 hidden eteks/SH directories, and it is not clear which does what. Using trial and error, I found the directory where I have to place plug-ins and libraries.

These days, Ubuntu uses the SNAP packaging system. The good news is that this package should work for all Ubuntu/Mint/Linux versions that support SNAP.

Is it possible to provide v6.0 as a SNAP package for all Ubuntu users?
Is it also possible to include the XmX trick, so that we can increase memory? I have searched all hidden directories, but cannot find a script that has this entry.

Of course it would be even better, if you could find a way in which Ubuntu users get back the ease of use that we had before. That way we could also try out the beta versions, which now, sadly, is not possible.

For your info: I have tried every possible way to install SH3D, using either the original script, or the special Java-1.5 script, nothing works. I have tried every tutorial I found on the internet: nothing works. I have tried to run the betas with Oracle Java v5, v6, v7 and v8: nothing works.

Thanks you in advance!

Hans
Hans

new website - under constuction
hansdirkse.info
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 0 guests