[REQ] Scale to fixed volume
-
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.
-
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... -
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..
-
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. -
??? code?? i'm not able at all..
-
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]... -
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)
Advertisement