|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: SurroundRoom Plugin |
|
| Print at Dec 18, 2025, 9:31:16 PM | |
| Posted by Ollie_Jess at Feb 19, 2025, 11:07:36 PM |
|
SurroundRoom Plugin Hello SH3D community! I developed a plugin that surrounds a room with a piece of furniture, externally or internally, in 3 different ways. Both the room and the furniture must be selected at the same time on the plan. This is the direct download and is also on SourceForge (please download the version 1.1 instead of 1.0, due to compatibility problems). These are the steps for surround a room with the plugin: Step 1.- Select the object and the room. Step 2.- Select “Tools†in the principal menu and select “Surround room…†Step 3.- Customize the way in which the room will be surrounded. Result: ![]() ---------------------------------------------------------------------- This is another example using the plugin: Step 3.- Select “Surround internally†Result: Hope you like the plugin! |
| Posted by Keet at Feb 20, 2025, 9:22:54 AM |
|
Re: SurroundRoom Plugin Nice! Does it also work with an room created from curved walls? ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
| Posted by dorin at Feb 20, 2025, 12:46:52 PM |
|
Re: SurroundRoom Plugin @Ollie It's a good start! Keep going! @Keet I've test it and NO, not this time. Maybe in the future. @Me While this plugin act as a multiplier what if it will be added as feature to the current Multiplier? Could be BUT not before to have a more performant (customizable) polyline in the main program. What's in my mind: The Art Off Illusion (java) have the option to draw objects (or extrude) along a curved line especially to make pipes. Could be a good source of inspiration. ---------------------------------------- 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 |
| Posted by JonnyD at Feb 20, 2025, 1:58:13 PM |
|
Re: SurroundRoom Plugin I’m afraid the plugin just presents a warning that no room is selected for me - even when it is. |
| Posted by dorin at Feb 20, 2025, 7:18:43 PM |
|
Re: SurroundRoom Plugin @Ollie JonnyD is right, but don't despair. I've encountered the same problem at the beginning and Emmanuel have helped me. Now it's my turn. You have to verify first if the home have more levels. Study of case: Level selectedLevel = getHome().getSelectedLevel();-New file; draw a room; add an flower and select both. Run the plugin => OK. selectedLevel = null-On the same file add a level and then delete it. selectedLevel != nullSo, in my Select/Hide Special plugin I've use something like this: if (selectedLevel == null || selectedLevel.isVisible()) {Feel free to take inspiration from other plugin sources. I do it all the time. ---------------------------------------- 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 |
| Posted by Ollie_Jess at Feb 21, 2025, 12:07:29 AM |
|
Re: SurroundRoom Plugin @dorin thanks for detecting the source of the error and for recommending a way to fix it. I also detected that if the furniture angle is not at 0° it doesn't surround the room well. In version 1.2 these problems will be solved, which I hope to finish this month. In version 1.3 I will add more ways to surround rooms, being able to surround curved lines and more customization to surround rooms. |
| Posted by Ollie_Jess at Feb 26, 2025, 4:14:31 AM |
|
Re: SurroundRoom Plugin Hello community! the version 1.2 is ready, with the problems mentioned fixed. If there is something wrong with the plugin or you have any suggestions, let me know. |
| Posted by Ollie_Jess at Feb 26, 2025, 4:18:03 AM |
|
Re: SurroundRoom Plugin This is the version 1.2 and is also on SourceForge |
| Posted by Daniels118 at Feb 27, 2025, 7:26:42 PM |
|
Re: SurroundRoom Plugin Nice plugin! I've added it to the Plugin Manager catalog! |
| Posted by Ollie_Jess at Feb 27, 2025, 9:58:02 PM |
|
Re: SurroundRoom Plugin Thanks Daniels118! |
| Posted by Ollie_Jess at Apr 12, 2025, 2:23:29 AM |
|
Re: SurroundRoom Plugin **Hello to all, the version 1.3 is ready, here are the fixed problems and new features:** - 3 types of surround have been added - The types 2 and 3 in the previous version, now are the 5 and 6 in the list - Fixed the problem when the last object in certain line is not deformed right,when choose the type 6 in the plugin and the object selected has an angle different from 0° and 180°. - Help icons on the types added. - Suitable icons for types when "Surround internally" is selected. Here is an image of the new version of the plugin: ![]() Plugin with surround internally selected: ![]() Example with surround type 2, 3 and 4: ![]() A room surrounded with a tree of 15° with the surround type 6 (previously 3): ![]() |
| Posted by Ollie_Jess at Apr 12, 2025, 2:39:06 AM |
|
Re: SurroundRoom Plugin This is the link to download and is also on SourceForge |
| Posted by Xlance at Apr 15, 2025, 9:09:28 AM |
|
SurroundRoom Plugin 1.3c Hello Thank you for the excellent code. I took the liberty of adding a Type 7 with new functions. Object Count : The Object Count spinner lets you specify the number of objects to be placed around the room. Spacing : The Spacing spinner lets you specify the distance between edges of objects to be placed around the room. Exterior / External Offset : The spinner lets you specify the offset distance of objects from room boundary ( +values = Outwards | -values = Inwards ) Interior / Internal Offset : The spinner lets you specify the offset distance of objects from room boundary ( +values = Outwards | -values = Inwards ) Note: If you set the object count to 0, the plugin will automatically use the spacing value. Interior/Exterior Placement : You can choose whether the objects are placed inside (Interior) or outside (Exterior) the room boundaries. Spanish ApplicationPlugin_es.properties also adjusted ;-) https://www.mediafire.com/file/wpb85kb9e1n3tms/SurroundRoom-1.3c.sh3p/file Feel free to refine the code if you wish :-) ---------------------------------------- Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins |
| Posted by Ollie_Jess at Apr 15, 2025, 8:18:23 PM |
|
Re: SurroundRoom Plugin 1.3c Thanks Xlance! The type 7 and their functions are very useful |
| Posted by Xlance at Apr 17, 2025, 1:38:34 PM |
|
SurroundRoom Plugin 1.3e More functions and Goodies https://www.mediafire.com/file/kfp07bqa4pdqt9s/Screen3.jpg/file https://www.mediafire.com/file/cbuu5j59quvbzqw/Screen2.jpg/file https://www.mediafire.com/file/191b1p9kasx71ro/Screen1.jpg/file https://www.mediafire.com/file/6jsmqzxtew0uv60/SurroundRoom-1.3e.sh3p/file Cheers ---------------------------------------- Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins |
| Posted by Xlance at Apr 19, 2025, 7:44:15 PM |
|
SurroundRoom Plugin 1.3e Multi-languages are now supported https://www.mediafire.com/file/50pd1bd46n2r7ue/SurroundRoom-1.3e.sh3p/file ---------------------------------------- Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins |
| Posted by Ollie_Jess at Apr 24, 2025, 9:32:00 PM |
|
Re: SurroundRoom Plugin 1.3e Thanks for multilanguage Xlance! :) |
| Posted by Xlance at Apr 25, 2025, 8:48:32 AM |
|
Re: SurroundRoom Plugin 1.3e @Ollie_Jess @Keet @Dorin @hansmex @Daniels118 I recommend experimenting heavily with the new functions. Possibilities are limitless https://imgbox.com/mXUbE38F ---------------------------------------- Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins |
|
|
Current timezone is GMT Dec 18, 2025, 9:31:16 PM |