mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Changed to ocp_vscode viewer
This commit is contained in:
parent
d0ca05856f
commit
7ac6a50040
5 changed files with 15 additions and 44 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from build123d import *
|
||||
from ocp_vscode import *
|
||||
|
||||
# Taper Extrude and Extrude to "next" while creating a Cherry MX key cap
|
||||
# See: https://www.cherrymx.de/en/dev.html
|
||||
|
|
@ -37,5 +38,4 @@ socket -= Rectangle(4.1 * MM, 1.17 * MM)
|
|||
socket -= Rectangle(1.17 * MM, 4.1 * MM)
|
||||
key_cap += extrude(Plane(rib_bottom) * socket, amount=3.5 * MM)
|
||||
|
||||
if "show_object" in locals():
|
||||
show_object(key_cap, name="key cap", options={"alpha": 0.7})
|
||||
show(key_cap, alphas=[0.3])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue