1 (edited by patricknogara 2017-01-14 03:37:38)

Topic: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Version: QElectroTech V 0.51-dev+svn4842    OS:  Win 10

Issue:  I added a Folio Summary to the Project - which is automatically created as Sheet 2.
When I try to File | Export and choose DXF format, this happens....


i. if Sheet 2 is included (selected) for export, QET crashes.
     In this case only sheet 2 dxf file is created and contains titleblock and border but no list.
     No other sheets are exported

ii. If sheet 2 is not selected then the remaining sheets are all exported ok.

EDIT: 10 Sheet project

Anyone else having this problem?

Cheers
Patrick

2 (edited by Calypso 2017-01-13 20:03:43)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hello
My system xubuntu 16.04 and QElectroTech V 0.51-dev + svn4842. Have just tested tried to export a project completely in DXF had no crash. But I can not open the second page with the table of contents with librecad the other pages already

Best regards

Stebo

3 (edited by patricknogara 2017-01-14 03:35:22)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hi Stebo,

Can you clarify what problem  you're having when trying to open sheet 2:
  i. Sheet 2 dxf does not exist
  ii. Sheet 2 dxf exists but is corrupt
  iii. Some other problem

Also, just confirming: all the other sheets were exported correctly?
How many sheets in your project (inc sheet 2 - T.O.C.) ?

Cheers
Patrick

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Why you would like export project to DXF, use with autocad or other?

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

For me and I think for all guys DXF import and converter dwg -> dxf element to QET symbols is more important than export.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

6 (edited by patricknogara 2017-01-14 09:27:02)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Why you would like export project to DXF, use with autocad or other?

Yes, current scenario : I created a set of dwgs in QET - happy with the results, but now I have to pass dwgs to someone who will incorporate them into a larger set of AutoCAD dwgs - and AutoCAD is the only thing they use.

Generally speaking I think delivering documentation in DXF will be very important to anyone who might have to provide documentation to a customers in a recognised format that will work with their SW tools - typically some AutoCAD compatible format. 

You cannot argue with the customer that they can get QET as a free download. This is irrelevant because for them it is all about their workflow base on AutoCAD.

So for those who use QET only for internal documentation or pdf publications, there may be no issue.

For others, having DXF as an available export format is very important - unfortunately.nomicons/blush

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

I completely understand Patrick, and you have free to use QET as it suits you best. nomicons/smile

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hello Patrick
The project has 10 pages. When opening with librecad comes no error message but it tries to open it. Have also tried it with Bricscad and QCad. Only QCad could open the table of contents. Which program do you use to open the DXF files.


Best regards
Stebo

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Stebo,

I used Draftsight to check DXF output of QET.

It's interesting that only QCAD could open your TOC sheet.  Was the sheet displayed properly - any mistakes in rendering?

Scorpio,

I guess we need more people to give feedback to understand if I describe a real problem or just an issue with my system or even perhaps just my project file.  I will keep testing.

Cheers
Patrick

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

I  confirm, exporting a "list of folio" page to DXF crash QET.
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h, line 545

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

11 (edited by Calypso 2017-01-14 19:25:37)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hello Patrick
I have opened the dxf from the table of contents in Draftsight, but before I got the following message "Drawing file has to be restored. Do you want to continue?" The drawing was displayed after confirmation, here the result original and draftsight. I think it is because the table of contents is automatically generated.

Best regards
Stebo

Post's attachments

Attachment icon inhaltsverzeichnis.pdf 83.94 kb, 647 downloads since 2017-01-14 

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

I  confirm, exporting a "list of folio" page to DXF crash QET.

Our beloved leader has found something.

Now it's a question of where on the scale of difficulty the issue sits...

|--------------------|--------------------|
0                        5                       10
"Oops"            "Hmmm!"              "How the F#%! are we going to fix this?!*

Note: this scale may be logarithmic.

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Need more work yet, but no crash of QET now when exporting diagram folio list to DXF.

https://download.qelectrotech.org/qet/forum_img/dxf_foliolist_new.png

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Knowing QET can export to DXF (even if you have to do some touch up for the moment) removes what could have been a major roadblock to using QET for many people.

Well done, Scorpio.

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hi,

could you try again, with rev 4869?
If it crash, try to delete old folio list and generate a new summary pages.

https://download.qelectrotech.org/qet/forum_img/dxf_foliolist_new2.png

With folio label enabled

https://download.qelectrotech.org/qet/forum_img/dxf_foliolist_new3.png

https://download.qelectrotech.org/qet/forum_img/dxf_foliolist_new4.png

Post's attachments

Attachment icon 2liste_des_folios.dxf 20.4 kb, 553 downloads since 2017-01-24 

Attachment icon 3liste_des_folios.dxf 20.71 kb, 517 downloads since 2017-01-24 

Attachment icon 5liste_des_folios.dxf 18.71 kb, 508 downloads since 2017-01-24 

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

16 (edited by patricknogara 2017-01-24 13:40:05)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

Hi Scorpio,

Initially exporting my project still crashed QET, but deleting Sheet 2 and adding new Folio Summary back into project fixed the problem.
Now all sheets exported without crash.

Thanks Scorpio.

SUGGESTION:  Would it be a good idea to add the %idx (or folio label) as a prefix to exported file names?

PS. How do you "enable folio label"?

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

PS. How do you "enable folio label"?

In settings -> config QET : Use labels of folio instead of their ID

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

patricknogara wrote:

SUGGESTION:  Would it be a good idea to add the %idx (or folio label) as a prefix to exported file names?

FYI, filename is a QLineEdit : you can modify name file before exporting.

Ok, added diagram position prefix in rev4870, fix unable naming files with the same names in the same time.

https://download.qelectrotech.org/qet/forum_img/dxf_foliolist_new7.png

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

DXF export export does not work, or have I not set up something?

Post's attachments

DXFExport.jpg, 486.62 kb, 1216 x 1917
DXFExport.jpg 486.62 kb, 470 downloads since 2018-03-12 

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

What your QET version?
[s]Have you tried with  black conductors?[/s]


Edit : color isn't the problem.

https://download.qelectrotech.org/qet/forum_img/polygon-dxf.png

Post's attachments

Attachment icon 1_lcd_4_data.dxf 80.85 kb, 453 downloads since 2018-03-13 

Attachment icon 3_geiger.dxf 66.52 kb, 444 downloads since 2018-03-13 

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

[size=4]QElectroTech V 0.60
Компиляция: GCC 7.3.0 - built with Qt 5.10.1 - run with Qt 5.10.1

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

I tried it. No difference.

Post's attachments

black.jpg, 440.76 kb, 1239 x 639
black.jpg 440.76 kb, 491 downloads since 2018-03-13 

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

result:((

Post's attachments

export_b.jpg, 113.84 kb, 1142 x 693
export_b.jpg 113.84 kb, 468 downloads since 2018-03-13 

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

You could send this folio project, here?

I saw no problem here with arduino example :
https://qelectrotech.org/forum/viewtopi … 7873#p7873

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

25 (edited by polygon13 2018-03-13 18:10:14)

Re: BUG?: Exporting to DXF - a "List of Folios" crashes QET

scorpio810 wrote:

What your QET version?
[s]Have you tried with  black conductors?[/s]


Edit : color isn't the problem.

Great! To me so(

Post's attachments

Attachment icon NEO-MED_black.qet 703.23 kb, 448 downloads since 2018-03-13