Plugin for room area sum
An interior design application to draw house plans & arrange furniture
Brought to you by:
puybaret,
space-mushrooms
Changes:
Last edit: olddragon 2015-06-15
Fixing a Java bug where plugin fails with null room names.
Last edit: olddragon 2015-06-15
Changes:
Last edit: olddragon 2015-06-15
Does not have a scroll function, so if you have more rooms than screen size, you can't see all of them, or your total.
I made a quick but somewhat ugly fix. Would you kindly give it a try? I might go and do a proper solution using something more proper than JOptionPane in a week, but I hope this allows you to do what you want.
JOptionPane might not be the culprit. If the information you want to display is very long, you can view it in a JScrollPane displayed by JOptionPane methods.
I jsut did that in the patch uploaded yesterday. JTesxArea embedded to a JScrollPane dispalyed by JOptionPane. However, I don't find the standard result visually appealing (worse than previously), and neither it feels right do display messages in something sthat's called an >Option<Pane.
Anyway, I hope Nikki is fine with it and I'll give a proper read to Swing when I have some time.
Hi,,
Nice, useful plug-in!
If I can find time, I will try and add the capability to select the Units desired for displaying the values and perhaps use the Units selected in User Preferences as a default. I'm a software developer using SH3D for the first time. Can you tell me if you know whether it is possible to add a user modifyable property to a plug-in?
Thanks.
Last edit: Kent Roberts 2019-04-20
Hi Kent,
I made the plugin years ago and I no longer remember such details, but I'm
99% sure that you can extract it somehow, as plugins can read virtually
everything in the process. I would recommend to have a look on the SDK API:
http://www.sweethome3d.com/pluginDeveloperGuide.jsp#goingFurther
http://www.sweethome3d.com/javadoc/index.html
David
Last edit: Emmanuel Puybaret 2019-04-20
I love JavaDoc:
http://www.sweethome3d.com/javadoc/com/eteks/sweethome3d/model/class-use/LengthUnit.html
[image: image.png]
David
Last edit: Emmanuel Puybaret 2019-04-20