Scaling from hpg to svg

Discuss and ask questions about ABViewer.

Moderators: SDS, support, admin

Post Reply
guya
Posts: 2
Joined: 18 Mar 2009, 20:10

Scaling from hpg to svg

Post by guya » 18 Mar 2009, 20:31

When doing a convert from hpgl file to svg the scaling seems to go crazy.

<?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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65535 65535" >
<title>Export to SVG</title>
<desc>Generated by CADtoSVG Version 1.0: 18/03/2009 12:27:09</desc>
<line x1="324" y1="57544" x2="2076" y2="57544" style="stroke:#FF0000; fill:None;"/>
<line x1="324" y1="22499" x2="2076" y2="22499" style="stroke:#FF0000; fill:None;"/>
<line x1="37122" y1="57544" x2="37122" y2="59296" style="stroke:#FF0000; fill:None;"/>
<line x1="2076" y1="57544" x2="2076" y2="59296" style="stroke:#FF0000; fill:None;"/>
<line x1="2076" y1="58692" x2="18276" y2="58692" style="stroke:#FF0000; fill:None;"/>
<line x1="37122" y1="58692" x2="20922" y2="58692" style="stroke:#FF0000; fill:None;"/>
<polyline points="18889,58447 19082,58254 19082,59130 " style="stroke:#FF0000; fill:None;"/>
<polyline points="19713,58683 19713,58648 19704,58561 19695,58517 19678,58482 19669,58447 19651,58385 " style="stroke:#FF0000; fill:None;"/>
<polyline points="19651,58385 19634,58342 19625,58324 19608,58298 19590,58280 19564,58263 19529,58254 19520,58254 19502,58254 19467,58263 19441,58280 19424,58298 19406,58324 19397,58342 19380,58385 19362,58447 19353,58482 19345,58517 " style="stroke:#FF0000; fill:None;"/>
<polyline points="19345,58517 19327,58561 19318,58648 19318,58683 19318,58692 19318,58727 19327,58815 19345,58858 19353,58893 19362,58929 19380,58990 19397,59034 19406,59051 19424,59077 19441,59095 19467,59121 19502,59130 19520,59130 19529,59130 19564,59121 " style="stroke:#FF0000; fill:None;"/>
<polyline points="19564,59121 19590,59095 19608,59077 19625,59051 19634,59034 19651,58990 19669,58929 19678,58893 19695,58858 19704,58815 19713,58727 19713,58692 19713,58683 " style="stroke:#FF0000; fill:None;"/>
<polyline points="20335,58683 20335,58648 20326,58561 20317,58517 20308,58482 20300,58447 20282,58385 20256,58342 " style="stroke:#FF0000; fill:None;"/>
<polyline points="20256,58342 20247,58324 20230,58298 20212,58280 20186,58263 20151,58254 20142,58254 20133,58254 20089,58263 20063,58280 20046,58298 20028,58324 20019,58342 20002,58385 19984,58447 19976,58482 19967,58517 19958,58561 " style="stroke:#FF0000; fill:None;"/>
<polyline points="19958,58561 19949,58648 19949,58683 19949,58692 19949,58727 19958,58815 19967,58858 19976,58893 19984,58929 20002,58990 20019,59034 20028,59051 20046,59077 20063,59095 20089,59121 20133,59130 20142,59130 20151,59130 20186,59121 20212,59095 " style="stroke:#FF0000; fill:None;"/>
<polyline points="20212,59095 20230,59077 20247,59051 20256,59034 20282,58990 20300,58929 20308,58893 20317,58858 20326,58815 20335,58727 20335,58692 20335,58683 " style="stroke:#FF0000; fill:None;"/>
<polyline points="2076,58692 3303,58885 3303,58490 2076,58692 " style="stroke:#FF0000; fill:None;"/>
<line x1="3303" y1="58876" x2="3259" y2="58876" style="stroke:#FF0000; fill:None;"/>
<line x1="3303" y1="58876" x2="3259" y2="58876" style="stroke:#FF0000; fill:None;"/>
<line x1="3303" y1="58858" x2="3145" y2="58858" style="stroke:#FF0000; fill:None;"/>
<line x1="3303" y1="58841" x2="3031" y2="58841" style="stroke:#FF0000; fill:None;"/>
<line x1="3303" y1="58823" x2="2917" y2="58823" style="stroke:#FF0000; fill:None;"/>



this is using a trial version so i do not know if this is the reason.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Scaling from hpg to svg

Post by support » 19 Mar 2009, 13:06

Hello!

Can you please send us to support@cadsofttools.com your source HPGL file?

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

guya
Posts: 2
Joined: 18 Mar 2009, 20:10

Re: Scaling from hpg to svg

Post by guya » 19 Mar 2009, 13:10

i have done

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Scaling from hpg to svg

Post by support » 19 Mar 2009, 16:24

Thank you for the file we have recieved it.

ABViewer allows "1:1" converting for:
  • CAD file to DXF file format
  • CAD file to HPGL file format
"1:1" converting HPGL to SVG file format is unavailable for the moment.
We will inform you if the situation is changed.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply