Browse Source

pcbnew: Fix export of edge.cuts layer to STEP format

Fixes: lp:1820841
* https://bugs.launchpad.net/kicad/+bug/1820841
pull/15/head
Ian McInerney 7 years ago
committed by Seth Hillbrand
parent
commit
55261eb223
  1. 9
      utils/kicad2step/pcb/kicadmodule.cpp

9
utils/kicad2step/pcb/kicadmodule.cpp

@ -318,12 +318,9 @@ bool KICADMODULE::ComposePCB( class PCBMODEL* aPCB, S3D_RESOLVER* resolver,
KICADCURVE lcurve = *i;
if( LAYER_TOP == m_side )
{
lcurve.m_start.y = -lcurve.m_start.y;
lcurve.m_end.y = -lcurve.m_end.y;
lcurve.m_angle = -lcurve.m_angle;
}
lcurve.m_start.y = -lcurve.m_start.y;
lcurve.m_end.y = -lcurve.m_end.y;
lcurve.m_angle = -lcurve.m_angle;
if( m_rotation < -dlim || m_rotation > dlim )
{

Loading…
Cancel
Save