sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    VolumeCalculator2.rb

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 3 Posters 1.5k Views 3 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.
    • M Offline
      Masta Squidge
      last edited by

      Whats up with this volume plugin? Ive downloaded the 20kb ish one, the newer version i guess, but i cant find any menu or anything to get it to work.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        There never was a menu. Select a some things (groups/compos) and right-click context-menu to get Volume option and it runs...

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          Masta Squidge
          last edited by

          @tig said:

          There never was a menu. Select a some things (groups/compos) and right-click context-menu to get Volume option and it runs...
          Does it have to be a group or component? Thats about the only thing I havent tried thus far. And i realize it is a context menu (meaning right click) I guess so. Damn, thanks much and now that it works its rather nice lol.
          EDIT**
          Ok it might be a stupid question but how accurate is this plugin on oddly shaped/curved enclosures?
          Im hoping it is VERY close because if it is that means that what I designed is perfectly the right size to a tenth of a cubic foot on the first try.

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @masta squidge said:

            @tig said:

            There never was a menu. Select a some things (groups/compos) and right-click context-menu to get Volume option and it runs...
            Does it have to be a group or component? Thats about the only thing I havent tried thus far. And i realize it is a context menu (meaning right click) I guess so. Damn, thanks much and now that it works its rather nice lol.
            EDIT**
            Ok it might be a stupid question but how accurate is this plugin on oddly shaped/curved enclosures?
            I'm hoping it is VERY close because if it is that means that what I designed is perfectly the right size to a tenth of a cubic foot on the first try.

            The earler version has % accuracy options - this was because accuracy=time-taken-to-work-it-out... However the current version is as accuraate as SUp/Ruby can be... BUT it is more unforgiving if shapes aren't 'manifold' - I am working on an update, BUT for now to be 100% sure that the returned result is 'accurate' you should make sure that the object(s) in question has/have all sides 'faced' and it is/they are 'manifold' - i.e. there are no loose face planes hanging about...
            To compare them find and downlaod v1 and v2 and then try both... v1 might take ages to calculate BUT it has confirmed 'accuracy': v2 is as accuracte as it can be BUT it can fail if geometry is not as expected...

            TIG

            1 Reply Last reply Reply Quote 0
            • M Offline
              Masta Squidge
              last edited by

              Well the geometry is closed and all the faces are in the same direction if thats what you mean by "faced". Should they only have the white faces towards the area to be calculated or should they simply just all be aligned?

              1 Reply Last reply Reply Quote 0
              • daikuD Offline
                daiku
                last edited by

                @masta squidge said:

                [Ok it might be a stupid question but how accurate is this plugin on oddly shaped/curved enclosures?

                Remember that SU doees not model truly curved surfaces. It approximates them with several flat faces. Turn on "hidden geometry" to see what I mean. You can specify how many "flats in a circle", which will increase accuracy at the price of performance. CB.

                Clark Bremer
                http://www.northernlightstimberframing.com

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  As daiku says the accuracy of the volumes for curved surfaces is only as accurcate as the number of facets you give those faces - number of swegments in the arc etc...

                  Ensure that all of the faces are in the same orientation (use context-menu orient faces) and every part of the object has a face so that the volume doesn't rty to 'leak out' ! In fact v2.0 orients all of the faces in the volume it makes for you... BUT better safe that sorry...
                  To ensure there are no other complications (at the moment) I recommend that you keep discrete volumes as separate groups - otherwise there can be confusing - imagine several touching 3D shapes atht are otherwise separate volumes - sometimes the calcualtion process can get muddle as to which face belons to what...

                  There are fixes in the pipeline to trap these, but...

                  TIG

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

                  Advertisement