### Import Chamfer Library Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md Include this line at the beginning of your OpenSCAD script to use the chamfered primitives library. ```openscad include ; ``` -------------------------------- ### Create a Chamfered Cube Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md Use the `chamferCube` function to create a cube with 45° chamfers on all edges. Parameters are similar to the standard `cube` command. ```openscad chamferCube(size = [10, 10, 10], center = true, chamferHeight = 1); ``` -------------------------------- ### Create Arbitrary Sided Cylinders Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md The library allows creating 'cylinders' with any number of sides, enabling the generation of various geometric shapes like extruded triangles. ```openscad chamferCylinder(h = 10, r1 = 5, r2 = 5, center = true, chamferHeight = 1, sides = 3); ``` -------------------------------- ### Create a Chamfered Cylinder Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md Use the `chamferCylinder` function to create a cylinder with 45° chamfers on the top and bottom edges. It also supports generating circular sectors. ```openscad chamferCylinder(h = 10, r1 = 5, r2 = 5, center = true, chamferHeight = 1); ``` -------------------------------- ### Calculate Circle Segments Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md The `circleSegments` function helps determine the optimal number of segments for a given radius to achieve high-quality circles, surpassing default `$fa` and `$fs` settings. ```openscad circleSegments(radius = 10); ``` -------------------------------- ### Set Global Circle Quality Source: https://github.com/sebitimewaster/chamfers-for-openscad/blob/master/README.md The `globalCircleQuality` variable can be set to override the default circle quality for all subsequent operations. However, specific `chamferCylinder` settings will take precedence. ```openscad globalCircleQuality = 1.5; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.