mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
added doc for circual_sector
This commit is contained in:
BIN
docs/images/lib-circular_sector-1.JPG
Normal file
BIN
docs/images/lib-circular_sector-1.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
18
docs/lib-circular_sector.md
Normal file
18
docs/lib-circular_sector.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# circular_sector
|
||||||
|
|
||||||
|
Create a circular sector. You can pass a 2 element vector to define the central angle.
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
`radius` : The radius of the circle.
|
||||||
|
`angles` : A 2 element vector which defines the central angle. The first element of the vector is the beginning angle, and the second element is the ending angle.
|
||||||
|
`fn` : The `$fn` value used by the `circle` module internally. The default value is 24.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
circular_sector(radius = 20, angles = [-50, -150]);
|
||||||
|
translate([-15, 0, 0]) circular_sector(radius = 20, angles = [45, 135]);
|
||||||
|
translate([15, 0, 0]) circular_sector(radius = 20, angles = [45, 135], fn = 12);
|
||||||
|
|
||||||
|

|
||||||
|
|
Reference in New Issue
Block a user