TechDraw: Immagine bitmap

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page TechDraw Image and the translation is 30% complete.
Outdated translations are marked like this.

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