aboutsummaryrefslogtreecommitdiffstats
path: root/checker/src/models/syringe.scad
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-06-30 11:00:21 +0200
committerLouis Burda <quent.burda@gmail.com>2021-06-30 11:00:21 +0200
commit9c24455a07b6c743239f3301475ad656b702a627 (patch)
treedea75223af235c22dcb519ad890406eec406fb50 /checker/src/models/syringe.scad
parent3fbf5317832f3f78918a2cd76e85b9fa3d1af381 (diff)
downloadenowars5-service-stldoctor-9c24455a07b6c743239f3301475ad656b702a627.tar.gz
enowars5-service-stldoctor-9c24455a07b6c743239f3301475ad656b702a627.zip
add new havoc which uploads stl models with real objects in them for fluff
Diffstat (limited to 'checker/src/models/syringe.scad')
-rw-r--r--checker/src/models/syringe.scad24
1 files changed, 24 insertions, 0 deletions
diff --git a/checker/src/models/syringe.scad b/checker/src/models/syringe.scad
new file mode 100644
index 0000000..3f14072
--- /dev/null
+++ b/checker/src/models/syringe.scad
@@ -0,0 +1,24 @@
+$fn = 20;
+
+base_height = 1;
+base_radius = 10;
+
+pipe_height = 10;
+pipe_radius = 2;
+
+main_radius = base_radius - 2;
+main_height = 50;
+
+needle_radius = 0.5;
+needle_height = 40;
+
+cylinder(r = base_radius, h = base_height);
+translate([0, 0, base_height]) {
+ cylinder(r = pipe_radius, h = pipe_height);
+ translate([0, 0, pipe_height]) {
+ cylinder(r = main_radius, h = main_height);
+ translate([0, 0, needle_height]) {
+ cylinder(r = needle_radius, h = needle_height, $fn=10);
+ }
+ }
+}