Parametric Spring-Loaded Tape Adapter

A parametric tape spool adapter featuring a compliant spring mechanism. This script generates a hub with tangential arms that connect the inner bore to the outer rim, allowing for tolerance compensation and smooth rotation.

This design features a tapered notch to ensure it prints cleanly without supports.

Parameters

Measurements (Calipers)

rod_diameter: Diameter of the mounting rod/dowel (measure the actual object).

spool_inner_diameter: The Inner Diameter of the tape roll where the adapter sits.

tape_width: The exact width of the tape roll.

Tolerances & Fit

rod_clearance: Extra gap added to the rod diameter so it slides easily.

tape_width_clearance: Extra clearance added to the tape width slot so the roll spins freely.

Structural Design

arm_thickness: Thickness of the flexible spring arm walls.

arm_count: Number of spring arms.

arm_sweep_angle: Arm curvature (100-120 is usually best).

center_wall_thickness: Thickness of the solid ring around the center hole.

Flange & Rims

rim_thickness: Vertical thickness of the top/bottom retaining rims.

rim_height: How far the rims extend outward past the tape diameter (the flange lip).

chamfer: Size of the chamfers on edges (0 to disable).