TechDraw Image/it: 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 1: Line 1:
<languages/>
<languages/>
{{Docnav/it|[[TechDraw_Symbol/it|Simbolo SVG]]|[[TechDraw_Toggle/it|Attiva o disattiva la vista cornici]]|[[TechDraw_Module/it|TechDraw]]|IconL=techdraw-symbol.png|IconC=Workbench_TechDraw.svg|IconR=techdraw-toggleframe.png}}


<div class="mw-translate-fuzzy">
{{GuiCommand/it|Name=TechDraw Image|Name/it=Immagine bitmap|Workbenches=[[TechDraw Module/it|TechDraw]]|MenuLocation=TechDraw → Immagine bitmap|Shortcut=|SeeAlso=[[TechDraw Symbol/it|Simbolo SVG]]}}
{{Docnav/it
|[[TechDraw_Symbol/it|Simbolo SVG]]
|[[TechDraw_ToggleFrame/it|Attiva o disattiva la cornice]]
|[[TechDraw_Workbench/it|TechDraw]]
|IconL=TechDraw_Symbol.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_ToggleFrame.svg
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/it|Name=TechDraw Image|Name/it=Immagine bitmap|Workbenches=[[TechDraw_Workbench/it|TechDraw]]|MenuLocation=TechDraw → Immagine bitmap|Shortcut=|SeeAlso=[[TechDraw Symbol/it|Simbolo SVG]]}}
</div>

<span id="Description"></span>
==Descrizione==
==Descrizione==


<div class="mw-translate-fuzzy">
Lo strumento Immagine inserisce un'immagine [[bitmap/it|bitmap]] (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista
Lo strumento Immagine inserisce un'immagine [[bitmap/it|bitmap]] (PNG, TIFF, JPEG, ecc.) da un file nella pagina come una vista
</div>


[[Image:TechDraw_Image_example.png]]
[[Image:TechDraw_Image_example.png]]
{{Caption|Immagine inserita nella pagina di disegno}}
{{Caption|Immagine inserita nella pagina di disegno}}


<span id="Usage"></span>
==Uso==
==Uso==


<div class="mw-translate-fuzzy">
# Premere il pulsante {{Button|[[Image:Techdraw-image.png|24px]] [[TechDraw Image/it|Immagine bitmap]]}}
# Premere il pulsante {{Button|[[Image:TechDraw_Image.svg|16px]] [[TechDraw Image/it|Immagine bitmap]]}}.
# Si apre una finestra di dialogo. Selezionare un percorso e il nome file.
# Si apre una finestra di dialogo. Selezionare un percorso e il nome file.
</div>


<span id="Properties"></span>
==Proprietà==
==Proprietà==


See also [[TechDraw_View#Properties|TechDraw View]].
* Utilizzare la proprietà Scala per regolare le dimensioni dell'immagine.
* Utilizzare la proprietà Width e Height per ritagliare l'immagine.


=== Data ===

{{TitleProperty|Image}}

* {{PropertyData|Image File|File}}: The file containing this bitmap.
* {{PropertyData|Image Included|FileIncluded}}: Embedded image file. System use only.
* {{PropertyData|Width|Float}}: The width of the cropped image in mm. Only used if {{PropertyView|Crop}} is {{TRUE}}.
* {{PropertyData|Height|Float}}: The height of the cropped image in mm. Idem.

=== View ===

{{TitleProperty|Image}}

* {{PropertyView|Crop|Bool}}: Crop the image to {{PropertyData|Width}} x {{PropertyData|Height}}.

<span id="Scripting"></span>
==Script==
==Script==


<div class="mw-translate-fuzzy">
{{Emphasis|Vedere anche:}} [[TechDraw API/it|TechDraw API]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]].
{{Emphasis|Vedere anche:}} [[TechDraw API/it|TechDraw API]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]].
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 36: Line 72:
dvi.Width = 200
dvi.Width = 200
}}
}}





<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/it
{{Docnav/it|[[TechDraw_Symbol/it|Simbolo]]|[[TechDraw_Toggle/it|Impaginazione]]|[[TechDraw_Module/it|TechDraw]]|IconL=techdraw-symbol.png|IconC=Workbench_TechDraw.svg|IconR=techdraw-toggleframe.png}}
|[[TechDraw_Symbol/it|Simbolo SVG]]
|[[TechDraw_ToggleFrame/it|Attiva o disattiva la cornice]]
|[[TechDraw_Workbench/it|TechDraw]]
|IconL=TechDraw_Symbol.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_ToggleFrame.svg
}}
</div>
</div>


{{TechDraw Tools navi/it}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

{{Userdocnavi/it}}
{{clear}}
{{clear}}

Latest revision as of 08:46, 29 May 2023

Immagine bitmap

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

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 Immagine bitmap.
  2. Si apre una finestra di dialogo. Selezionare un percorso e il nome file.

Proprietà

See also TechDraw View.

Data

Image

  • DatiImage File (File): The file containing this bitmap.
  • DatiImage Included (FileIncluded): Embedded image file. System use only.
  • DatiWidth (Float): The width of the cropped image in mm. Only used if VistaCrop is true.
  • DatiHeight (Float): The height of the cropped image in mm. Idem.

View

Image

  • VistaCrop (Bool): Crop the image to DatiWidth x DatiHeight.

Script

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