[Feature Request]: ISO shaft/hole tolerances for dimensions

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by Piero69 »

edi wrote: Fri Sep 23, 2022 1:19 pm Find attached the first version of a macro creating shaft/hole tolerances using ISO 286.

The macro uses some of the preferentially recommended fields, shown in tables 12 and 13 of ISO 286, https://docplayer.org/55190189-Deutsche ... 286-1.html

TaskHoleShaftFitISO286.ui
HoleShaftFitISO286.FCMacro

Installation: Copy the two files TaskHoleShaftFitISO286.ui and HoleShaftFitISO286.FCMacro into your macros holding directory.

Workflow:
- open a TechDraw drawing.
- select one distance dimensioning (horizontal, vertical or oblique) or one circle diameter dimensioning.
- start the macro. A panel opens in the Combo View.
- select shaft fit / hole fit to show whether your dimensioning refers to a shaft or a hole.
- select the desired ISO 286 fit field using the combo box. The partner field and the fit type (loose, snug, press) is shown.
- click the OK button.
HoleShaftFit01.png
The label of the selected field and the calculated tolerance values are shown in the drawing.

Please test the macro and give me feedback.
the upper deviation should be aligned to left not to right compared to lower one (see attachment)
Attachments
Tolerance.jpg
Tolerance.jpg (174.52 KiB) Viewed 1502 times
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by Piero69 »

@wandererfan

this macro should be implemented as a tool in TD, what do you think?
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by wandererfan »

Piero69 wrote: Mon Feb 06, 2023 8:05 am this macro should be implemented as a tool in TD, what do you think?
@edi just implemented a neat labour saving tool for making axo dimensions that started life as a macro. maybe he will do the same for this.
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by edi »

I will try to implement this this tool, but I will need some time.

To everybody: Please checkout the several combinations, and give me feedback if there are returned improper numbers.
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by edi »

Has anybody a proposal for an icon to represent the shaft/hole tolerances tool ?

Please post here as 64x64 pixel svg. No characters or numbers allowed in the icon!
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by maker »

My proposal for an icon for engineering fit:
engineering_fit_c.png
engineering_fit_c.png (29.26 KiB) Viewed 1128 times
engineering_fit.svg
(8.39 KiB) Downloaded 41 times
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by NewJoker »

maker wrote: Thu Feb 09, 2023 10:34 am My proposal for an icon for engineering fit:
:!:

edi wrote: Tue Feb 07, 2023 2:50 pm No characters or numbers allowed in the icon!
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by maker »

@NewJoker

You killingjoke...
I am curious how edi wants to get this solved, so that an unambiguous logo comes out. LOL
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by wandererfan »

"This one is too big. And this one is too small. But this one is just right". https://en.wikipedia.org/wiki/Goldiloc ... hree_Bears

If I had any artistic skill, I would make an icon of a little girl and three bears to go with dolly the sheep.
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: [Feature Request]: ISO shaft/hole tolerances for dimensions

Post by edi »

My icon proposal:
IconProposal_HoleShaftFit.png
IconProposal_HoleShaftFit.png (20.87 KiB) Viewed 941 times
TechDraw_HoleShaftFit.svg
(12.15 KiB) Downloaded 45 times
I plan to place the icon in the Annotation group, next to SurfaceFinishSymbols.
Post Reply