We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Couple of unused code in this file, may want to remove them if it was intended:
dist1
dist2
def isInverted(solid): face = solid.Faces[0] Range = face.ParameterRange u = (Range[1] + Range[0]) / 2.0 v = (Range[3] + Range[2]) / 2.0 dist1 = face.CenterOfMass.distanceToPoint(solid.BoundBox.Center) dist2 = face.CenterOfMass.add(face.normalAt(u, v).multiply(1.0e-6)).distanceToPoint( solid.BoundBox.Center ) point2 = face.CenterOfMass.add(face.normalAt(u, v).multiply(1.0e-6)) if solid.isInside(point2, 1e-7, False): return True else: return False
isInLine
signPlane
isSameValue
from GEOUNED.Utils.BasicFunctions_part1 import ( isParallel, isOposite, isInLine, signPlane, isSameValue, )
The text was updated successfully, but these errors were encountered:
See PR #35
Sorry, something went wrong.
Merged in commit 4db7ce2
No branches or pull requests
Couple of unused code in this file, may want to remove them if it was intended:
dist1
anddist2
are never used.isInLine
,signPlane
,isSameValue
)The text was updated successfully, but these errors were encountered: