FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!


GuiCommand: Name: PartDesign Hole MenuLocation: Part Design , Create a substractive feature , Hole Workbenches: PartDesign_Workbench Version: 0.17 SeeAlso: PartDesign_Pocket

PartDesign Hole

Description

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.

Usage

  1. Press the '''Hole''' button.
  2. If an existing unused sketch is found, it will be used automatically. If more than one sketch is found, a Select feature panel appears to make a selection. Alternatively, a sketch can be selected before launching the Hole command.
  3. Define the Hole parameters, that are described in section Options.
  4. Press OK.

Options

Depending on which selection is made, some fields will activate or stay disabled.

Threading and size

  • Profile: if set to None, no threading info is defined. ISO and UTS thread profiles enable the fields Size, Clearance, Threaded.
  • Threaded: if checked threading data will be added to the Hole feature and the hole minor diameter is used. If left unchecked, the hole is considered non-threaded, and the nominal major diameter with defined Clearance is chosen.
  • Model Thread: if checked a real thread is modeled. This consumes much computing power and is usually not used for models, except for display purposes or sometimes for 3D prints. If it is used, it is advised to check it as one of the last actions done to the model, because it will increase recomputation time significantly.
  • Direction: sets the thread direction (Right Hand or Left hand) if Threaded is checked.
  • Size: sets the thread size. Requires Profile to be set to one of the ISO or UTS profiles.
  • Clearance: sets either standard, close or wide clearance hole diameter. For ISO threads the diameters are according to the ISO 273 standard, for UTS they are calculated using a rule of thumb because there is no norm defining them. Only available for non-threaded holes.
  • Class: defines the tolerance class.
  • Diameter: defines the hole diameter if the Profile is set to None.
  • Depth: depth of the hole from the sketch plane. Dimension enables a field to enter a value. Through All will cut the hole through the whole Body. Note: For technical reasons, Through All is actually a 10 meter deep hole. If you need deeper holes, use Dimension.

Hole cut

  • Hole Cut Type: None means no cut, other types are the various norms for screws and the generic types Counterbore, Countersink and ((v0.21) ) Counterdrill. ISO and DIN 7984 models appear if Profile receives an ISO or DIN selection.
  • Diameter: sets the upper diameter (at the sketch plane) for the hole cut.
  • Depth: The depth is defined differently depending on the Hole Cut Type:
    • For a Counterbore, it is the depth of the hole cut, measured from the sketch plane.
    • For a Countersink, it is the depth of the screw head top below the sketch plane.
    • For a Counterdrill, it is the depth of the cylindrical part of the hole cut.
  • Countersink angle: angle of the conical hole cut. Only applicable for countersinks, counterdrills, ISO 2009, ISO 7046, ISO 10642 profiles.

Drill point

  • Drill point: defines the ending of the hole if Depth is set to Dimension.
    • Flat produces a flat bottom
    • Angled sets a conical point. Its option Take into account for depth will subtract the conical height from the Dimension. So if for example Dimension is 7.00 and the option is not used, the cylindrical part of the hole will be 7.00 and the depth necessary for the conical part is added to the hole depth. If the option is used, the overall hole depth including the conical point will be 7.00.

Misc

  • Tapered: sets a taper angle to the hole. Value is calculated from the sketch plane normal. 90 degrees sets a straight hole. A value under 90 generates a smaller hole radius at the bottom; a value over 90 enlarges the hole radius at the bottom.
  • Reversed: reverses the hole extrusion direction. The default direction is the mapping direction of the hole sketch to its attachment.

Properties

Much of the Data properties are the same as those shown in Options.

  • Label: name given to the object, this name can be changed at convenience.

  • Refine: true or false. If set to true, cleans the solid from residual edges left by features. See Part RefineShape for more details.

Limitations

  • By default, the hole feature extrudes below the sketch plane. If the solid lies on the XY_Plane, and the hole sketch is attached to the XY_Plane, it will try to extrude away from the solid and seemingly produce no result. In such a case, the option Reversed needs to be set; alternatively the sketch can be mapped to the bottom face of the solid.
  • Model Thread works only if Reversed is not set.

Cut Type Definitions

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 /PartDesign/Hole. The UserAppDataDir can be found by typing App.getUserAppDataDir() in the Python console.

The file should contain:

  • name: The name of the definition. This must be unique as it will be used as identifier in the FreeCAD UI and as internal index.
  • cut_type: Either countersink or counterbore.
  • thread_type: Either metric or metricfine.
  • angle: The angle of a countersink (not necessary for counterbore).
  • data: A list of sizes, consisting of:
    • thread: Name of thread known to FreeCAD.
    • diameter: The diameter of the cut.
    • depth: Depth of the counterbore (not necessary for countersink).

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 },
        …
    ]
}

{{PartDesign Tools navi}}


⏵ documentation index > PartDesign > PartDesign Hole

This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/PartDesign_Hole.md

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub