Commit graph

8 commits

Author SHA1 Message Date
Michael Diamond f957022442 Swap deprecated assign() calls for let(); https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Conditional_and_Iterator_Functions#Assign_Statement 2021-05-15 12:00:11 -07:00
Chow Loong Jin 830ce58e41 Merge pull request #70 from lordofhyphens/polyhole-centering
@nophead 's polyhole function could use a little more love and attention to make
it act a little more like cylinder.

This PR adds the center and r parameters, defaulting them to existing behavior
if they aren't specified.
2020-03-29 23:23:34 +08:00
Doug Hawkins ca485087cd Fix deprecated assign() and refactor test_polyholes() module. 2020-03-25 21:45:31 -06:00
Joseph Lenox bf2d04c279 Preserve original argument ordering 2020-01-04 21:48:38 -06:00
Joseph Lenox f70e19e206 Also accept radius or diameter for our polyholes. 2020-01-04 21:46:08 -06:00
Joseph Lenox 4d67b1a725 Support center attribute so that polyhole behaves a bit more like cylinder() 2020-01-04 21:37:38 -06:00
Marius Kintel 9af89906fa Added license info from http://www.thingiverse.com/thing:6118 2012-10-31 12:25:20 -04:00
Elmom f1d12e9ebe Added polyholes.scad from Nophead 2011-03-03 15:37:30 +02:00