Menu

#201 On save, direction of arc is forgotten.

v1.0 (example)
closed-fixed
nobody
None
5
2016-02-08
2016-01-16
Mitch Davis
No

I have some arcs that are in the clockwise direction (G02). If I ask gerbv to save out this file, it changes to G03 (counter-clockwise). So the resulting gerber is broken.

Here's my input gerber:

---- 8< -----
G75
G70

%OFA0B0%
%FSLAX25Y25
%
%IPPOS%
%LPD
%
%AMOC8
5,1,8,0,0,1.08239X$1,22.5

%
%ADD10C,0.00100%
D10

G01X-108110Y0662935D02
G02X-088425Y0682620I0019685J0000000D01

M02*
---- 8< -----

And here's the output, after saving it:
---- 8< -----
G04 This is an RS-274x file exported by *
G04 gerbv version 2.6A *
G04 More information is available about gerbv at *
G04 http://gerbv.geda-project.org/ *
G04 --End of header info--
%MOIN
%
%FSLAX34Y34%
%IPPOS
%
G04 --Define apertures--
%ADD10C,0.0010
%
G04 --Start main section--
G54D10

G01X-010811Y0066294D02
G75

G03X-008842Y0068262I0001968J0000000D01
M02

---- 8< -----

The G02 (CW) has changed to G03 (CCW).

This is with the latest source from git.geda-project.org

Thanks!

Discussion

  • Sergey Alyoshin

    Sergey Alyoshin - 2016-02-08
    • status: open --> closed-fixed
     
  • Sergey Alyoshin

    Sergey Alyoshin - 2016-02-08

    Should be fixed in git commit 0fe6a700b9727eac5dc67812dadb3c082080a7d8

     

Log in to post a comment.

MongoDB Logo MongoDB