Git Product home page Git Product logo

let-s-split-v2's People

Contributors

climbalima avatar danseely avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

let-s-split-v2's Issues

Keys are not aligned

Hello /u/wootpatoot.

I found out this topic: https://www.reddit.com/r/MechanicalKeyboards/comments/89dcin/help_lets_split_row_spacing/
aaand as I am planning to get the PCBs for this lovely keyboard, I double checked the design. So just via checking out the drill file, I can see that keys are misaligned.

I hooked up some small python script and that's what we have:

Python script
from pathlib import Path


data = (Path(__file__).parent.resolve() / 'switch-drills.txt').read_text().split()

xs = []
ys = []

for coord in data:
    x, y = coord.split('Y-')
    x = x.replace('X', '')
    x, y = int(x), int(y)

    xs.append(x)
    ys.append(y)

xs = sorted(set(xs))
ys = sorted(set(ys))

print('used xs:', xs)
print('used ys:', ys)

for x1, x2 in zip(xs[:-2], xs[1:]):
    print(f'x2 - x1 = {x2-x1}')

for y1, y2 in zip(ys[:-2], ys[1:]):
    print(f'y2 - y1 = {y2-y1}')

And:

Extracted drills for main switch holes
X017913Y-018445
X017913Y-033465
X017913Y-041004
X017933Y-025965
X025413Y-018445
X025413Y-025945
X025413Y-033445
X025413Y-040945
X032913Y-018445
X032913Y-025945
X032913Y-033445
X032913Y-040945
X040413Y-018445
X040413Y-025945
X040413Y-033445
X040413Y-040945
X047913Y-018445
X047913Y-025945
X047913Y-033445
X047913Y-040945
X055413Y-018445
X055413Y-025945
X055413Y-033445
X055413Y-040945

Output of "analysis" looks like that:

used xs: [17913, 17933, 25413, 32913, 40413, 47913, 55413]
used ys: [18445, 25945, 25965, 33445, 33465, 40945, 41004]
x2 - x1 = 20
x2 - x1 = 7480
x2 - x1 = 7500
x2 - x1 = 7500
x2 - x1 = 7500
y2 - y1 = 7500
y2 - y1 = 20
y2 - y1 = 7480
y2 - y1 = 20
y2 - y1 = 7480
  • we should have 6 X coords, we have 7
  • we should have 4 Y coords, we have 7

Don't get me wrong, this "20" error is like 0.0508 millimeters, so I guess it's not a deal breaker :) as looot of boards got already successfully created. But it's maybe something you would like to address.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.