[Plugin] Volume Calculator v2.0 20111004
-
After many years another stupid typo is fixed http://forums.sketchucation.com/viewtopic.php?p=14555#p14555
-
TIG
Question from someone who is not ruby literate. Why hasn't any one made a volume plugin using the new method, group.volume?
Thank you in advance
Ken
-
Because it's so easy!
I did think to make a new version of this tool that does just that... watch this space... -
Here's v2.0 that is much faster if you have v8 - however the selection must be 'manifold' - i.e. 'solid' in Entity Info... http://forums.sketchucation.com/viewtopic.php?p=14555#p14555
-
TIG
It appears not to give a volume of a component.
Thank you
Ken
-
That's probably because it's not manifold ?
Revert to the previous version if you want to approximate non solids and w-a-i-t...
VolumeCalculator1-8.rb -
TIG
No, what I found is the context menu will not give the volume of a component. However, when I activated the plugin menu, I get a volume with components.
Ken
-
I'll check it out...
-
I can find nothing wrong - do you have an example of a failure ?
-
TIG
Well than it most be my Sketchup set up. Here is how I was using the program.
I have a program that will add thickness to a face. I use it to make 1/4" steel plates out of faces. When I tried the program "volume", it would not give me the volume of any of the thicken faces. The thicken faces are made as components.
So I made one box, copied the box, made one box a group and the other a component. On the entry info menu, they both had the same indicated volume.
However, right clicking on the group would give me the correct volume, right clicking on the component the program wouldn't responded. I am trying to get rid of all the unnecessary programs that use the context menu. So I opened your program for editing, disabled the context menu and activated the plugin menu. And tried again, now I could get a volume on groups and components. Now, that I had have time to think about it, I guess it is the old gray out problem. I just didn't think it would be that sensitive, to notice the difference between a group and a component. There was nothing else in the file, just the two boxes.
So now, I have the context menu disable, the plugin is activated and I have added it to my working tool bar by making a icon and adding the tool bar code.
So right now, it is working great. I guess I was just surprised that the context menu was sensitive to the type of geometry clicked on.
Sorry to have you work on something that I should of realized was a problem with my set up.
A thank you is coming your way.
Thanks again for the program and the time to look at the problem.
Ken
Advertisement