Skip to content

SVG files are clipped, and board dimensions incorrect, when gerber contains arcs #784

@jubilee4321

Description

@jubilee4321

The dimensions of this board in the ngc file are approx. 60mm x 60mm, the output reports 44.1mm x 44.1mm. The SVG files are clipped to the smaller dimension.

millproject

zsafe=2
zchange=11
cutter-diameter=2.0
zcut=-2.0
cut-feed=200
cut-infeed=1.0
cut-speed=2000
outline=arc-svg.gbr
outline-output=arc-svg.ngc
metric=true
metricoutput=true

gerber

%FSLAX46Y46*%
%MOMM*%
%LPD*%
G01*
%ADD10C,0.100000*%
D10*
X-20000000Y-20000000D02*
G75*
G02*
Y20000000I20000000J20000000D01*
X20000000I20000000J-20000000D01*
Y-20000000I-20000000J-20000000D01*
X-20000000I-20000000J20000000D01*
M02*

traced_outline.svg

Image
console

$ pcb2gcode --version
2.5.0
Git commit: e45a6df9e11ff568e1657f20f4f3db5b5f44c470
Boost: 108300
Gerbv: 2.10.0
Geos: Not installed

$ pcb2gcode 
Importing front side... not specified.
Importing back side... not specified.
Importing outline... DONE.
Processing input files... Some nearly-connected lines in the gerber input have been adjusted to properly connect
DONE.
Exporting outline... DONE. (Height: 44.1mm Width: 44.1mm) The board should be cut from the FRONT side. 
Importing drill... not specified.
END.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions