first commit

This commit is contained in:
Rafał Paluch 2025-12-04 22:41:47 +01:00
commit 37b113608d
4 changed files with 44341 additions and 0 deletions

0
README.md Normal file
View File

Binary file not shown.

44305
termometr_skan.stl Normal file

File diff suppressed because it is too large Load Diff

36
uchwyt.py Normal file
View File

@ -0,0 +1,36 @@
from build123d import *
from ocp_vscode import *
dlugosc = 44
szerokosc = 44
wysokosc = 12.2
zaokraglenie = 8
with BuildPart() as termometr:
with BuildSketch() as s1:
RectangleRounded(dlugosc, szerokosc, 8)
extrude(amount=wysokosc, both=True)
with BuildPart() as uchwyt:
with BuildSketch() as s1:
RectangleRounded(dlugosc + 20, szerokosc - 10 , zaokraglenie)
extrude(amount=wysokosc + 5, both=True)
powiekszony = scale(termometr.part, by=1.05)
with BuildPart() as polaczone:
add(uchwyt)
with Locations((0,-15,0)):
add(powiekszony, mode=Mode.SUBTRACT)
with Locations((0,-7,0)):
Box(40,34.4,70, mode=Mode.SUBTRACT)
with Locations((0,-10,0)):
add(termometr)
show(polaczone)