From 6a747a97c1469cd397acd60a75b7a09294a81551 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Mon, 23 May 2022 21:47:38 -0400 Subject: [PATCH] Adjust follow focus STL files for easy printing --- follow_focus.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/follow_focus.py b/follow_focus.py index 73cc9aa..369d088 100644 --- a/follow_focus.py +++ b/follow_focus.py @@ -244,6 +244,9 @@ show_object(l_gear, name='Follow Focus Large Gear') show_object(s_gear, name='Follow Focus Small Gear') # Export STL +fastener = fastener.rotateAboutCenter((1,0,0), 90).rotateAboutCenter((0,1,0), -slant_degree) +lid = lid.rotateAboutCenter((1,0,0), 180).rotateAboutCenter((0,0,1), -slant_degree) +base = base.rotateAboutCenter((0,0,1), slant_degree) cq.exporters.export(base, 'follow-focus-base.stl') cq.exporters.export(lid, 'follow-focus-lid.stl') cq.exporters.export(fastener, 'follow-focus-fastener.stl')