Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotated Choc Key Placement is Wrong #5

Open
csteamengine opened this issue Oct 25, 2024 · 9 comments
Open

Rotated Choc Key Placement is Wrong #5

csteamengine opened this issue Oct 25, 2024 · 9 comments

Comments

@csteamengine
Copy link

Hello!
I have been attempting to use this generator to produce a plate for my split keyboard but the thumb keys are not coming out properly.

After running my keyboard through here with choc spacing (18mm x 17mm), the two thumb keys are only 17.75mm apart, and the further right key is 0.433mm off from the bottom of the switch.

I have attached pictures of the dimensions that come out wrong and what the keyboard is intended to look right.

Please let me know if I'm doing something wrong on my end too, that would be very helpful.

Thanks!

P.s. This issue is also present in AI03's plate generator.

Screenshot 2024-10-24 at 9 21 08 PM Screenshot 2024-10-24 at 9 16 34 PM Screenshot 2024-10-24 at 9 22 40 PM
@csteamengine
Copy link
Author

The switches are in the correct location in KiCad but the right thumb cutout is about .5mm off in both it's relative axes.

Screenshot 2024-10-25 at 8 14 02 AM

@nooges
Copy link
Member

nooges commented Oct 25, 2024

Can you paste your raw KLE for reference?

@csteamengine
Copy link
Author

[{x:4.5,a:7},"\n\n\n\n5"],
[{y:-0.75,x:3.5},"\n\n\n\n4",{x:1},"\n\n\n\n6"],
[{y:-0.75,x:6.5},"\n\n\n\n7"],
[{y:-0.75,x:2.5},"\n\n\n\n3"],
[{y:-0.75},"\n\n\n\n1",{w:1.5},"\n\n\n\n2",{x:2},"\n\n\n\n12"],
[{y:-0.75,x:3.5},"\n\n\n\n11",{x:1},"\n\n\n\n13"],
[{y:-0.75,x:6.5},"\n\n\n\n14"],
[{y:-0.75,x:2.5},"\n\n\n\n10"],
[{y:-0.75},"\n\n\n\n8",{w:1.5},"\n\n\n\n9",{x:2},"\n\n\n\n19"],
[{y:-0.75,x:3.5},"\n\n\n\n18",{x:1},"\n\n\n\n20"],
[{y:-0.75,x:6.5},"\n\n\n\n21"],
[{y:-0.75,x:2.5},"\n\n\n\n17"],
[{y:-0.75},"\n\n\n\n15",{w:1.5},"\n\n\n\n16",{x:2},"\n\n\n\n26"],
[{y:-0.75,x:3.5},"\n\n\n\n25",{x:1},"\n\n\n\n27"],
[{y:-0.75,x:6.5},"\n\n\n\n28"],
[{y:-0.75,x:2.5},"\n\n\n\n24"],
[{y:-0.75},"\n\n\n\n22",{w:1.5},"\n\n\n\n23",{x:2},"\n\n\n\n33"],
[{y:-0.75,x:3.5},"\n\n\n\n32",{x:1},"\n\n\n\n34"],
[{y:-0.75,x:6.5},"\n\n\n\n35"],
[{y:-0.75,x:2.5},"\n\n\n\n31"],
[{y:-0.75},"\n\n\n\n29",{w:1.5},"\n\n\n\n30"],
[{r:30,rx:8,ry:6.5,y:-0.75,x:-0.75,h:1.5},"\n\n\n\n36",{h:1.5},"\n\n\n\n37"]

@csteamengine
Copy link
Author

I've tried setting the rotational center with 0,0 and various other values, but that doesn't seem to help. I've also got the front center label set for the KiCad KBPlacer annotations.

@nooges
Copy link
Member

nooges commented Oct 25, 2024 via email

@csteamengine
Copy link
Author

Hmmm, Ok. I'll see if I can look into it, knowing the file is helpful! KBPlacer puts the switches in the right spot, as long as I use the annotation on the front center legend.

As far as the keycap being 1.5u vertical, I'm just using blank low profile ones so it shouldn't matter 🤷

@nooges
Copy link
Member

nooges commented Oct 25, 2024 via email

@csteamengine
Copy link
Author

Oh I see what you're saying. I was thinking of MX switches. I'll just rotate the switch itself in the PCB then 👍 Thanks for the head up though

@csteamengine
Copy link
Author

It seems to be an issue with the point coordinate calculation in KeyCutouts.ts, but I can't for the life of me figure out what the proper coordinates prior or post rotation should be 😩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants