3d-printing/tapo-ceiling-mount/tapo_ceiling_camera_adapter_tapo.scad

33 lines
1.3 KiB
OpenSCAD

// ============================================
// Tapo Ceiling Mount - Tapo Camera Adapter (direct)
// ============================================
// Its top is a cup that locks onto the collar bottom ring. Its bottom carries
// the male Tapo twist mount: a short boss with 2 lugs, like the original
// Tapo base. Put the camera on the boss and turn it clockwise (seen from
// below) until its own latch clicks. Turn it back to remove it.
//
// The one sensitive value is tapo_lug_gap. Print tapo_ceiling_tapo_base.scad
// first, try the three test bases on the camera, and set the gap that clicks
// with no play.
//
// Print orientation: rim on the bed. The lugs and the latch beam of the cup
// print on the bed. The Tapo boss points up. Add support under the two Tapo
// lugs only.
parameters_only = false;
include <tapo_ceiling_mount_parameters.scad>;
module tapo_camera_adapter_tapo() {
difference() {
union() {
// A small central hole, so the boss stands on solid material.
adapter_core(tapo_hole_d);
translate([0, 0, adapter_bot_z]) mirror([0, 0, 1])
tapo_male(tapo_lug_gap, tapo_hole_d);
}
translate([0, 0, adapter_bot_z]) mirror([0, 0, 1])
tapo_recess_cut();
}
}
tapo_camera_adapter_tapo();