Skip to content

Commit 042eb43

Browse files
committed
fix: md's
1 parent 07f3024 commit 042eb43

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

CLAUDE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ npm run export --silent -- Box > box.stl
118118

119119
## Primitives API
120120

121-
### Angle Constants
122-
123-
`Solid.DEG_45`, `Solid.DEG_90`, `Solid.DEG_180`, `Solid.DEG_270`, `Solid.DEG_360`
124-
125121
### Basic Shapes
126122

127123
```typescript

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ const hexNut = Solid.SUBTRACT(
154154
Solid.cylinder(4, 6, { color: 'gray' })
155155
).center();
156156

157-
// Partial geometries with angle parameter
158-
const pieSlice = Solid.cylinder(10, 2, { color: 'red', angle: Solid.DEG_90 });
159-
const hemisphere = Solid.sphere(8, { color: 'cyan', angle: Solid.DEG_180 });
157+
// Partial geometries with angle parameter (in degrees)
158+
const pieSlice = Solid.cylinder(10, 2, { color: 'red', angle: 90 });
159+
const hemisphere = Solid.sphere(8, { color: 'cyan', angle: 180 });
160160
```
161161

162162
### Example: Custom Profile Prisms
@@ -281,7 +281,7 @@ const quarterVase = Solid.revolutionSolidFromPoints(
281281
[4, 10],
282282
[0, 10]
283283
],
284-
{ angle: Solid.DEG_90, color: 'purple' }
284+
{ angle: 90, color: 'purple' }
285285
);
286286
```
287287

@@ -325,7 +325,6 @@ const w3 = Wall(30); // Different params, new computation
325325
**Profiles:** `profilePrism(h,builder,opts)`, `profilePrismFromPoints(h,points,opts)`, `profilePrismFromPath(h,segments,opts)`
326326
**Revolution:** `revolutionSolid(builder,opts)`, `revolutionSolidFromPoints(points,opts)`, `revolutionSolidFromPath(segments,opts)`
327327
**Path Factories:** `straight(length)`, `curve(radius,angle)` - positive=right, negative=left, 0=sharp
328-
**Angle Constants:** `DEG_45`, `DEG_90`, `DEG_180`, `DEG_270`, `DEG_360`
329328

330329
**Transforms (chainable):** `at(x,y,z)` absolute, `move({x?,y?,z?})` relative, `rotate({x?,y?,z?})` degrees, `scale({all?,x?,y?,z?})` multiplicative
331330

0 commit comments

Comments
 (0)