Back to docs

Slot Plate
A prpol slot_plate part

This is what is generated from slot_plate();.

Customizing slot_plate with OpenSCAD parameters

slot_plate is a grid plate covered in alternating-direction slots, with standard grid holes along its short edges. No matter the arrangement of mounting holes on an off-the-shelf component, you can almost always line up at least three holes with the slots of a slot plate by rotating and sliding the component around on the plate.

Here it is called with every parameter spelled out:

slot_plate( plate_thickness = 5, plate_length = 11, plate_width = 6, grid_hole_diameter = global_default_hole_diameter + 0.1, slot_width = 3.3, slot_length = 12, chamfer_depth = 0.6, echo_parameters = true );
plate_thickness plate thickness in mm (default 5).
plate_length plate length in 1 cm units (default 11).
plate_width plate width in 1 cm units (default 6).
grid_hole_diameter grid hole diameter in mm (default global_default_hole_diameter + 0.1).
slot_width slot width in mm (default 3.3, sized for m3 screws).
slot_length slot length in mm (default 12).
chamfer_depth edge chamfer in mm (default 0.6).
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:

slot_plate(); slot_plate(plate_length = 13, plate_width = 8); slot_plate(slot_length = 16);