Draft Pattern/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
==Description==
==Description==


[[Draft_Workbench|Draft]] objects with a {{PropertyData|Make Face}} property can display a hatch pattern instead of a solid face color.
[[Draft_Workbench|Draft]] objects with a {{PropertyData|Make Face}} property can display an SVG pattern instead of a solid face color.


[[Image:DraftPatternSample.png]]
[[Image:DraftPatternSample.png]]
{{Caption|An ellipse and a polygon with a hatch pattern}}
{{Caption|An ellipse and a polygon with an SVG pattern}}


==Usage==
==Usage==
Line 29: Line 29:
# Select a {{PropertyView|Pattern}}.
# Select a {{PropertyView|Pattern}}.
# Optionally change the {{PropertyView|Pattern Size}}. Note that a higher value results in a denser pattern.
# Optionally change the {{PropertyView|Pattern Size}}. Note that a higher value results in a denser pattern.
# The hatch pattern is not displayed when the objects are selected. Deselect them to check the result.
# The pattern is not displayed when the objects are selected. Deselect them to check the result.
# Optionally reselect the objects to change the pattern properties.
# Optionally reselect the objects to change the pattern properties.


Line 45: Line 45:
Image:General_steel.svg|general_steel<!--Keep underscore in caption as this is the name in the GUI-->
Image:General_steel.svg|general_steel<!--Keep underscore in caption as this is the name in the GUI-->
Image:Glass.svg|glass
Image:Glass.svg|glass
Image:Hatch45L.svg|hatch45L
Image:Hatch45R.svg|hatch45R
Image:Hbone.svg|hbone
Image:Hbone.svg|hbone
Image:Line.svg|line
Image:Line.svg|line
Line 59: Line 61:
</gallery>
</gallery>


<span id="Notes"></span>
==Примечания==
==Примечания==


* Hatch patterns are stored in {{FileName|.SVG}} files. It is possible to use your own custom patterns. See [[#Preferences|Preferences]].
* SVG patterns are stored in {{FileName|.SVG}} files. It is possible to use your own custom patterns. See [[#Preferences|Preferences]].
* The patterns themselves are not saved in the FreeCAD document. Objects whose {{PropertyView|Pattern}} cannot be found are displayed with a solid face color instead.
* The patterns themselves are not saved in the FreeCAD document. Objects whose {{PropertyView|Pattern}} cannot be found are displayed with a solid face color instead.


Line 68: Line 71:
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft 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.
* To change the {{PropertyView|Pattern Size}} used for new objects: {{MenuCommand|Edit → Preferences... → Draft → Visual → SVG pattern size}}.
* The {{MenuCommand|Edit → Preferences... → Draft → Visual settingsHatch patterns resolution}} preference is not used.
* To specify a directory with addition SVG patterns: {{MenuCommand|Edit → Preferences... → Draft → Visual → Additional SVG pattern location}}.
* To change the {{PropertyView|Pattern Size}} used for new objects: {{MenuCommand|Edit → Preferences... → Draft → Visual settings → Hatch Pattern default size}}.





Latest revision as of 20:05, 7 December 2023

Description

Draft objects with a ДанныеMake Face property can display an SVG pattern instead of a solid face color.

An ellipse and a polygon with an SVG 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 ДанныеClosed property to true.
  3. To close a Draft Circle or a Draft Ellipse set its ДанныеFirst Angle and ДанныеLast Angle properties to the same value.
  4. Select the objects.
  5. Switch to the View tab of the Property editor.
  6. The ВидDisplay Mode must be set to Flat Lines.
  7. Select a ВидPattern.
  8. Optionally change the ВидPattern Size. Note that a higher value results in a denser pattern.
  9. The 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

Примечания

  • SVG patterns are stored in .SVG files. It is possible to use your own custom patterns. See Preferences.
  • The patterns themselves are not saved in the FreeCAD document. Objects whose ВидPattern cannot be found are displayed with a solid face color instead.

Preferences

See also: Preferences Editor and Draft Preferences.

  • To change the ВидPattern Size used for new objects: Edit → Preferences... → Draft → Visual → SVG pattern size.
  • To specify a directory with addition SVG patterns: Edit → Preferences... → Draft → Visual → Additional SVG pattern location.