mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 00:09:41 +00:00
Doc Fixes
Added $edge_angle to edge_profile_asym() side effects Added edge list example to Rounding_the_Cube tutorial
This commit is contained in:
parent
9635d6107d
commit
10aab594fc
2 changed files with 8 additions and 0 deletions
|
@ -1842,6 +1842,7 @@ module edge_profile(edges=EDGES_ALL, except=[], excess=0.01, convexity=10) {
|
|||
// `$idx` is set to the index number of each edge.
|
||||
// `$attach_anchor` is set for each edge given, to the `[ANCHOR, POSITION, ORIENT, SPIN]` information for that anchor.
|
||||
// `$profile_type` is set to `"edge"`.
|
||||
// `$edge_angle` is set to the inner angle of the current edge.
|
||||
// Example:
|
||||
// ogee = [
|
||||
// "xstep",1, "ystep",1, // Starting shoulder.
|
||||
|
|
|
@ -76,6 +76,13 @@ include <BOSL2/std.scad>
|
|||
cuboid([100,80,60], rounding=20, except = TOP+FRONT);
|
||||
```
|
||||
|
||||
Multiple edges can be specified in the form of a list:
|
||||
|
||||
```openscad-3D
|
||||
include <BOSL2/std.scad>
|
||||
cuboid([100,80,60], rounding=20, edges=[FWD,TOP], except=[TOP+LEFT,FWD+RIGHT]);
|
||||
```
|
||||
|
||||
You can also specify which edges to round using a 3x4 array, where each entry corresponds to one of the 12 edges and is set to 1 if that edge is included and 0 if the edge is not. The edge ordering is:
|
||||
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue