Skip to content

Commit

Permalink
Update trackball-gen.ts (#32)
Browse files Browse the repository at this point in the history
Fix typos in trackball-gen comments
  • Loading branch information
DillionLowry authored Oct 10, 2024
1 parent fe70a53 commit 1eb50c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model_gen/parametric/trackball-gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const DEFAULT_OPTS = {
/** Angles at which bearings are placed about the Z axis (~theta in polar coodinates) */
bearingThetas: [90, 210, 330],

/** Radius of the ball for ball beraigs */
/** Radius of the ball for ball bearings */
ballBearingRadius: 1.585, // 1/8 inch outer diameter ball bearings
}

Expand Down Expand Up @@ -242,7 +242,7 @@ function addRollerBearings(socket: Solid, opts: TrackballOptions) {
// Add Ball Transfer Unit (BTU) bearings
function addBtuBearings(socket: Solid, opts: TrackballOptions, diameter: keyof typeof BTU_PROPS) {
const btuOpts = BTU_PROPS[diameter]
const btuClearance = 0.1 // Space to add around BTU on all sidesr
const btuClearance = 0.1 // Space to add around BTU on all sides

// The BTU is extruded from X=0 (touching the trackball).
const cylinder = drawCircle((btuOpts.btuDiameter / 2) + btuClearance)
Expand Down

0 comments on commit 1eb50c5

Please sign in to comment.