mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
doc tweak
This commit is contained in:
parent
bb77ec5b96
commit
7db17614bb
12
joiners.scad
12
joiners.scad
@ -1238,10 +1238,10 @@ module rabbit_clip(type, length, width, snap, thickness, depth, compression=0.1
|
|||||||
// assuming that they are rotated correctly. The bottom anchors will be at the bottom of the spline base. The top
|
// assuming that they are rotated correctly. The bottom anchors will be at the bottom of the spline base. The top
|
||||||
// anchors are at an arbitrary location and are not useful.
|
// anchors are at an arbitrary location and are not useful.
|
||||||
// .
|
// .
|
||||||
// By default the spline is created as a polygon with `2n` edges. For large choices of `n` this will produce a nice
|
// By default the spline is created as a polygon with `2n` edges and the radius is the outer radius to the unchamfered corners.
|
||||||
// result, but the inner radius will be only approximately the value requested. if you want a cylindrical result with
|
// For large choices of `n` this will produce result that is close to circular. For small `n` the result will be obviously polygonal.
|
||||||
// exactly accurate radii then set `crop=true`, which will intersect the shape with a suitable cylinder. Note that cropping
|
// If you want a cylindrical result then set `crop=true`, which will intersect an oversized version of the joint with a suitable cylinder.
|
||||||
// makes the most difference when the tooth count is low.
|
// Note that cropping makes the most difference when the tooth count is low.
|
||||||
// .
|
// .
|
||||||
// The teeth are chamfered proportionally based on the `chamfer` argument which specifies the fraction of the teeth tips
|
// The teeth are chamfered proportionally based on the `chamfer` argument which specifies the fraction of the teeth tips
|
||||||
// to remove. The teeth valleys are chamfered by half the specified value to ensure that there is room for the parts
|
// to remove. The teeth valleys are chamfered by half the specified value to ensure that there is room for the parts
|
||||||
@ -1327,8 +1327,12 @@ module hirth(n, ir, or, id, od, tooth_angle=60, cone_angle=0, chamfer=0.05, base
|
|||||||
|
|
||||||
// For uncropped case we scale to match user's desired radius exactly
|
// For uncropped case we scale to match user's desired radius exactly
|
||||||
real_or = topspan[1].x;
|
real_or = topspan[1].x;
|
||||||
|
real_ir = topspan[0].x;
|
||||||
|
|
||||||
scale = crop ? 1 : or/real_or;
|
scale = crop ? 1 : or/real_or;
|
||||||
|
|
||||||
|
echo(scaled_ir=real_ir*scale);
|
||||||
|
|
||||||
// used to get true bottom at true target radius; has the endpoints of the bottom valley without chamfer/rounding
|
// used to get true bottom at true target radius; has the endpoints of the bottom valley without chamfer/rounding
|
||||||
botspan = zrot(-180/n, [
|
botspan = zrot(-180/n, [
|
||||||
trans_prof(ir_side, [0,1/2,-tooth_height/2]),
|
trans_prof(ir_side, [0,1/2,-tooth_height/2]),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user