/Printer/AngleCalibration.foocad
Use a set square to test that the three cubes are at 90 degrees from each other. My no-brand Chinesse printer was VERY badly aligned before I adjsuted it.
Note that the cubes are chamfered, so that elephant's foot will not affect the meaurement.
import static uk.co.nickthecoder.foocad.chamferedextrude.v1.ChamferedExtrude.* class AngleCalibration : Model { @Custom var distance = 100 var size = 10 override fun build() : Shape3d { val post = Square(size).center().chamferedExtrude( size, 0.6 ) return (post + post.translateX( distance ).rotateZ(90).also()).center() } }