VRML exporter: make export faster by using SHAPE_POLY_SET::PM_FAST.

This commit is contained in:
jean-pierre charras 2022-04-04 12:25:35 +02:00
parent d05f5337ed
commit ece9c45e95
1 changed files with 3 additions and 3 deletions

View File

@ -193,8 +193,8 @@ void EXPORTER_PCB_VRML::ExportVrmlSolderMask()
outlines = m_pcbOutlines;
m_Pcb->ConvertBrdLayerToPolygonalContours( pcb_layer, holes );
outlines.BooleanSubtract( holes, SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
outlines.Fracture( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
outlines.BooleanSubtract( holes, SHAPE_POLY_SET::PM_FAST );
outlines.Fracture( SHAPE_POLY_SET::PM_FAST );
ExportVrmlPolygonSet( vrmllayer, outlines );
pcb_layer = B_Mask;
@ -225,7 +225,7 @@ void EXPORTER_PCB_VRML::ExportStandardLayers()
outlines.RemoveAllContours();
m_Pcb->ConvertBrdLayerToPolygonalContours( pcb_layer[lcnt], outlines );
outlines.Fracture( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
outlines.Fracture( SHAPE_POLY_SET::PM_FAST );
ExportVrmlPolygonSet( vrmllayer[lcnt], outlines );
}