Skip to content

[Gerber Formatter]: Packed coordinate '42000000' is too long for the format(2,5). #367

@chenzanyu

Description

@chenzanyu

PyGerber version: 3.0.0a3
my gerber file content:

G04 ================== begin FILE IDENTIFICATION RECORD ==================*
G04 Layout Name:  mb-dcdc-m22kw.brd*
G04 Film Name:    Outline*
G04 File Format:  Gerber RS274X*
G04 File Origin:  Cadence Allegro 23.1-P001*
G04 Origin Date:  Tue Jan 14 13:39:39 2025*
G04 *
G04 Layer:  BOARD GEOMETRY/DESIGN_OUTLINE*
G04 *
G04 Offset:    (0.0000 0.0000)*
G04 Mirror:    No*
G04 Mode:      Positive*
G04 Rotation:  0*
G04 FullContactRelief:  No*
G04 UndefLineWidth:     0.1000*
G04 ================== end FILE IDENTIFICATION RECORD ====================*
%FSLAX25Y25*MOMM*%
%IR0*IPPOS*OFA0.00000B0.00000*MIA0B0*SFA1.00000B1.00000*%
%ADD10C,.1*%
G75*
%LPD*%
G75*
G54D10*
G01X42000000Y31000000D02*
Y0D01*
X0D01*
Y31000000D01*
X42000000D01*
M02*

Metadata

Metadata

Assignees

Labels

compatibilityRequest for compatibility with some other tool / library versionenhancementNew feature or requestgerber-formatterIssue related to Gerber code formatterhelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions