-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgear.hfd
More file actions
60 lines (60 loc) · 1.79 KB
/
gear.hfd
File metadata and controls
60 lines (60 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"imports": [],
"params": {
"offset": ".0035",
"material_width": 20,
"material_height": 12,
"tooth_size": 0.2,
"hole_radius": "0.25 / 2",
"num_teeth": 22,
"num_gears": 1
},
"parts": [
{
"repeat": {
"total": "num_gears"
},
"components": [
{
"transforms": [
// {
// "type": "offset",
// "distance": "offset",
// "size_should_be": "larger",
// "precision": 6
// }
],
"type": "gear",
"teeth": "num_teeth",
"tooth_width": "tooth_size",
"gear_variable_name": "gear_25"
},
{
"type": "draw",
"id": "handle_hole",
"transforms": [
{
"type": "offset",
"distance": "offset",
"size_should_be": "smaller"
},
{
"type": "move",
"to": {
"x": "0",
"y": "0"
},
"handle": "$MIDDLE_MIDDLE"
}
],
"commands": [
{
"command": "circle",
"radius": "hole_radius"
}
]
}
]
}
]
}