Captive Bearing Flange
This is what is generated from captive_bearing_flange();.
Customizing captive_bearing_flange with OpenSCAD parameters
captive_bearing_flange captures a ball bearing in a printable housing and bolts it onto the prpol grid. The optional bore body fills the inside of the bearing with a shaft-ready hub. Here it is called with every parameter spelled out:
captive_bearing_flange(
bearing_outer_diameter = 16.0,
bearing_inner_diameter = 8.0,
bearing_thickness = 5.04,
mount_style = "center",
do_bore_body = true,
bore_body_hole_diameter = global_default_hole_diameter,
echo_parameters = true
);
| bearing_outer_diameter | outer diameter of the bearing in mm (default 16.0). |
| bearing_inner_diameter | bore diameter of the bearing in mm (default 8.0). |
| bearing_thickness | bearing thickness in mm (default 5.04). |
| mount_style | "center" (default) puts one mount hole on each side of the bearing, "end" puts both mount holes on the same side. |
| do_bore_body | when true (default), generates the spool-shaped body that fits inside the bearing. Set to false for the flange alone. |
| bore_body_hole_diameter | the through-hole in the bore body in mm (default global_default_hole_diameter). |
| echo_parameters | when true (default), the OpenSCAD console echoes the full parameter list when you preview or render the module. |
If you leave a parameter out of the module call, that parameter will just have the default value. For example, these are all valid module calls:
captive_bearing_flange();
captive_bearing_flange(mount_style = "end");
captive_bearing_flange(do_bore_body = false);
captive_bearing_flange(
bearing_outer_diameter = 22,
bearing_inner_diameter = 8,
bearing_thickness = 7
);