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 +3 -2
- topologicpy/Dictionary.py +952 -134
- topologicpy/Graph.py +954 -106
- topologicpy/Wire.py +29 -4
- topologicpy/version.py +1 -1
- {topologicpy-0.8.95.dist-info → topologicpy-0.8.97.dist-info}/METADATA +1 -1
- {topologicpy-0.8.95.dist-info → topologicpy-0.8.97.dist-info}/RECORD +10 -10
- {topologicpy-0.8.95.dist-info → topologicpy-0.8.97.dist-info}/WHEEL +1 -1
- {topologicpy-0.8.95.dist-info → topologicpy-0.8.97.dist-info}/licenses/LICENSE +0 -0
- {topologicpy-0.8.95.dist-info → topologicpy-0.8.97.dist-info}/top_level.txt +0 -0
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
|
-
|
|
3553
|
-
|
|
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
|