/** I bought some drawer slides, which I want to attach to some component boxes (boxes which contain plastic inserts for storing screws etc). I want the boxes turned into a set of drawers, so the drawer slides must attach to the boxes. */ class SliderMount : Model { override fun build() : Shape3d { // Maximize the gluing area val base = Square( 70, 20 ).center().roundAllCorners(2).extrude(1.2) var main = Square( 45, 20 ).center().roundAllCorners(8).extrude( 8 ) val holes = Cylinder( 20, 2.0 ).center() .translateX( 25/2 ).mirrorX().also() return base + main - holes } }