Fix bugs in #5336
This commit is contained in:
parent
119fe603f1
commit
16baa11dc6
4 changed files with 43 additions and 33 deletions
|
@ -26,7 +26,6 @@ macro('ringsector', {
|
|||
Number insideRadius,
|
||||
Number outsideRadius,
|
||||
Boolean rotate = false,
|
||||
String id='ringsector',
|
||||
})
|
||||
```
|
||||
|
||||
|
@ -51,18 +50,19 @@ macro('ringsector', {
|
|||
|
||||
| Property | Default | Type | Description |
|
||||
|---------------:|-------------------|------------|-------------|
|
||||
| `id` | `ringsector` | `string` | The ID of this macro instance |
|
||||
| `id` | `ringsector` | String | The id to use in auto-generate macro points and paths |
|
||||
| `center` | `new Point(0,0)` | [Point][1] | The center point of the ring sector |
|
||||
| `angle` | | Number | The angle the ring sector should cover |
|
||||
| `insideRadius` | | Number | The inside radius of the ring sector |
|
||||
| `outsideRadius` | | Number | The outside radius of the ring sector |
|
||||
| `rotate` | `false` | Boolean | Whether or not to rotate the ringsector so one of its sides is vertical (see [example below](#example-when-rotatetrue)) |
|
||||
| `id` | `ringsector` | String | The id to use in auto-generate macro points and paths |
|
||||
|
||||
[1]: /reference/api/point
|
||||
|
||||
## Notes
|
||||
|
||||
The `ringsector` macro creates a `path` that can be used as a seam path for a part. If doing so, the left side of the path assumes a `cutOnFold`, as the `sa` is not offset here like it is along the rest of the `path`.
|
||||
|
||||
### Example when rotate=true
|
||||
|
||||
<Example caption="Example of a ring sector drafted by this macro when rotate is truthy">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue