TechDraw GeometricHatch/it: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{Docnav/it |
{{Docnav/it |
||
Line 79: | Line 80: | ||
}} |
}} |
||
It is also possible to use TechDraw's geometric hatch engine to produce a compound object in the 3D space. One must take |
It is also possible to use TechDraw's geometric hatch engine to produce a compound object in the 3D space. One must take care that the base face lies on the XY plane, as the algorithm is not tailored yet for other cases: |
||
care that the base face lies on the XY plane, as the algorithm is not tailored yet for other cases: |
|||
{{Code|code= |
{{Code|code= |
||
Line 91: | Line 91: | ||
Part.show(hatch) |
Part.show(hatch) |
||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 105: | Line 106: | ||
{{TechDraw Tools navi{{#translation:}}}} |
{{TechDraw Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 19:35, 14 August 2021
Tratteggio geometrico |
Posizione nel menu |
---|
TechDraw → Tratteggio geometrico |
Ambiente |
TechDraw |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Tratteggio da modello, Tipi di tratteggio |
Descrizione
Lo strumento Tratteggio geometrico riempie una regione chiusa in una vista con un modello basato su una specifica di tratteggio PAT AutoDesk. In alternativa, lo strumento Tratteggio da modello utilizza un file SVG o bitmap come modello di tratteggio, vedere i tipi di tratteggio per i dettagli.
Esempio di tratteggio geometrico su una faccia
Utilizzo
- Selezionare una regione chiusa in una vista.
- Premere il pulsante Tratteggio geometrico
- Si apre una finestra di dialogo in cui è possibile selezionare il motivo, una scala per il motivo, uno spessore di linea e il colore.
Note
- Il tratteggio è vulnerabile al problema della "denominazione topologica". Per maggiori informazioni vedere lo strumento File:TechDraw Dimension Length.png Lunghezza. Si consiglia che il tratteggio sia uno degli ultimi passaggi del processo di disegno.
Una piccola serie di modelli di tratteggio sono disponibili in:
$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat
dove $INSTALL_DIR
è la directory in cui è stato installato FreeCAD, per esempio
/usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat
Proprietà
- DatiSource: La vista e la faccia che devono ricevere il modello di tratteggio.
- DatiFile Pattern: La posizione del file PAT da utilizzare.
- DatiName Pattern: Il nome dello specifico PAT all'interno di File Pattern.
- DatiScale Pattern: La scala da applicare al modello (deve essere > 0.0).
- VistaWeight Pattern: Lo spessore delle linee del modello.
- VistaColor Pattern: Il colore delle linee del modello.
Script
Vedere anche: API TechDraw e Nozioni di base sugli script di FreeCAD.
Lo strumento GeometricHatch può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:
hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawGeomHatch','GeomHatch')
hatch.Source = (view1,["Face0"])
hatch.FilePattern = "path/to/myPATfile.pat"
hatch.NamePattern = "Diamond"
rc = page.addView(hatch)
It is also possible to use TechDraw's geometric hatch engine to produce a compound object in the 3D space. One must take care that the base face lies on the XY plane, as the algorithm is not tailored yet for other cases:
import TechDraw
face = Part.makePlane(10,10)
patfile = "path/to/myPATfile.pat"
pattern = "Diamond"
scale = 10
hatch = TechDraw.makeGeomHatch(face, scale, pattern, patfile)
Part.show(hatch)
- Pagine: Nuovo disegno standard, Nuovo disegno da modello
- Viste: Vista di oggetto, Vista attiva, Gruppo di proiezioni, Vista di sezione, Dettaglio, Nuova annotazione, Vista di Draft, Vista di Arch, Vista di foglio di calcolo
- Clip: Clip, Aggiungi una vista al gruppo di clip, Rimuovi la vista dal gruppo di clip
- Dimensioni: Lunghezza, Dimensione orizzontale, Dimensione veerticale, Raggio, Diametro, Angolo, Angolo da 3 punti, Link alla dimensione, Pallinatura
- Decorazioni: Tratteggio area, Tratteggio geometrico, Simbolo SVG, Immagine bitmap, Attiva o disattiva la vista cornici
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub