key_formats.h 537 B

12345678910111213141516171819202122232425262728
  1. #ifndef KEY_FORMATS_H
  2. #define KEY_FORMATS_H
  3. typedef struct {
  4. char* format_name;
  5. char* format_short_name;
  6. char* format_link;
  7. double first_pin_inch;
  8. double last_pin_inch;
  9. double pin_increment_inch;
  10. int pin_num;
  11. double pin_width_inch;
  12. double drill_angle;
  13. double uncut_depth_inch;
  14. double deepest_depth_inch;
  15. double depth_step_inch;
  16. int min_depth_ind;
  17. int max_depth_ind;
  18. int macs;
  19. int clearance;
  20. } KeyFormat;
  21. extern const KeyFormat all_formats[];
  22. #endif // KEY_FORMATS_H