Skip to content

Rendering edge cuts from KiCAD 5.x fails with "terminate called after throwing an instance of 'boost::numeric::positive_overflow'" #511

Description

@proffalken

D1MiniGrove.zip

Please fill this out:

pcb2gcode version (run pcb2gcode --version to see this):

2.2.1
Git commit: latest
Boost: 107500
Gerbv: 2.6A
Geos: 3.8.1

What did you try (include command-line arguments):

I've exported my plots from KiCAD 5.x making sure that "gerber2" is switched off, however when I run the command, it causes a boost overflow and the gcode is not rendered.

Command:

pcb2gcode --back=D1MiniGSR/D1MiniGSR-B_Cu.gbr --drill=D1MiniGSR/D1MiniGSR.drl --front=D1MiniGSR/D1MiniGSR-F_Cu.gbr --outline=D1MiniGSR/D1MiniGSR-Edge_Cuts.gbr --metric=true --metricoutput=true --mirror-axis=0.0000 --nog64=false --optimise=0.0000 --tile-x=1 --tile-y=1 --tolerance=0.0100 --zchange=10.0000 --zchange-absolute=false --zero-start=true --zsafe=5.0000 --extra-passes=0 --mill-feed=600 --mill-speed=10000 --offset=0.1000 --voronoi=false --zwork=-0.0500 --drill-feed=1000 --drill-side=auto --drill-speed=10000 --milldrill=false --nog81=false --nog91-1=false --onedrill=false --zdrill=-2.5000 --bridges=0.5000 --bridgesnum=2 --cut-feed=600 --cut-infeed=10.0000 --cut-side=auto --cut-speed=10000 --cut-vertfeed=60 --cutter-diameter=3.0000 --fill-outline=true --zbridges=-0.6000 --zcut=-2.5000

What happened:

Importing front side... DONE.
Importing back side... DONE.
Importing outline... 
** (process:243716): WARNING **: 08:15:55.581: Most likely found a RS-274D file...trying to open anyways

DONE.
Processing input files... terminate called after throwing an instance of 'boost::numeric::positive_overflow'
  what():  bad numeric conversion: positive overflow
Aborted (core dumped)

What did you expect to happen:

SVG/GCode to be rendered

Please attach your input files and relevant output files and images. Don't forget to include your millproject file and gerbers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions