Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Rabindra
Newbie Member
Posts: 9
Joined: Thu Oct 06, 2016 6:16 am

Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Rabindra » Thu Nov 03, 2016 6:28 am

Sir,
Can you help me regarding the following problem
When i exported freecad drawing file as Dxf. and open this dxf. file in Qcad.
Than hidden lines are generated in Qcad.
Here in attachment i marked all those splines as indicated in arrow mark in Qcad_Draw file.
Is there any way to avoid this kind of situation?

Best regards,
R.Kumar
Attachments
Freecad_Draw.png
Freecad_Draw.png (242.77 KiB) Viewed 4137 times
Qcad_Draw.png
Qcad_Draw.png (197.47 KiB) Viewed 4137 times

User avatar
andrew
Site Admin
Posts: 4969
Joined: Fri Mar 30, 2007 6:07 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby andrew » Thu Nov 03, 2016 8:17 am

QCAD loads and displays the DXF file as it is saved on disk. If there are any unwanted entities, they are present in the DXF file. I.e. Freecad in this case exports the DXF file as it is displayed by QCAD.

Rabindra
Newbie Member
Posts: 9
Joined: Thu Oct 06, 2016 6:16 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Rabindra » Thu Nov 03, 2016 9:33 am

Sir,
Sorry to say i could not get the thing?

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 1707
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Husky » Fri Nov 04, 2016 12:16 am

Hi R.Kumar - would it be possible to provide an example drawing from FreeCad for us?

Another question: Is this particular drawing designed with FreeCad?
Work smart, not hard: QCad Pro

Rabindra
Newbie Member
Posts: 9
Joined: Thu Oct 06, 2016 6:16 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Rabindra » Fri Nov 04, 2016 10:37 am

Sir,
Here i ataached Qcad file which has been exported directly from freecad drawing file.
Regards,
R.Kumar
Attachments
DD1.tar.gz
(1.1 MiB) Downloaded 63 times

User avatar
andrew
Site Admin
Posts: 4969
Joined: Fri Mar 30, 2007 6:07 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby andrew » Fri Nov 04, 2016 10:45 am

Thanks for the file.

Again, I can confirm that QCAD is showing exactly what Freecad has exported. Freecad does not clip or remove those hidden parts.

Rabindra
Newbie Member
Posts: 9
Joined: Thu Oct 06, 2016 6:16 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Rabindra » Fri Nov 04, 2016 11:09 am

Sir,
Whetever i shown by indicating arrow mark where the inner line should not come.
But it is there in Qcad. I already posted that freecad image file where it is showing perfectly.

User avatar
andrew
Site Admin
Posts: 4969
Joined: Fri Mar 30, 2007 6:07 am

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby andrew » Fri Nov 04, 2016 11:18 am

I'm not sure how I can explain this any better.

Freecad exports its drawing to the DXF format. This means that it stores all lines, arcs, etc. of the Freecad drawing into a DXF file. This export process in Freecad is not perfect and it makes some mistakes. Namely, it also exports segments that should not be exported because they should be invisible.

In other words: the problem is on the Freecad side and not on the QCAD side. It's a limitation of Freecad DXF export. It is not possible to fix this problem in QCAD, since it is a problem in Freecad and not in QCAD.

You can verify this by loading the DXF file into any other application that can read DXF. The DXF drawing will be shown exactly the same as in QCAD.

I hope this helps you to understand what is going on. Perhaps you can contact the Freecad developers and ask if they intend to improve their export feature.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 1707
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Regarding '' How to avoid Hidden line in Qcad while importing Dxf from Freecad''

Postby Husky » Fri Nov 04, 2016 10:40 pm

Hi R.Kumar - everything what Andrew said is absolutely correct! The Problem exist not on the QCAD side - it exist on the FreeCad side which is not able to provide a proper drawing export.

Here an example which is done with an other 3D Programm (Freeware!) + QCAD

In this program I have the option to tell the 3D Program how to export the Drawing:

Husky-2016.11.04-01.png
Husky-2016.11.04-01.png (8.21 KiB) Viewed 4091 times


If I use this options to export my 3D Drawing ...

Husky-2016.11.04-02.png
Husky-2016.11.04-02.png (29.82 KiB) Viewed 4091 times


... I get an extra Layer for invisible lines ...

Husky-2016.11.04-07.png
Husky-2016.11.04-07.png (36.07 KiB) Viewed 4091 times


... if I turn the visibility of this Layer off or delete this Layer in QCAD the Hidden Entities are gone

Husky-2016.11.04-08.png
Husky-2016.11.04-08.png (30.67 KiB) Viewed 4091 times


I assume that is what you are looking for but I do NOT think that is currently possible with FreeCad!
Work smart, not hard: QCad Pro


Return to “QCAD Community Edition”

Who is online

Users browsing this forum: No registered users and 2 guests