Draft Pattern/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
|||
|[[Draft_Constrain|Constrain]] |
|||
|[[Draft_Preferences|Preferences]] |
|||
|[[Draft_Module|Draft]] |
|||
|IconL= |
|||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{TOCright}} |
|||
==Description== |
==Description== |
||
[[Draft_Module|Draft]] objects with a {{PropertyData|Make Face}} property can display a hatch pattern instead of a solid face color. |
|||
[[Image:DraftPatternSample.png]] |
[[Image:DraftPatternSample.png]] |
||
{{Caption|An ellipse and a polygon with a hatch pattern}} |
|||
⚫ | |||
# Make sure the objects are closed and planar, and do not self-intersect. |
|||
# 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. |
|||
⚫ | |||
# Switch to the {{MenuCommand|View}} tab of the [[Property_editor|Property editor]]. |
|||
# The {{PropertyView|Display Mode}} must be set to {{Value|Flat Lines}}. |
|||
# Select a {{PropertyView|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. |
|||
# Optionally reselect the objects to change the pattern properties. |
|||
==Available patterns== |
|||
⚫ | |||
<gallery mode=nolines widths=96px heights=96px> |
|||
⚫ | |||
Image:Aluminium.svg|aluminium |
|||
# In Combo View → Data: set Make Face to true to make sure the object will have a face to set the pattern |
|||
Image:Brick01.svg|brick01 |
|||
# In Combo View → View → Pattern: specify a hatch pattern to fill the wire with |
|||
Image:Concrete.svg|concrete |
|||
# In Combo View → View → Pattern Size: specify the size of the hatch pattern |
|||
Image:Cross.svg|cross |
|||
Image:Cuprous.svg|cuprous |
|||
Image:Diagonal1.svg|diagonal1 |
|||
Image:Diagonal2.svg|diagonal2 |
|||
Image:Earth.svg|earth |
|||
Image:General_steel.svg|general_steel<!--Keep underscore in caption as this is the name in the GUI--> |
|||
Image:Glass.svg|glass |
|||
Image:Hbone.svg|hbone |
|||
Image:Line.svg|line |
|||
Image:Plastic.svg|plastic |
|||
Image:Plus.svg|plus |
|||
Image:Simple.svg|simple |
|||
Image:Solid.svg|solid |
|||
Image:Square.svg|square |
|||
Image:Steel.svg|steel |
|||
Image:Titanium.svg|titanium |
|||
Image:Wood.svg|wood |
|||
Image:Woodgrain.svg|woodgrain |
|||
Image:Zinc.svg|zinc |
|||
</gallery> |
|||
==Preferences== |
|||
Note: |
|||
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]]. |
|||
* 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. |
|||
* 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}}. |
|||
{{Docnav |
|||
|[[Draft_Constrain|Constrain]] |
|||
|[[Draft_Preferences|Preferences]] |
|||
|[[Draft_Module|Draft]] |
|||
|IconL= |
|||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
[[Category:User Documentation{{#translation:}}]] |
|||
{{Draft Tools navi{{#translation:}}}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 08:26, 20 August 2021
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
- 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 hatch 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
-
hbone
-
line
-
plastic
-
plus
-
simple
-
solid
-
square
-
steel
-
titanium
-
wood
-
woodgrain
-
zinc
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.
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