Created
April 26, 2020 20:11
-
-
Save burrussmp/1cd44688ba3fc2247b28ae0558ab540b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create3DFaces(sideHull,frontHull): | |
sideHull = normalize(sideHull) | |
frontHull = normalize(frontHull) | |
sideHull = addZAxis(sideHull) | |
frontHull = addZAxis(frontHull) | |
frontHull = rotate_by_90(frontHull) | |
frontHull,sideHull,hull_back = match_front_face(frontHull,sideHull) | |
faces = construct_faces(frontHull,hull_back) | |
faces = scale_down_faces(faces) | |
return faces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment