fd9e768fc1
cq_toplevel: allow exporting case in front/back/side orientation
2024-02-07 22:08:46 +00:00
425bd07d38
cq_toplevel: remove dead code from export_png_image
2024-02-07 21:51:03 +00:00
c19431ba1d
replace cq_toplevel.py --export-svg with --export-png, which uses the same render pipeline as the interactive editor
2024-02-07 04:27:41 +00:00
3afdf11e8f
cq_toplevel: memoize the model, to speed up the case where invoked in a way that we dont need to compute it
2024-02-07 01:41:46 +00:00
67deb480f0
doc: partial work to exporting viewer images as part of build
...
this approach may be flawed in that headless chromium can't actually load this vtk page, and hence i wouldn't be able to build in a sandbox (i.e. as a nix package)
a better approach may be to export the images via vtk python, though it's unclear if this is possible without a UI either
2024-02-06 23:52:17 +00:00
aac4584e30
flake: include chromium in the dev env to aid browser automation
2024-02-06 23:50:31 +00:00
b5ae83ddcd
Makefile: 'cp' instead of 'ln' the html artifacts to avoid funky ways that browsers follow symlinks
2024-02-06 23:50:08 +00:00
5ed54c4aad
Makefile: add rules to generate .svg files as part of make doc
2024-02-05 04:20:03 +00:00
e839bb489c
Makefile: create build/ directories before generating output
2024-02-05 04:18:16 +00:00
ccc04dbd5a
rename: doc-vtk -> web-viewer
2024-02-05 03:58:32 +00:00
9a35d265ea
doc-vtk: move sources out of build/
2024-02-05 03:57:04 +00:00
2b414b51ae
doc-vtk: fix scrolling
2024-02-05 03:49:22 +00:00
afb41b4483
Makefile: add a make doc
rule
2024-02-05 03:42:50 +00:00
2a8b5382ef
doc-vtk: also render the case with a phone
2024-02-05 03:42:35 +00:00
e9f5e4aec3
cq_toplevel: implement --render-phone-only CLI option to render just the phone without any case
2024-02-05 03:41:20 +00:00
5da7a1a8d8
cq_toplevel: implement --export-vtk CLI option
2024-02-05 03:18:39 +00:00
3027847301
doc-vtk: render the actual pinephone case
2024-02-05 03:18:17 +00:00
c89764b73a
build/doc-vtk: proof-of-concept model web renderer
...
VTK is what cadquery _actually_ uses for its docs, despite claims that it uses TJS
2024-02-03 04:22:30 +00:00
c4d90efedb
cq_toplevel: add a --export-svg option
2024-02-03 03:00:21 +00:00
0a0f9ddcfc
pinephone: update volume and power button positions
2024-01-01 05:18:48 +00:00
78a273bd08
add an option to also render the phone inside the case
2024-01-01 05:18:19 +00:00
f6b866d845
more documentation for print settings
2023-12-31 02:19:20 +00:00
d6803c98e6
case: cut out more of the USB port, for better access
2023-12-30 14:57:32 +00:00
df5106c3ae
case: bump the button inset margin to remove artifacts after earlier fillet -> chamfer change
2023-12-30 14:44:26 +00:00
cc5a537893
case: fix camelCase -> snake_case
2023-12-30 14:39:00 +00:00
e305925dc6
case: aux/usb: cut further into the case, safely
2023-12-30 14:38:37 +00:00
88d17aae8d
case: replace the bottom fillet with a chamfer
...
that should print more reliably
2023-12-30 13:59:39 +00:00
7ebe77d879
case: replace the button rockers with pillars
...
these should print better
2023-12-30 12:49:22 +00:00
60335aedec
case: refactor: lift ".solids()" calls to toplevel
2023-12-30 12:18:20 +00:00
6cccd6f212
case: shift the battery mesh even higher, to account for the battery's own USB input
2023-12-30 10:35:09 +00:00
2a3a2b6248
case: replace the battery straps with a chain-like pattern
...
the naive strap implementation works, but pulls the sides of the case down, causing the media buttons to be a bit less precies
hopefully this chain system distributes the tension a little more evenly, and it might even look better
2023-12-30 10:22:45 +00:00
69bcaebeed
document more print results
2023-12-29 10:50:26 +00:00
086f679323
case: orient for printing
2023-12-28 09:57:22 +00:00
c3b7ee3c44
add a Makefile to export the cadquery to stl and gcode
2023-12-28 09:10:09 +00:00
7931abdcb2
case: add straps to hold in the battery
2023-12-28 08:59:10 +00:00
c3087c9510
case: shift the battery cutout a bit
2023-12-28 03:32:11 +00:00
0cb01b3813
case: cut out a battery slot
2023-12-28 03:29:13 +00:00
14293a3d3b
case: add a bump to the power button
2023-12-28 01:40:32 +00:00
a5693fccc8
case: tune button parameters
2023-12-27 11:56:16 +00:00
e2df5e52a1
case: add volume rockers
2023-12-27 11:40:58 +00:00
e4bfcb1d2e
case: fix button gap so that it actually surrounds the button instead of overlaps its edge
2023-12-27 11:07:49 +00:00
769ac04913
case: add cutouts for volume/power
2023-12-27 10:34:21 +00:00
58f9948c5c
case: refactor: simplify button seat cutouts
2023-12-27 08:47:32 +00:00
64be8bd320
case: cut out a seat for the volume/power buttons
2023-12-27 08:45:50 +00:00
74fe648f65
case: cut away the USB port
2023-12-27 05:57:11 +00:00
f89fa118e6
case: cut out the aux port
2023-12-27 03:44:19 +00:00
fe9793fd34
case: add a cutout for the camera
2023-12-27 03:14:46 +00:00
e248d2013e
case: tune the overhang radius
2023-12-27 02:24:26 +00:00
aa57d262e2
create a trivial case from the phone model
...
missing cutouts for ports and extrusions for buttons
2023-12-26 11:53:01 +00:00
4c3600efea
add peripherals and ports to the pinephone model
2023-12-26 05:22:49 +00:00