sketchucation logo sketchucation
    • Login
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Volume is wrong when reversed faces are present!

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    46 Posts 10 Posters 2.3k Views 10 Watching
    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.
    • fredo6F Offline
      fredo6
      last edited by

      Interesting discussion.

      For info, I just publish a rudimentary version of a plugin, FredoTools::SolidVolume, which computes the volume of the solids in the current selection (solids as groups or component instances).

      It gives the same result regardless of the orientation of faces in the solids and their position in the model.

      For the time being, it just display a messagebox with the volume in various units.

      SolidVolume Results.png
      I this is of interest I can later derive a more advanced version with choice of units and interactive selection, similar to what I did for areas with FredoTools::ReportLabelArea.

      Fredo

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        Cool! 😎
        And about the M2 surfaces faces?
        No possibility to add this inside this one?

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

        1 Reply Last reply Reply Quote 0
        • srxS Offline
          srx
          last edited by

          Thank you Fredo! You are my hero! 😄 This should be incorporated in Sketchup 2016 to prevent people for making mistakes in calculations..In the meantime we have Fredo Sketchup.

          www.saurus.rs

          1 Reply Last reply Reply Quote 0
          • Wo3DanW Offline
            Wo3Dan
            last edited by

            @fredo6 said:

            ......I this is of interest I can later derive a more advanced version with choice of units and interactive selection, similar to what I did for areas with FredoTools::ReportLabelArea.Fredo

            It would be nice to be able to make your own selection of multiple solids to obtain the sum of volumes. And with unit of choice! And without differences in volume due to location!

            Although I do believe that solids with all back faces outwards should be considered as negative. (also see previous post by TIG).
            A mixture of front and back faces in a single shell should result in a warning.

            1 Reply Last reply Reply Quote 0
            • fredo6F Offline
              fredo6
              last edited by

              I published SolidVolume 1.1, which handles also faces area of the solid and allow to navigate in the selection, manually or via the outliner. It also works when the selection includes several solids, either independent or embedded in groups / components.

              Mixed back and front faces in a solid should give the same volume value as if all faces were correctly oriented outward.

              Fredo

              SolidVolume discrepencies.gif

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                Excelent to have Volume + Surface ! Bravo!

                If this bug(?) is proved maybe will be useful to apply a correction factor ?

                Try also with this volume on the left! 😉

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

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  Pilou,

                  On your model, it looks like Sketchup has a problem in computing the aggregate volume of the walls (41.5 m3) and the small cube (1 m3) when reversed. It counts the cube negatively, so the total is 40.5 m3. SolidVolume counts evrything positively, so the aggregate volume is 42.5 m3.

                  Fredo

                  Pilou model Volume.png

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    And about big moving on the space does that change measures ?

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

                    1 Reply Last reply Reply Quote 0
                    • kenK Offline
                      ken
                      last edited by

                      Fredo6

                      Attached is a file with two boxes. One was created with sdmitch "Rotated Box" plugin, the other using the rectangle tool in Sketchup. Note there is a difference with your program showing the volume.

                      I can't see why the volumes would be this far off.


                      Volumes.skp

                      Fight like your the third monkey on Noah's Ark gangway.

                      1 Reply Last reply Reply Quote 0
                      • fredo6F Offline
                        fredo6
                        last edited by

                        @Ken,

                        I also fixed this one, thanks for signaling.

                        New release in FredoTools v2.7d

                        Fredo

                        1 Reply Last reply Reply Quote 0
                        • kenK Offline
                          ken
                          last edited by

                          fredo6

                          Thanks that did the trick.

                          Ken

                          Note, volume isn't everything, I require the weight of a filled container. I have taken one of TIG's volume plugin and added the math to determine the weight of the volume; oil, water, buoyancy salt water, buoyancy fresh water, river mud, concrete, wet river gravel, and barrel of oil. Had a great time in the learning process of modifying a plugin.

                          fredo6, thanks for this plugin. And thank you TIG.

                          And not to highjack this thread, your movealong plugin is absolutely fantastic.

                          Fight like your the third monkey on Noah's Ark gangway.

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            @unknownuser said:

                            Note, volume isn't everything, I require the weight of a filled container. I have taken one of TIG's volume plugin and added the math to determine the weight of the volume; oil, water, buoyancy salt water, buoyancy fresh water, river mud, concrete, wet river gravel, and barrel of oil. Had a great time in the learning process of modifying a plugin.

                            I can easily add an additional section to give the weight for a number of materials in several units.

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • kenK Offline
                              ken
                              last edited by

                              fredo6

                              Thank you for the offer, however I believe that would be a lot of work that wouldn't be of use to most Sketchup user. To give you an idea of my list:

                              Barrels of Oil (Note there is only 42 gallons)
                              lbs Steel (A36)
                              lbs SS304
                              lbs Brass
                              lbs Aluminum
                              lbs zinc
                              lbs Lead
                              lbs Gravel Wet
                              lbs River Mud
                              lbs Sand Water
                              FW buoyany 62.4 lbs/cuft - Fresh Water
                              SW buoyancy 64.1 lb/cuft - Salt Water
                              lbs Crude oil

                              This list has been modified or added to as required. So I don't see how a set list would cover all the variables. Now a user input section would be nice, if it held the variables between sessions. Still a lot of work for a very few.

                              On another note, if you look at the image, you will see that the bottom part of your form is not being displayed. Maybe the box should be a little taller.


                              Image 1.png

                              Fight like your the third monkey on Noah's Ark gangway.

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                The free fabulous Designspark Mechanical (SpaceClaim Light) has this inside its library as Volumic Mass 😉
                                (my French Page(s) about this SU on Steroïds 😉
                                designsparks.jpg

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

                                1 Reply Last reply Reply Quote 0
                                • fredo6F Offline
                                  fredo6
                                  last edited by

                                  @unknownuser said:

                                  Thank you for the offer, however I believe that would be a lot of work that wouldn't be of use to most Sketchup user.

                                  Just a reasonable work, in hours, to add the feature with a custom editable list.

                                  @unknownuser said:

                                  On another note, if you look at the image, you will see that the bottom part of your form is not being displayed. Maybe the box should be a little taller.

                                  I fixed the problem in Fredotools v2.7e.

                                  Fredo

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

                                  Advertisement