Root/
1 | /* |
2 | * ops.h - Higher-level toolpath operations |
3 | * |
4 | * Written 2010-2012, 2015 by Werner Almesberger |
5 | * Copyright 2010-2012, 2015 Werner Almesberger |
6 | * |
7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by |
9 | * the Free Software Foundation; either version 2 of the License, or |
10 | * (at your option) any later version. |
11 | */ |
12 | |
13 | |
14 | #ifndef OPS_H |
15 | #define OPS_H |
16 | |
17 | #include "path.h" |
18 | |
19 | |
20 | #define EPSILON_PURGE 1e-3 |
21 | |
22 | |
23 | struct path *tool_comp_paths(const struct path *paths, int dog_bone, |
24 | int all_inside); |
25 | struct path *try_drill(struct path *path, double d_min, double d_max); |
26 | struct path *try_mill(struct path *path, double diam, double step, int any); |
27 | struct path *optimize_paths(struct path *paths); |
28 | struct path *reverse_paths(const struct path *paths); |
29 | struct path *select_paths(const struct path *paths, double xa, double ya, |
30 | double xb, double yb, int inside); |
31 | struct path *purge_paths(const struct path *paths, double len); |
32 | |
33 | #endif /* !OPS_H */ |
34 |
Branches:
master