Index: 07_io/3_1_export_openscad/index.html =================================================================== --- 07_io/3_1_export_openscad/index.html (revision 38093) +++ 07_io/3_1_export_openscad/index.html (revision 38094) @@ -102,3 +102,26 @@

If there are multiple openscad-origin objects present on the board, one is picked randomly. + +

7.2.1.6 outline and cutouts

+

+Board outline is either implicit or explicitly drawn on a boundary layer. +In the second case, the outline is the centerline of the first closed +loop of lines and arcs drawn on a boundary or mech layer. A closed loop means +the endpoints of objects must match (using a reasonably large grid and object +snap makes that easy) and there are no other overlaps or junctions. The first +loop means the loop that contains the top-left boundary object in top view. +That means if the drawing has multiple islands (boards) drawn, only the top-left +island is exported. +

+When cutouts are enabled (on by default), any further layer objects on boundary +layers ("outline" layers and "slot" layers; corresponding layer group +types: boundary and mech) that are within the outline loop are considered. Only +line and arc objects participate. Objects on the boundary ("outline") layer +are assumed to be centerline-specified cutouts, line/arc thickness ignored. +Objects on mech ("slot") layers are exported as cutouts with polygon +approximation of their true shape (with thickness and typically round end cap). +

+Drilled holes and slots of padstacks are always exported. +

+There is no difference in rendering of plated and unplated holes/slots/cutouts.