Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Shape Generator plug-in |
|
Print at Jun 30, 2022, 9:14:31 AM |
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! ![]() Thanks to Yann for providing the base idea of this plug-in and Dorin for programming a 3D preview in version 1.2. Download links for Shape Generator plug-in: Shape Generator plug-in 1.2 was released on 11/21/2020 to add a 3D preview Shape Generator plug-in 1.1 was released on 03/06/2016 Shape Generator plug-in 1.0 was released on 03/05/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 ![]() 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.
|
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. ![]() ![]() 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 |
Posted by ElfenM at Mar 18, 2016, 3:12:32 PM |
Re: Shape Generator plug-in This is great and will help out a lot with SH3D! Like HawkDawg demonstrated - this would be great for slanted roofs. Excellent job in this! You did great, Puybaret! |
Posted by TwistedLincoln at Mar 26, 2016, 5:26:29 PM |
Re: Shape Generator plug-in Very nice! Would you be willing to post the source code for version 1.1? |
Posted by Puybaret at Mar 26, 2016, 6:59:53 PM |
Re: Shape Generator plug-in The source code is included in the plug-in file (keep in mind that a sh3p file is just a zip file you can explore with any zip tool). ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
Posted by hobbyrv at Mar 31, 2016, 1:45:32 PM |
Re: Shape Generator plug-in I did not receive these threads about the shape generator plug in, but came on the page through another thread. Is there a reason I don't receive all threads? And if so, what is there to do about it? |
Posted by Puybaret at Mar 31, 2016, 2:20:34 PM |
Re: Shape Generator plug-in If you want to follow all threads in the forum, click on My profile > My watch > Add Watch and finally choose Global Watch option. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
Posted by lama1980 at Jun 9, 2016, 7:34:05 AM |
Re: Shape Generator plug-in This add-on is great. |
Posted by makelies at Jul 21, 2016, 6:32:25 AM |
Re: Shape Generator plug-in This is what I've been waiting for a long time. A kind request: please add an edit function for any 4-6 corner object. |
Posted by Puybaret at Jul 21, 2016, 11:32:27 AM |
Re: Shape Generator plug-in Great you like it, but sorry for your request, I don't think it will happen. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
Posted by rennmoehre at Aug 6, 2016, 8:43:00 PM |
Re: Shape Generator plug-in Thanks, this plugin is really great! |
Posted by Worthitall at Aug 17, 2016, 1:14:28 AM |
Re: Shape Generator plug-in I am new to Sweet Home, and have been looking for a software that will enable me to floor-plan a house renovation that has a vaulted ceiling in the main living room, with 8' ceilings everywhere else. This add-on looks like it might be my answer! I have managed to make a shape representative of 1/2 of the vaulted room and create a "mirror image" to complete the room shape. (can't figure out how to post the image here though) ![]() How can I make the shape represent walls so that I can place objects such as doors/fireplace/ceiling beams, furniture? Or is there a better way to do what I need??? |
Posted by John37 at Sep 25, 2016, 3:35:18 PM |
Re: Shape Generator plug-in I can't find where the 3D object is stored that this tool generates. How do you insert the 3D shape/object? |
Posted by okh at Sep 25, 2016, 4:16:00 PM |
Re: Shape Generator plug-in Should just insert an object named shape directly into your plan - near co-ordinates 0;0. ok |
Posted by John37 at Sep 25, 2016, 4:33:03 PM |
Re: Shape Generator plug-in Got it thanks, plan had too many other shapes to see it easily! |
Posted by John37 at Sep 25, 2016, 5:07:11 PM |
Re: Shape Generator plug-in Very useful plug-in, thank you Puybaret. One thing though... transparencies don't seem to render correctly in Best Quality photos - they are either opaque or completely transparent. I can't get any intermediate transparencies to render correctly. Is there a solution please? |
Posted by tchabot at Jan 1, 2017, 10:33:48 AM |
Re:
Shape Generator plug-in would it be possible to add a (photo)picture of the real object as texture to each side of the 3d object? |
Posted by Miker777 at Jan 2, 2017, 4:16:50 PM |
Re: Shape Generator plug-in Hi tchabot Check this link ,in it Emmanuel Puybaret how to apply images to a shape,ty EP. hope it helps Mike |
Posted by bdfd at Jan 2, 2017, 4:19:36 PM |
Re: Shape Generator plug-in Thank Miker, I learnt a new thing... ![]() ![]() ![]() ---------------------------------------- SH3D 7.0 and nothing else - W11 64b Core i9-9900KF (4.0 GHz), RAM 32 Go DDR4 3 Ghz, MSI GeForce RTX 2080 8Go |
Posted by Miker777 at Jan 2, 2017, 6:05:41 PM |
Re: Shape Generator plug-in I learn each day BDFD, at my age i hope to learn enough to cover what i am forgetting. |
Posted by finkmichael at Mar 4, 2018, 6:01:15 AM |
![]() Dear Emmanuel, I apologize, I am not so familiar with the MAC World, however now have a MACBOOK and have a problem installing your plug-in. How do I do it? :-) Michael |
Posted by Puybaret at Mar 5, 2018, 10:08:49 PM |
Re: Shape Generator plug-in If not done automatically, unzip the downloaded file, then double-click on the SH3P file it contains. This will launch Sweet Home 3D, install the plug-in which will become available at next relaunch. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
Posted by Puybaret at Nov 21, 2020, 9:53:28 AM |
Re: Shape Generator plug-in Here's the version 1.2 of ShapeGenerator plug-in which provides an additional view of the 3D model from entered coordinates, when you select the new 3D preview radio button. ![]() Many thanks to Dorin who programmed this change! ![]() ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
Posted by VeroniQ at Nov 21, 2020, 12:54:40 PM |
Re: Shape Generator plug-in Ah! Good news, very useful. Thanks both of you. |
Posted by dorin at Nov 21, 2020, 7:17:50 PM |
Re: Shape Generator plug-in I want to show some tips: 1. Triangular prism ![]() ![]() Some explanation: -On Shape Generator set to pair of points at same coordinate. In this case I chose 5+8 and 6+7. -In plan, select the generated shape and open Modify furniture - modify materials. - As You see in second image there are 5 sides in place of 6 2. Pyramid ![]() ![]() -Same procedure but for 4 upper points. 3. Roof part ![]() ![]() -Make more and combine in plan. -I recommend to apply texture AFTER resize the shape (if you need to resize) And this could be this sample ![]() Hope to be useful to somebody. PS. Don't believe Emmanuel entirely; He write all codes, I have only the idea and garbage of useless file. ---------------------------------------- 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 |
Posted by hansmex at Nov 21, 2020, 7:48:02 PM |
Re: Shape Generator plug-in Thanks for the examples. Finally I may give it a try myself 😜 H ---------------------------------------- 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 VeroniQ at Nov 21, 2020, 9:34:31 PM |
Re: Shape Generator plug-in So do I. |
Posted by Hampi at Sep 10, 2021, 8:51:54 AM |
Re: Shape Generator plug-in Very nice plug-in. I would love when I could save some coordinates for future use. Because it takes time to put in the coordinates correct for different shapes, it would be nice if I can save already created coordinate with a name, an later on restore that coordinates. Then I only have to make small adjustments to this example. Similar to the "Reset coordinates", only that I can choose reset to which shape: |
Posted by zuo at Sep 12, 2021, 9:10:11 AM |
Re: Shape Generator plug-in Hello, I want to fork this plugin in order to create two ones:
That cannot be done with that tool because they can need more point and also It can be done with more specific parameter to be more user friendly. I think that this can be done easily starting from this plugin and creating small customization, but I do not find the source code, is it available? |
Posted by Puybaret at Sep 15, 2021, 10:54:32 PM |
Re: Shape Generator plug-in Thanks for proposing to create new plug-ins. The source code of this plug-in included in the SH3P file (which is just a zipped file). For your information, Dorin already created the Multiplier plug-in which can be used to create stairs and he also started to work on a Roof plug-in. Maybe you can help him? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D developer |
![]() |
Current timezone is GMT Jun 30, 2022, 9:14:31 AM |