Draft Hatch/pl

Description
The Draft Hatch command creates hatches on the planar faces of a selected object.

Usage

 * 1) Select an object with faces. Only the planar faces of the object will be hatched.
 * 2) There are several ways to invoke the command:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) * Use the keyboard shortcut: then.
 * 6) The  task panel opens. See Options for more information.
 * 7) Press the  button to finish the command.

Options

 * Press the button to select a . See Notes.
 * Select a from the file. It is currently advisable to avoid patterns with dashed lines.
 * Specify a for the pattern.
 * Specify a for the pattern.
 * Press or the  button to abort the command.

Pattern alignment
When the hatch pattern for a face is calculated it is temporarily translated to the global XY plane by default. For a face with straight edged the first straight edge determines how this happens. The first point of that edge is put on the origin, and the edge itself is aligned with the X-axis. If you create Draft Wires with that in mind you can control how the hatch pattern is aligned with the outline of the face.

If all faces of the selected object are on the global XY plane you can switch off this default behavior by setting the property of the Draft Hatch to. The hatch pattern is then aligned with the origin and the X axis of the global coordinate system. For faces on the XY plane with straight edges the property can be used to switch between absolute (on the left in the image) and relative (on the right in the image) patterns.



Preferences
See also: Preferences Editor and Draft Preferences.

The following preferences are involved:


 * PAT file:.
 * Pattern:.
 * Scale:.
 * Rotation:.

Properties
See also: Property editor.

A Draft Hatch object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

 * : specifies the object whose faces are hatched.
 * : specifies the PAT file.
 * : specifies the pattern name.
 * : specifies the rotation of the pattern.
 * : specifies the scale of the pattern.
 * : specifies if the faces are temporarily translated to the global XY plane during the hatching process. Setting it to may give wrong results for non-XY faces.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Hatch use the method of the Draft module.

Example: