mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 06:08:31 +01:00
1.0 KiB
1.0 KiB
connector_peg
Create a connector peg.
Since: 2.1
Parameters
radius
: The shaft radius of the peg.height
: The height of the pag. Default to2.5 * radius
.spacing
: The spacing between the peg and void component. Default to0.5
.void
: The void component for differencing. It's used to create a cavity for a peg. Default tofalse
.ends
: Default tofalse
. To create a double-ended peg, set it totrue
.
Examples
use <part/connector_peg.scad>
radius = 2.5;
spacing = 0.5;
$fn = 48;
connector_peg(
radius = radius,
spacing = spacing
);
%connector_peg(
radius = radius,
spacing = spacing,
void = true
);
use <part/connector_peg.scad>
radius = 2.5;
spacing = 0.5;
$fn = 48;
connector_peg(
radius = radius,
spacing = spacing,
ends = true
);
%connector_peg(
radius = radius,
spacing = spacing,
ends = true,
void = true
);