Use children() instead of child()

> DEPRECATED: child() will be removed in future releases. Use children() instead.
This commit is contained in:
Ryan Balfanz 2019-08-15 13:41:13 -07:00 committed by GitHub
parent 5a773f96cb
commit 6512d6f92b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,8 +142,8 @@ module tubify(radius,wall)
{
difference()
{
child(0);
translate([0, 0, -0.1]) scale([(radius-wall)/radius, (radius-wall)/radius, 2]) child(0);
children(0);
translate([0, 0, -0.1]) scale([(radius-wall)/radius, (radius-wall)/radius, 2]) children(0);
}
}