PartDesign Hole/es

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page PartDesign Hole and the translation is 3% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎română
Arrow-left.svg Previous: PartDesign Pocket.svg Pocket
Next: Groove PartDesign Groove.svg Arrow-right.svg

PartDesign Hole.svg PartDesign Hole

Menu location
Part Design → Hole
Workbenches
PartDesign
Default shortcut
None
Introduced in version
0.17
See also
PartDesign Pocket

Description

The Hole feature creates one or more holes from a selected sketch's circles. Many parameters can be set such as threading and size, fit, hole type (countersink, counterbore, straight) and more.

Countersunk and counterbored holes cross-section1.png

Countersunk (to the left) and counterbored (to the right) holes longitudinal section.

Usage

  1. Press the PartDesign Hole.svg 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.

PartDesign Hole parameters es.png

Threading and size

  • Profile: if set to None, no threading info is defined. ISO and UTS thread profiles enable the Size fields.
  • 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.
  • 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 type 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

  • Type: sets type of hole cut: None means no cut, other types are different norms for screws (introduced in version 0.19) and the two generic types Counterbore and Countersink.
  • Diameter: sets the upper diameter (at the sketch plane) for the hole cut.
  • Depth: depth of the hole cut, measured from the sketch plane.
  • Countersink angle: angle of the conical hole cut. Only applicable for countersinks.

Drill point

  • Type: 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 (introduced in version 0.19) 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.

  • DataLabel: name given to the object, this name can be changed at convenience.
  • DataRefine: true or false. If set to true, cleans the solid from residual edges left by features. See Part RefineShape.svg Part RefineShape for more details.

Limitations

  • The selected sketch must contain one or more circle(s). The radius of the circle(s) inside the sketch is not taken into account. The generated holes will be identical even if the circles in the sketch have varying radii.
  • 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.

Cut Type Definitions

Cut types (screw-types) are defined in json files since version 0.19. 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:

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


Arrow-left.svg Previous: PartDesign Pocket.svg Pocket
Next: Groove PartDesign Groove.svg Arrow-right.svg