You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A library to create primitives with 45° chamfers in OpenSCAD.
3
4
4
5
## What it does
6
+
5
7
The commands `chamferCube` and `chamferCylinder` can be used to create chamfered versions of the existing `cube` and `cylinder` commands.
6
8
7
9
The Chamfers are always at a 45° angle to the ground plane and are printable on Fused deposition modelling (FDM) printers in a good quality.
8
10
9
11

10
12
11
13
Additionally
12
-
* The `chamferCylinder` can also produce a circular sector (wedge), what the cylinder command cannot
13
-
* The `circleSegments` function calculates the amount of segments needed for a certain circle radius, it reproduces a much better quality than $fa and $fs settings
14
-
* A `globalCircleQuality` variable can be set to globally override the standard setting of 1.0, but the quality setting in `chamferCylinder` stil has precedence over this variable
14
+
15
+
- The `chamferCylinder` can also produce a circular sector (wedge), what the cylinder command cannot
16
+
- The `circleSegments` function calculates the amount of segments needed for a certain circle radius, it reproduces a much better quality than $fa and $fs settings
17
+
- A `globalCircleQuality` variable can be set to globally override the standard setting of 1.0, but the quality setting in `chamferCylinder` stil has precedence over this variable
15
18
16
19
## Installation
20
+
17
21
First find out where your library folder is by opening OpenSCAD and clicking "File -> Show Library Folder", then do:
18
22
19
-
*[Download](https://github.com/SebiTimeWaster/Chamfers-for-OpenSCAD/releases) the library
20
-
* Unpack it to the library folder
21
-
* Restart OpenSCAD
23
+
-[Download](https://github.com/SebiTimeWaster/Chamfers-for-OpenSCAD/releases) the library
Don't forget to import the library to your script by adding this to the first line:
32
37
33
38
`include <Chamfers-for-OpenSCAD/Chamfer.scad>;`
34
39
35
40
Please read the documentation in [Demo.scad](https://github.com/SebiTimeWaster/OpenSCAD-Chamfer/blob/master/Demo/Demo.scad) to see how to use it.
36
41
37
42
## Changelog
43
+
44
+
v1.2:
45
+
46
+
- Added the possibility to create arbitrary sided "cylinders" to create geometic shapes like extruded triangles and so on
47
+
- Fixed regression introduced in v1.1 where certain radius combinations result in wrong form generation due to wrong segment calculation
48
+
- Improved demo file formatting
49
+
38
50
v1.1:
39
-
* Improved preview rendering of cylinders (see [Artifact-Test.scad](https://github.com/SebiTimeWaster/Chamfers-for-OpenSCAD/blob/master/Demo/Artifact-Test.scad))
51
+
52
+
- Improved preview rendering of cylinders (see [Artifact-Test.scad](https://github.com/SebiTimeWaster/Chamfers-for-OpenSCAD/blob/master/Demo/Artifact-Test.scad))
40
53
41
54
v1.0:
42
-
* Changed parameters of `chamferCube` and `chamferCylinder` to work similar to the original `cube` and `cylinder` commands. This is not a breaking change, but please contact me should you encounter compatibility problems.
43
-
* Changed license from GPL 3.0 to Creative Commons license to give users more freedom.
55
+
56
+
- Changed parameters of `chamferCube` and `chamferCylinder` to work similar to the original `cube` and `cylinder` commands. This is not a breaking change, but please contact me should you encounter compatibility problems.
57
+
- Changed license from GPL 3.0 to Creative Commons license to give users more freedom.
44
58
45
59
v0.4:
46
-
* Added separate chamfer parameters for the top and bottom sides of cylinders
60
+
61
+
- Added separate chamfer parameters for the top and bottom sides of cylinders
47
62
48
63
v0.3:
49
-
* Added a global override for the standard circle quality
64
+
65
+
- Added a global override for the standard circle quality
50
66
51
67
v0.2:
52
-
* Added new circle quality feature (segment calculator) which introduces an incompatibility with v0.1
53
-
* Prevented cylinders with height 0 from being created when setting chamferHeight to 0
68
+
69
+
- Added new circle quality feature (segment calculator) which introduces an incompatibility with v0.1
70
+
- Prevented cylinders with height 0 from being created when setting chamferHeight to 0
0 commit comments