Skip to content

Instantly share code, notes, and snippets.

@burrussmp
Created April 26, 2020 20:11
Show Gist options
  • Save burrussmp/1cd44688ba3fc2247b28ae0558ab540b to your computer and use it in GitHub Desktop.
Save burrussmp/1cd44688ba3fc2247b28ae0558ab540b to your computer and use it in GitHub Desktop.
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