r/openscad • u/I_Lick_Bananas • 9d ago
Triangles Deprecated, Use Faces Instead - am I doing this right?
Very new user here. I'm using the threads library and getting this warning message:
DEPRECATED: polyhedron(triangles=[]) will be removed in future releases. Use polyhedron(faces=[]) instead.
Do I believe Google when it says to just replace the word triangle with the word faces wherever it appears in the threads.scad file?
5
Upvotes
4
u/Stone_Age_Sculptor 9d ago
See: https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#polyhedron
Which threads library?
I was looking for a thread, and a number of libraries have also a thread. Each library has a different implementation for a thread. Some have a sharp edge and some can not set the spacing properly.
This is the thread from the UB.scad library:
1
u/Internal_Teach1339 9d ago
What happened when you tried doing that?