mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fix some rounding docs formatting and examples.
This commit is contained in:
parent
f3c69eb673
commit
4fc24ef939
2 changed files with 62 additions and 63 deletions
|
@ -64,7 +64,7 @@ include <skin.scad>
|
|||
// can specify a list to round each corner with different parameters. If the curve is not closed then the first and last points
|
||||
// of the curve are not rounded. In this case you can specify a full list of points anyway, and the endpoint values are ignored,
|
||||
// or you can specify a list that has length len(path)-2, omitting the two dummy values.
|
||||
|
||||
//
|
||||
// Examples:
|
||||
// * `method="circle", radius=2`:
|
||||
// Rounds every point with circular, radius 2 roundover
|
||||
|
@ -134,7 +134,6 @@ include <skin.scad>
|
|||
// polygon(round_corners(shape, method="chamfer", cut=1));
|
||||
// color("red") down(.1) polygon(shape);
|
||||
// Example(Med3D): 3D printing test pieces to display different curvature shapes. You can see the discontinuity in the curvature on the "C" piece in the rendered image.
|
||||
// $fn=96;
|
||||
// ten = square(50);
|
||||
// cut = 5;
|
||||
// linear_extrude(height=14) {
|
||||
|
@ -143,12 +142,11 @@ include <skin.scad>
|
|||
// translate([85,85,0])text("3",size=30, valign="center", halign="center");
|
||||
// translate([25,85,0])text("7",size=30, valign="center", halign="center");
|
||||
// }
|
||||
// linear_extrude(height=13)
|
||||
// {
|
||||
// linear_extrude(height=13) {
|
||||
// polygon(round_corners(ten, cut=cut), $fn=96*4);
|
||||
// translate([60,0,0])polygon(round_corners(ten, method="smooth", cut=cut));
|
||||
// translate([60,60,0])polygon(round_corners(ten, method="smooth", cut=cut, k=0.32));
|
||||
// translate([0,60,0])polygon(round_corners(ten, method="smooth", cut=cut, k=0.7));
|
||||
// translate([60,0,0])polygon(round_corners(ten, method="smooth", cut=cut, $fn=96));
|
||||
// translate([60,60,0])polygon(round_corners(ten, method="smooth", cut=cut, k=0.32, $fn=96));
|
||||
// translate([0,60,0])polygon(round_corners(ten, method="smooth", cut=cut, k=0.7, $fn=96));
|
||||
// }
|
||||
// Example(Med2D): Rounding a path that is not closed in a three different ways.
|
||||
// $fs=.1;
|
||||
|
@ -1758,7 +1756,8 @@ function _circle_mask(r) =
|
|||
|
||||
|
||||
// Module: bent_cutout_mask()
|
||||
// Usage: bent_cutout_mask(r|radius,thickness,path)
|
||||
// Usage:
|
||||
// bent_cutout_mask(r|radius, thickness, path)
|
||||
// Description:
|
||||
// Creates a mask for cutting a round-edged hole out of a vertical cylindrical shell. The specified radius
|
||||
// is the center radius of the cylindrical shell. The path needs to be sampled finely enough
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
BOSL_VERSION = [2,0,318];
|
||||
BOSL_VERSION = [2,0,319];
|
||||
|
||||
|
||||
// Section: BOSL Library Version Functions
|
||||
|
|
Loading…
Reference in a new issue