México
Joined: Apr 10, 2022
Post Count: 13
Status:
Offline
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:
Netherlands
Joined: Apr 8, 2022
Post Count: 1366
Status:
Offline
Re: SurroundRoom Plugin
Nice! Does it also work with an room created from curved walls?
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Romania
Joined: Apr 24, 2014
Post Count: 676
Status:
Offline
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
Romania
Joined: Apr 24, 2014
Post Count: 676
Status:
Offline
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:
-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 != null
Run the plugin => Not OK.
So, in my Select/Hide Special plugin I've use something like this:
if (selectedLevel == null || selectedLevel.isVisible()) { userView = new SelectHideView(); contentPanel = userView.createComponents(resource); }
Of course probably you will need other conditions. 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
----------------------------------------
[Edit 1 times,
last edit by dorin at Feb 20, 2025, 7:21:20 PM]
México
Joined: Apr 10, 2022
Post Count: 13
Status:
Offline
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.
México
Joined: Apr 10, 2022
Post Count: 13
Status:
Offline
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.