@rulecad/shapes 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,36 @@
1
+ # Changelog: @rulecad/shapes
2
+
3
+ What changed in each release, for someone upgrading a workspace. A **printed size** is a dimension of a part you
4
+ print (a hole's diameter, a seat's depth, a part's outline). Each release says whether any printed size moved, and
5
+ why.
6
+
7
+ ## 0.4.5: shapes holds no screw size (Fixings 3)
8
+
9
+ ### What reads fixings now
10
+
11
+ Nothing in this package imports `@rulecad/fixings`: fixings draws with this package's seats, so an import the other
12
+ way would make a dependency cycle. Instead every helper takes plain dimensions in mm, and anything named by a thread
13
+ (a hole for an M3 screw, the seat for its head, its nut or its insert) comes from fixings, which calls `countersink`,
14
+ `teardropHole`, `nutPocket` and `wallOpening` here with the thread's figures. A test holds that fixings' countersink,
15
+ nut pocket, side hole and nut slot are this package's helpers given the model's figures, to the last vertex.
16
+
17
+ ### Changed
18
+
19
+ - `nutTrap(nut, { hole, ... })`: the 3.5 mm default for the screws that hold a lead-screw nut's flange is gone. Their
20
+ hole comes in as `hole` (the hole as drawn, for example `fixings.holeModel('M3', { printer }).diameter`, which
21
+ already has the printer's compensation in it), or else from the nut's own `hole_diameter` or `mount_hole_diameter`
22
+ plus the printer's `hole_comp`. Given neither, `nutTrap` refuses by name. The result carries `.hole`, the screws'
23
+ hole as drawn.
24
+ - `nutTrap` reads `flange_width` (the name the `t8-nut` rule set uses) as `flange_thickness`.
25
+ - The README says which helpers take screw figures and why, and points to fixings for anything named by a thread.
26
+
27
+ ### Printed sizes that moved
28
+
29
+ None. Every drawn result is the same solid, vertex for vertex, for every input that worked before: the kit's
30
+ `t8-nut` set gives its own `mount_hole_diameter`, 3.5 mm, the figure the old default typed.
31
+
32
+ ### What a workspace should change
33
+
34
+ - A call to `nutTrap` with a nut that has no `hole_diameter` or `mount_hole_diameter` and no `hole` now fails. Pass the
35
+ screws' hole from fixings: `nutTrap(nut, { hole: v.fixings.holeModel('M3').diameter, printer: v.x1c, at })`, or add
36
+ the nut's own figure to its rule set.
package/README.md CHANGED
@@ -3,6 +3,13 @@
3
3
  Helpers for [JSCAD](https://github.com/jscad/OpenJSCAD.org) designs that get printed. JSCAD is a peer dependency: use
4
4
  the one you already have.
5
5
 
6
+ Every helper here takes plain dimensions in mm and holds no screw size of its own. Anything named by a thread (a hole
7
+ for an M3 screw, the seat for its head, its nut or its insert) comes from
8
+ [`@rulecad/fixings`](https://github.com/JoniBach/rulecad/tree/main/packages/fixings#readme), which reads the thread's
9
+ rule set and the printer's and calls this package's `countersink`, `teardropHole`, `nutPocket` and `wallOpening`
10
+ with the figures. So `fixings.countersink('M3', ...)` and `countersink({ hole, head, ... })` draw the same cone; the
11
+ first also says where each size came from. Shapes never imports fixings, so the two have no cycle.
12
+
6
13
  ```js
7
14
  import jscad from '@jscad/modeling';
8
15
  import { text, anchor, cut } from '@rulecad/shapes';
@@ -72,6 +79,20 @@ clipGroove(8, { width: 1, depth: 0.5, at: [0, 0, 30] })
72
79
  | Ledge (`lip`) | a quarter of the races' radial depth by default, so it carries the outer race only; at most half |
73
80
  | Plain bore, as drawn | shaft + 2 × clearance + `hole_comp`, the clearance being the printer's `fit` each side by default |
74
81
 
82
+ `lm8uuPocket`, `nutTrap`, `pulleyBore` and `beltClamp` are the same idea for a linear bearing, a lead-screw nut's
83
+ flange and body, a pulley on its shaft and a GT2 belt's grip. Of these only `nutTrap` has screws, the ones that hold
84
+ the nut's flange. Their hole is a plain figure too: `hole`, the hole as drawn, from fixings (whose diameter already
85
+ has the printer's `hole_comp` in it), or else the nut's own `hole_diameter` (`mount_hole_diameter` in its rule set)
86
+ plus `hole_comp`. Given neither, `nutTrap` refuses: there is no default screw.
87
+
88
+ ```js
89
+ const screws = fixings.holeModel('M3', { printer: v.x1c }) // an M3 clearance hole, as drawn
90
+ nutTrap(v['t8-nut'], { hole: screws.diameter, printer: v.x1c, at: [0, 0, 20] }) // or leave hole out: the nut's own 3.5 mm
91
+ ```
92
+
93
+ The screws stay out of this package on purpose. Shapes cannot read a thread's rule set without depending on fixings,
94
+ and fixings already depends on shapes, so a seat takes the screw's figure and the design passes it from fixings.
95
+
75
96
  `press` and `slip` are estimates until they are measured with the seats coupon in the bench project: print it once per
76
97
  filament, press a bearing into each pocket, and write the one that holds without cracking into the printer's rules.
77
98
 
@@ -79,14 +100,17 @@ filament, press a bearing into each pocket, and write the one that holds without
79
100
 
80
101
  Holes, pockets and ribs drawn so they print without supports with the part lying as drawn (z up from the bed).
81
102
  Each starts at a point on a face (`at`) and goes into the material (`into`: `'+x'`, `'-x'`, `'+y'`, `'-y'`, `'+z'` up
82
- from the bed, `'-z'` down from a top). Sizes come from your rules; nothing is built in.
103
+ from the bed, `'-z'` down from a top). Sizes come from your rules; nothing is built in. For a screw by its thread,
104
+ call the same seats through fixings (`fixings.countersink('M3', { length: 16, at, into })`, `fixings.nutPocket('M3', ...)`,
105
+ `fixings.hole('M3', { into: '+x', depth: 20 })`): they read the thread's figures and the printer's, and draw with
106
+ these. The calls below are for sizes you have in hand.
83
107
 
84
108
  ```js
85
109
  import { countersink, teardropHole, nutPocket, crushRibs, wallOpening } from '@rulecad/shapes'
86
110
 
87
- countersink({ hole: v.hole, head: v.csk, length: 16, at: [x, y, 0], into: '+z' }) // flat head flush with the face
111
+ countersink({ hole: v.hole, head: v.head, length: 16, at: [x, y, 0], into: '+z' }) // flat head flush with the face
88
112
  teardropHole({ d: v.hole, length: 20, at: [-10, 0, 5], into: '+x' }) // across a part: a 45° pointed roof
89
- nutPocket({ flats: v.m3.nut_flats + v.x1c.hole_comp, height: v.m3.nut_height, hole: v.hole, at: [x, y, 0], into: '+z' })
113
+ nutPocket({ flats: v.flats, height: v.height, hole: v.hole, at: [x, y, 0], into: '+z' })
90
114
  crushRibs({ at: [[-9.4, 5], [9.4, 5]], into: [[1, 0], [-1, 0]], z: [3, 5], radius: 0.84, protrude: 0.5 }) // to add
91
115
  wallOpening({ width: 12.75, height: 6.9, depth: v.wall, at: [x, 0, z], into: '-y', bridge: v.x1c.bridge })
92
116
  ```
package/features.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  // Print-aware features: the holes, pockets and ribs printed parts keep needing, drawn so they print without supports
2
2
  // in the part's print orientation (z up, the bed at the bottom). Each returns a JSCAD geom3 to subtract from the part
3
- // (crushRibs: to add). Sizes come in from rules (m3.csk_head, m3.nut_flats, x1c.hole_comp …): no numbers live here.
3
+ // (crushRibs: to add). Sizes come in as plain numbers, from rules (m3.countersunk_head, m3.nut_flats, x1c.hole_comp …):
4
+ // no numbers live here. @rulecad/fixings reads a thread's rule set and the printer's and calls these with the figures.
4
5
  // Every feature starts at a point on a face (at) and goes into the material along a direction (into): '+x', '-x',
5
6
  // '+y', '-y', '+z' (up from the bed) or '-z' (down from a top face).
6
7
  // countersink({ hole, head, length, at, into, teardrop }) a flat-head screw's hole and its 90° cone, the head flush
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulecad/shapes",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Shape helpers for printed JSCAD designs: text that prints cleanly, anchors on a face, clean local cuts, and enclosure pieces (shells, lids, rails, print-safe holes).",
5
5
  "type": "module",
6
6
  "exports": {
@@ -13,6 +13,7 @@
13
13
  "enclosure.mjs",
14
14
  "enclosure.d.mts",
15
15
  "README.md",
16
+ "CHANGELOG.md",
16
17
  "LICENSE",
17
18
  "features.mjs",
18
19
  "features.d.mts",
package/seats.d.mts CHANGED
@@ -94,3 +94,81 @@ export function clipGroove(shaft: number, { width, depth, at }?: {
94
94
  depth: number;
95
95
  at?: number[];
96
96
  }): object;
97
+ /**
98
+ * A pocket for a linear bearing's outside (an LM8UU), to subtract: a straight press or slip for its whole length, and on
99
+ * through for the rod. Stood up (±z) or across (±x, ±y), with a teardrop's roof when across.
100
+ * @param {{ outer_diameter: number, length: number, bore: number }} bearing
101
+ * @param {{ fit?: 'press' | 'slip' | number, clearance?: number, through?: boolean, printer: object, at?: number[], into?: string }} o clearance: round the rod, each side
102
+ * @returns {object} a JSCAD geom3 to subtract, with .pocket the diameter as drawn
103
+ */
104
+ export function lm8uuPocket(bearing: {
105
+ outer_diameter: number;
106
+ length: number;
107
+ bore: number;
108
+ }, { fit, clearance, through, printer, at, into }?: {
109
+ fit?: "press" | "slip" | number;
110
+ clearance?: number;
111
+ through?: boolean;
112
+ printer: object;
113
+ at?: number[];
114
+ into?: string;
115
+ }): object;
116
+ /**
117
+ * A pocket for a lead-screw nut, to subtract: its flange let in from a face, its body on through, and holes for the
118
+ * screws that hold it, on their circle. Goes down from a top face; the flange sits flush. The screws' holes come in as
119
+ * plain figures, as everything here does: `hole`, the hole as drawn (a hole from @rulecad/fixings, whose diameter
120
+ * already has the printer's compensation in it: `fixings.holeModel('M3', { printer }).diameter`), or else the nut's
121
+ * own `hole_diameter` (or `mount_hole_diameter`, as its rule set names it), to which the printer's `hole_comp` is
122
+ * added. With neither, it is refused: there is no screw size here.
123
+ * @param {{ flange_diameter: number, flange_thickness?: number, flange_width?: number, body_diameter: number, length: number, hole_circle: number, hole_count: number, hole_diameter?: number, mount_hole_diameter?: number }} nut
124
+ * from its rule set; flange_width is the rule set's name for flange_thickness
125
+ * @param {{ fit?: number, hole?: number, printer: object, at?: number[], depth?: number }} o fit: clearance across the flange (default the printer's fit, each side);
126
+ * hole: the screws' holes as drawn, in mm
127
+ * @returns {object} a JSCAD geom3 to subtract, with .flange and .body the diameters as drawn, and .hole the screws' holes as drawn
128
+ */
129
+ export function nutTrap(nut: {
130
+ flange_diameter: number;
131
+ flange_thickness?: number;
132
+ flange_width?: number;
133
+ body_diameter: number;
134
+ length: number;
135
+ hole_circle: number;
136
+ hole_count: number;
137
+ hole_diameter?: number;
138
+ mount_hole_diameter?: number;
139
+ }, { fit, hole: hole_, printer, at, depth }?: {
140
+ fit?: number;
141
+ hole?: number;
142
+ printer: object;
143
+ at?: number[];
144
+ depth?: number;
145
+ }): object;
146
+ /**
147
+ * A bore for a pulley on a stepper's round shaft (no flat: a pulley's grub screw bears on the shaft), or a plain idler's
148
+ * axle, to subtract. A pass-through with a chamfered mouth.
149
+ * @param {{ bore: number }} pulley @param {{ length: number, printer: object, at?: number[], into?: string, through?: boolean }} o
150
+ */
151
+ export function pulleyBore(pulley: {
152
+ bore: number;
153
+ }, { length, printer, at, into, through }?: {
154
+ length: number;
155
+ printer: object;
156
+ at?: number[];
157
+ into?: string;
158
+ through?: boolean;
159
+ }): any;
160
+ /**
161
+ * A comb that grips a GT2 belt, to add: teeth of the belt's pitch on a block, the belt pressed in face first and held by
162
+ * a plain cover. Printed teeth up, so nothing overhangs.
163
+ * @param {{ pitch: number, width: number }} belt @param {{ length: number, height: number, wall: number, at?: number[] }} o
164
+ * @returns {object} a JSCAD geom3 to add, x along the belt, z up
165
+ */
166
+ export function beltClamp(belt: {
167
+ pitch: number;
168
+ width: number;
169
+ }, { length, height, wall, at }?: {
170
+ length: number;
171
+ height: number;
172
+ wall: number;
173
+ at?: number[];
174
+ }): object;
package/seats.mjs CHANGED
@@ -76,16 +76,18 @@ export function seatSize(bearing, { fit = 'press', lip, printer } = {}) {
76
76
  export function bearingSeat(bearing, { fit = 'press', lip, relief = 1, through = false, into = '-z', lead = UP[into] ? 0 : 0.4, printer, at = [0, 0, 0] } = {}) {
77
77
  const what = 'bearingSeat', s = seatSize(bearing, { fit, lip, printer });
78
78
  size(what, 'relief', relief); size(what, 'lead', lead, { zero: true });
79
- const R = s.pocket / 2, r = s.relief / 2, up = UP[into] ?? null, D = s.depth, past = D + relief + (through ? OUT : 0), cuts = [];
80
- cuts.push(tear(R, R, lead ? 0 : OUT, -D, up));
81
- if (lead) { cuts.push(tear(R + lead, R, 0, -lead, up)); cuts.push(tear(R + lead, R + lead, OUT, 0, up)); }
82
- if (into === '+z') {
83
- // the ledge printed as a ceiling: a 45° cone, to a point if nothing runs through it
84
- const end = through ? r : TINY, rise = R - end;
85
- cuts.push(tear(R, end, -D, -D - rise));
86
- if (through) cuts.push(tear(r, r, -D - rise / 2, -Math.max(past, D + rise + OUT)));
87
- } else cuts.push(tear(r, r, -D + EDGE, -past, up));
88
- const g = along(union(cuts), into, at);
79
+ const R = s.pocket / 2, r = s.relief / 2, up = UP[into] ?? null, D = s.depth, past = D + relief + (through ? OUT : 0);
80
+ if (up) { // across a part, a teardrop's roof on each step
81
+ const cuts = [tear(R, R, lead ? 0 : OUT, -D, up), tear(r, r, -D + EDGE, -past, up)];
82
+ if (lead) cuts.push(tear(R + lead, R, 0, -lead, up), tear(R + lead, R + lead, OUT, 0, up));
83
+ return Object.assign(along(union(cuts), into, at), { seat: s });
84
+ }
85
+ // Going up or down, one profile turned about the axis: no seams between the steps for a boolean to leak at
86
+ const mouth = lead ? [[R + lead, OUT], [R + lead, 0], [R, -lead]] : [[R, OUT]], z0 = -D, floor = through ? Math.min(-past, -D - R) - OUT : -past;
87
+ const inner = into === '+z' ? (through ? [[R, z0], [r, z0 - (R - r)], [r, floor]] : [[R, z0], [TINY, z0 - (R - TINY)]]) : [[R, z0], [r, z0], [r, -past]];
88
+ const pts = [[0, OUT], ...mouth, ...inner, [0, inner.at(-1)[1]]].reverse();
89
+ const turned = extrudeRotate({ segments: SEGMENTS }, polygon({ points: pts }));
90
+ const g = along(turned, into, at);
89
91
  return Object.assign(g, { seat: s });
90
92
  }
91
93
 
@@ -143,3 +145,71 @@ export function clipGroove(shaft, { width, depth, at = [0, 0, 0] } = {}) {
143
145
  const g = extrudeRotate({ segments: SEGMENTS }, polygon({ points: [[r, 0], [over, 0], [over, width + rise], [r, width]] }));
144
146
  return Object.assign(translate(at, g), { root: 2 * r });
145
147
  }
148
+
149
+ /**
150
+ * A pocket for a linear bearing's outside (an LM8UU), to subtract: a straight press or slip for its whole length, and on
151
+ * through for the rod. Stood up (±z) or across (±x, ±y), with a teardrop's roof when across.
152
+ * @param {{ outer_diameter: number, length: number, bore: number }} bearing
153
+ * @param {{ fit?: 'press' | 'slip' | number, clearance?: number, through?: boolean, printer: object, at?: number[], into?: string }} o clearance: round the rod, each side
154
+ * @returns {object} a JSCAD geom3 to subtract, with .pocket the diameter as drawn
155
+ */
156
+ export function lm8uuPocket(bearing, { fit = 'press', clearance = 1, through = false, printer, at = [0, 0, 0], into = '-z' } = {}) {
157
+ const what = 'lm8uuPocket', p = printerOf(what, printer), L = size(what, 'length', bearing?.length), s = seatSize({ bore: bearing?.bore, outer_diameter: bearing?.outer_diameter, width: L }, { fit, printer: p, lip: 0.01 }), up = UP[into] ?? null, R = s.pocket / 2, rod = bearing.bore / 2 + clearance;
158
+ const cuts = [tear(R, R, OUT, -L, up)];
159
+ if (into === '+z') { const rise = R - rod; cuts.push(tear(R, rod, -L, -L - rise)); cuts.push(tear(rod, rod, -L - rise / 2, -(L + rise + (through ? OUT : 2)))); } else cuts.push(tear(rod, rod, -L + EDGE, -(L + 2 + (through ? OUT : 0)), up));
160
+ return Object.assign(along(union(cuts), into, at), { pocket: s.pocket, clearance: s.clearance });
161
+ }
162
+
163
+ // The screws' holes for a bought part held by screws, as drawn: given (from fixings, already compensated), or the part's
164
+ // own figure plus the printer's hole_comp. No screw size lives here, so with neither it is refused by name
165
+ function screwHole(what, given, part, comp) {
166
+ if (given != null) return size(what, 'hole', given);
167
+ const own = part.hole_diameter ?? part.mount_hole_diameter;
168
+ if (own == null) throw new Error(`${what}: give the screws' hole as drawn ({ hole: fixings.holeModel('M3', { printer }).diameter }), or the part's own hole_diameter: there is no screw size here`);
169
+ return size(what, 'hole_diameter', own) + comp;
170
+ }
171
+
172
+ /**
173
+ * A pocket for a lead-screw nut, to subtract: its flange let in from a face, its body on through, and holes for the
174
+ * screws that hold it, on their circle. Goes down from a top face; the flange sits flush. The screws' holes come in as
175
+ * plain figures, as everything here does: `hole`, the hole as drawn (a hole from @rulecad/fixings, whose diameter
176
+ * already has the printer's compensation in it: `fixings.holeModel('M3', { printer }).diameter`), or else the nut's
177
+ * own `hole_diameter` (or `mount_hole_diameter`, as its rule set names it), to which the printer's `hole_comp` is
178
+ * added. With neither, it is refused: there is no screw size here.
179
+ * @param {{ flange_diameter: number, flange_thickness?: number, flange_width?: number, body_diameter: number, length: number, hole_circle: number, hole_count: number, hole_diameter?: number, mount_hole_diameter?: number }} nut
180
+ * from its rule set; flange_width is the rule set's name for flange_thickness
181
+ * @param {{ fit?: number, hole?: number, printer: object, at?: number[], depth?: number }} o fit: clearance across the flange (default the printer's fit, each side);
182
+ * hole: the screws' holes as drawn, in mm
183
+ * @returns {object} a JSCAD geom3 to subtract, with .flange and .body the diameters as drawn, and .hole the screws' holes as drawn
184
+ */
185
+ export function nutTrap(nut, { fit, hole: hole_, printer, at = [0, 0, 0], depth } = {}) {
186
+ const what = 'nutTrap', p = printerOf(what, printer), comp = size(what, 'printer.hole_comp', p.hole_comp, { zero: true }), gap = fit ?? 2 * size(what, 'printer.fit', p.fit), flange = size(what, 'flange_diameter', nut?.flange_diameter), body = size(what, 'body_diameter', nut.body_diameter), length = size(what, 'length', nut.length), circle = size(what, 'hole_circle', nut.hole_circle), n = size(what, 'hole_count', nut.hole_count);
187
+ const hole = screwHole(what, hole_, nut, comp);
188
+ const t = nut.flange_thickness ?? nut.flange_width ?? 3.5, D = depth ?? length, r = (body + comp + gap) / 2, R = (flange + comp + gap) / 2;
189
+ if (circle / 2 + (hole - comp) / 2 > R + 0.01 || circle / 2 - (hole - comp) / 2 < r) throw new Error(`nutTrap: holes on a ${circle} mm circle don't fall between the ${body} mm body and the ${flange} mm flange`);
190
+ const cuts = [tear(R, R, OUT, -t), tear(r, r, -t + EDGE, -D - OUT)], holes = Array.from({ length: n }, (_, i) => { const a = (i * 2 * Math.PI) / n; return translate([(circle / 2) * Math.cos(a), (circle / 2) * Math.sin(a), 0], tear(hole / 2, hole / 2, 0, -D - OUT)); });
191
+ return Object.assign(translate(at, union(...cuts, ...holes)), { flange: 2 * R, body: 2 * r, hole });
192
+ }
193
+
194
+ /**
195
+ * A bore for a pulley on a stepper's round shaft (no flat: a pulley's grub screw bears on the shaft), or a plain idler's
196
+ * axle, to subtract. A pass-through with a chamfered mouth.
197
+ * @param {{ bore: number }} pulley @param {{ length: number, printer: object, at?: number[], into?: string, through?: boolean }} o
198
+ */
199
+ export function pulleyBore(pulley, { length, printer, at = [0, 0, 0], into = '-z', through = false } = {}) {
200
+ return plainBearing(size('pulleyBore', 'bore', pulley?.bore), { length, printer, at, into, through, clearance: printerOf('pulleyBore', printer).slip ?? printer.fit / 2 });
201
+ }
202
+
203
+ /**
204
+ * A comb that grips a GT2 belt, to add: teeth of the belt's pitch on a block, the belt pressed in face first and held by
205
+ * a plain cover. Printed teeth up, so nothing overhangs.
206
+ * @param {{ pitch: number, width: number }} belt @param {{ length: number, height: number, wall: number, at?: number[] }} o
207
+ * @returns {object} a JSCAD geom3 to add, x along the belt, z up
208
+ */
209
+ export function beltClamp(belt, { length, height, wall, at = [0, 0, 0] } = {}) {
210
+ const what = 'beltClamp', pitch = size(what, 'pitch', belt?.pitch), width = size(what, 'width', belt.width);
211
+ size(what, 'length', length); size(what, 'height', height); size(what, 'wall', wall);
212
+ const count = Math.floor(length / pitch), base = translate([0, 0, height / 2], cuboid({ size: [length, width + 2 * wall, height] })), teeth = [], tooth = pitch * 0.45;
213
+ for (let i = 0; i < count; i++) teeth.push(translate([-length / 2 + pitch * (i + 0.5), 0, height + 0.375], cuboid({ size: [tooth, width + 2 * wall, 0.75] })));
214
+ return translate(at, union(base, ...teeth));
215
+ }
package/shapes.d.mts CHANGED
@@ -27,5 +27,5 @@ export const scale: typeof jscad.transforms.scale;
27
27
  import jscad from '@jscad/modeling';
28
28
  export { outline, slab, shell, lid, dovetail, gabled, diamond, vents } from "./enclosure.mjs";
29
29
  export { countersink, teardropHole, nutPocket, crushRibs, wallOpening } from "./features.mjs";
30
- export { seatSize, bearingSeat, plainBearing, shaftShoulder, clipGroove } from "./seats.mjs";
30
+ export { seatSize, bearingSeat, plainBearing, shaftShoulder, clipGroove, lm8uuPocket, nutTrap, pulleyBore, beltClamp } from "./seats.mjs";
31
31
  export { fromOutlines, regionShape, optimisedOutline, solidRegion, optimisedSolid } from "./optimised.mjs";
package/shapes.mjs CHANGED
@@ -106,6 +106,6 @@ export const size = (g) => { const [lo, hi] = measureBoundingBox(g); return [hi[
106
106
  export { scale };
107
107
  export { outline, slab, shell, lid, dovetail, gabled, diamond, vents } from './enclosure.mjs';
108
108
  export { countersink, teardropHole, nutPocket, crushRibs, wallOpening } from './features.mjs';
109
- export { seatSize, bearingSeat, plainBearing, shaftShoulder, clipGroove } from './seats.mjs';
109
+ export { seatSize, bearingSeat, plainBearing, shaftShoulder, clipGroove, lm8uuPocket, nutTrap, pulleyBore, beltClamp } from './seats.mjs';
110
110
  export { ops } from './ops.mjs';
111
111
  export { fromOutlines, regionShape, optimisedOutline, solidRegion, optimisedSolid } from './optimised.mjs';