Skip to content

Commit

Permalink
Fix make keyboards
Browse files Browse the repository at this point in the history
I made makePlate() return functions and forgot to modify the node.js
helpers to call them
  • Loading branch information
rianadon committed Jan 20, 2024
1 parent 017db41 commit ea757ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model_gen/node-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function generate(config: Cuttleform, parts = DEFAULT_PARTS) {
web: async () => webSolid(config, geo, false),
holes: async () => keyHoles(config, geo.keyHolesTrsfs.flat()),
inserts: async () => geo.screwPositions.length ? makerScrewInserts(config, geo, ['base']) : undefined,
plate: async () => combine(Object.values(makePlate(config, geo, true, true))),
plate: async () => combine(Object.values(makePlate(config, geo, true, true)).map(a => a())),
}

const models: Models = {}
Expand Down

0 comments on commit ea757ea

Please sign in to comment.