TechDraw Hatch/es: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Emphasis|Ver también:}} DibujoTécnico API y FreeCAD Fundamentos de Guión.")
(Created page with "La herramienta Achurado se puede utilizar en macros y desde la consola de Python utilizando las siguientes funciones:")
Line 56: Line 56:
{{Emphasis|Ver también:}} [[TechDraw_API/es|DibujoTécnico API]] y [[FreeCAD_Scripting_Basics/es|FreeCAD Fundamentos de Guión]].
{{Emphasis|Ver también:}} [[TechDraw_API/es|DibujoTécnico API]] y [[FreeCAD_Scripting_Basics/es|FreeCAD Fundamentos de Guión]].


The Hatch tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
La herramienta Achurado se puede utilizar en [[Macros/es|macros]] y desde la consola de [[Python/es|Python]] utilizando las siguientes funciones:


{{Code|code=
{{Code|code=

Revision as of 19:47, 15 September 2021

DibujoTécnico Achurado

Ubicación en el Menú
DibujoTécnico → Achurar un plano usando un archivo de imagen
Entornos de trabajo
DibujoTécnico
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
DibujoTécnico Aplicar la achurado geométrica a la plano, DibujoTécnico Achurado

Descripción

La herramienta Achurado rellena una región cerrada en una Vista con un patrón de achurado, que pueden ser archivos SVG o bitmap. Por el contrario el Achurado geométrico utiliza un archivo de patrones PAT específico, vea Achurado para más detalles.

SVG achurado patrón en una cara

Utilización

  1. Select an closed region in a View.
  2. Press the Hatch a Face using Image File button
  3. A dialog will open where you can select the pattern file, the scale and color.

Notas

$INSTALL_DIR/data/Mod/TechDraw/Patterns

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

/usr/share/freecad/data/Mod/TechDraw/Patterns

and also on GitHub.

Propiedades

  • DatosSource: The View and Face to receive the hatch pattern.
  • DatosHatch Pattern: Full path and filename to an SVG pattern file.
  • VistaHatch Color: Hatch pattern will be displayed in this color.
  • VistaHatch Scale: Hatch pattern size modifier.

Guión

Ver también: DibujoTécnico API y FreeCAD Fundamentos de Guión.

La herramienta Achurado se puede utilizar en macros y desde la consola de Python utilizando las siguientes funciones:

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