TechDraw Hachures par motif

From FreeCAD Documentation
Revision as of 10:38, 24 February 2018 by Jpg87 (talk | contribs) (Created page with "{{GuiCommand/fr|Name=Hachures TechDraw|Workbenches=TechDraw|MenuLocation=TechDraw → Hatch|Shortcut=|SeeAlso=Hachures TechDraw }}")

Hachures TechDraw

Emplacement du menu
TechDraw → Hatch
Ateliers
TechDraw
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Hachures TechDraw

Description

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

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

  • DonnéesSource: The View and Face to receive the hatch pattern.
  • DonnéesHatch Pattern: Full path and filename to an SVG pattern file.
  • VueHatch Color: Hatch pattern will be displayed in this color.
  • VueHatch 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

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