|
Menu location |
---|
Part Design → Create a substractive feature → Hole |
Workbenches |
PartDesign |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
PartDesign Pocket |
The Hole feature creates one or more holes from a selected sketch's circles and arcs. If arcs are present they must be part of closed contours. All non arc/circle entities are ignored but they still must form closed contours. Many parameters can be set such as threading and size, fit, hole type (countersink, counterbore, straight) and more.
The centers of the circles and arcs are used to position the holes, but please note that their radii are not taken into account. The generated holes will be identical even if the radii vary.
Countersunk (to the left) and counterbored (to the right) holes longitudinal section.
Depending on which selection is made, some fields will activate or stay disabled.
Much of the Data properties are the same as those shown in Options.
Cut types (screw-types) are defined in json files. There is a set of files distributed with FreeCAD, but users can create their own definitions. Files are searched in <UserAppDataDir>/PartDesign/Hole
. The UserAppDataDir
can be found by typing App.getUserAppDataDir()
in the Python console.
The file should contain:
countersink
or counterbore
.metric
or metricfine
.Example:
{
"name": "DIN 7984",
"cut_type": "counterbore",
"thread_type": "metric",
"data": [
{ "thread": "M2", "diameter": 4.3, "depth": 1.6 },
{ "thread": "M2.5", "diameter": 5.0, "depth": 2.0 },
…
]
}