1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 13:01:37 +02:00
This commit is contained in:
Justin Lin
2019-09-21 10:16:45 +08:00
parent 2129c09fb9
commit 927d551620
3 changed files with 57 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,57 @@
# connector_peg
Create a connector peg.
**Since:** 2.1
## Parameters
- `radius` : The shaft radius of the peg.
- `spacing` : The spacing between the peg and void component. Default to `0.5`.
- `void` : The void component for differencing. It's used to create a cavity for a peg. Default to `false`.
- `ends` : Default to `false`. To create a double-ended peg, set it to `true`.
## Examples
include <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
);
![connector_peg](images/lib2-connector_peg-1.JPG)
include <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
);
![connector_peg](images/lib2-connector_peg-2.JPG)