Open *.Dwg with Qcad Pro in FCAD

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Open *.Dwg with Qcad Pro in FCAD

Post by ragohix769 »

I have my copy of Qcad pro, I inserted the binary path of Qcad (tried too with dwg2dwg lib), but I cannot open any Dwg file in Fcad (ODA import works, but importing very badly). I have to use Qcad to open the Dwg (witch is opened generally speaking very well) convert it => *.dxf and then re-import all (but the import of the text and quotation is really not so good in Fcad).

It's there any tip or trick to make it working (open directly a Dwg in Freecad without converting it before using Qcad pro)?
OS: Ubuntu 20.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 39ed257eb4b59ae72ef9522d1d6c6ba886f8222f
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Italian/Italy (it_IT)
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Open *.Dwg with Qcad Pro in FCAD

Post by thomas-neemann »

ragohix769 wrote: Mon Jan 24, 2022 2:44 am ping

I suspect there is currently no good direct way. i have had good experiences with varicad viewer

https://forum.freecadweb.org/viewtopic. ... 52#p561352
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
dimitar
Posts: 229
Joined: Thu Jun 13, 2019 6:10 am
Contact:

Re: Open *.Dwg with Qcad Pro in FCAD

Post by dimitar »

Also curious about this. I've tried on Windows, set the importer to QCAD Pro in the import DWG settings, without setting a path, nothing. Then setting the path to the binary qcad, freecad then freezes, try to import then nothing. Then the dwg2dwg lib and also not working. Is there another file that the path needs to point to?
yorik wrote: ping
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26858 (Git)
Build type: Release
Branch: master
Hash: e209bc706d35121098f9bac779bc6b09c24ddd95
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Open *.Dwg with Qcad Pro in FCAD

Post by Roy_043 »

dimitar wrote: Mon Jan 24, 2022 8:26 amdwg2dwg lib
Lib? According to Import_Export_Preferences you should select an exe.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Open *.Dwg with Qcad Pro in FCAD

Post by Roy_043 »

ragohix769 wrote: Mon Jan 24, 2022 2:44 am any Dwg file
Post an example file.
User avatar
ragohix769
Posts: 565
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Open *.Dwg with Qcad Pro in FCAD

Post by ragohix769 »

thomas-neemann wrote: Mon Jan 24, 2022 7:26 am
ragohix769 wrote: Mon Jan 24, 2022 2:44 am ping

I suspect there is currently no good direct way. i have had good experiences with varicad viewer

https://forum.freecadweb.org/viewtopic. ... 52#p561352

There is, as Yorik said :-)
Anyway I like Qcad pro, I use it as my main DWG viewer for all Autocad files that they send me (sadly no one use an open format, this is a very big problem I our world) it's a very good 2d cad platform, it's also opensource and the support for the closed standard *.dwg cost really nothing (Qcad pro cost couple of bucks).
In the past I was using ODA converter, but with bad results. I have installed Librecad in my system but also there I cannot open any *.dwg file.

QCad pro can open pretty any *.dwg, but as said I have to convert it two times in *.dxf and there too for quotation, text and other thing then I have some problme when importing in FCad
Roy_043 wrote: Mon Jan 24, 2022 9:29 am
ragohix769 wrote: Mon Jan 24, 2022 2:44 am any Dwg file
Post an example file.
I cannot, because I have some *.dwg that other have sent me, these are their files.
But it's not a problem of the single file I presume, it's the problem that when you insert the path of Qcad pro installed, FCad freeze completely and/or he says that the file don't exits. You can test it with any *.dwg that you have.

Roy_043 wrote: Mon Jan 24, 2022 9:23 am
dimitar wrote: Mon Jan 24, 2022 8:26 amdwg2dwg lib
Lib? According to Import_Export_Preferences you should select an exe.
I'm with Linux, I have only binaries, not *.exe. In the properties you have to select the path of Qcad Pro, but it seems not working to import in Freecd directly via Qcad pro. Maybe there is some flag to activate on the importer, I don't know.
Last edited by ragohix769 on Mon Jan 24, 2022 11:09 am, edited 1 time in total.
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Open *.Dwg with Qcad Pro in FCAD

Post by thomas-neemann »

ragohix769 wrote: Mon Jan 24, 2022 10:31 am ...
QCad pro can open pretty any *.dwg,...
thank you for the confirmation. I will recommend qcad
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Open *.Dwg with Qcad Pro in FCAD

Post by yorik »

Normally, by pointing to the "dwg2dwg" utility, everything should "just works" transparently in FreeCAD.
Here are my settings (linux):
Screenshot from 2022-01-24 13-48-13.png
Screenshot from 2022-01-24 13-48-13.png (65.53 KiB) Viewed 6287 times
I understand you guys are on windows? There might be something that works differently... Let's try to debug

Can you check if any error message appears in the report window?
Other thing to test is with a file path that has no spaces or special characters in it, does it work any better?
the syntax of dwg2dwg is very simple, so one can also test in a terminal:
C:\path\to\...\dwg2dwg.exe -o "C:\path\to\some\file.dxf" "C:\path\to\some\file.dwg"
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Open *.Dwg with Qcad Pro in FCAD

Post by Roy_043 »

ragohix769 wrote: Mon Jan 24, 2022 10:31 am You can test it with any *.dwg that you have.
What I meant: I am interested in seeing a DWG that ODA cannot import properly.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Open *.Dwg with Qcad Pro in FCAD

Post by yorik »

Yes, my experience with ODA is that it's pretty good. In fact, I think that's the exact same component used by QCAD pro. Only its interface is annoying, while the one from qcad is silent
Post Reply