SVG file export?

Please use this forum to post feedback and suggestions related to QCAD Professional.

Moderator: andrew

SVG file export?

Postby ttrw » Thu Feb 28, 2008 10:58 pm

Michael, would adding SVG export to QCad be a real chore?

regards,

Tom
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK

Postby ttrw » Fri Feb 29, 2008 9:33 am

Not to worry. I've just been told why PDF is the better file format to support. :)
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK

Postby andrew » Fri Feb 29, 2008 11:41 pm

Note that QCad 2.1.6.4 comes with an SVG export function. It's not meant for further processing but for presentation only (everything is broken up in lines). We use SVG export in connection with XSL-FO / Apache Fop here.
User avatar
andrew
Site Admin
 
Posts: 2586
Joined: Fri Mar 30, 2007 6:07 am

Postby ttrw » Sat Mar 01, 2008 10:23 am

WOOHOO!!!

That's great news!
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK

Postby ttrw » Sat Mar 01, 2008 11:59 am

andrew wrote: We use SVG export in connection with XSL-FO / Apache Fop here.


Actually SVG export (with QCad of course) makes an excellent front end for Cheetah3D, a solid modeller package for Mac OS X. I and a few others are hoping that Martin Wengenmayer, C3D's developer will make C3D more architecturally friendly (at the moment, it C3D is better suited to game modelling).

I've already got 2 architectural practices, to switch from AutoCAD to QCad :D
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK

Postby ttrw » Sun Mar 02, 2008 10:48 am

Because I started this thread, I'll move over here (from; http://www.ribbonsoft.com/rsforum/viewt ... 2&start=15)

Opening up both SVG files (QCad, and Intaglio) reveals this;

QCad;

<?xml version="1.0" standalone="yes"?>

<svg width="112mm" height="82mm" viewBox="0 0 112 82" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<line x1="1.000000" y1="81.000000" x2="81.000000" y2="81.000000" style="stroke:rgb(0,0,0);stroke-width:0.250000;stroke-linecap:round"/>
<line x1="1.000000" y1="21.000000" x2="1.000000" y2="81.000000" style="stroke:rgb(0,0,0);stroke-width:0.250000;stroke-linecap:round"/>
<path d="M81.000000,61.000000 A30.000000,30.000000 0 1,0 52.715729,21.000000" style="stroke:rgb(0,0,0);stroke-width:0.250000;stroke-linecap:round;fill:none" />
<line x1="52.715729" y1="21.000000" x2="1.000000" y2="21.000000" style="stroke:rgb(0,0,0);stroke-width:0.250000;stroke-linecap:round"/>
<line x1="81.000000" y1="81.000000" x2="81.000000" y2="61.000000" style="stroke:rgb(0,0,0);stroke-width:0.250000;stroke-linecap:round"/>
</svg>



And Intaglio;


<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><!--Generated by Intaglio, www.PurgatoryDesign.com--><svg version="1.1" viewBox="35,143,470,362" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="#fff" fill-opacity="0.01" stroke="#000" d="M36,252 L253.276,252 L253.292,252.002 C263.232,183.128,327.123,135.352,395.998,145.292 C457.991,154.239,504,207.365,504,270 L504,270 C504,332.635,457.991,385.761,395.998,394.708 L396,504 L36,504 L36,252 Z"></path></svg>


There's quite a difference as you see!

Googling this reveals some interesting things;

http://www.xmlhack.com/read.php?item=1865&v=1

http://forums.macrumors.com/showthread.php?p=5051184

It seems kind of strange that Apple are so anti SVG (although I can understand why!). But right now an alternative to DXF is more attractive than ever before.
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK

Postby andrew » Sun Mar 02, 2008 8:28 pm

Those two SVG documents are both correct. There is more than one way to store a line in SVG. Apparently the way how QCad does it is not supported by Cheetah.
User avatar
andrew
Site Admin
 
Posts: 2586
Joined: Fri Mar 30, 2007 6:07 am

Postby ttrw » Sun Mar 02, 2008 9:57 pm

Yes this is true (for now). I'll have to ask for some change to C3D's SVG import standard ;) :D
ttrw
Full Member
 
Posts: 87
Joined: Wed Apr 18, 2007 8:59 pm
Location: Birmingham, UK


Return to QCAD 2.1/2.2 Suggestions and Feedback

Who is online

Users browsing this forum: No registered users and 1 guest