TechDraw Hatch/es: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(15 intermediate revisions by 3 users not shown)
Line 17: Line 17:
|Name/es=DibujoTécnico Achurado
|Name/es=DibujoTécnico Achurado
|MenuLocation=DibujoTécnico → Achurar un plano usando un archivo de imagen
|MenuLocation=DibujoTécnico → Achurar un plano usando un archivo de imagen
|Workbenches=[[TechDraw_Module/es|DibujoTécnico]]
|Workbenches=[[TechDraw_Workbench/es|DibujoTécnico]]
|SeeAlso=[[TechDraw_GeometricHatch/es|DibujoTécnico Aplicar la achurado geométrica a la plano]], [[TechDraw_Hatching/es|DibujoTécnico Achurado]]
|SeeAlso=[[TechDraw_GeometricHatch/es|DibujoTécnico Aplicar la achurado geométrica a la plano]], [[TechDraw_Hatching/es|DibujoTécnico Achurado]]
}}
}}
</div>
</div>


<span id="Description"></span>
==Descripción==
==Descripción==


<div class="mw-translate-fuzzy">
La herramienta Achurado rellena una región cerrada en una Vista con un patrón de achurado, que pueden ser archivos [[SVG/es|SVG]] o [[bitmap/es|bitmap]]. Por el contrario el [[Image:TechDraw_GeometricHatch.svg|24px]] [[TechDraw_GeometricHatch/es|Achurado geométrico]] utiliza un archivo de patrones PAT específico, vea [[TechDraw_Hatching/es|Achurado]] para más detalles.
La herramienta Achurado rellena una región cerrada en una Vista con un patrón de achurado, que pueden ser archivos [[SVG/es|SVG]] o [[bitmap/es|bitmap]]. Por el contrario el [[Image:TechDraw_GeometricHatch.svg|24px]] [[TechDraw_GeometricHatch/es|Achurado geométrico]] utiliza un archivo de patrones PAT específico, vea [[TechDraw_Hatching/es|Achurado]] para más detalles.
</div>


[[Image:TechDraw_Hatch_example.png|300px]]
[[Image:TechDraw_Hatch_example.png|300px]]
Line 30: Line 33:
{{Caption|SVG achurado patrón en una cara}}
{{Caption|SVG achurado patrón en una cara}}


<span id="Usage"></span>
==Utilización==
==Utilización==


<div class="mw-translate-fuzzy">
# Select an closed region in a View.
# Seleccione una región cerrada en una Vista.
# Press the {{Button|[[Image:TechDraw_Hatch.svg|16px]] [[TechDraw_Hatch|Hatch a Face using Image File]]}} button
# Pulse el {{Button|[[Image:TechDraw_Hatch.svg|16px]] [[TechDraw_Hatch/es|Achurar un plano usando un archivo de imagen]]}}
# A dialog will open where you can select the pattern file, the scale and color.
# Se abrirá un diálogo en el que podrá seleccionar el archivo de patrón, la escala y el color.
</div>


<span id="Notes"></span>
== Notas ==
== Notas ==


* For a solid color fill select {{FileName|solid.svg}} as the '''Pattern File'''.
* Hatching objects are vulnerable to "[[Topological_naming_problem|topological naming]]" issues. See the information in the [[TechDraw_Dimension_Length|TechDraw Dimension Length]] tool for more information. It is recommended that hatching be one of the last steps in your drawing process.
* Hatching objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information. It is recommended that hatching be one of the last steps in your drawing process.
* Sample [[SVG|SVG]] patterns are available locally in
* Sample [[SVG|SVG]] patterns are available locally in:
{{Code|code=
: {{Code|code=
$INSTALL_DIR/data/Mod/TechDraw/Patterns
$INSTALL_DIR/data/Mod/TechDraw/Patterns
}}
}}
where {{incode|$INSTALL_DIR}} is the directory where FreeCAD was installed, for example
: Where {{incode|$INSTALL_DIR}} is the directory where FreeCAD was installed, for example:
{{Code|code=
: {{Code|code=
/usr/share/freecad/data/Mod/TechDraw/Patterns
/usr/share/freecad/data/Mod/TechDraw/Patterns
}}
}}
<div class="mw-translate-fuzzy">
and also on [https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/TechDraw/Patterns GitHub].
y también en [https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/TechDraw/Patterns GitHub].
</div>


<span id="Properties"></span>
==Propiedades==
==Propiedades==


Line 56: Line 67:
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier.
* {{PropertyView|Hatch Scale}}: Hatch pattern size modifier.


<span id="Scripting"></span>
==Guión==
==Guión==


{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Ver también:}} [[TechDraw_API/es|DibujoTécnico API]] y [[FreeCAD_Scripting_Basics/es|FreeCAD Fundamentos de Guión]].


<div class="mw-translate-fuzzy">
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:
</div>


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


Line 74: Line 88:
|[[TechDraw_ExportPageDXF/es|ExportarPáginaDXF]]
|[[TechDraw_ExportPageDXF/es|ExportarPáginaDXF]]
|[[TechDraw_GeometricHatch/es|AchuradoGeométrico]]
|[[TechDraw_GeometricHatch/es|AchuradoGeométrico]]
|[[TechDraw_Module/es|TechDraw]]
|[[TechDraw_Workbench/es|TechDraw]]
|IconL=TechDraw_ExportPageDXF.svg
|IconL=TechDraw_ExportPageDXF.svg
|IconR=TechDraw_GeometricHatch.svg
|IconR=TechDraw_GeometricHatch.svg

Latest revision as of 07:59, 1 August 2023

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. Seleccione una región cerrada en una Vista.
  2. Pulse el Achurar un plano usando un archivo de imagen
  3. Se abrirá un diálogo en el que podrá seleccionar el archivo de patrón, la escala y el color.

Notas

  • For a solid color fill select solid.svg as the Pattern File.
  • Hatching objects are vulnerable to the "topological naming problem". See TechDraw LengthDimension for more information. It is recommended that hatching be one of the last steps in your drawing process.
  • Sample SVG patterns are available locally in:
$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

y también en 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
page.addView(hatch)