Draft Pattern: Difference between revisions

From FreeCAD Documentation
(Undo revision 959251 by Roy 043 (talk))
Tag: Undo
(Added Preferences.)
Line 65: Line 65:
Image:Zinc.svg|zinc
Image:Zinc.svg|zinc
</gallery>
</gallery>

==Preferences==

See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].

* To specify a directory with addition hatch patterns: {{MenuCommand|Edit → Preferences... → Draft → Visual settings → Alternate SVG Patterns location}}. Select a file in the directory and then remove the filename in the preferences input box, leaving only the path. After changing this preference you must restart FreeCAD.
* The {{MenuCommand|Edit → Preferences... → Draft → Visual settings → Hatch patterns resolution}} preference is not used.
* To change the {{PropertyView|Pattern Size}} used for new objects: {{MenuCommand|Edit → Preferences... → Draft → Visual settings → Hatch Pattern default size}}.





Revision as of 08:19, 20 August 2021

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Description

Draft objects with a DataMake Face property can display a hatch pattern instead of a solid face color.

An ellipse and a polygon with a hatch pattern

Usage

  1. Make sure the objects are closed and planar, and do not self-intersect.
  2. To close a Draft Wire, a Draft BSpline, a Draft CubicBezCurve or a Draft BezCurve set its DataClosed property to true.
  3. To close a Draft Circle or a Draft Ellipse set its DataFirst Angle and DataLast Angle properties to the same value.
  4. Select the objects.
  5. Switch to the View tab of the Property editor.
  6. The ViewDisplay Mode must be set to Flat Lines.
  7. Select a ViewPattern.
  8. Optionally change the ViewPattern Size. Note that a higher value results in a denser pattern.
  9. The hatch pattern is not displayed when the objects are selected. Deselect them to check the result.
  10. Optionally reselect the objects to change the pattern properties.

Available patterns

Preferences

See also: Preferences Editor and Draft Preferences.

  • To specify a directory with addition hatch patterns: Edit → Preferences... → Draft → Visual settings → Alternate SVG Patterns location. Select a file in the directory and then remove the filename in the preferences input box, leaving only the path. After changing this preference you must restart FreeCAD.
  • The Edit → Preferences... → Draft → Visual settings → Hatch patterns resolution preference is not used.
  • To change the ViewPattern Size used for new objects: Edit → Preferences... → Draft → Visual settings → Hatch Pattern default size.