Commit graph

116 commits

Author SHA1 Message Date
Garth Minette
6b77a3a199 Don't do function literals in examples. We can't render them yet. 2021-01-01 01:26:36 -08:00
Garth Minette
9633608341 Fixed data array heightfield handling. 2021-01-01 01:21:17 -08:00
Garth Minette
d1fb992e2c Refactored and modernized heightfield(), enabling functional literal use. 2021-01-01 01:00:07 -08:00
Garth Minette
53fae5a3b2 Improve orig sphere matching to builtin, at small scales. 2020-12-28 03:31:51 -08:00
Garth Minette
4af7fe8e05 Make style=orig spheroid more accurately match built-in sphere. 2020-12-28 03:25:08 -08:00
Garth Minette
fb0de58c7f Fixes for faster construction of sphere() 2020-12-27 21:54:31 -08:00
Garth Minette
44fcd46b47 Fix for ycyl error when using d1/d2. 2020-12-12 20:28:33 -08:00
Garth Minette
0399cd085c Guard various linear_extrude()s for height=0 2020-11-29 20:23:03 -08:00
Garth Minette
fa0281f246 Added error checking to cuboid() 2020-11-29 19:21:35 -08:00
Garth Minette
c2d5080d33 Remove undef math warnings from tube() 2020-11-07 14:23:09 -08:00
Garth Minette
40fde0f2b8 Fix for cuboid() issue #307 2020-10-29 16:46:07 -07:00
Garth Minette
2bf6c34564 Fixed spheroid() orig and aligned styles. 2020-10-15 19:14:14 -07:00
Garth Minette
a53c77f83e Fix for #295 2020-10-09 10:31:56 -07:00
Garth Minette
74de24bbce Speed optimizations for incompletely rounded cuboid()s. 2020-10-04 21:07:16 -07:00
Garth Minette
f193871a34 Implement fix for issue #174. 2020-09-25 00:01:45 -07:00
Garth Minette
e86af33f52 Fixed xcyl() and ycyl() anchoring and attachments. 2020-09-22 00:24:39 -07:00
Garth Minette
dba5aab918 Implement Issue #2. Added diameter alternates for most radius options. 2020-08-26 20:39:45 -07:00
Garth Minette
c465a5b746 cuboid() with negative chamfer had mispositioned anti-chamfers. 2020-08-16 23:09:59 -07:00
Garth Minette
b5d465cf1e docs_gen.py now shows more docs errors. 2020-07-27 15:15:34 -07:00
Revar Desmera
38b45544ee Fixed octahedral triangulated spheroid(). 2020-06-23 04:40:36 -07:00
Revar Desmera
70b72dd3ac Added octa style for spheroid(). 2020-06-23 00:38:31 -07:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Matthew Fallshaw
33c44476fb
pie_slice can't accept d parameter
Since `r=10` is supplied as a default parameter in the module argument list, a call supplying a `d` parameter (eg. `pie_slice(d=10,h=10,ang=90);`) will error on the call to `get_radius` on line 1428 with `ERROR: Assertion 'is_undef(d)' failed: "Conflicting or redundant radius/diameter arguments given."`.
Since the calls to `get_radius` on lines 1428 and 1429 both supply `dflt=10`, line 1422 can just change to supplying `r=undef`.
2020-05-27 20:41:39 +10:00
Revar Desmera
f3c69eb673 Styles orig and aligned were swapped for sphere() module. 2020-05-22 00:55:08 -07:00
Revar Desmera
c2b3bb7792 Fixes for rect_tube() examples. 2020-05-22 00:40:23 -07:00
Revar Desmera
587812b001 Fixed buggy prismoid() examples. 2020-05-22 00:27:52 -07:00
Revar Desmera
f812254ad7 Merged rounded_prismoid() into prismoid(). 2020-05-22 00:14:41 -07:00
Revar Desmera
892e98e773 Added chamfers and rounding to rect_tube() 2020-05-19 01:40:29 -07:00
Revar Desmera
4fab4f56c3 Added rect_tube(). 2020-05-18 22:57:50 -07:00
Revar Desmera
2675fb4129 Fixed old refs to edges() in shapes.scad and masks.scad 2020-05-07 22:14:24 -07:00
Revar Desmera
ff96db86d2 Removed overrides for square() and circle() builtin modules. 2020-04-25 04:00:16 -07:00
Revar Desmera
1ecd2e798d Fixed attachable() spec for arced_slot() 2020-04-18 18:42:58 -07:00
Revar Desmera
2fcca7f45d Corrected minor flaws in cuboid() roundover formation. 2020-04-10 15:53:47 -07:00
Revar Desmera
0cdc94cc0a cuboid() was slightly too large with rounding. 2020-04-10 14:28:08 -07:00
Revar Desmera
1cab868d8a Chamferred is spelled chamfered. 2020-04-06 18:53:12 -07:00
Revar Desmera
b0b436eb63 Renamed spread() to line_of(). Renamed [xyz]spread() to [xyz]copies() 2020-03-24 19:11:05 -07:00
Revar Desmera
971c1e795f Renamed place_copies() to move_copies() 2020-03-24 18:31:22 -07:00
Revar Desmera
12d3a46a12 Bugfix for tube() 2020-03-02 22:13:01 -08:00
Revar Desmera
6651e1be42 Renamed orient_and_anchor() to attachable() and refactored arguments and internals. 2020-02-29 13:16:15 -08:00
Revar Desmera
00bbdedd47 Tweak to rounded_prismoid() to use new square() with rounding. 2020-01-29 18:04:29 -08:00
Revar Desmera
fd98ef2eb4 Fixed example for interior_fillet() 2020-01-13 23:54:12 -08:00
Revar Desmera
9d9225f9f3 Reoriented default right_triangle() and interior_fillet() to more intuitively work with spin. 2020-01-13 19:06:56 -08:00
Revar Desmera
b4bad57588 Reorganized 2D shapes. Added teardrop2d() function. 2020-01-05 21:36:27 -08:00
Revar Desmera
a52412cabe Added edges_except= to rounding(), chamfer(), and cuboid(). 2019-11-11 23:38:27 -08:00
Revar Desmera
45d4ac6583 Modules with a default orient that is not UP are confusing. 2019-08-29 18:00:56 -07:00
Revar Desmera
9196779257 Fix for bug #99 2019-08-11 22:08:47 -07:00
Revar Desmera
6c48c27baf Added r/d alternate args to or/od for polygon 2D shapes. 2019-08-03 02:18:40 -07:00
Revar Desmera
81fd73588f Moved heightfield() to shapes.scad. 2019-07-14 15:10:13 -07:00
Revar Desmera
88976183a4 Make cuboid() smarter about allowing chamfers larger than uninvolved sides. 2019-06-24 17:48:58 -07:00
Revar Desmera
9611a181db Added external roundings and chamfers to cuboid(). Fixed [xyz]cyl() anchoring. 2019-06-12 16:52:26 -07:00