From 0bee80f582e25189dc3bb3399c766f05f3d8e75f Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Wed, 26 Jun 2024 19:27:36 -0400 Subject: [PATCH] fix: use `.located` to move threads --- nhf/handle.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nhf/handle.py b/nhf/handle.py index 3aef3bb..0424569 100644 --- a/nhf/handle.py +++ b/nhf/handle.py @@ -148,11 +148,11 @@ class Handle: result .union( thread - .moved(Cq.Vector(0, 0, self.connector_length / 2))) + .located(Cq.Location((0, 0, self.connector_length / 2)))) .union( thread .rotate((0,0,0), (1,0,0), angleDegrees=90) - .moved(Cq.Vector(0, 0, -self.connector_length / 2))) + .located(Cq.Location((0, 0, -self.connector_length / 2)))) ) return result @@ -179,7 +179,7 @@ class Handle: result .union( thread - .moved(Cq.Vector(0, 0, self.connector_length / 2))) + .located(Cq.Location((0, 0, self.connector_length / 2)))) ) return result