This commit is contained in:
Christopher Hotchkiss 2024-10-08 17:26:45 -07:00 committed by GitHub
commit 89020ea6b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1252,11 +1252,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);