// License: CC0 // // To the extent possible under law, Clementine Computing LLC has waived // all copyright and related or neighboring rights to this file. // // This work is published from: United States. // include module PopufarePowerAdapterMiddlePlate() { _w = _POWER_BOX_WIDTH; _h = _POWER_BOX_HEIGHT; _r = _POWER_BOX_R; piu_usb_h = _POWER_BOX_PIU_USB_H; difference() { rounded_rect(_w, _h, _r); // housing holes // translate([ (_w/2 - 3*_r), (_h/2 - 3*_r)]) circle(_r); translate([-(_w/2 - 3*_r), (_h/2 - 3*_r)]) circle(_r); translate([-(_w/2 - 3*_r),-(_h/2 - 3*_r)]) circle(_r); translate([ (_w/2 - 3*_r),-(_h/2 - 3*_r)]) circle(_r); rounded_rect(_w - 12*_r, _h - 12*_r, _r); // PIU rs232 ttl USB out // translate([-_w/2, piu_usb_h]) square([24*_r, _PIU_USB_WIDTH], center=true); } }