diff --git a/utils/kicad2step/pcb/oce_utils.cpp b/utils/kicad2step/pcb/oce_utils.cpp index c4b1dc790e..8fa45cb040 100644 --- a/utils/kicad2step/pcb/oce_utils.cpp +++ b/utils/kicad2step/pcb/oce_utils.cpp @@ -52,6 +52,7 @@ #include #include +#include #include #include #include @@ -218,6 +219,7 @@ PCBMODEL::PCBMODEL() m_thickness = THICKNESS_DEFAULT; m_minx = 1.0e10; // absurdly large number; any valid PCB X value will be smaller m_mincurve = m_curves.end(); + BRepBuilderAPI::Precision( 1.0e-6 ); return; }