mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Note that diff, intersect and conv_hull invoke children repeatedly
This commit is contained in:
parent
9cbfa540bd
commit
efde869e63
@ -940,7 +940,9 @@ module tag_scope(scope){
|
|||||||
// subtracted from it, no matter where it appears because kept objects are unioned in at the end.
|
// subtracted from it, no matter where it appears because kept objects are unioned in at the end.
|
||||||
// If you want a child of an object tagged with a remove tag to stay in the model it may be
|
// If you want a child of an object tagged with a remove tag to stay in the model it may be
|
||||||
// better to give it a tag that is not a remove tag or a keep tag. Such an object *will* be subject to
|
// better to give it a tag that is not a remove tag or a keep tag. Such an object *will* be subject to
|
||||||
// subtractions from other remove-tagged objects.
|
// subtractions from other remove-tagged objects.
|
||||||
|
// .
|
||||||
|
// Note that `diff()` invokes its children three times.
|
||||||
// .
|
// .
|
||||||
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
||||||
// Arguments:
|
// Arguments:
|
||||||
@ -1196,6 +1198,8 @@ module tag_diff(tag,remove="remove", keep="keep")
|
|||||||
// unioned with the result. Attachable objects should be tagged using {{tag()}}
|
// unioned with the result. Attachable objects should be tagged using {{tag()}}
|
||||||
// and non-attachable objects with {{force_tag()}}.
|
// and non-attachable objects with {{force_tag()}}.
|
||||||
// .
|
// .
|
||||||
|
// Note that `intersect()` invokes its children three times.
|
||||||
|
// .
|
||||||
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
||||||
// Arguments:
|
// Arguments:
|
||||||
// intersect = String containing space delimited set of tag names of children to intersect. Default: "intersect"
|
// intersect = String containing space delimited set of tag names of children to intersect. Default: "intersect"
|
||||||
@ -1313,6 +1317,8 @@ module tag_intersect(tag,intersect="intersect",keep="keep")
|
|||||||
// not tagged with the `keep` tags are combined into a convex hull, and the children tagged with the keep tags
|
// not tagged with the `keep` tags are combined into a convex hull, and the children tagged with the keep tags
|
||||||
// are unioned with the result.
|
// are unioned with the result.
|
||||||
// .
|
// .
|
||||||
|
// Note that `conv_hull()` invokes its children twice.
|
||||||
|
// .
|
||||||
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
// For a step-by-step explanation of attachments, see the [Attachments Tutorial](Tutorial-Attachments).
|
||||||
// Arguments:
|
// Arguments:
|
||||||
// keep = String containing space delimited set of tag names of children to keep out of the hull. Default: "keep"
|
// keep = String containing space delimited set of tag names of children to keep out of the hull. Default: "keep"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user