@plot-paris said:
for example, I copy(move) an object and type in the distance (lets say 50), then hit enter. but if I want to move it only one third of the distance I just type in
50 / 3
and the object is moved one third of 50.
the same could work when drawing geometry like a line.
The only problem with the VCB is that it does not work when you have decimalsin the numbers
For instance, if your unit is Centimeters and you type in the Line tool:
"50.0/3" will give 3 cm
"50.0/3.0" will give 50 cm
It's not very complex to supersede this in Ruby, but the trick is that you have to convert numbers to Float first. Otherwise, 50/3 will simply give 16, not 16.67. You can try in the Ruby console. So a straightforward #Eval() won't make it.
I had to do it in my script PlaneShear for entering angles (in degrees, radians or as a tangent value)