TechDraw GeometricHatch/it: Difference between revisions
Renatorivo (talk | contribs) (Created page with "==Proprietà==") |
(Updating to match new version of source page) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/it |
{{Docnav/it |
||
|[[TechDraw_Hatch/it|Tratteggio da modello]] |
|[[TechDraw_Hatch/it|Tratteggio da modello]] |
||
|[[TechDraw_Symbol/it|Simbolo SVG]] |
|[[TechDraw_Symbol/it|Simbolo SVG]] |
||
|[[ |
|[[TechDraw_Workbench/it|TechDraw]] |
||
|IconL=TechDraw_Hatch.svg |
|IconL=TechDraw_Hatch.svg |
||
|IconC=Workbench_TechDraw.svg |
|IconC=Workbench_TechDraw.svg |
||
|IconR=TechDraw_Symbol.svg |
|IconR=TechDraw_Symbol.svg |
||
}} |
}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/it |
{{GuiCommand/it |
||
|Name=TechDraw GeometricHatch |
|Name=TechDraw GeometricHatch |
||
|Name/it=Tratteggio geometrico |
|Name/it=Tratteggio geometrico |
||
|MenuLocation=TechDraw → Tratteggio geometrico |
|MenuLocation=TechDraw → Tratteggio geometrico |
||
|Workbenches=[[ |
|Workbenches=[[TechDraw_Workbench/it|TechDraw]] |
||
|SeeAlso=[[TechDraw_Hatch/it|Tratteggio da modello]], [[TechDraw_Hatching/it|Tipi di tratteggio]] |
|SeeAlso=[[TechDraw_Hatch/it|Tratteggio da modello]], [[TechDraw_Hatching/it|Tipi di tratteggio]] |
||
}} |
}} |
||
</div> |
|||
==Descrizione== |
==Descrizione== |
||
<div class="mw-translate-fuzzy"> |
|||
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 [[TechDraw_Hatch/it|Tratteggio da modello]] utilizza un file [[SVG/it|SVG]] o [[bitmap/it|bitmap]] come modello di tratteggio, vedere i [[TechDraw_Hatching/it|tipi di tratteggio]] per i dettagli. |
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 [[TechDraw_Hatch/it|Tratteggio da modello]] utilizza un file [[SVG/it|SVG]] o [[bitmap/it|bitmap]] come modello di tratteggio, vedere i [[TechDraw_Hatching/it|tipi di tratteggio]] per i dettagli. |
||
</div> |
|||
[[Image:TechDraw_GeomHatch_example.png|300px]] |
[[Image:TechDraw_GeomHatch_example.png|300px]] |
||
Line 26: | Line 33: | ||
==Utilizzo== |
==Utilizzo== |
||
<div class="mw-translate-fuzzy"> |
|||
# Selezionare una regione chiusa in una vista |
# Selezionare una regione chiusa in una vista. |
||
# Premere il pulsante {{Button|[[Image:TechDraw_GeometricHatch.svg|16px]] [[TechDraw_GeometricHatch/it|Tratteggio geometrico]]}} |
# Premere il pulsante {{Button|[[Image:TechDraw_GeometricHatch.svg|16px]] [[TechDraw_GeometricHatch/it|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. |
||
</div> |
|||
# Potrebbe essere necessario premere {{Button| [[Image:Std_Refresh.svg|16px]] [[Std_Refresh/it|Aggiorna]]}} e/o {{Button|[[Image:TechDraw RedrawPage.svg|16px]] [[TechDraw_RedrawPage/it|Ridisegna la pagina]]}} per ottenere l'aggiornamento del tratteggio. |
|||
==Note== |
==Note== |
||
<div class="mw-translate-fuzzy"> |
|||
* Il tratteggio è vulnerabile al problema della "[[Topological naming problem/it|denominazione topologica]]". Per maggiori informazioni vedere lo strumento {{Button|[[Image: |
* Il tratteggio è vulnerabile al problema della "[[Topological naming problem/it|denominazione topologica]]". Per maggiori informazioni vedere lo strumento {{Button|[[Image:TechDraw_LengthDimension.svg|16px]] [[TechDraw_LengthDimension/it|Lunghezza]]}}. Si consiglia che il tratteggio sia uno degli ultimi passaggi del processo di disegno. |
||
* A differenza dello strumento [[TechDraw_Hatch/it|Tratteggio da modello]], i modelli di tratteggio geometrico sono inclusi quando una pagina di disegno viene salvata come file [[SVG/it|SVG]]. |
|||
</div> |
|||
Una piccola serie di modelli di tratteggio sono disponibili in: |
Una piccola serie di modelli di tratteggio sono disponibili in: |
||
{{Code|code= |
{{Code|code= |
||
$INSTALL_DIR/Mod/TechDraw/PAT/FCPAT.pat |
$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat |
||
}} |
}} |
||
Line 45: | Line 54: | ||
{{Code|code= |
{{Code|code= |
||
/usr/share/freecad/Mod/TechDraw/PAT/FCPAT.pat |
/usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat |
||
}} |
}} |
||
==Proprietà== |
==Proprietà== |
||
* {{PropertyData|Source}}: |
* {{PropertyData|Source}}: La vista e la faccia che devono ricevere il modello di tratteggio. |
||
* {{PropertyData|File Pattern}}: |
* {{PropertyData|File Pattern}}: La posizione del file PAT da utilizzare. |
||
* {{PropertyData|Name Pattern}}: |
* {{PropertyData|Name Pattern}}: Il nome dello specifico PAT all'interno di File Pattern. |
||
* {{PropertyData|Scale Pattern}}: |
* {{PropertyData|Scale Pattern}}: La scala da applicare al modello (deve essere > 0.0). |
||
* {{PropertyView|Weight Pattern}}: |
* {{PropertyView|Weight Pattern}}: Lo spessore delle linee del modello. |
||
* {{PropertyView|Color Pattern}}: |
* {{PropertyView|Color Pattern}}: Il colore delle linee del modello. |
||
== |
==Script== |
||
<div class="mw-translate-fuzzy"> |
|||
{{Emphasis| |
{{Emphasis|Vedere anche:}} [[TechDraw API/it|API TechDraw]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]]. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
The GeometricHatch tool can be used in [[macros]] and from the [[Python]] console by using the following functions: |
|||
Lo strumento GeometricHatch può essere utilizzato nelle [[macros/it|macro]] e dalla [[FreeCAD_Scripting_Basics/it|console di Python]] tramite la seguente funzione: |
|||
</div> |
|||
{{Code|code= |
{{Code|code= |
||
Line 71: | Line 84: | ||
}} |
}} |
||
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: |
|||
{{Code|code= |
|||
⚫ | |||
import TechDraw |
|||
|[[TechDraw_Hatch|Hatch Face using Image File]] |
|||
face = Part.makePlane(10,10) |
|||
⚫ | |||
patfile = "path/to/myPATfile.pat" |
|||
|[[TechDraw_Module|TechDraw]] |
|||
pattern = "Diamond" |
|||
scale = 10 |
|||
hatch = TechDraw.makeGeomHatch(face, scale, pattern, patfile) |
|||
Part.show(hatch) |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
|[[TechDraw_Hatch/it|Tratteggio da modello]] |
|||
⚫ | |||
|[[TechDraw_Workbench/it|TechDraw]] |
|||
|IconL=TechDraw_Hatch.svg |
|IconL=TechDraw_Hatch.svg |
||
|IconC=Workbench_TechDraw.svg |
|IconC=Workbench_TechDraw.svg |
||
|IconR=TechDraw_Symbol.svg |
|IconR=TechDraw_Symbol.svg |
||
}} |
}} |
||
</div> |
|||
{{TechDraw Tools navi{{#translation:}}}} |
{{TechDraw Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 09:54, 14 March 2022
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 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)
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
- 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