TechDraw GeometricHatch/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/it |Tratteggio da modello |Simbolo SVG |TechDraw |IconL=TechDraw_Hatch.svg |IconC=Workbench_TechDr...")
(Created page with "{{GuiCommand/it |Name=TechDraw GeometricHatch |Name/it=Tratteggio geometrico |MenuLocation=TechDraw → Tratteggio geometrico |Workbenches=TechDraw |See...")
Line 9: Line 9:
}}
}}


{{GuiCommand
{{GuiCommand/it
|Name=TechDraw GeometricHatch
|Name=TechDraw GeometricHatch
|Name/it=Tratteggio geometrico
|MenuLocation=TechDraw → Apply Geometric Hatch to Face
|Workbenches=[[TechDraw Module|TechDraw]]
|MenuLocation=TechDraw → Tratteggio geometrico
|Workbenches=[[TechDraw Module/it|TechDraw]]
|SeeAlso=[[TechDraw_Hatch|Hatch Face using Image File]], [[TechDraw_Hatching|TechDraw Hatching]]
|SeeAlso=[[TechDraw_Hatch/it|Tratteggio da modello]], [[TechDraw_Hatching/it|Tipi di tratteggio]]
}}
}}



Revision as of 19:54, 21 April 2020

Other languages:

Tratteggio geometrico

Posizione nel menu
TechDraw → Tratteggio geometrico
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Tratteggio da modello, Tipi di tratteggio

Description

The GeometricHatch tool fills a closed region in a View with a pattern based on an AutoDesk PAT hatching specification. Alternatively, the Hatch tool uses an SVG or bitmap file as hatch pattern, see Hatching for details.

Geometric hatch pattern on a face

Usage

  1. Select an closed region in a View. The region will turn green.
  2. Press the Apply Geometric Hatch to Face button
  3. a dialog will open where you may select your pattern, a scale for the pattern and a line weight.
  4. You may need to press Refresh and/or Redraw Page to get the pattern to update.

Notes

A small set of sample patterns are available in:

$INSTALL_DIR/Mod/TechDraw/PAT/FCPAT.pat

$INSTALL_DIR is the directory where FreeCAD was installed, for example

/usr/share/freecad/Mod/TechDraw/PAT/FCPAT.pat

Properties

  • DatiSource: The View and Face to receive the hatch pattern.
  • DatiFile Pattern: The location of the PAT file to use.
  • DatiName Pattern: The name of the PAT specification within File Pattern.
  • DatiScale Pattern: The scale to be applied to the pattern (must be > 0.0).
  • VistaWeight Pattern: The thickness of the pattern lines.
  • VistaColor Pattern: The color for the pattern lines.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The GeometricHatch tool can be used in macros and from the Python console by using the following functions:

hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawGeomHatch','GeomHatch')
hatch.Source = (view1,["Face0"])
hatch.FilePattern = "path/to/myPATfile.pat"
hatch.NamePattern = "Diamond"
rc = page.addView(hatch)