Index: export_openscad.c =================================================================== --- export_openscad.c (revision 37705) +++ export_openscad.c (revision 37706) @@ -125,9 +125,13 @@ RND_HATT_BOOL, 0, 0, {1, 0, 0}, 0}, #define HA_drill 6 + {"fs", "if greater than zero, set $fs to this value and $fa to 1; arc length of curve approximation in mm", + RND_HATT_REAL, 0, 0, {0, 0, 0}, 0}, +#define HA_fs 7 + {"cam", "CAM instruction", RND_HATT_STRING, 0, 0, {0, 0, 0}, 0}, -#define HA_cam 7 +#define HA_cam 8 }; @@ -360,6 +364,9 @@ return; } + if (options[HA_fs].dbl > 0) + fprintf(f, "$fs = %f;\n$fa = 1;\n\n", options[HA_fs].dbl); + pcb_hid_save_and_show_layer_ons(save_ons); scad_layer_cnt = 0;