From 5a68077f60cc0b0cf9fec9a694b250419c880aef Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 4 Apr 2022 12:25:35 +0200 Subject: [PATCH] VRML exporter: make export faster by using SHAPE_POLY_SET::PM_FAST. --- pcbnew/exporters/export_vrml.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/exporters/export_vrml.cpp b/pcbnew/exporters/export_vrml.cpp index f64f654108..b5bfc7af2e 100644 --- a/pcbnew/exporters/export_vrml.cpp +++ b/pcbnew/exporters/export_vrml.cpp @@ -189,8 +189,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; @@ -221,7 +221,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 ); }