Keycap width/height visualization + fixes
This commit is contained in:
parent
edf5d3d962
commit
390fd7fbc9
2 changed files with 18 additions and 10 deletions
|
@ -68,8 +68,7 @@ try {
|
|||
console.log('Parsing points...')
|
||||
const points = points_lib.parse(config.points)
|
||||
if (args.debug) {
|
||||
const rect = u.rect(18, 18, [-9, -9])
|
||||
const points_demo = points_lib.position(points, rect)
|
||||
const points_demo = points_lib.visualize(points)
|
||||
io.dump_model(points_demo, path.join(args.o, 'points/points_demo'), args.debug)
|
||||
fs.writeJSONSync(path.join(args.o, 'points/points.json'), points, {spaces: 4})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue