TechDraw Hatch/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "TechDraw Hatch")
 
(Created page with "==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ș...")
Line 2: Line 2:
{{GuiCommand|Name=TechDraw Hatch|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Hatch|Shortcut=|SeeAlso=[[TechDraw_Hatching|TechDraw Hatching]]}}
{{GuiCommand|Name=TechDraw Hatch|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Hatch|Shortcut=|SeeAlso=[[TechDraw_Hatching|TechDraw Hatching]]}}


==Description==
==Descriere==
The Hatch tool fills a closed region in a View with a Hatch pattern. Patterns are created as SVG or bitmap files. Sample SVG patterns are available in ".../Mod/Draft/Resources/patterns".
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".


==How to use==
==How to use==

Revision as of 16:02, 21 September 2018

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

How to use

  1. Select an closed region in a View. The region will turn green.
  2. Press the Hatch button
  3. You may need to press recompute .

Options

None.

Properties

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

Scripting

Hatch can be added to areas in Views using Python.

hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawHatch','Hatch')
hatch.Source = (view1,["Face0"])
hatch.HatchPattern = hatchFileSpec
rc = page.addView(hatch)

Notes

  • Hatching is vulnerable to the infamous "topological naming problem". Best Practice is to defer Hatching until the design is stable.
  • Note that Svg hatch patterns are not included when a drawing page is saved as an Svg file.