Page 1 of 1

Mancato caricamento dei riferimenti delle immagini

Posted: Thu Jan 20, 2022 7:27 pm
by giemme1969
Versione:
3.27.1.0 (3.27.1)
Internet:
QCAD.org
Data Compilazione:
Dec 13 2021
Revisione:
2726424
Versione Qt:
5.13.2
Architettura:
x86_64
Compilatore:
MSVC++ 14.0 (2015)

S.O: Windows 11

Con il cambio di sistema operativo (e di PC) il riferimento alle immagini contenute nel disegno - ovviamente - cambia. Pertanto, ogni volta che apro un disegno che contiene immagini, queste non sono caricate. In altri sistemi CAD, l'immagine non appare, ma appare il suo "contenitore vuoto" e basta cliccarci sopra per cambiare il riferimento. In QCad non riesco a trovare il modo di reindirizzare il caricamento delle immagini al nuovo percorso.
E' possibile?

Grazie

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Thu Jan 20, 2022 8:21 pm
by andrew
Il modo raccomandato è quello di tenere il file di disegno e i file immagine nella stessa cartella (una cartella di progetto). QCAD troverà sempre le immagini.

Si può anche selezionare l'immagine e cambiare il percorso nell'editor delle proprietà dopo aver selezionato l'immagine.

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Thu Jan 20, 2022 9:41 pm
by giemme1969
No, non caricando le immagini, non le vedo e non posso ovviamente selezionarle. Non appare il "rettangolo vuoto" che rappresenta la foto...

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Thu Jan 20, 2022 11:37 pm
by CVH
Ciao,
Le immagini/bitmap non vengono archiviate in formato dxf.
Viene memorizzato solo un collegamento al file immagine.

QCAD non visualizza alcun segnaposto senza il file immagine presente.
Solo un riferimento dove si trova l'origine.
Nota che un'immagine non ha proprietà Altezza/Larghezza.
Il vantaggio è che si può manipolare l'immagine collegata a piacimento al di fuori di QCAD.

Saluti,
CVH

Hi,
Images/bitmaps are not stored in dxf format.
Only a link to the image file is stored.

QCAD displays no placeholder without the image file present.
Only a reference where the origin is situated.
Remark that an image has no Height/Width properties.
The advantage is that one can manipulate the linked image at will outside QCAD.

Regards,
CVH

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Mon Jan 24, 2022 2:52 pm
by giemme1969
Ok. Ma dove trovo l'elenco dei collegamenti delle immagini presenti nel file di disegno, in modo da poter eventualmente modificare a mano l'indirizzo?

Grazie
Gabriele

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Thu Jan 27, 2022 11:53 pm
by giemme1969
? qualcuno mi può aiutare a trovare il modo di modificare l'indirizzo delle immagini in modo da farle caricare quando - ad esempio - si soposta una cartella contenente un disegno e delle immagini in altra posizione (perdendo il riferimento del link)?
Grazie
G

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Fri Jan 28, 2022 12:02 am
by andrew
Il modo raccomandato è quello di tenere il file di disegno e i file immagine nella stessa cartella (una cartella di progetto). QCAD troverà sempre le immagini anche se si sposta la cartella.

Altrimenti, potresti usare il filtro di selezione (Vista > Filtro di selezione) per trovare e selezionare l'immagine (ad esempio in base al nome del file).

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Fri Jan 28, 2022 2:43 am
by Husky
Hi Gabriele,
giemme1969 wrote:
Thu Jan 27, 2022 11:53 pm
? qualcuno mi può aiutare a trovare il modo di modificare l'indirizzo delle immagini in modo da farle caricare quando - ad esempio - si soposta una cartella contenente un disegno e delle immagini in altra posizione (perdendo il riferimento del link)?
Grazie
G
Tradotto da Google
Per aiutarti abbiamo bisogno del tuo aiuto. : Wink: Per favore, raccontaci tutta la storia ...

Perché Andrews Suggerimento non funziona per te?
Stiamo parlando di alcuni disegni o di un gruppo di disegni?
DXF o DWG?
Se un BUNCH DXF - hai familiarità con i programmi Editor di testo?

To help you we need your help. :wink: Please tell us the whole story ...

Why is Andrews suggestion not working for you?
We are talking about a few drawings or a bunch of drawings?
dxf or dwg?
If a bunch dxf - you are familiar with Text Editor programs?

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Sun Jan 30, 2022 11:30 am
by giemme1969
andrew wrote:
Fri Jan 28, 2022 12:02 am
Il modo raccomandato è quello di tenere il file di disegno e i file immagine nella stessa cartella (una cartella di progetto). QCAD troverà sempre le immagini anche se si sposta la cartella.

