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

    [REQ] Scale to fixed volume

    Scheduled Pinned Locked Moved Plugins
    7 Posts 2 Posters 188 Views 2 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.
    • panixiaP Offline
      panixia
      last edited by

      Is there a plugin which can scale a solid by one dimension and automatically resize the other two dimensions keeping a fixed volume? (maybe also "locking" one of the other two dimensions)
      Or anyone has never thinked this could be useful?
      I suppose this can be near impossible for complex solids, but maybe it is doable (and most useful for real works) at least with boxes and cylinders..
      Sorry for my poor english, i attach this example to make my request more understandable.


      scale to volume request.jpg

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

        It would be quite possible for a solid.
        Get its starting volume, then scale it up or down by a scale factor [initially 50%] to get it nearer the target volume.
        Next - get its new volume and scale it up/down by 50% of the last scale factor...
        Repeat checking its current volume and scale it up/down by 50% of the last scale factor until its volume is within a set % of the target - you could go on forever trying to match them exactly but a fraction of a % makes them report the same...

        TIG

        1 Reply Last reply Reply Quote 0
        • panixiaP Offline
          panixia
          last edited by

          If i understand well your metod is based on manually scale with native scale.. and that's more or less what i do now.. (also the cylinder in the example was scaled in a similar way to preserve the final volume) I was wondering if some plugin actually can automate the process..

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

            No.
            Not manual scale - although that would work given enough time !
            Rather a 'transformation scaling' done in code ...until the target volume and actual volume are very near to each other.

            TIG

            1 Reply Last reply Reply Quote 0
            • panixiaP Offline
              panixia
              last edited by

              πŸ˜• ??? code?? i'm not able at all..

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

                I guessed that.
                All I am saying is it would be possible to do it.
                I am busy on several other things, but I was giving a hint to some of the other 'keen' scripters who might rise to the challenge [sdmitch, andreas etc]...

                TIG

                1 Reply Last reply Reply Quote 0
                • panixiaP Offline
                  panixia
                  last edited by

                  ah ok.. thank you! hope this will happen! it is for a noble purpose (optimization of barrel's volumes in a crude-beer production laboratory, the more optimization, the more beer) πŸ˜„

                  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