Skip to content
Permalink
Browse files

FIXME: when all edges of the face are equals

  • Loading branch information...
amrit3701 committed Jul 15, 2017
1 parent 93f8396 commit 0faed773ca38eb2dfe1602d4bbd2a5c318c82821
Showing with 2 additions and 0 deletions.
  1. +2 −0 Rebarfunc.py
@@ -145,6 +145,8 @@ def getParametersOfFace(structure, facename, sketch = True):
# or not.
if (vec(edge)).Length not in [(vec(x)).Length for x in Edges]:
Edges.append(edge)
if len(Edges) == 1:
Edges.append(edge)
# facePRM holds length of a edges.
facePRM = [(vec(edge)).Length for edge in Edges]
# Find the orientation of the face. Also eliminating normal axes

0 comments on commit 0faed77

Please sign in to comment.
You can’t perform that action at this time.