Draft Pattern/zh-cn: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
|[[Draft_Constrain|Constrain]]
|[[Draft_Constrain|Constrain]]
|[[Draft_Preferences|Preferences]]
|[[Draft_Preferences|Preferences]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=
|IconL=
|IconR=
|IconR=
Line 19: Line 19:


[[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 44: Line 44:
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 57: Line 59:
Image:Zinc.svg|zinc
Image:Zinc.svg|zinc
</gallery>
</gallery>

==Notes==

* 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.


==Preferences==
==Preferences==
Line 62: Line 69:
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}}.




Line 70: Line 76:
|[[Draft_Constrain|Constrain]]
|[[Draft_Constrain|Constrain]]
|[[Draft_Preferences|Preferences]]
|[[Draft_Preferences|Preferences]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=
|IconL=
|IconR=
|IconR=

Latest revision as of 20:05, 7 December 2023

Other languages:

Description

所有的闭合的底图对象,如矩形圆形椭圆形连线多边形, 当它们绘制出的是闭合图形并处于"Flat Lines"显示模式时,便可以通过设置"Pattern(图案)"属性,令指定的图案取代表面颜色填充图形。

An ellipse and a polygon with an SVG pattern

Usage

如何使用

  1. 选中对象
  2. 在Combo View → Data中: 将Make Face项设置为 true,从而确保存在可填充图案的对象面
  3. 在Combo View → View → Pattern中: 指定一种待填充的图案
  4. 在Combo View → View → Pattern Size中: 指定填充图案的大小

Available patterns

Notes

  • 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.