Skip to content

Commit 79146ae

Browse files
author
Your Name
committed
feat: working baseplates completely with full .25u support, proper padding, fit tests, etc
1 parent 4fc19dc commit 79146ae

File tree

11 files changed

+1955
-288
lines changed

11 files changed

+1955
-288
lines changed

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
pre-commit:
66
parallel: true
77
commands:
8-
lint-check:
8+
lint-fix:
99
glob: "*.py"
10-
run: black --check --diff {staged_files}
10+
run: black {staged_files} && git add {staged_files}
1111

1212
commit-msg:
1313
commands:

microfinity/__init__.py

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,21 @@
1313

1414
from .constants import *
1515
from .gf_obj import GridfinityObject
16-
from .gf_baseplate import GridfinityBaseplate
16+
from .gf_baseplate import (
17+
GridfinityBaseplate,
18+
NotchSpec,
19+
get_notch_spec,
20+
make_notch_cutter,
21+
get_straight_band_z,
22+
compute_notch_z_band,
23+
NOTCH_WIDTH_MM,
24+
NOTCH_DEPTH_MM,
25+
NOTCH_HEIGHT_MM,
26+
NOTCH_CHAMFER_MM,
27+
NOTCH_TOP_MARGIN_MM,
28+
NOTCH_BOT_MARGIN_MM,
29+
NOTCH_KEEPOUT_TOP_MM, # Deprecated
30+
)
1731
from .gf_box import GridfinityBox, GridfinitySolidBox
1832
from .gf_drawer import GridfinityDrawerSpacer
1933
from .gf_ruggedbox import GridfinityRuggedBox
@@ -26,3 +40,10 @@
2640
SegmentationMode,
2741
ToleranceMode,
2842
)
43+
from .test_prints import (
44+
generate_fractional_pocket_test,
45+
generate_fractional_pocket_test_set,
46+
generate_clip_clearance_sweep,
47+
generate_clip_test_set,
48+
export_test_prints,
49+
)

0 commit comments

Comments
 (0)