Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
Code to check isFaceInFace
-
Hello, i need help!
exists a simple way to check if face 2 in face 1 ?
i need a function: (pseudocode)
def isFaceInFace(face1, face2){ CODE TO CHECKING if faceinface then return true else return false end endthx

-
I think this will work. It checks the loops of
face1and looks forface2.def isFaceInFace(face1, face2){ face1.loops.each { |loop| next if loop.outer? return true if loop.edges.first.faces.include?(face2) } return false end
Advertisement