Page 1 of 1

SVG: Y-ordinates inverted ?

Posted: 27 Jan 2006, 18:46
by margat
I downloaded CAD Import and I tried to convert this svg file:

Code: Select all

<?xml version="1.0" standalone="no"?>
<!--DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"-->
<svg id="ProfiloFCL" width="20cm" height="20cm" viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" >

	<line stroke="black" stroke-width="2" x1="0" y1="20" x2="100" y2="20" />
	<line stroke="black" stroke-width="2" x1="20" y1="0" x2="20" y2="100" />

</svg>
Result file is Y-axis inverted!

regards
Marco Gatto

Posted: 01 Feb 2006, 19:23
by support
Dear Marco Gatto,

Thank you for the question.

Coordinate system in SVG format is different from AutoCAD DWG/DXF.
In SVG's coordinate system axis OY is directed downwards. This fact must be taken into account.

Sergey.

please post questions to the forum or write to support@cadsofttools.com