1
0
Fork 0

fix(docs): (cutonfold,grainline) Place outside complete blocks

This commit is contained in:
Benjamin F 2023-05-07 10:28:26 -07:00
parent 236d5cb1d6
commit c8efb132e6
2 changed files with 25 additions and 0 deletions

View file

@ -63,6 +63,19 @@ macro('cutonfold', {
## Notes
### Place outside `complete`
The `cutonfold` macro should be placed outside of `complete` blocks
in the part's draft method.
This is because it provides information about the part's foldline and
possible grainline,
information that is always needed by the cutting layout regardless of
whether `complete` details and graphics are shown on the pattern.
The `cutonfold` macro will automatically show or hide the cut on fold
indicator based on the `complete` setting.
### It's safe to use a corner of your pattern part for this
Since this is typically used on corners, the generated cut-on-fold indicator

View file

@ -56,6 +56,18 @@ macro('grainline', {
## Notes
### Place outside `complete`
The `grainline` macro should be placed outside of `complete` blocks
in the part's draft method.
This is because it provides information about the part's grainline,
information that is always needed by the cutting layout regardless of
whether `complete` details and graphics are shown on the pattern.
The `grainline` macro will automatically show or hide the grainline
indicator based on the `complete` setting.
### Removing the grainline indicator
If you inherit a part with a grainline indicator and you'd like to remove it,