nedlecky / AutoGrind

Custom grinding project for Olympus-Controls and Tosoh Quartz
1 stars 0 forks source link

Problems with 5mm diameter circles #258

Closed nedlecky closed 2 years ago

nedlecky commented 2 years ago

Reported by customer: 5mm diameter circles are setting n_points=4... looks funny.

nedlecky commented 2 years ago

Changed recomend_npoints(...) to use diam_mm*2 as a minimum number of points

Also still makes sure you get at least grind_point_frequency_hz points per second given your velocity And that you get blend_radius * 2 points

So takes the max of all of these and then limits that to between 2 and 2000