Index: export_openscad.c =================================================================== --- export_openscad.c (revision 17205) +++ export_openscad.c (revision 17206) @@ -502,7 +502,7 @@ length = pcb_distance(x1, y1, x2, y2); angle = atan2((double)y2-y1, (double)x2-x1); - if (gc->cap == Square_Cap) + if (gc->cap == pcb_cap_square) cap_style = "sc"; else cap_style = "rc";