-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.scad
48 lines (33 loc) · 1.47 KB
/
settings.scad
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
/*
* Edit these settings to control the generated keycaps
*/
/* height of the part the finger rests on, doesn't exclude higher protrusions,
eg. the saddle keycap rises on either side of the thumb for leverage */
effective_height=16+5;
//effective_height=11;
// maximum width in any direction, strict limit to prevent collision with adjacent keycaps
total_width=16;
// how thick the keycap, excluding the stem, should be. mostly aesthetic preference?
minimum_thickness = 1;
keycap_style = "trackpoint-lp";
/* can be auto (computationally expensive), manual (a bit janky, needs to be implemented for each keycap), or none.
has no effect on certain keycaps such as trackpoint variants */
chamfer_style = "auto";
/* this allows you to rotate the keycap if the finger approaches at an angle
you probably only want to rotate the Z-axis (third value) */
keycap_rotation = [0,0,0];
stem_model = "trackpoint-lp-clamp";
// "cr10 or "prusa" have presets, any other string will use a default tolerance, usually 0
printer = "prusa";
// slop factors for imprecision in the printing process
/*
vertical_slop = 0.1;
inner_slop = 0.4;
outer_slop = 0.2;
*/
/* -----------------------------------------------------------------------
* Do Not Edit - this machinery is consistent regardless of above values
* -----------------------------------------------------------------------
*/
function auto_chamfer() = chamfer_style == "auto";
function manual_chamfer() = chamfer_style == "manual";