Altrimenti, potresti usare il filtro di selezione (Vista > Filtro di selezione) per trovare e selezionare l'immagine (ad esempio in base al nome del file).
Ho capito che le immagini inserite dentro la cartella del disegno possono essere trovate da Qcad, ma - ad esempio - io ho sostituito il PC (oltretutto cambiando sistema operativo) ed - ovviamente - anche copiando l'albero delle cartelle, il nome PC o la struttura, può essere diversa. Questo comporta il fatto che, disegni che contengono immagini (creati in preceedenza) ed aperti con il nuovo PC, non mostrano più le immagini stesse. Il problema si manifesta anche quando, ad esempio, si modifica la struttiura delle cartelle successivamente alla creazione del disegno.
Credo che sarebbe utile poter avere una semplice funzione che mostra i link delle immagini "puntate" contenute nel disegno, in modo che, in caso di modifiche successive alla creazione del dwg, sia possibile intervenire manualmente per correggere il link di puntamento.
Queste informazioni sono sicuramente contenute file dwg, ma non sono accessibili (almeno così mi pare), attraverso l'interfaccia di QCAd, dall'utente.
g

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Sun Jan 30, 2022 11:49 am
by giemme1969
Husky wrote:
Fri Jan 28, 2022 2:43 am
Hi Gabriele,
giemme1969 wrote:
Thu Jan 27, 2022 11:53 pm
? qualcuno mi può aiutare a trovare il modo di modificare l'indirizzo delle immagini in modo da farle caricare quando - ad esempio - si soposta una cartella contenente un disegno e delle immagini in altra posizione (perdendo il riferimento del link)?
Grazie
G
Tradotto da Google
Per aiutarti abbiamo bisogno del tuo aiuto. : Wink: Per favore, raccontaci tutta la storia ...

Perché Andrews Suggerimento non funziona per te?
Stiamo parlando di alcuni disegni o di un gruppo di disegni?
DXF o DWG?
Se un BUNCH DXF - hai familiarità con i programmi Editor di testo?

To help you we need your help. :wink: Please tell us the whole story ...

Why is Andrews suggestion not working for you?
We are talking about a few drawings or a bunch of drawings?
dxf or dwg?
If a bunch dxf - you are familiar with Text Editor programs?
Hello Husky and thank you for your interest.
The problem is very simple: for various reasons I may need to reorganize the job folders, after creating drawings that include images contained in other folders (even if only to avoid having multiple duplicates of the same images). It would therefore be useful to be able to manually view and modify the pointing address of the images themselves. This function is possible in Autocad and in all the various versions of the software created with the Intellicad platform. It is also present in Draftsight. It would not be bad - for me - if it were also present in Qcad.

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Sun Jan 30, 2022 8:25 pm
by Husky
Ok, I see you are not going to answer my question what means I can't help you any further.
giemme1969 wrote:
Sun Jan 30, 2022 11:49 am
It would not be bad - for me - if it were also present in Qcad.
You could file a Feature Request below: https://www.qcad.org/bugtracker

Re: Mancato cariucamento dei riferimenti delle immagini

Posted: Sun Jan 30, 2022 9:36 pm
by CVH
giemme1969 wrote:
Sun Jan 30, 2022 11:49 am
It would therefore be useful to be able to manually view and modify the pointing address of the images themselves.
That can be viewed/changed in the Property Editor.

I understand that the Selection Filter won't solve your issue with multiple image files in one drawing.
Especially if you don't know/remember the file names.
Selecting on zero Width or Height would return N image entities with filename = *VARIES* ... :roll:

This is a quick and dirty script that queries images in a drawing and halts if Width or Height is below a threshold.
The threshold is coded as RS.PointTolerance what is 1.0e-9 and that should catch any zero sized image.
It then selects only that image entity and terminates.
Layers containing images should be visible and entities selectable.
SelectZeroImage.js
(1.06 KiB) Downloaded 417 times

The script can be run from its stored position with Misc menu .. Development .. Run Script (XC)
Scripts are textual files, feel free to translate the messages or alter it with a text editor.

Sorry for the English on the Italian forum.
And no, it is not a list nor a file manager. :wink:
The main solution is still to keep drawings and images in the same folder.

Regards,
CVH