omdl
v0.5
OpenSCAD Mechanical Design Library
|
Shape edge finishing tools. More...
Files | |
file | tool_edge.scad |
Shape edge finishing tools. | |
Functions | |
module | edge_profile_r (r, p=0, f=1, a=90,) |
A 2D edge-finish profile specified by intersection radius. More... | |
module | edge_add_r (r, l=1, p=0, f=1, m=3, ba=45, a1=0, a2=90, center=false) |
A 3D edge-finish additive shape specified by intersection radius. More... | |
Shape edge finishing tools.
module edge_add_r | ( | r | , |
l | = 1 , |
||
p | = 0 , |
||
f | = 1 , |
||
m | = 3 , |
||
ba | = 45 , |
||
a1 | = 0 , |
||
a2 | = 90 , |
||
center | = false |
||
) |
A 3D edge-finish additive shape specified by intersection radius.
r | <decimal> The radius length. |
l | <decimal> The edge length. |
p | <integer> The profile identifier. |
f | <decimal> The mid-point offset factor. |
m | <integer> The end finish mode: (B0: bottom, B1: top). |
ba | <decimal> The end bevel angle. |
a1 | <decimal> The edge intersection start angle. |
a2 | <decimal> The edge intersection end angle. |
center | <boolean> Center length about origin. |
Example
m | B1 | B0 | Description |
---|---|---|---|
0 | 0 | 0 | cut bottom (-z) and top (+z) |
1 | 0 | 1 | bevel bottom and cut top |
2 | 1 | 0 | cut bottom and bevel top |
3 | 1 | 1 | bevel bottom and top |
See edge_profile_r() for description of available profiles.
Definition at line 204 of file tool_edge.scad.
module edge_profile_r | ( | r | , |
p | = 0 , |
||
f | = 1 , |
||
a | = 90 |
||
) |
A 2D edge-finish profile specified by intersection radius.
r | <decimal> The radius length. |
p | <integer> The profile identifier. |
f | <decimal> The mid-point offset factor. |
a | <decimal> The sweep angle. |
Example
Profiles:
p | Description |
---|---|
0 | Two segment bevel with mid inflection |
1 | A cove with cut-out offset |
2 | A quarter round with offset |
Definition at line 110 of file tool_edge.scad.