Creating quick measurements calculat in Measurement Toolbar?
-
I have used a CAD program that allowed math equations in a measurement toolbar to create a quick entity. For example, if I wanted to make a circle with a 27.5mm diameter, I could enter 27.5/2 (27.5 divided by 2) to get the 27.5 mm circle. Sometimes you need to do a calculation like this and I don't know if Sketchup has a way to do this in the program without breaking out a calculator to get the values I need...
Any ideas or plug ins you know of?
Thanks!
Mark
-
Just type it, it works.
-
If you start to define the circle then type in the desired diameter/2, it works for whole numbers but fails with decimals for me.
-
There is a plugin called vcb calc.
-
Right, very strange.
-
-
Hi folks.
Yes, this is a bug to me. After trying a few time, it looks like if there is any non numeric characters after the integer part of a number, the rest of the Measurement Toolbar is not taken into account. This means that 210/2 will work and the circle will have a diameter of 210 and a radius of 105 but 210.6/2 will be seen as 210 and the resulting circle will have a radius of 210 and a diameter of 420.
Also, if you read the help at page:
http://support.google.com/sketchup/bin/answer.py?hl=en&answer=151558
You will see that is written that a number can be followed by an r to be used as the radius. This is useless since the value is a radius by default. Of course I though that they migth have been tinking of using d as a diameter, but no luck, it does not work.
The workaround is to draw the circle using the diameter as the radius and then scale it by 0.5 afterward or edit the radius value in the Entity Info.
Just ideas.
-
@jean lemire said:
..Yes, this is a bug to me. After trying a few time, it looks like if there is any non numeric characters after the integer part of a number, the rest of the Measurement Toolbar is not taken into account. This means that 210/2 will work and the circle will have a diameter of 210 and a radius of 105 but 210.6/2 will be seen as 210 and the resulting circle will have a radius of 210 and a diameter of 420.
...For me the decimals are used in the end value of the diameter.
So / does not divide the first number (a bug) but I do get a circle with radius 210,6
Probably the difference between using a comma as decimal separator.
Could you try with the comma, Jean. -
Hi Wo3Dan, hi folks.
I quitted SU then I changed my decimal separator from the . to the , and the list separator from the , to the ;
I restarted SU and it works.
I quitted SU and then I reverted back to the . and , and it still works ?!?!?!
Strange.
Anyway, problem solved.
The help is still incorrect unless I goofed somewhere.
Best regards.
Advertisement