mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 17:09:40 +00:00
Merge ed525909d3
into 9717497174
This commit is contained in:
commit
610b151768
1 changed files with 2 additions and 2 deletions
|
@ -1246,11 +1246,11 @@ module default_tag(tag,do_tag=true)
|
|||
// Note that if you directly set the `$tag` variable then tag scoping will not work correctly.
|
||||
// Side Effects:
|
||||
// `$tag_prefix` is set to the value of `scope=` if given, otherwise is set to a random string.
|
||||
// Example: In this example the ring module uses "remove" tags which will conflict with use of the same tags by the parent.
|
||||
// Example: In this example the ring module uses "remove" tags which will conflict with use of the same tags by the parent without tag_scope.
|
||||
// module ring(r,h,w=1,anchor,spin,orient)
|
||||
// {
|
||||
// tag_scope("ringscope")
|
||||
// attachable(anchor,spin,orient,r=r,h=h){
|
||||
// tag_scope("ringscope")
|
||||
// diff()
|
||||
// cyl(r=r,h=h)
|
||||
// tag("remove") cyl(r=r-w,h=h+1);
|
||||
|
|
Loading…
Reference in a new issue