• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Volume Calculator2...

Scheduled Pinned Locked Moved Plugins
64 Posts 23 Posters 81.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    TIG Moderator
    last edited by TIG 15 Dec 2007, 18:44

    VolumeCalculator2.rb

    Rewritten with a much quicker volume calc method thanks to AdamB.

    Please try and feedback. It has most of the functions/options of v1.8 and also puts the text-tag on a separate layer...

    Note its new name - remove any earlier versions before running or you'll get two Volume items in the context-menu...PayPalButton
    This is v2.0 - the NEXT post contains v2.1

    TIG

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 19 Dec 2007, 10:21

      Here's v2.2

      Nested Groups/Components within Groups now 'mined' and each calculated.
      Dialogs combined into one and only one dialog per selection set.
      Reversed faces in some volume-groups now properly colored.
      [Note that 'Red' faces show a problem too]
      Warning at end if any ambiguous forms.
      Get its RBZ from here http://sketchucation.com/resources/pluginstore?pln=VolumeCalculator2

      TIG

      1 Reply Last reply Reply Quote 0
      • P Offline
        pdpotter
        last edited by 14 Feb 2008, 15:13

        How do I add the VolumeCalculator v2 script to SketchUp?

        1 Reply Last reply Reply Quote 0
        • P Offline
          pdpotter
          last edited by 14 Feb 2008, 22:48

          Thanks, Pilou. There was no Plugins folder in my Google SketchUp 6 folder, so I created one and copied the VolumeCalculator2.rb file into it. I then created a component which has connected faces forming a solid which has a volume. When I right click on the component, I do not see a Volume option. I do not have a Plugins menu item, either.

          Perhaps it is because I am using the free version of SketchUp. Or perhaps because I am using a Mac (OS X 10.5.2).

          Any suggestions?

          1 Reply Last reply Reply Quote 0
          • P Offline
            pdpotter
            last edited by 14 Feb 2008, 23:01

            I have a 2-button mouse (could have used Control-click for right-click otherwise), so that's not it. I think I should see an entry in the About Plugins menu, also, but I don't.

            1 Reply Last reply Reply Quote 0
            • P Offline
              pdpotter
              last edited by 14 Feb 2008, 23:31

              Pilou (and others)

              I got it! On a Mac, you have to place the .rb file in the Library > Application Support > Google SketchUp 6 > SketchUp > Plugins folder. (This assumes that the SketchUp program exists in a folder called Google SketchUp 6 within the Applications folder.) Once I did that, the sub-menu included a Volume option. Thanks for your help, Pilou.

              1 Reply Last reply Reply Quote 0
              • G Offline
                gurkesaft
                last edited by 10 Apr 2008, 19:17

                Ug. I cannot get this thing to appear anywhere in sketchup 6. I tried to put it in the "Plugins" folder or the "plugins/utilities" folder but it just won't appear.

                It's not the pro version. Do you need pro to use custom scripts? Sorry if I'm missing something stupid.

                Thanks,
                Jack

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gurkesaft
                  last edited by 10 Apr 2008, 19:19

                  Woa woa woa, never mind.

                  I knew I'd figure it out once I posted...

                  Sorry!

                  -Jack

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gurkesaft
                    last edited by 29 Apr 2008, 14:37

                    Hello again,

                    I'm having trouble with volume calculator, and I can reproduce the odd behavior:

                    Make a 1"x1" rectangle, push it 1" into a cube, draw a 0.25" circle in the middle and push it to the bottom of the cube to make a hole. Group it, and run volume calculator. It goes wonky! (I'm pretty sure it does this for all through-holes, but I wanted to be sure we're all doing it the same)

                    I'm using v2.1 and sketchup free 6. Any ideas?

                    Thanks!
                    Jack

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pilou
                      last edited by 29 Apr 2008, 17:00

                      Simply add it inside the folder Plugins of (Google) Sketchup πŸ˜„
                      Instructions are in the header of the file: you can read it by a simple text editor (bloc note)

                      In this case just after a speedy use : you must create a goupe or a component before
                      Clic on this Group or Component and then "Volume" will appear on the "Right clic" πŸ˜‰

                      Seems work like a charm πŸ‘
                      This guy is this one πŸ˜„


                      Brice.jpg

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pilou
                        last edited by 29 Apr 2008, 17:53

                        Seems that is the same for all volumes with holes 😐
                        A solution is to cut the volume in 2 parts and add the volumes results πŸ˜‰
                        Now the calculator works! 😎


                        cube.jpg

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          watkins
                          last edited by 29 Apr 2008, 18:11

                          Dear Gurkesaft,

                          Try TIG's version 1.8. It works fine with through holes

                          Regards,
                          Bob

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            svetik
                            last edited by 30 Jun 2008, 13:32

                            This is sad- what does v2.1 exist for? 😒

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              watkins
                              last edited by 12 Oct 2008, 20:10

                              Dear TIG,

                              Do you think you might have time to look at your latest, fast version of the volume calculator? I am still using V1.8 as V2.1 seems to fail when challenged with one of my models.

                              Kind regards,
                              Bob

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 12 Oct 2008, 20:37

                                V2 was a quicker alternative way of accurately calculating volumes. v2 does it by 'slicing'...

                                Use v1 for more complex shapes (slow)
                                or use v2 for simpler shapes (quicker)

                                • see which suits you best...

                                I currently don't have time to sort out v2 - if anyone else wants to tweak it, please feel free...

                                .

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  watkins
                                  last edited by 13 Oct 2008, 05:46

                                  Dear TIG,

                                  Okay, I will do that. Thanks for the response.

                                  Kind regards,
                                  Bob

                                  1 Reply Last reply Reply Quote 0
                                  • free agentF Offline
                                    free agent
                                    last edited by 24 Mar 2009, 14:21

                                    is there any way to force a volume, i have a bottle design here and the client needs it to be 500ml and wants to know what the resulting dimensions would be.

                                    http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

                                    1 Reply Last reply Reply Quote 0
                                    • AdamBA Offline
                                      AdamB
                                      last edited by 24 Mar 2009, 20:00

                                      @unknownuser said:

                                      is there any way to force a volume, i have a bottle design here and the client needs it to be 500ml and wants to know what the resulting dimensions would be.

                                      If you know the current volume with the current dimensions, then you'll need to scale the current design by:

                                      3√(targetvolume / currentvolume)

                                      Adam

                                      Developer of LightUp Click for website

                                      1 Reply Last reply Reply Quote 0
                                      • free agentF Offline
                                        free agent
                                        last edited by 25 Mar 2009, 12:39

                                        see a good reason to have payed attension in math class... i'll try

                                        http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by 25 Mar 2009, 13:22

                                          @unknownuser said:

                                          see a good reason to have payed attension in math class... i'll try

                                          Did you ever say: "I'll naver have use of that!"..?

                                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 1 / 4
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement