TechDraw: Tratteggio da modello

From FreeCAD Documentation
Revision as of 20:56, 28 October 2016 by Renatorivo (talk | contribs) (Created page with "==Descrizione== Lo strumento Tratteggio riempie una regione chiusa di una vista con un modello di tratteggio. I modelli sono creati in formato SVG. I modelli di tratteggio son...")

Tratteggio

Posizione nel menu
TechDraw → Tratteggio
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Nessuno

Descrizione

Lo strumento Tratteggio riempie una regione chiusa di una vista con un modello di tratteggio. I modelli sono creati in formato SVG. I modelli di tratteggio sono disponibili in ".../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

  • DatiSource: The View and Face to receive the hatch pattern.
  • DatiHatch Pattern: Full path and filename to an SVG pattern file.
  • DatiHatch Color: Hatch pattern will be displayed in this color.

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

  • Note that hatch patterns are not included when a drawing page is saved as an Svg file.