VRML export: fix a different arc to segment approx for NP holes and Plated holes.

This commit is contained in:
jean-pierre charras 2022-04-04 14:42:29 +02:00
parent ece9c45e95
commit dad31f50b7
1 changed files with 2 additions and 2 deletions

View File

@ -665,7 +665,7 @@ void EXPORTER_PCB_VRML::ExportVrmlViaHoles()
double maxSegLength = minSegLength*2.0;
m_holes.SetArcParams( nsides*2, minSegLength, maxSegLength );
m_plated_holes.SetArcParams( nsides, minSegLength, maxSegLength );
m_plated_holes.SetArcParams( nsides*2, minSegLength, maxSegLength );
m_holes.AddCircle( x, -y, hole_radius, true, true );
m_plated_holes.AddCircle( x, -y, hole_radius, true, false );
@ -698,7 +698,7 @@ void EXPORTER_PCB_VRML::ExportVrmlPadHole( PAD* aPad )
double maxSegLength = minSegLength*2.0;
m_holes.SetArcParams( nsides*2, minSegLength, maxSegLength );
m_plated_holes.SetArcParams( nsides, minSegLength, maxSegLength );
m_plated_holes.SetArcParams( nsides*2, minSegLength, maxSegLength );
bool pth = false;