topologicpy 0.8.95__py3-none-any.whl → 0.8.97__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
topologicpy/Cell.py CHANGED
@@ -3549,8 +3549,9 @@ class Cell():
3549
3549
  sphere = Topology.Translate(sphere, 0, 0, radius)
3550
3550
  elif placement.lower() == "lowerleft":
3551
3551
  sphere = Topology.Translate(sphere, radius, radius, radius)
3552
- sphere = Topology.Orient(sphere, origin=Vertex.Origin(), dirA=[0, 0, 1], dirB=direction)
3553
- sphere = Topology.Place(sphere, originA=Vertex.Origin(), originB=origin)
3552
+
3553
+ if not direction == [0,0,1]:
3554
+ sphere = Topology.Orient(sphere, origin=origin, dirA=[0, 0, 1], dirB=direction)
3554
3555
  return sphere
3555
3556
 
3556
3557
  @staticmethod