climbalima / let-s-split-v2 Goto Github PK
View Code? Open in Web Editor NEWsecond version of split ortho
License: MIT License
second version of split ortho
License: MIT License
when I open the schematic with KiCAD 4.0.7, it shows
https://imgur.com/a/ZPdRN
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:
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:
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.