QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.7.5
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Poul-Henning Kamp - 28.01.2015
Last edited by Andrew - 28.01.2015

FS#1175 - SVG import turns polylines into polygons

(I’m running on FreeBSD, but that was not an option in the selection for Operating System)

When importing a SVG file in version 3.7.5, it qcad turns polylines into polygons.

I’m attaching a trivial .SVG file showing this, it should *not* render as a rectangle,
but as a “rectangular upper case C”.

And many thanks for making good quality CAD software available to the FOSS community.

   _.svg (0.4 KiB)
Closed by  Andrew
28.01.2015 21:47
Reason for closing:  Fixed
Additional comments about closing:  

https://github.com/qcad/qcad/commit /efa909a142b9f4447b76e132e1a6f25d9e973ab c

Andrew commented on 28.01.2015 21:47

Quick fix available at:
https://raw.githubusercontent.com/qcad/qcad/master/scripts/ImportExport/SvgImporter/SvgImporter.js Replaces file scripts/ImportExport/SvgImporter/SvgImporter.js

Poul-Henning Kamp commented on 29.01.2015 08:30

Tested & works, thanks!

One detail you can add to the wishlist:

SVG's can provide width/height properties:

  <svg version="1.1"
      viewBox="0.0 0.0 1542.8 1196.0"
      width="6in" height="4.5in"

When they are present, it would be nice if the resolution dialogbox made use of them, but I can do the math myself so it's not important.


Available keyboard shortcuts


Task Details

Task Editing