DWG format support on LibreCAD -- any solution or plugin available? #351

Closed
ghost opened this Issue Nov 28, 2012 · 22 comments

Comments

Projects
None yet
9 participants
@ghost

ghost commented Nov 28, 2012

Dear Sir / Mdm,

Librecad is a project that I have been observing for close to two years, and apart from the observation that it doesn't support DWG format, that brings Autocad users on board with some ease, the user interface reminds me of a Autocad R12, R13, and R14 that I once came across years ago as a student..

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Jan 23, 2013

Well there is the LibreDWG project. I'm actually considering forking LibreCAD to add support for that library. I'm looking around in the code to get an understanding of it all.

DWG support is essential to attract adoption from the "pro" audience, my dad for example refuses to switch to anything unless it can import and export to DWG. That's just the way this industry is unfortunately. Hopefully in the future we can settle on an open standard for CAD, but right now supporting DWG as well as possible is the only way.

Well there is the LibreDWG project. I'm actually considering forking LibreCAD to add support for that library. I'm looking around in the code to get an understanding of it all.

DWG support is essential to attract adoption from the "pro" audience, my dad for example refuses to switch to anything unless it can import and export to DWG. That's just the way this industry is unfortunately. Hopefully in the future we can settle on an open standard for CAD, but right now supporting DWG as well as possible is the only way.

@Rallaz

This comment has been minimized.

Show comment Hide comment
@Rallaz

Rallaz Jan 24, 2013

Contributor

LibreCAD is a fork of QCAD CE and the code is licensed under GPL2 only. LibreDWG is under GPL3+ then both licenses are incompatibles.

Asked the original author does not want to change the original license.

To use LibreDWG not just a fork, you also have to rewrite all code with license GPL2 only

Contributor

Rallaz commented Jan 24, 2013

LibreCAD is a fork of QCAD CE and the code is licensed under GPL2 only. LibreDWG is under GPL3+ then both licenses are incompatibles.

Asked the original author does not want to change the original license.

To use LibreDWG not just a fork, you also have to rewrite all code with license GPL2 only

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Jan 24, 2013

Okay, well then we've established that the GPL is pure bs.

Why does that make it incompatible though? I don't see any conflict from writing code that interacts with the LibreDWG library and just lists LibreDWG as a dep. Can't the LibreCAD code be GPL2 while the lib is GPL3+ (I'm not familiar with the plus version). And isn't the GPL supposed to be forward compatible?

Okay, well then we've established that the GPL is pure bs.

Why does that make it incompatible though? I don't see any conflict from writing code that interacts with the LibreDWG library and just lists LibreDWG as a dep. Can't the LibreCAD code be GPL2 while the lib is GPL3+ (I'm not familiar with the plus version). And isn't the GPL supposed to be forward compatible?

@atorrey

This comment has been minimized.

Show comment Hide comment
@atorrey

atorrey Jan 24, 2013

This might be something worth discussing with the FSF with exactly which versions of the licensing is being used, however there are two variants - GPL 2.0 or later, which can be used w/ GPL 3.0. since it's later, and GPL 2.0 ONLY which is NOT compatible with GPL 3.0. This is (as I understand it) a deliberate consequence of the language changes in 3.0 intended to prevent the "Tivoization" of code...

Now if the two programs are not "combined" but just have a "glue layer" between them to allow the LibreDWG library to be used as an I/O converter, then it MIGHT be legit, but I'm not sure...

(Note, I am an FSF member, but NOT an expert on license mixing...)

atorrey commented Jan 24, 2013

This might be something worth discussing with the FSF with exactly which versions of the licensing is being used, however there are two variants - GPL 2.0 or later, which can be used w/ GPL 3.0. since it's later, and GPL 2.0 ONLY which is NOT compatible with GPL 3.0. This is (as I understand it) a deliberate consequence of the language changes in 3.0 intended to prevent the "Tivoization" of code...

Now if the two programs are not "combined" but just have a "glue layer" between them to allow the LibreDWG library to be used as an I/O converter, then it MIGHT be legit, but I'm not sure...

(Note, I am an FSF member, but NOT an expert on license mixing...)

@Rallaz

This comment has been minimized.

Show comment Hide comment
@Rallaz

Rallaz Jan 24, 2013

Contributor

atorrey, you are right.
in my comment "GPL 2.0 or later" == "GPL2+"
A posibility is write a converter using LibreDWG (GPL 3.0 or later) + libdxfrw (GPL 2.0 or later)
then call it transparently form LibreCAD to make the conversion and load it.

the problem is that it need more contributors

Contributor

Rallaz commented Jan 24, 2013

atorrey, you are right.
in my comment "GPL 2.0 or later" == "GPL2+"
A posibility is write a converter using LibreDWG (GPL 3.0 or later) + libdxfrw (GPL 2.0 or later)
then call it transparently form LibreCAD to make the conversion and load it.

the problem is that it need more contributors

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Jan 24, 2013

Well afaik as long as the software doesn't statically link to the GPL library it should be fine. So even a proprietary software could have a glue layer without violating the GPL.

Should probably be discussed with the FSF like you said though!

Well afaik as long as the software doesn't statically link to the GPL library it should be fine. So even a proprietary software could have a glue layer without violating the GPL.

Should probably be discussed with the FSF like you said though!

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Jan 26, 2013

Okay. And people wonder why I have a problem with the GPL.

I still don't see why it wouldn't be allowed to link dynamically to the library considering that proprietary software can do that.

Okay. And people wonder why I have a problem with the GPL.

I still don't see why it wouldn't be allowed to link dynamically to the library considering that proprietary software can do that.

@TNick

This comment has been minimized.

Show comment Hide comment
@TNick

TNick Mar 18, 2013

Contributor

Rallaz has now a branch here addressing this issue. This forum thread will track the development.

Contributor

TNick commented Mar 18, 2013

Rallaz has now a branch here addressing this issue. This forum thread will track the development.

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Mar 18, 2013

Awesome @Rallaz. You go!

Awesome @Rallaz. You go!

@atorrey

This comment has been minimized.

Show comment Hide comment
@atorrey

atorrey Mar 25, 2013

I attended the FSF's LibrePlanet conference this past weekend, and talked with some of their folks about this license incompatibility issue, and how it seemed that something was wrong with the picture if a GPL license problem was causing issues for a free software project...

I got agreement that it was a significant issue and that it was something the FSF would be willing to discuss making changes on their end to fix, but that there seems to have been some missed communications or other confusion about this which led to the issue not being handled properly... At least as I understand it, they were going to talk about fixing the license (presumably by changing it to be LGPL v3 instead of GPL v3 which would solve the use problem) and then someone said there wasn't any interest, so the effort got dropped.

The suggestion was that Rallaz or whoever the official "maintainer" of LibreCAD is should get back in touch with John Sullivan (johnsfsf.org) and Joshua Gay (Jgayfsf.org) if there is any interest in using some or all of the LibreDWG code to discuss trying again to resolve the issue.

Seems to me like this couldn't hurt, as presumably having some code to start from is better than not having it...

I'm sending a copy of this to post to John and Josh, but I'm not wanting to get involved in any negotiations beyond this, as I feel that doing so would just add confusion. I'd just like to see this resolved in a way that makes everyone happier than the current situation does, and wanted to say that the FSF seems willing to look at it further.

atorrey commented Mar 25, 2013

I attended the FSF's LibrePlanet conference this past weekend, and talked with some of their folks about this license incompatibility issue, and how it seemed that something was wrong with the picture if a GPL license problem was causing issues for a free software project...

I got agreement that it was a significant issue and that it was something the FSF would be willing to discuss making changes on their end to fix, but that there seems to have been some missed communications or other confusion about this which led to the issue not being handled properly... At least as I understand it, they were going to talk about fixing the license (presumably by changing it to be LGPL v3 instead of GPL v3 which would solve the use problem) and then someone said there wasn't any interest, so the effort got dropped.

The suggestion was that Rallaz or whoever the official "maintainer" of LibreCAD is should get back in touch with John Sullivan (johnsfsf.org) and Joshua Gay (Jgayfsf.org) if there is any interest in using some or all of the LibreDWG code to discuss trying again to resolve the issue.

Seems to me like this couldn't hurt, as presumably having some code to start from is better than not having it...

I'm sending a copy of this to post to John and Josh, but I'm not wanting to get involved in any negotiations beyond this, as I feel that doing so would just add confusion. I'd just like to see this resolved in a way that makes everyone happier than the current situation does, and wanted to say that the FSF seems willing to look at it further.

@thekyriarchy

This comment has been minimized.

Show comment Hide comment
@thekyriarchy

thekyriarchy Apr 18, 2013

Sorry, this issue didn't show up before I filed #392

I am on the FSF campaigns team and found out about this from the LibreGraphicsWorld article linked above.

@Rallaz Can you show me the correspondence from RibbonSoft which declined to relicense?

Sorry, this issue didn't show up before I filed #392

I am on the FSF campaigns team and found out about this from the LibreGraphicsWorld article linked above.

@Rallaz Can you show me the correspondence from RibbonSoft which declined to relicense?

@thekyriarchy

This comment has been minimized.

Show comment Hide comment
@thekyriarchy

thekyriarchy Jun 3, 2013

It looks like the new QCAD community edition is being updated and now uses GPLv3+ which means that LibreDWG is compatible!

It looks like the new QCAD community edition is being updated and now uses GPLv3+ which means that LibreDWG is compatible!

@Baltix

This comment has been minimized.

Show comment Hide comment
@Baltix

Baltix Jun 25, 2013

QCAD version 3.1 has been released as open source (GPLv3)!
QCAD 3.1 adds various improvements and new features to QCAD but probably the most important news today is that starting with QCAD version 3.1, QCAD is now available under the GPLv3 (open source software) as a free download to anyone.
Published on Friday, 14 June 2013 15:32

See http://qcad.org for more info

Baltix commented Jun 25, 2013

QCAD version 3.1 has been released as open source (GPLv3)!
QCAD 3.1 adds various improvements and new features to QCAD but probably the most important news today is that starting with QCAD version 3.1, QCAD is now available under the GPLv3 (open source software) as a free download to anyone.
Published on Friday, 14 June 2013 15:32

See http://qcad.org for more info

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Jun 27, 2013

Oh awesome!

Oh awesome!

@thekyriarchy

This comment has been minimized.

Show comment Hide comment
@thekyriarchy

thekyriarchy Jul 1, 2013

Could LibreCad be rebased on the new QCAD community edition then? @dxli @Rallaz

Could LibreCad be rebased on the new QCAD community edition then? @dxli @Rallaz

@Rallaz

This comment has been minimized.

Show comment Hide comment
@Rallaz

Rallaz Apr 10, 2015

Contributor

LibreCAD can now open dwg files

Contributor

Rallaz commented Apr 10, 2015

LibreCAD can now open dwg files

@Rallaz Rallaz closed this Apr 10, 2015

@BitPuffin

This comment has been minimized.

Show comment Hide comment
@BitPuffin

BitPuffin Apr 11, 2015

Great!

This should really really be bragged about on the homepage and maybe even in the readme on github. Because trust me pretty much any architect or whatever out there will look at a software and decide whether it's worth trying or not based on if it supports DWG or not :)

Great!

This should really really be bragged about on the homepage and maybe even in the readme on github. Because trust me pretty much any architect or whatever out there will look at a software and decide whether it's worth trying or not based on if it supports DWG or not :)

@seiferflo

This comment has been minimized.

Show comment Hide comment
@seiferflo

seiferflo Apr 17, 2015

@Rallaz I'm sorry but how are we supposed to do that?
I'm probably mistaken but I still haven't found how to open a dwg in LibreCAD 2.0.7

@Rallaz I'm sorry but how are we supposed to do that?
I'm probably mistaken but I still haven't found how to open a dwg in LibreCAD 2.0.7

@kromanenko

This comment has been minimized.

Show comment Hide comment
@kromanenko

kromanenko Apr 17, 2015

This feature is not included into binary release yet. You can build fresh LibreCAD from sources.

This feature is not included into binary release yet. You can build fresh LibreCAD from sources.

@Rallaz

This comment has been minimized.

Show comment Hide comment
@Rallaz

Rallaz Apr 17, 2015

Contributor

In binary, to install, only for linux
daily buid for ubuntu:
https://launchpad.net/~librecad-dev/+archive/ubuntu/librecad-daily
or for openSuse - Fedora:
http://download.opensuse.org/repositories/home:/Rallaz/

Contributor

Rallaz commented Apr 17, 2015

In binary, to install, only for linux
daily buid for ubuntu:
https://launchpad.net/~librecad-dev/+archive/ubuntu/librecad-daily
or for openSuse - Fedora:
http://download.opensuse.org/repositories/home:/Rallaz/

@dxli

This comment has been minimized.

Show comment Hide comment
@dxli

dxli Apr 17, 2015

Member

please note: daily builds for ubuntu has been broken for months. a maintainer is needed.

Member

dxli commented Apr 17, 2015

please note: daily builds for ubuntu has been broken for months. a maintainer is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment