TechDraw Hatch/ro: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Docnav |
{{Docnav |
||
|[[TechDraw_StackDown|StackDown]] |
|||
|[[TechDraw_ExportPageDXF|ExportPageDXF]] |
|||
|[[TechDraw_GeometricHatch|GeometricHatch]] |
|[[TechDraw_GeometricHatch|GeometricHatch]] |
||
|[[TechDraw_Workbench|TechDraw]] |
|[[TechDraw_Workbench|TechDraw]] |
||
|IconL= |
|IconL=TechDraw_StackDown.svg |
||
|IconR=TechDraw_GeometricHatch.svg |
|IconR=TechDraw_GeometricHatch.svg |
||
|IconC=Workbench_TechDraw.svg |
|IconC=Workbench_TechDraw.svg |
||
Line 14: | Line 14: | ||
</div> |
</div> |
||
<span id="Description"></span> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
==Descriere== |
==Descriere== |
||
Line 19: | Line 20: | ||
</div> |
</div> |
||
The Hatch tool fills a closed region in a View with a |
The '''TechDraw Hatch''' tool fills a closed region in a View with a tiled [[SVG|SVG]] or bitmap ({{Version|0.21}}) based hatch pattern. Alternatively the [[Image:TechDraw_GeometricHatch.svg|16px]] [[TechDraw_GeometricHatch|TechDraw GeometricHatch]] tool uses PAT based hatch patterns. See [[TechDraw_Hatching|Hatching]] for details. |
||
[[Image:TechDraw_Hatch_example.png|300px]] |
[[Image:TechDraw_Hatch_example.png|300px]] |
||
Line 25: | Line 26: | ||
{{Caption|SVG hatch pattern on a face}} |
{{Caption|SVG hatch pattern on a face}} |
||
<span id="Usage"></span> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
==Cum se folosește== |
==Cum se folosește== |
||
Line 32: | Line 34: | ||
</div> |
</div> |
||
# Select |
# Select a closed region in a View. |
||
# There are several ways to invoke the tool: |
|||
# Press the {{Button|[[Image:TechDraw_Hatch.svg|16px]] [[TechDraw_Hatch|Hatch |
#* Press the {{Button|[[Image:TechDraw_Hatch.svg|16px]] [[TechDraw_Hatch|TechDraw Hatch]]}} button. |
||
# A dialog will open where you can select the pattern file, the scale and color. |
|||
#* Select the {{MenuCommand|TechDraw → Hatching → [[Image:TechDraw_Hatch.svg|16px]] Hatch a Face using Image File}} option from the menu. |
|||
# The {{MenuCommand|Apply Hatch to Face}} task panel opens. |
|||
# Optionally change the {{MenuCommand|Pattern File}}. |
|||
# Optionally change the {{MenuCommand|Pattern Scale}} and the {{MenuCommand|Line Color}}. These settings are ignored for bitmap patterns. |
|||
# Press the {{Button|OK}} button. |
|||
<span id="Notes"></span> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
==Note== |
==Note== |
||
Line 42: | Line 50: | ||
</div> |
</div> |
||
* For a solid color fill select {{FileName|solid.svg}} as the '''Pattern File'''. |
|||
* Hatching objects are vulnerable to "[[Topological_naming_problem|topological naming]]" |
* Hatching objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information. It is recommended that hatching be one of the last steps in your drawing process. |
||
* Sample [[SVG|SVG]] patterns are available locally in |
* Sample [[SVG|SVG]] patterns are available locally in: |
||
{{Code|code= |
: {{Code|code= |
||
$INSTALL_DIR/data/Mod/TechDraw/Patterns |
$INSTALL_DIR/data/Mod/TechDraw/Patterns |
||
}} |
}} |
||
: Where {{incode|$INSTALL_DIR}} is the directory where FreeCAD was installed, for example: |
|||
{{Code|code= |
: {{Code|code= |
||
/usr/share/freecad/data/Mod/TechDraw/Patterns |
/usr/share/freecad/data/Mod/TechDraw/Patterns |
||
}} |
}} |
||
: They are also available on [https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/TechDraw/Patterns GitHub]. |
|||
<span id="Properties"></span> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
==Proprietăți== |
==Proprietăți== |
||
Line 66: | Line 76: | ||
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier. |
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier. |
||
<span id="Scripting"></span> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
==Script== |
==Script== |
||
Line 71: | Line 82: | ||
</div> |
</div> |
||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Hatch can be created with [[Macros|macros]] and from the [[Python|Python]] console by using the following functions: |
|||
{{Code|code= |
{{Code|code= |
||
hatch = FreeCAD.ActiveDocument.addObject( |
hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawHatch", "Hatch") |
||
hatch.Source = (view1,["Face0"]) |
hatch.Source = (view1, ["Face0"]) |
||
hatch.HatchPattern = hatchFileSpec |
hatch.HatchPattern = hatchFileSpec |
||
page.addView(hatch) |
|||
}} |
}} |
||
{{Docnav |
{{Docnav |
||
|[[TechDraw_StackDown|StackDown]] |
|||
|[[TechDraw_ExportPageDXF|ExportPageDXF]] |
|||
|[[TechDraw_GeometricHatch|GeometricHatch]] |
|[[TechDraw_GeometricHatch|GeometricHatch]] |
||
|[[TechDraw_Workbench|TechDraw]] |
|[[TechDraw_Workbench|TechDraw]] |
||
|IconL= |
|IconL=TechDraw_StackDown.svg |
||
|IconR=TechDraw_GeometricHatch.svg |
|IconR=TechDraw_GeometricHatch.svg |
||
|IconC=Workbench_TechDraw.svg |
|IconC=Workbench_TechDraw.svg |
Latest revision as of 08:15, 3 April 2024
TechDraw Hatch |
Menu location |
---|
TechDraw → Hatch |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw Hatching |
Descriere
Instrumentul de hașurarea/Hatch umple o regiune închisă în View cu un model de hașură/Hatch pattern. Modelele sunt creat ca fișiere SVG ori bitmap . Eșantion de modele SVG sunt disponibile la ".../Mod/Draft/Resources/patterns".
The TechDraw Hatch tool fills a closed region in a View with a tiled SVG or bitmap (introduced in version 0.21) based hatch pattern. Alternatively the TechDraw GeometricHatch tool uses PAT based hatch patterns. See Hatching for details.
SVG hatch pattern on a face
Cum se folosește
- Select a closed region in a View.
- There are several ways to invoke the tool:
- Press the TechDraw Hatch button.
- Select the TechDraw → Hatching → Hatch a Face using Image File option from the menu.
- The Apply Hatch to Face task panel opens.
- Optionally change the Pattern File.
- Optionally change the Pattern Scale and the Line Color. These settings are ignored for bitmap patterns.
- Press the OK button.
Note
- Hașurarea este vulnerabilă la infama "topological naming problem". Cea mai bună practică este de a amâna hașurarea până când desenul este stabil.
- Rețineți că modelele de hașură SVG nu sunt incluse atunci când o pagină de desen este salvată ca fișier Svg.
- For a solid color fill select solid.svg as the Pattern File.
- Hatching objects are vulnerable to the "topological naming problem". See TechDraw LengthDimension for more information. It is recommended that hatching be one of the last steps in your drawing process.
- Sample SVG patterns are available locally in:
$INSTALL_DIR/data/Mod/TechDraw/Patterns
- Where
$INSTALL_DIR
is the directory where FreeCAD was installed, for example: /usr/share/freecad/data/Mod/TechDraw/Patterns
- They are also available on GitHub.
Proprietăți
- DateSource: Vederea și Fațeta care va prim modelul de hașură.
- DateHatch Pattern: Calea de acces completă și numele fișierului spre un nume de fișier cu model SVG .
- VizualizareHatch Color: Modelul de hașurare va fi afișat în această culaore.
- VizualizareHatch Scale: Modificator de dimensiune a modelului de hașurae.
- DateSource: The View and Face to receive the hatch pattern.
- DateHatch Pattern: Full path and filename to an SVG pattern file.
- VizualizareHatch Color: Hatch pattern will be displayed in this color.
- VizualizareHatch Scale: Hatch pattern size modifier.
Script
Hașurarea poate fi adăugată la zonele din Views folosind Python.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
A Hatch can be created with macros and from the Python console by using the following functions:
hatch = FreeCAD.ActiveDocument.addObject("TechDraw::DrawHatch", "Hatch")
hatch.Source = (view1, ["Face0"])
hatch.HatchPattern = hatchFileSpec
page.addView(hatch)
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
- 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