Draft Pattern: Difference between revisions
(Update texts in the preferences. See https://github.com/FreeCAD/FreeCAD/pull/5067.) |
(Preferences) |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
[[Draft_Workbench|Draft]] objects with a {{PropertyData|Make Face}} property can display an SVG 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. |
||
</translate> |
|||
⚫ | |||
[[Image:DraftPatternSample.png]] |
[[Image:DraftPatternSample.png]] |
||
<translate> |
|||
⚫ | |||
{{Caption|An ellipse and a polygon with an SVG pattern}} |
{{Caption|An ellipse and a polygon with an SVG pattern}} |
||
Line 41: | Line 43: | ||
==Available patterns== <!--T:10--> |
==Available patterns== <!--T:10--> |
||
</translate> |
|||
<!--T:11--> |
|||
<gallery mode=nolines widths=96px heights=96px> |
<gallery mode=nolines widths=96px heights=96px> |
||
Image:Aluminium.svg|aluminium |
Image:Aluminium.svg|aluminium |
||
Line 53: | Line 55: | ||
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:Hatch45L.svg|hatch45L |
||
Image:Hatch45R.svg|hatch45R |
Image:Hatch45R.svg|hatch45R |
||
Image:Hbone.svg|hbone |
Image:Hbone.svg|hbone |
||
Image:Line.svg|line |
Image:Line.svg|line |
||
Line 68: | Line 70: | ||
Image:Zinc.svg|zinc |
Image:Zinc.svg|zinc |
||
</gallery> |
</gallery> |
||
<translate> |
|||
==Notes== <!--T:16--> |
==Notes== <!--T:16--> |
||
Line 81: | Line 84: | ||
<!--T:14--> |
<!--T:14--> |
||
* To |
* To change the {{PropertyView|Pattern Size}} used for new objects: {{MenuCommand|Edit → Preferences... → Draft → Visual → SVG pattern size}}. |
||
* |
* 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 → SVG pattern default size}}. |
|||
Latest revision as of 16:58, 3 December 2023
Description
Draft objects with a DataMake Face property can display an SVG pattern instead of a solid face color.
An ellipse and a polygon with an SVG pattern
Usage
- Make sure the objects are closed and planar, and do not self-intersect.
- To close a Draft Wire, a Draft BSpline, a Draft CubicBezCurve or a Draft BezCurve set its DataClosed property to
true
. - To close a Draft Circle or a Draft Ellipse set its DataFirst Angle and DataLast Angle properties to the same value.
- Select the objects.
- Switch to the View tab of the Property editor.
- The ViewDisplay Mode must be set to
Flat Lines
. - Select a ViewPattern.
- Optionally change the ViewPattern Size. Note that a higher value results in a denser pattern.
- 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.
Available patterns
-
aluminium
-
brick01
-
concrete
-
cross
-
cuprous
-
diagonal1
-
diagonal2
-
earth
-
general_steel
-
glass
-
hatch45L
-
hatch45R
-
hbone
-
line
-
plastic
-
plus
-
simple
-
solid
-
square
-
steel
-
titanium
-
wood
-
woodgrain
-
zinc
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 ViewPattern cannot be found are displayed with a solid face color instead.
Preferences
See also: Preferences Editor and Draft Preferences.
- To change the ViewPattern 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.
Draft
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub