Lichtslang 17x7mm toegevoegd.

This commit is contained in:
2025-12-02 21:51:19 +01:00
parent c18ab45dd6
commit e0224e066f
8 changed files with 65 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
from ocp_vscode import *
from build123d import *
set_port(3939)
b = 17
h = 7
l = 50
with BuildPart() as clamp:
with BuildSketch() as sk_clamp:
Rectangle(b, l)
fillet(sk_clamp.vertices(), radius=1.2)
extrude(amount=2.4)
show_all()

View File

@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

View File

@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 (multiconnect)" project-jdk-type="Python SDK" />
</project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/multiconnect.iml" filepath="$PROJECT_DIR$/.idea/multiconnect.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.13 (multiconnect)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

View File

@@ -25,8 +25,17 @@ with BuildPart() as box:
) )
fillet(zijwand.vertices(), radius=filletRad) fillet(zijwand.vertices(), radius=filletRad)
extrude(amount=h) extrude(amount=h)
with BuildSketch(zijwand.faces().filter_by(Axis.Z)[-1]) as klem:
afsluiter = Rectangle(2.4, 2.4)
# offset(
# afsluiter,
# -(wanddikte*2),
# kind = Kind.INTERSECTION,
# mode = Mode.SUBTRACT,
# )
# fillet(klem.vertices(), radius=filletRad)
extrude(amount = 1.6)
export_stl(box.part, "box.stl") #export_stl(box.part, "box.stl")
show(box) show(box)