Compare commits

...

6 Commits

Author SHA1 Message Date
Roberto Alsina 6f2e04b9b9 Rebuilt with latest cadquery 2023-04-15 21:44:03 -03:00
Roberto Alsina ab741ae02f Add suggested extensions 2023-04-15 21:38:25 -03:00
Roberto Alsina 69496f92f6 Updated readme 2023-04-15 21:35:12 -03:00
Roberto Alsina b31efd2c07 vs config 2023-04-15 21:32:36 -03:00
Roberto Alsina 4a90e385e9 lint, updated README 2023-04-15 21:28:55 -03:00
Roberto Alsina 0a81747299 lint, updated README 2023-04-15 21:14:45 -03:00
15 changed files with 36 additions and 9 deletions

15
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"emeraldwalk.RunOnSave",
"ms-vscode.makefile-tools",
"ms-python.python"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
]
}

View File

@ -7,5 +7,6 @@
"isAsync": true,
"cmd": "make"
}
}
}
]
}
}

View File

@ -7,7 +7,8 @@ all: $(STL_FILES) lint
lint: .lint
.lint: **.py
.lint: *.py components/*.py
flake8
black *.py */*.py
touch .lint

View File

@ -1,4 +1,4 @@
# Homemade Computer Project To Be Named Later
# Model-A Homemade Computer Project
Here are the files used to build the case for my homemade
computer. You can see a lot about it in [this article](http://ralsina.me/weblog/posts/so-i-built-a-laptop.html) (or at least about it as it was in early march 2023)
@ -44,6 +44,7 @@ The basic concepts work, as proven by me building the damned things. But still:
* The component library is very limited (just the things I am using in my build)
None of those things is an insurmountable problem, and I am working on them,
and I have plans to fix it all. Eventually. Some day.
and I have plans to fix it all. Eventually. Some day. I only do this on
lunch breaks and weekends folks.
In the meantime, if you want to use any of this and need a hand, just contact me at roberto.alsina@gmail.com and I'll try to help.
In the meantime, if you want to use any of this and need a hand, just contact me at roberto.alsina@gmail.com and I'll try to help.

View File

@ -1,4 +1,5 @@
import cadquery as cq
# from cq_warehouse.drafting import Draft
import components.audio_plug as audio_plug

View File

@ -25,7 +25,9 @@ def init():
"x": 0,
"y": 0,
"z": kbd_pillar_offset_1,
"shape": cq.Sketch().push(kbd_pillar_positions).circle(kbd_pillar_radius_1, mode="a"),
"shape": cq.Sketch()
.push(kbd_pillar_positions)
.circle(kbd_pillar_radius_1, mode="a"),
},
# Taller pillars with holes for self-tapping screws
{

View File

@ -141,4 +141,6 @@ screen_pillars.pillar_width = 12
screen_pillars.pillar_height = 12
screen_pillars.screw_head_radius = 3
screen_pillars.screw_radius = 1.8
screen_pillars.screw_head_depth = base_thickness - 13 # (screw thread length - threaded insert depth)
screen_pillars.screw_head_depth = (
base_thickness - 13
) # (screw thread length - threaded insert depth)

View File

@ -297,7 +297,10 @@ def model():
(0, 0),
(0, keyboard.kbd_front_thickness),
(dim.shell_t, keyboard.kbd_front_thickness),
(keyboard.kbd_actual_height + dim.shell_t, keyboard.kbd_back_thickness),
(
keyboard.kbd_actual_height + dim.shell_t,
keyboard.kbd_back_thickness,
),
(keyboard.kbd_actual_height + dim.shell_t, dim.base_thickness),
(dim.height, dim.base_thickness),
(dim.height, 0),

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,4 @@
cadquery
git+https://github.com/gumyr/cq_warehouse.git#egg=cq_warehouse
flake8
black

Binary file not shown.

Binary file not shown.

Binary file not shown.