27 lines
1,017 B
OpenSCAD
27 lines
1,017 B
OpenSCAD
// ============================================
|
|
// Tapo Ceiling Mount - Blank Camera Adapter
|
|
// ============================================
|
|
// A template adapter. Its top is a cup that locks onto the collar bottom
|
|
// ring. Its bottom is a flat surface with a central cable hole and an optional
|
|
// generic screw pattern. Copy this file and add your own camera interface
|
|
// below.
|
|
//
|
|
// Print orientation: rim on the bed. The lugs and the latch beam print on the
|
|
// bed. No support.
|
|
|
|
parameters_only = false;
|
|
include <tapo_ceiling_mount_parameters.scad>;
|
|
|
|
module tapo_camera_adapter_blank() {
|
|
difference() {
|
|
adapter_core();
|
|
// Optional generic screw pattern in the base, from the camera side.
|
|
if (blank_screw_pattern)
|
|
for (s = [-1, 1])
|
|
translate([s * blank_screw_spacing / 2, 0,
|
|
adapter_top_z - adapter_plate_t - 0.01])
|
|
cylinder(d = blank_screw_d, h = adapter_plate_t + 0.02);
|
|
}
|
|
}
|
|
|
|
tapo_camera_adapter_blank();
|