Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
factoryjp committed Oct 16, 2023
1 parent a526ec3 commit fa5d215
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/openscad_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
cwebp $png -o ${png%.png}.webp
done
- name: Clean up directory (Only keep STL and WebP files and txt descriptions)
- name: Clean up directory (Only keep STL, WebP files and txt descriptions)
run: |
find . ! -path "./.git/*" ! -name ".git" -type f ! \( -name "*.stl" -o -name "*.webp" -o -name "*.txt" \) -exec rm -rf {} \;
Expand Down
22 changes: 14 additions & 8 deletions keycaps/chocv1_08u/base.scad
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module keycap_shape() {
bottom_size = 15;
middle_size = 14;
top_size = 12.5;
skert_height = 5.0;
skert_height = 1.0;

difference () {
// 外形
Expand All @@ -41,13 +41,19 @@ module keycap_shape() {
}

module kailh_choc_v1_stem() {
translate([-2.85, 0, -3/2])
cube([1, 2, 3], center=true);
translate([2.85, 0, -3/2])
cube([1, 2, 3], center=true);
leg_length = 3.6;

translate([-2.85, 0, -leg_length/2])
cube([1, 2, leg_length], center=true);
translate([2.85, 0, -leg_length/2])
cube([1, 2, leg_length], center=true);
}

union() {
keycap_shape();
kailh_choc_v1_stem();
module generate() {
union() {
keycap_shape();
kailh_choc_v1_stem();
}
}

generate()
2 changes: 1 addition & 1 deletion keycaps/chocv1_08u/base.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
16mmピッチの基本形
Choc V1 0.8u
ChocV1 / 0.8u
2 changes: 1 addition & 1 deletion keycaps/chocv1_08u/cylindrical.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
上面がcylindricalになっている
Choc V1 0.8u
ChocV1 / 0.8u

0 comments on commit fa5d215

Please sign in to comment.