Index: export_openscad.c =================================================================== --- export_openscad.c (revision 30977) +++ export_openscad.c (revision 30978) @@ -66,9 +66,9 @@ typedef struct rnd_hid_gc_s { - pcb_core_gc_t core_gc; + rnd_core_gc_t core_gc; rnd_hid_t *me_pointer; - pcb_cap_style_t cap; + rnd_cap_style_t cap; int width; } rnd_hid_gc_s; @@ -453,7 +453,7 @@ { } -static void openscad_set_line_cap(rnd_hid_gc_t gc, pcb_cap_style_t style) +static void openscad_set_line_cap(rnd_hid_gc_t gc, rnd_cap_style_t style) { gc->cap = style; } @@ -503,7 +503,7 @@ length = rnd_distance(x1, y1, x2, y2); angle = atan2((double)y2-y1, (double)x2-x1); - if (gc->cap == pcb_cap_square) + if (gc->cap == rnd_cap_square) cap_style = "sc"; else cap_style = "rc";