TechDraw Hatch/ro: Difference between revisions
(Created page with "==Proprietăți== * {{PropertyData|Source}}: The View and Face to receive the hatch pattern. * {{PropertyData|Hatch Pattern}}: Full path and filename to an SVG pattern file. *...") |
(Created page with "==Script== Hașurarea poate fi adăugată la zonele din Views folosind Python.") |
||
Line 19: | Line 19: | ||
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier. |
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier. |
||
== |
==Script== |
||
Hașurarea poate fi adăugată la zonele din Views folosind Python. |
|||
{{Code|code= |
{{Code|code= |
||
hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawHatch','Hatch') |
hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawHatch','Hatch') |
Revision as of 16:03, 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".
Cum se folosește
- Select an closed region in a View. The region will turn green.
- Press the Hatch button
- You may need to press recompute .
Opțiuni
Niciuna.
Proprietăți
- 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.
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.