TechDraw Hatch/it: Difference between revisions

From FreeCAD Documentation
(Created page with "# Selezionare una regione chiusa in una vista. La regione diventa verde. # Premere il pulsante 16px {{Button|Tratteggio area}} # Potrebbe essere...")
(Replaced content with "==Note==")
Line 15: Line 15:
# Potrebbe essere necessario dover premere Ricalcola [[Image:View-rotate-right.png|16px]].
# Potrebbe essere necessario dover premere Ricalcola [[Image:View-rotate-right.png|16px]].


<div class="mw-translate-fuzzy">
==Note==
==Note==
* Il tratteggio è vulnerabile al famigerato "problema della denominazione topologica". La pratica migliore è di posticipare il tratteggio fino a quando il disegno non è stabile.
* Notare che i modelli di tratteggio geometrico sono inclusi quando una pagina di disegno viene salvata come file in formato Svg.
</div>


* Hatching objects are vulnerable to "topological naming" issues. See the information in the [[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 "topological naming" issues. See the information in the [[TechDraw Dimension Length]] tool for more information. It is recommended that hatching be one of the last steps in your drawing process.

Revision as of 21:41, 4 January 2019

Tratteggio area

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

Descrizione

Lo strumento Tratteggio area riempie una regione chiusa di una vista con un modello di tratteggio. I modelli sono creati in file formato SVG o bitmap. I modelli di tratteggio SVG sono disponibili in ".../Mod/Draft/Resources/patterns".

Esempio di tratteggio SVG su una faccia

Uso

  1. Selezionare una regione chiusa in una vista. La regione diventa verde.
  2. Premere il pulsante Tratteggio area
  3. Potrebbe essere necessario dover premere Ricalcola .

Note

  • Hatching objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length tool for more information. It is recommended that hatching be one of the last steps in your drawing process.
  • Note that SVG hatch patterns are not included when a drawing page is saved as an SVG file.

Sample SVG patterns are available in

$INSTALL_DIR/Mod/Draft/Resources/patterns

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

/usr/share/freecad/Mod/Draft/Resources/patterns

Proprietà

  • DatiSource: La vista e la faccia che devono ricevere il tratteggio.
  • DatiHatch Pattern: Il percorso completo e il nome del file del modello SVG.
  • VistaHatch Color: Il colore in cui viene visualizzato il tratteggio.
  • VistaHatch Scale: Modifica la dimensione del modello di tratteggio.
  • DatiSource: The View and Face to receive the hatch pattern.
  • DatiHatch 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.

Script

Il Tratteggio può essere aggiunto alle aree delle Viste utilizzando Python.

See also: TechDraw API and FreeCAD Scripting Basics.

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

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