Draft Pattern: Difference between revisions

From FreeCAD Documentation
(Description...)
(Usage...)
Line 19: Line 19:


<!--T:1-->
<!--T:1-->
Draft objects with a {{PropertyData|Make Face}} property can display a hatch pattern instead of a solid face color.
Draft objects with a {{PropertyData|Make Face}} property can display a hatch pattern instead of a solid face color. The objects have to be closed and planar, may not self-intersect and their {{PropertyView|Display Mode}} property must be set to {{Value|Flat Lines}}. To close a [[Draft_Wire|Draft Wire]], a [[Draft_BSpline|Draft BSpline]], a [[Draft_CubicBezCurve|Draft CubicBezCurve]] or a [[Draft_BezCurve|Draft BezCurve]] set its {{PropertyData|Closed}} property to {{TRUE}}. To close a [[Draft_Circle|Draft Circle]] or a [[Draft_Ellipse|Draft Ellipse]] set its {{PropertyData|First Angle}} and {{PropertyData|Last Angle}} properties to the same value.


<!--T:2-->
<!--T:2-->
[[Image:DraftPatternSample.png]]
[[Image:DraftPatternSample.png]]


==Usage== <!--T:8-->
==Usage== <!--T:8-->

See also: [[Property_editor|Property editor]].


<!--T:3-->
<!--T:3-->
# Make sure the objects are closed and planar and do not self-intersect.
# Select the object
# To close a [[Draft_Wire|Draft Wire]], a [[Draft_BSpline|Draft BSpline]], a [[Draft_CubicBezCurve|Draft CubicBezCurve]] or a [[Draft_BezCurve|Draft BezCurve]] set its {{PropertyData|Closed}} property to {{TRUE}}.
# In Combo View → Data: set Make Face to true to make sure the object will have a face to set the pattern
# To close a [[Draft_Circle|Draft Circle]] or a [[Draft_Ellipse|Draft Ellipse]] set its {{PropertyData|First Angle}} and {{PropertyData|Last Angle}} properties to the same value.
# In Combo View → View → Pattern: specify a hatch pattern to fill the wire with
# Select the objects.
# In Combo View → View → Pattern Size: specify the size of the hatch pattern
# Switch to the {{MenuCommand|View}} tab of the [[Property_editor|Property editor]].

# The {{PropertyView|Display Mode}} property of the objects must be set to {{Value|Flat Lines}}.
<!--T:4-->
# Select a {{PropertyView|Pattern}}.
Note:
# Optionally change the {{PropertyView|Pattern Size}}. Note that a higher value results in a denser hatch pattern.

# The hatch pattern is not displayed when the objects are selected. Deselect them to check the result.
<!--T:5-->
# Optionally reselect the objects to change the pattern properties.
* The pattern is not visible when the item is either selected or pre-selected.
* If you create a face with upgrade, the resulting object is not a Draft object anymore, and so patterns are not available
* The [[Draft Wire]] can be closed and turned into a face directly when created, by checking the "Filled" checkbox.


==Available patterns==
==Available patterns==

Revision as of 07:47, 12 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.

Usage

See also: Property editor.

  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 property of the objects 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 hatch 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