mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 00:21:31 +00:00
Trim VRML export layers to board outline.
Fixes https://gitlab.com/kicad/code/kicad/issues/14557
This commit is contained in:
parent
2c34a08bf1
commit
c682d11fa0
@ -426,6 +426,7 @@ void EXPORTER_PCB_VRML::ExportStandardLayers()
|
||||
|
||||
outlines.RemoveAllContours();
|
||||
m_board->ConvertBrdLayerToPolygonalContours( pcb_layer[lcnt], outlines );
|
||||
outlines.BooleanIntersection( m_pcbOutlines, SHAPE_POLY_SET::PM_FAST );
|
||||
outlines.Fracture( SHAPE_POLY_SET::PM_FAST );
|
||||
|
||||
ExportVrmlPolygonSet( vrmllayer[lcnt], outlines );
|
||||
|
Loading…
Reference in New Issue
Block a user