[ Feature Request ] #8791: Adding ISO keyway tool (like Hole feature)

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
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

[ Feature Request ] #8791: Adding ISO keyway tool (like Hole feature)

Post by Piero69 »

an useful engineering feature to add in PD is the keyway tool (working like the hole one).

Idea could be:

1) selecting the circular edge (to measure it and offer consequently the correct standard dimensions of keyway BxH)
2) selection the reference face for the position (distance from border)
3) digiting the user's lenght according to standard one

waht do you think?
Last edited by Piero69 on Thu Mar 09, 2023 9:34 am, edited 1 time in total.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by NewJoker »

And if it could also include design calculations… But that’s likely wishing for too much.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by chrisb »

Can you post a mockup of what you would like to see automated?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by Piero69 »

1) selecting circular edge for shaft
1) selecting circular edge for shaft
selecting edge.jpg (171.59 KiB) Viewed 2297 times
2) selecting reference face for keyway
2) selecting reference face for keyway
selecting reference face.jpg (171.94 KiB) Viewed 2297 times
4) creating a datum plane
4) creating a datum plane
creating plane.jpg (216 KiB) Viewed 2297 times
5) generating constrained sketch
5) generating constrained sketch
Keyway Sketch.jpg (248.73 KiB) Viewed 2297 times
6) through all pocket
6) through all pocket
Pocket.jpg (190.51 KiB) Viewed 2297 times
chrisb wrote: Tue Sep 20, 2022 12:15 pm Can you post a mockup of what you would like to see automated?
i imagine a keyway tool that, once run, it:

1) asks you the circolar border (diameter is calculated by 3d model so also the key size by ISO table)
2) asks you a reference face for the keyway
3) asks you the key lenght

now the tool automatically

4) creates a datum plane placed at diameter/2 - keyway depth according to given user's reference
5) generates a sketch with the constrained slot according to input
6) makes a through all pocket

that's some images to make it clear

@NewJoker
@chrisb
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by Piero69 »

@chrisb did you see? what do you think?
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by chrisb »

Sorry, I had missed this one :oops: .

This could be a sensible extension, especially if it respects/includes some ISO defaults. As I personally didn't need it in the past, I would like to see more voices of users needing it. Then it could be decided if it should be included as a native tool, or as an addon.
Piero69 wrote: Wed Sep 21, 2022 6:08 am 1) asks you the circolar border (diameter is calculated by 3d model so also the key size by ISO table)
2) asks you a reference face for the keyway
3) asks you the key lenght
There are probably two more parameters needed:
- "Position from face" as it is called in your sketch. This should be measured from the circular border
- a MapPath parameter between 0 and 1, describing where around the cylindrical face you would like to place it. Such MapPath occurs also if you attach something normal to an edge.
4) creates a datum plane placed at diameter/2 - keyway depth according to given user's reference
It doesn't need the DatumPlane, the sketch should be attached directly to the circular border.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by chrisb »

I don't know about the ISO, but the german DIN norm knows different shapes here:
- Form A (DIN 6885), this is what you describe, see e.g. https://de.wikipedia.org/wiki/Passfeder
- DIN 6887, which requires a rectangular hole. It has a nose at one end as shown here at the left bottom: https://de.wikipedia.org/wiki/Keil_(Tec ... Keile1.png
- DIN 6888, which is probably a Woodruff key
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by Piero69 »

@chrisb

thanks so much for you reply and remarks, can i make a poll for see people opinion about that?
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by chrisb »

We had recently some discussions about polls. It is a difficult matter if they should have a binding character, but it can at least give an indication. However, I would guess that people interested in such a feature would have voiced their opinion here.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Piero69
Posts: 473
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

Re: [ Feature Request/Idea ] : ISO keyway tool (like Hole feature)

Post by Piero69 »

chrisb wrote: Wed Oct 26, 2022 8:46 am I don't know about the ISO, but the german DIN norm knows different shapes here:
- Form A (DIN 6885), this is what you describe, see e.g. https://de.wikipedia.org/wiki/Passfeder
- DIN 6887, which requires a rectangular hole. It has a nose at one end as shown here at the left bottom: https://de.wikipedia.org/wiki/Keil_(Tec ... Keile1.png
- DIN 6888, which is probably a Woodruff key
ISO 773-X is DIN 6885-X (X is the suffix for the form A B and AB)
ISO 3912 is DIN 6888
ISO 774 is DIN 6887

a feature according to these standards is ideal for the mechanical design
Post Reply