Commit graph

1070 commits

Author SHA1 Message Date
Revar Desmera
314c40bd65 Fixed indentation in screws.scad 2020-06-11 21:40:52 -07:00
Revar Desmera
620a536dbc Fix stroke() for 1 point paths. 2020-06-10 00:03:48 -07:00
Revar Desmera
527fea1cf3
Merge pull request #175 from adrianVmariano/master
Fix apply() to handle degenerate input of empty list.
2020-05-31 19:35:19 -07:00
Adrian Mariano
2ac6093a73 Fix apply() to handle degenerate input of empty list. 2020-05-31 21:49:27 -04:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Revar Desmera
5fe35de963
Merge pull request #173 from adrianVmariano/master
Modified arc so cw and ccw can be used with 180 deg arcs.  Beefed up parameter error checking.  Deleted echos from star() and arc().
2020-05-29 18:15:54 -07:00
Adrian Mariano
7c97593a54 Modified arc so cw and ccw can be used with 180 deg arcs. Beefed up
parameter error checking.  Deleted echos from star() and arc().
2020-05-29 20:09:17 -04:00
Revar Desmera
32ca3861ec
Merge pull request #172 from matthewfallshaw/patch-1
pie_slice can't accept `d` parameter
2020-05-27 20:21:12 -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
a55c8bf0c7
Merge pull request #171 from adrianVmariano/master
Added long, cw, and ccw arguments to arc for selecting which arc is drawn when you give 2 points and a centerpoint.
2020-05-25 21:50:14 -07:00
Adrian Mariano
c25d6eb938 Merge remote-tracking branch 'upstream/master' 2020-05-25 23:45:37 -04:00
Adrian Mariano
9fe8788357 Added long, cw, and ccw arguments to arc for selecting which arc is
drawn when you give 2 points and a centerpoint.
2020-05-25 23:43:52 -04:00
Revar Desmera
3388cff335 More tweaks to screw() example 7. 2020-05-25 19:07:51 -07:00
Revar Desmera
a53e1f3915 Made screw() example 7 clearer. 2020-05-25 17:31:29 -07:00
Revar Desmera
5c485018f3 GitHub's markdown processor has bugs. 2020-05-25 17:14:00 -07:00
Revar Desmera
0fd909d457 Github Wiki does not like angle brackets. 2020-05-25 16:52:40 -07:00
Revar Desmera
88699c12af More screws.scad docs formatting. 2020-05-25 16:41:41 -07:00
Revar Desmera
02789c91d9 Fix lone period bug in docs parser. 2020-05-25 15:34:15 -07:00
Revar Desmera
6168c8bb6b Fix table formatting in screws.scad 2020-05-25 15:13:31 -07:00
Revar Desmera
fe2d59a875 Getting screws.scad in docs. 2020-05-24 22:31:36 -07:00
Revar Desmera
f3127d96a2 Formatting tweaks. 2020-05-24 01:03:37 -07:00
Revar Desmera
9c2cf53b2d Renamed find_circle_tangents() to circle_point_tangents() 2020-05-23 19:22:44 -07:00
Revar Desmera
00ee79aacf Merge branch 'master' of github.com:revarbat/BOSL2 2020-05-23 19:17:40 -07:00
Revar Desmera
719a80c5d0 Tweak docs gen to allow a lone period on a line to break a paragraph. 2020-05-23 19:17:32 -07:00
Revar Desmera
66cb322bb5
Merge pull request #170 from adrianVmariano/master
added circle_circle_tangents
2020-05-23 18:03:37 -07:00
Revar Desmera
86e4e3d892 Fixed stale ref to rounded_prismoid() 2020-05-23 17:57:48 -07:00
Adrian Mariano
4eda2c701e added circle_circle_tangents 2020-05-23 17:25:46 -04:00
Revar Desmera
4fc24ef939 Fix some rounding docs formatting and examples. 2020-05-22 18:18:37 -07: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
212e27bfbf Merge branch 'master' of github.com:revarbat/BOSL2 2020-05-22 00:00:27 -07:00
Revar Desmera
4f622a16b8 Corrected incorrect default in attachable() docs. 2020-05-22 00:00:15 -07:00
Revar Desmera
b5b8cb0313
Merge pull request #169 from adrianVmariano/master
Updates to rounded_prism and new round_corners interface.
2020-05-21 16:54:51 -07:00
Adrian Mariano
777facc9a2 Tweaked one_defined to give a better message when nothing was defined 2020-05-21 16:49:06 -04:00
Adrian Mariano
0256f582e5 Changed interface to round_corners.
Modified rounded_prism to work with updated beziers and to use
triangular sampling of degenerate patches.
2020-05-21 16:47:12 -04:00
Adrian Mariano
68a4741d4f saved the file this time 2020-05-21 16:44:56 -04:00
Adrian Mariano
f190bfdd55 fixed round_corners invocation 2020-05-21 16:44:36 -04:00
Adrian Mariano
ebe919d162 fixed round_corners invocation 2020-05-21 16:44:26 -04:00
Adrian Mariano
83ed788ac6 Fixed trace_bezier_patch to correct fatal error and modified it so it
only calculates the vnf when needed, as this can be slow.
2020-05-21 15:52:44 -04:00
Adrian Mariano
30c63fd165 Changed vnf_vertex_array to gracefully handle degenerate array inputs,
and also switched error checking to use new shape functions so it
will fail on undefs.
2020-05-21 15:50:55 -04:00
Revar Desmera
94a5943d24 Fixed rounding examples. 2020-05-19 21:56:09 -07:00
Revar Desmera
639d3ff2ae
Merge pull request #168 from adrianVmariano/master
Bug fix to path_sweep, added resample_path and bent_cutout_mask
2020-05-19 18:18:24 -07:00
Revar Desmera
d20caf7d59 Fixed structs.scad docs formatting. Fixed bug in is_struct(). 2020-05-19 17:28:02 -07:00
Adrian Mariano
2652be5783 Added bent_cutout_mask 2020-05-19 16:43:33 -04: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
4a643b57e8 Fix for #160 2020-05-18 21:51:25 -07:00
Revar Desmera
fdc49bea02 Fixed vnf_bend() examples. 2020-05-18 02:02:24 -07:00