TechDraw Image/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Userdocnavi/it}}")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav|[[TechDraw_Symbol|New Symbol]]|[[TechDraw_Toggle|Toggle Frames]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-symbol.png|IconC=Workbench_TechDraw.svg|IconR=techdraw-toggleframe.png}}

{{GuiCommand/it|Name=TechDraw Image|Name/it=Immagine|Workbenches=[[TechDraw Module/it|TechDraw]]|MenuLocation=TechDraw → Immagine|Shortcut=|SeeAlso=[[TechDraw Symbol/it|Simbolo]]}}
{{GuiCommand/it|Name=TechDraw Image|Name/it=Immagine|Workbenches=[[TechDraw Module/it|TechDraw]]|MenuLocation=TechDraw → Immagine|Shortcut=|SeeAlso=[[TechDraw Symbol/it|Simbolo]]}}


Line 33: Line 35:
}}
}}




{{Docnav|[[TechDraw_Symbol|New Symbol]]|[[TechDraw_Toggle|Toggle Frames]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-symbol.png|IconC=Workbench_TechDraw.svg|IconR=techdraw-toggleframe.png}}


{{TechDraw Tools navi/it}}
{{TechDraw Tools navi/it}}

Revision as of 15:47, 22 February 2019

Immagine

Posizione nel menu
TechDraw → Immagine
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Simbolo

Descrizione

Lo strumento Immagine inserisce un'immagine bitmap (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista

Immagine inserita nella pagina di disegno

Uso

  1. Premere il pulsante File:Techdraw-image.png Immagine
  2. Si apre una finestra di dialogo. Selezionare un percorso e il nome file.

Proprietà

  • Utilizzare la proprietà Scala per regolare le dimensioni dell'immagine.
  • Utilizzare la proprietà Width e Height per ritagliare l'immagine.

Script

Vedere anche: TechDraw API e Nozioni di base sugli script di FreeCAD.

Lo strumento Image può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:

dvi = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewImage','TestImage')
rc = page.addView(dvi)
dvi.ImageFile = "pathToMy/imageFile.png"
dvi.Height = 200
dvi.Width  = 200