Dometyl.Key
module Face : sig ... end
An outer face of a keyhole.
module Faces : sig ... end
rotate_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.t
orthogonal t side
Compute the orthogonal of the face at the given side
of keyhole t
.
val normal : t -> OCADml.V3.t
normal t
Compute the normal of the plane that the keyhole t
rests on.
val to_scad : t -> OSCADml.Scad.d3
to_scad t
Obtain the final scad from the keyhole t
, subtracting out the cutout
if there is one.