2 Commits

Author SHA1 Message Date
Bob
28680924b4 remove bad include - its messing up my post commit hook 2022-02-19 19:48:16 -05:00
Bob
8ad81d3b61 stop tines from protruding out oem keycaps 2022-02-19 19:47:17 -05:00
7 changed files with 1900 additions and 235 deletions

View File

@@ -1,36 +0,0 @@
name: CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# x11 server needed for png output lol
- name: Setup xvfb (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
# start xvfb in the background
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Install openscad
run: sudo apt-get install openscad
- run: mkdir tests/output/
- run: touch tests/empty.scad
- run: 'openscad -o "tests/output/test.stl" "tests/test.scad"'
- run: openscad tests/empty.scad -D 'color(0.5,0,0,0.5)import("test.stl");color(0,0.5,0,0.5)import("output/test.stl");' -o output.png
# - run: du -B 1 output.stl
- uses: actions/upload-artifact@v2
with:
name: test-output
path: output.png
# - run: |
# git config --global user.name 'KeyV2 GHA Bot'
# git config --global user.email 'keyv2-gha-bot@users.noreply.github.com'
# git add -A
# git commit -m "Update test stls"
# git push

File diff suppressed because it is too large Load Diff

View File

@@ -4,14 +4,14 @@ include <../stems/cherry.scad>
module centered_tines(stem_support_height) {
if ($key_length < 2) {
translate([0,0,$stem_support_height / 2]) {
cube([total_key_width(), 0.5, $stem_support_height], center = true);
cube([total_key_width() -$wall_thickness/2, 0.5, $stem_support_height], center = true);
}
}
translate([0,0,$stem_support_height / 2]) {
cube([
1,
total_key_height(),
total_key_height() -$wall_thickness/2,
$stem_support_height
],
center = true);

View File

@@ -4,7 +4,6 @@ include <stems/box_cherry.scad>
include <stems/alps.scad>
include <stems/filled.scad>
include <stems/cherry_stabilizer.scad>
include <stems/custom.scad>
//whole stem, alps or cherry, trimmed to fit

View File

View File

@@ -1,3 +0,0 @@
include <../includes.scad>
key();

Binary file not shown.