Techdraw decimal places - observed to be changed

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Techdraw decimal places - observed to be changed

Post by maker »

Hi all,

I downloaded the new release FreeCAD_0.19.16523_x64_Conda_Py3QT5-WinVS2015 and after loading FC files I created in release 16502, I observed that dimensions without decimal places have now in minimum one decimal place.

I tried to fix this in program settings but no success.

Can anyone confirm this?

kind regards
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw decimal places - observed to be changed

Post by wandererfan »

maker wrote: Mon Apr 29, 2019 8:45 pm I downloaded the new release FreeCAD_0.19.16523_x64_Conda_Py3QT5-WinVS2015 and after loading FC files I created in release 16502, I observed that dimensions without decimal places have now in minimum one decimal place.
Could you post one of your 16502 files, please?
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw decimal places - observed to be changed

Post by maker »

Enclosed please find one simple file, together with screenshots of the adjustment menues.

I tried to reproduce the fault between the 2 releases this day again, but actually I cannot.
Now I cannot change the decimal places to dimensions with no decimal place.

I've the impression as the parallel Installation of 0.19.16523 was carried newly, there has been something changed in the system.
.
cutout_draw.jpg
cutout_draw.jpg (19.9 KiB) Viewed 3685 times
.
adjustments_general_index.jpg
adjustments_general_index.jpg (51.19 KiB) Viewed 3685 times
.
adjustments_Techdraw_index.jpg
adjustments_Techdraw_index.jpg (67.62 KiB) Viewed 3685 times
.
Test_decimal_places_16502.FCStd
(12.93 KiB) Downloaded 140 times
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw decimal places - observed to be changed

Post by wandererfan »

maker wrote: Wed May 01, 2019 11:47 am Now I cannot change the decimal places to dimensions with no decimal place.
Once a FormatSpec is assigned to a Dimension, it controls the decimal places. To get rid of your decimals, you need to change the format on individual dimensions.
zeroDecimalPlaces.png
zeroDecimalPlaces.png (70.34 KiB) Viewed 3677 times
In preferences, a FormatSpec overrides the AlternateDecimals at Dimension creation time.
AltDecAndDefFmt.png
AltDecAndDefFmt.png (22.19 KiB) Viewed 3677 times
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw decimal places - observed to be changed

Post by maker »

@wandererfan

Oh No! :roll:
Got it now.
My fault was apparently to overlook the setted check mark at Use Global Decimals.
.
adjustments_Techdraw_index2.jpg
adjustments_Techdraw_index2.jpg (91.26 KiB) Viewed 3666 times
.
Thank you so much!
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw decimal places - observed to be changed

Post by maker »

Proceeding with the drawing, I had another problem related to the diameter dimensioning of the shaft.
.
Test_cross-bore.FCStd
(70.31 KiB) Downloaded 131 times
.
1) I wanted to nominate tolerances.
According to my knowledge unfortunately at the actual state of FC there is no tool existing to simply add tolerances to selected dimensions.
so I try to add the tolerance values as symbol with a .svg file.
Here I find that special characters such as Ø, ±, .., are not correctly plotted.
.
drawing_present_dims.jpg
drawing_present_dims.jpg (48.21 KiB) Viewed 3652 times
.
Q 1 --> does anyone know a reason for that strange behaviour?
I know that the special characters could be directly entered in the dimensioning field with the intended result.
I solved this by inserting the symbol via .png image file.

2) I wanted to diameter dimensioning the cross-bore in the shaft.
Here I tried to select the drag points in Techdraw. Unfortunately with no success. Probably this because I inserted a chamfer of 0,5 mm around the bore and the drawing scale is 1:1.
In this context I noticed that the diameter of drag points are very large compared to the line sizes.
.
drawing_cutout_index.jpg
drawing_cutout_index.jpg (56.22 KiB) Viewed 3652 times
.
Q 2 --> Is there a reason why the drag points have this large size?

I'm not convinced that the only solution proposed could be to enlarge the scale of the drawing, but this lead to unnecessary large drawings.

Do I count beans?
What are your perspectives, opinions ...?
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Techdraw decimal places - observed to be changed

Post by vocx »

maker wrote: Wed May 01, 2019 3:09 pm 1) I wanted to nominate tolerances.
According to my knowledge unfortunately at the actual state of FC there is no tool existing to simply add tolerances to selected dimensions.
Tolerances were added during the development of 0.18, so if you are using 0.18 or above, you should have access to them: Over/Under Tolerances.
Q 2 --> Is there a reason why the drag points have this large size?
Do you mean the node sizes?

These can be configured, Re: Help with TechDraw, or turned off with TechDraw Toggle.
Do I count beans?
What the hell does this mean?
Last edited by vocx on Thu May 02, 2019 3:11 am, edited 1 time in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
wandererfan
Veteran
Posts: 6321
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw decimal places - observed to be changed

Post by wandererfan »

@vocx answered some of this while I was thinking...
maker wrote: Wed May 01, 2019 3:09 pm 1) I wanted to nominate tolerances.
According to my knowledge unfortunately at the actual state of FC there is no tool existing to simply add tolerances to selected dimensions.
This one I have some answers for. Over/under tolerances (red rectangles) are easily added.
simpleTolerances.png
simpleTolerances.png (73.56 KiB) Viewed 3620 times
so I try to add the tolerance values as symbol with a .svg file.
Here I find that special characters such as Ø, ±, .., are not correctly plotted.
I don't know for sure, but it looks like a unicode conversion problem somewhere in the chain. I recreated one of your svg files and in inkscape they either look like Utf8 encoded text or like characters that aren't in the font.
Symbol002Inkscape.png
Symbol002Inkscape.png (15.88 KiB) Viewed 3620 times
Symbol002FromFile.png
Symbol002FromFile.png (7.93 KiB) Viewed 3620 times
Not sure where this happens. Need to do some investigating.
2) I wanted to diameter dimensioning the cross-bore in the shaft.
Here I tried to select the drag points in Techdraw. Unfortunately with no success. Probably this because I inserted a chamfer of 0,5 mm around the bore and the drawing scale is 1:1.
In this context I noticed that the diameter of drag points are very large compared to the line sizes.
Q 2 --> Is there a reason why the drag points have this large size?
The Vertexes are big because I don't see well and have trouble selecting small features. There is a setting in preferences for VertexScale where you can adjust them to your liking. You can also turn off the center mark to reduce visual clutter. (see Blue rectangle in first image).

The other problem with dimensioning the bore is that the circumferences project as BSplines, not Circles. You can tell by the number of Vertices on the curve. A true circle would have just 1 Vertex on the edge. We don't have a good solution for this problem yet.
Do I count beans?
What are your perspectives, opinions ...?
Not sure this metaphor translates properly. :) In English, a "bean counter" is an accountant or bookkeeper. I think I might say "am I picking nits". And no, you are not counting beans or picking nits.
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw decimal places - observed to be changed

Post by maker »

vocx wrote: Wed May 01, 2019 5:36 pm
Tolerances where added during the development of 0.18, so if you are using 0.18 or above, you should have access to them: Over/Under Tolerances.
Sorry for that, it's obvious that I missed this change to add directly tolerances in Techdraw dimensioning.
Many thanks for the hint. I would have carried on with the adding of tolerance values as symbol with a .svg file.

Unfortunately I could not really follow and manage to adjust the correct values such as e. g.
.
D10_+0,02_+0,04_SG14.png
D10_+0,02_+0,04_SG14.png (4.94 KiB) Viewed 3605 times
.
--> Can you submit a more detailed description what to do to get the needed result?

.
vocx wrote: Wed May 01, 2019 5:36 pm
Do you mean the node sizes?
I used the term drag points.

Yes, I meant the nodes = intersection points = vertices.
.
The vertices I mean are shown in the following figure in blue colour
.
vertices.jpg
vertices.jpg (16.37 KiB) Viewed 3610 times
.
Until now, I did not know, that the vertice size can be configured.
.
adjustments_vertice_size_index_01.jpg
adjustments_vertice_size_index_01.jpg (70.84 KiB) Viewed 3610 times
.
So, if I change the value from 3 to e. g. 1
the displayed solution ans the "selectability" of nodes will be improved significantly.
.
vocx wrote: Wed May 01, 2019 5:36 pm
Do I count beans?
What the hell does this mean?
I meant counting beans (german expression) = nit-picking.
Sorry that my selected term is not formulated poignantly:
German term = Erbsenzählen ==> English term = nit-picking
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw decimal places - observed to be changed

Post by maker »

@wandererfan
Thank you also so much for your support.
.
wandererfan wrote: Wed May 01, 2019 7:26 pm
...Over/under tolerances (red rectangles) are easily added.
Unfortunately I could not really follow and manage to adjust the correct values such as e. g.
.
D10_+0,02_+0,04_SG14.png
D10_+0,02_+0,04_SG14.png (4.94 KiB) Viewed 3603 times
.
This because I didn't get the clue in which menue/ submenue I must enter which value.

--> Can you submit a more detailed description what to do to get the needed result?
Post Reply