Dometyl.Keymodule Face : sig ... endAn outer face of a keyhole.
module Faces : sig ... endrotate_about_origin r t
Rotate the keyhole t about its origin by the (euler) angles r.
quaternion_about_origin a t
Rotate the keyhole t about its normal by a radians.
val orthogonal : t -> [< `East | `North | `South | `West ] -> OCADml.V3.torthogonal t side
Compute the orthogonal of the face at the given side of keyhole t.
val normal : t -> OCADml.V3.tnormal t
Compute the normal of the plane that the keyhole t rests on.
val to_scad : t -> OSCADml.Scad.d3to_scad t
Obtain the final scad from the keyhole t, subtracting out the cutout if there is one.