Print at Jul 15, 2020, 1:05:26 PM
Posts: 30   Pages: 3   [ 1 2 3 | Next Page ]
View all posts in this thread on one page
Posted by Puybaret at Mar 5, 2016, 12:51:45 PM
Shape Generator plug-in
Hello,

I'm pleased to propose the new Shape Generator plug-in that will allow you to create a white 3D shape with 8 vertices which coordinates can be directly entered by the user. Once this plug-in is installed, the following dialog box is shown by the additional Tools > Generate 3D shape menu item (en français, le menu Outils > Générer forme 3D):



For those among you who are not against thinking in a 3D coordinates space, this plug-in should allow to create all kind of simple objects from Sweet Home 3D: triangles, pyramids, beams, terrain parts, roof parts...
The coordinates are stored from a call of the plug-in to the next, to let you adjust a shape you would have wrongly designed or if you want to create a new shape from the previous one. The Reset coordinates button will reset the values of the 8 vertices to the ones of a 100 cm or 3 ft cube.
Note that it provides also a Transparency slider to create half transparent shapes and that the generated shape comes with texture coordinates.

Hope you'll like it. Make your imagination work and feel free to show various arrangements you'll succeed to design with this plugin! smile

Thanks to Yann for providing the base idea of this plug-in.

Developer comments:
Shape Generator plug-in 1.0 was released on 03/05/2016
Shape Generator plug-in 1.1 was released on 03/06/2016

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by mazoola at Mar 5, 2016, 1:05:06 PM
Re: Shape Generator plug-in
This looks absolutely terrific - can't wait to get back home where I can try it out!

maz

Posted by hansmex at Mar 5, 2016, 1:21:27 PM
Re: Shape Generator plug-in
Nice and useful.

I hope v2 will bring:
- a live preview window;
- set transparency for each side separately.

Hans
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by okh at Mar 5, 2016, 3:14:13 PM
Re: Shape Generator plug-in
can't wait to get back home where I can try it out!
Me too. Very interesting approach that may solve ever so many user needs. ok

Posted by mazoola at Mar 5, 2016, 6:33:53 PM
Re: Shape Generator plug-in
- set transparency for each side separately.


Or how about an option to set texture/color/transparency for each side separately -- much like the 6-color box?

Posted by hansmex at Mar 5, 2016, 7:05:19 PM
Re: Shape Generator plug-in
I was thinking of the six sided box when I wrote that. My guess was that if transparency can be set for each side, we can later set colour or texture for each side.
----------------------------------------
Dual boot - AMD FX6300 6-core, 16GB ram
Windows 10 Pro, SH3D 6.2 with 8 GB memory allowance
Ubuntu 18.04, SH3D 6.2 with 2 GB memory allowance

Posted by Puybaret at Mar 6, 2016, 12:31:26 AM
Re: Shape Generator plug-in
Thanks for your feedback smile
I managed the 6 sides with different materials in the updated version 1.1 of the plug-in. Once the shape is created, you can modify the visibility / color / texture of each of these materials with the existing furniture materials modification dialog box.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer

Posted by okh at Mar 6, 2016, 10:13:47 AM
Re: Shape Generator plug-in
Very useful. I really like this approach. Great potential for lots of different simple geometry objects: sloping walls, roofs, terrains - just to mention a couple.
  • For some reason, double-clicking ShapeGenerator-1.1.sh3p (5.2a, win 8.1) launched the info in SH3D saying the plug-in had been installed, but just put an empty file with correct name in ...\eTeks\Sweet Home 3D\plugins. And the plug-in did not show in the Help-Libraries list. Putting the file there manually worked, though.
  • I suppose the target group primarily is users who do not resort to other software to create objects. In which case, it might be interesting to see how it works with different users after a while. I suspect the user interface may be a bit daunting to the numerically challenged. But I also have no immediate ideas as to how to improve the interface:

    • Ideally, the points could be moved along xyz in the left window (but I guess that may not be that easy to implement).
    • Maybe a couple of pre-sets? Roof and sloping terrain being the most obvious judging by forum requests.

  • If so, maybe a proportional scaling of all points (at least if I am right about the texture scaling):
  • Trying to figure out how textures are mapped on to the surface, it seems to me that textures are mapped to 100×100 cm (of the initial size of the generated shape and will scale up)?
  • Maybe, maybe, a generate shape as Door/window (i.e. with cutout) could be useful as it would save the user the job of exporting/importing?
Certainly a must-have plug-in, shall be looking forward to see what becomes of it and how it is used. ok

Posted by HawkDawg at Mar 6, 2016, 5:06:43 PM
Re: Shape Generator plug-in
I just installed this plugin on SH3D 5.2a and it looks promising.
I haven't done much with it yet but did create a small test roof.

Thanks for this. biggrin



Just a reminder: I'm running SH3D on an XP machine.
----------------------------------------
Hawk

Posted by Miry91 at Mar 9, 2016, 9:16:38 PM
Re: Shape Generator plug-in
Hi,
Although it requires that you prepare your shape coordinates in advance, this new plug-in is terrific! It makes my terrain look much more like a real terrain than the sloped walls I used previously as a workaround.

I noticed that if you do not follow the corners orders indicated but enter the basis corner coordinates iso the top corner once, the created shape is an empty (open) box.
Might be worth for some specific furnitures.

Because dealing with coordinates quite boresome and not very handy in SH3D (whose philosophy is simplicity based), for easier use of this plug-in, is it possible (in order of usefulness, I think) to:
- have the mouse pointer coordinates displayed (on the rule axes for instance) to avoid creating gaps with nearby walls or other shapes,
- have a properties info box to display already created coordinates (useful when coming back on project after you have sent your previous mapping notes to trash, to be able to create adjacent shapes to the existing ones)
- have a dialog box to change the coordinates after the shape is created (iso being able to make length/width/height changes only, not shape adjustments)
- have a "duplicate X and Y coordinates" button to press once you entered the 4 first corner coordinates, to only have to enter the Z coordinates of the basis in most cases.

Many thanks again to Emmanuel and long live this plug-in and its future updates.

Miry / Yann

Posts: 30   Pages: 3   [ 1 2 3 | Next Page ]