Commit graph

493 commits

Author SHA1 Message Date
Garth Minette
aa0e77b1f4 Minor fixes for PR #216 2020-07-29 21:58:12 -07:00
Garth Minette
b5d465cf1e docs_gen.py now shows more docs errors. 2020-07-27 15:15:34 -07:00
Garth Minette
6798083a11 Added shape_compare() 2020-07-21 16:54:59 -07:00
Garth Minette
4a37a5dc8e Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis() 2020-07-21 16:15:02 -07:00
Garth Minette
ae1a6d8d61 Rewrote line_closest_point() and segment_closest_point() to support 3D. Added ray_closest_point(). 2020-07-19 23:07:49 -07:00
Garth Minette
375f1f2e3b Bugfix for new unit() in affine_frame_map() 2020-07-19 23:05:54 -07:00
Garth Minette
87c8adef65 Bad use of unit() in debug_polyhedron() 2020-07-19 06:24:16 -07:00
Garth Minette
14e013cd13 Bugfix for unit() changes in attachment 2020-07-19 05:49:05 -07:00
Garth Minette
598ae04ba5 Tighten image comparison requirements. 2020-07-19 05:39:49 -07:00
Garth Minette
0be0708c2b Changed unit(dflt=) to unit(error=) 2020-07-11 23:23:12 -07:00
Garth Minette
dde616dad5 unit() now asserts error for zero-length vector unless dflt= arg is given. 2020-07-10 00:03:55 -07:00
Garth Minette
34e16dc0ca Fixed skin regression. 2020-07-07 21:21:05 -07:00
Garth Minette
30d2f5ae8c Don't error out action when no file changes to commit. 2020-07-07 00:54:39 -07:00
Garth Minette
65cdecaf54 Tweak github action triggers. 2020-07-07 00:32:50 -07:00
Garth Minette
d8d5321c26 Added docsgen github action. 2020-07-07 00:08:42 -07:00
Garth Minette
feba482396 Optimizations for is_vector(), is_matrix(). Added is_finite(). 2020-07-06 18:28:35 -07:00
Garth Minette
efa76fe9f5 Added cp= to attachable. Added "origin" standard named anchor. 2020-07-06 17:07:20 -07:00
Garth Minette
78ecbbd9c5 Added regression for centroid() 2020-07-06 16:15:32 -07:00
Garth Minette
e319bf934f Added CONTRIBUTING.md 2020-07-06 15:19:03 -07:00
Garth Minette
8b6e07326f Added regressions for linear_bearings.scad and shapes.scad 2020-07-04 21:42:39 -07:00
Garth Minette
f60ef80eaa Added regressions for is_matrix(), matrix_inverse() 2020-07-04 00:38:40 -07:00
Garth Minette
3ec34ce9f1 Added regresstions for cube(), cylinder(), and sphere() 2020-07-04 00:14:25 -07:00
Garth Minette
8985837b63 Added regression for debug.scad 2020-07-03 18:00:37 -07:00
Garth Minette
a718b66026 Added regressions for missing common.scad functions. 2020-07-03 17:42:08 -07:00
Garth Minette
ed0a3e3e7b Added regressions for set functions and force_list() 2020-07-03 15:23:03 -07:00
Garth Minette
4ebe89661a Enhanced force_list() with n= and fill= 2020-07-03 15:22:21 -07:00
Garth Minette
7045f436a1 Fixed inverted endcap1 in stroke() 2020-07-01 00:59:32 -07:00
Garth Minette
74723f32f5 Added regressions for shapes2d.scad 2020-06-30 17:19:09 -07:00
Garth Minette
7f5257fefb Allow running single test scripts. 2020-06-30 17:18:33 -07:00
Garth Minette
62b54e4ef3 Fixed typo in subdivide_path() docs. 2020-06-24 23:32:59 -07:00
Revar Desmera
a3207af6ab Added a bunch of regressions for shapes2d.scad 2020-06-24 22:33:41 -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
1a7bfb687f Added mutator.scad mutators. 2020-06-22 22:34:36 -07:00
Revar Desmera
794741f824 Added regression for skew() 2020-06-21 19:46:22 -07:00
Revar Desmera
bebb993125 Added regressions for transforms.scad 2020-06-21 01:30:49 -07:00
Revar Desmera
012c8d555d Added regressions for vfloor() and vceil() 2020-06-20 21:42:22 -07:00
Revar Desmera
0c612f40f6 Added regression for Q_Cumulative() 2020-06-20 21:31:38 -07:00
Revar Desmera
20dfaac113 Bugfix for #182. Added assert_equal() and assert_approx() for regression helpers. 2020-06-20 19:51:58 -07:00
Revar Desmera
1f7e1f5d0d Make CI run on PRs. 2020-06-19 23:46:21 -07:00
Revar Desmera
c86f01cba1 Don't need to install wget in CI. 2020-06-19 23:28:30 -07:00
Revar Desmera
fdcd7453b3 Regression fails should fail CI. 2020-06-19 23:25:59 -07:00
Revar Desmera
4cfd38e24f Regression test CI fix. 2020-06-19 23:18:04 -07:00
Revar Desmera
f727a9c3f1 Add regression run to CI. 2020-06-19 23:00:40 -07:00
Revar Desmera
1cd153d588 Fix OPENSCADPATH for checkdocs action. 2020-06-19 20:22:56 -07:00
Revar Desmera
93c5237d1d Debugging checkdocs action. 2020-06-19 20:12:13 -07:00
Revar Desmera
e9ca2bff0d Add OPENSCADPATH to github actions. 2020-06-19 20:07:52 -07:00
Revar Desmera
45f46c6e43 Go back to using latest Ubuntu in github actions. 2020-06-19 19:57:11 -07:00
Revar Desmera
f2af703240 Fix mktemp error in github actions. 2020-06-19 19:55:14 -07:00
Revar Desmera
fa277d1fd3 Try using appimage in github actions. 2020-06-19 19:41:06 -07:00
Revar Desmera
1d8e2ddcbc Using snap apps in github actions is unreliable. 2020-06-19 18:57:53 -07:00
Revar Desmera
33c8751f4a Make python scripts refer more generically to python3 instead of python3.7 2020-06-19 18:27:34 -07:00
Revar Desmera
540f691056 libtiff5 fix for checkdocs workflow. 2020-06-19 18:17:37 -07:00
Revar Desmera
e57d560fa2 Install Pillow for python checkdocs workflow. 2020-06-19 18:10:47 -07:00
Revar Desmera
71adc3e2ef checkdocs workflow bugfix. 2020-06-19 18:03:51 -07:00
Revar Desmera
eecb539080 Adding checkdocs workflow. 2020-06-19 16:51:28 -07:00
Revar Desmera
f2d26b6513 Try action runner with Ubuntu 16.04 2020-06-18 19:54:37 -07:00
Revar Desmera
fe4927cfb6 Bugfixes for rounding examples. 2020-06-18 19:21:55 -07:00
Revar Desmera
5b39cefe7b Fixed skin() regression. 2020-06-15 01:29:23 -07:00
Revar Desmera
e3b64888a8 Added regressions for strings.scad. 2020-06-15 01:25:35 -07:00
Revar Desmera
6ec3ce1556 Bugfix for suffix() when len is longer than the string length. 2020-06-15 01:24:57 -07:00
Revar Desmera
e2c0d6dc98 Bugfix for fmt_int() found by creating regressions. 2020-06-14 23:53:10 -07:00
Revar Desmera
761421a148 Made func_coverace.py more robust. 2020-06-14 20:54:16 -07:00
Revar Desmera
ef13137657 Fix for issue #180. 3D stroke works again. 2020-06-14 18:32:59 -07:00
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
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07: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
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
86e4e3d892 Fixed stale ref to rounded_prismoid() 2020-05-23 17:57:48 -07: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
4f622a16b8 Corrected incorrect default in attachable() docs. 2020-05-22 00:00:15 -07:00
Revar Desmera
94a5943d24 Fixed rounding examples. 2020-05-19 21:56:09 -07:00
Revar Desmera
d20caf7d59 Fixed structs.scad docs formatting. Fixed bug in is_struct(). 2020-05-19 17:28:02 -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
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
Revar Desmera
476967db6d vnf_bend_around_y_axis() to vnf_bend(), with support for X, Y, and Z axes. 2020-05-18 01:51:26 -07:00
Revar Desmera
b1ae85e65c Bugfix for split_polygons_at_each_z() 2020-05-18 01:49:46 -07:00
Revar Desmera
42e064c2ac Quantization tweak to cylindrical_extrude(). 2020-05-17 21:33:06 -07:00
Revar Desmera
8a64ae7a9c Tweaked cylindrical_extrude() to make sure wedges union. 2020-05-16 01:14:44 -07:00
Revar Desmera
780211a357 Added cylindrical_extrude(). 2020-05-15 13:59:27 -07:00
Revar Desmera
32e0f26fd8 Added vnf_bend_around_y_axis(). 2020-05-14 05:14:23 -07:00
Revar Desmera
a5fb810738 Refactored various bezier routines to use fast bezier point generation. 2020-05-13 01:09:11 -07:00
Revar Desmera
2a90eb01de Added bez_deriv(), bezier_tangent(), bezier_curvature(). 2020-05-10 00:41:07 -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
ac773cea20 Added "tipN" named anchors to Ngons. Added "tipN", "midptN", and "cornerN" named anchors to star(). 2020-05-07 17:11:35 -07:00
Revar Desmera
b03e97cb9b Added an example for maxking by attachment to ogee mask. 2020-05-06 17:32:03 -07:00
Revar Desmera
ef7acd1c10 Added "sideN" named anchors for Ngons. 2020-05-06 17:17:45 -07:00
Revar Desmera
33c8d80432 Made spheroid(style=) examples clearer. 2020-05-06 01:51:55 -07:00
Revar Desmera
dfa348a50c Fixed some sphere shape examples in basic shapes tutorial. 2020-05-06 01:46:35 -07:00
Revar Desmera
c03570ce3b Enhanced oval() to allow actual oval shapes. 2020-05-06 01:36:06 -07:00
Revar Desmera
c8394494bb Minor tweaks to basic shapes tutorial. 2020-05-05 19:39:29 -07:00
Revar Desmera
be3dd53132 Bugfix for oval() not properly using circum args. 2020-05-05 15:27:25 -07:00
Revar Desmera
ca1d46d641 Fixed basic shapes tutorial images for 2D. 2020-05-05 15:11:08 -07:00
Revar Desmera
feb1e21c9b Fixed tutorial refs to circle() when we wanted oval() instead. 2020-05-05 15:01:28 -07:00
Revar Desmera
196ca2c055 Typo fix in triangle_area() 2020-05-03 19:11:08 -07:00
Revar Desmera
96e17c17e0 Fixed example generation for a few functions in geometry.scad. 2020-04-29 23:01:00 -07:00
Revar Desmera
182688cf02 Implemented solution for issue #159 2020-04-29 22:45:41 -07:00
Revar Desmera
e32735296c Various bugfixes found by docs regen. 2020-04-26 04:29:21 -07:00
Revar Desmera
2834e8bc56 Add example image fixes for paths.scad 2020-04-26 01:16:20 -07:00
Revar Desmera
1e3f18f695 Bugfix for rounding_angled_edge_mask() with r1/r2=0 2020-04-26 00:55:36 -07:00
Revar Desmera
22f8d65991 Example image bugfixes. 2020-04-25 14:44:41 -07:00
Revar Desmera
ff96db86d2 Removed overrides for square() and circle() builtin modules. 2020-04-25 04:00:16 -07:00
Revar Desmera
1b6ebd3761 Fixed Ngon rounding size distortion. 2020-04-23 04:36:51 -07:00
Revar Desmera
7acc14b708 Fixed docs formatting issue with primitives.scad. 2020-04-23 03:57:29 -07:00
Revar Desmera
df09e3867c Fixed degenerate polygons in sphere. 2020-04-23 03:53:55 -07:00
Revar Desmera
c7e5056741 Fixed reversed faces. 2020-04-23 03:18:28 -07:00
Revar Desmera
97e67384c1 Primitives bugfix. 2020-04-23 03:06:17 -07:00
Revar Desmera
d8b0528d0d Fixed cube(), cylinder(), and sphere() primitives to not quantize their sizes. 2020-04-23 02:35:50 -07:00
Revar Desmera
8a1b511df7 Added extra error checking to various bezier routines. 2020-04-19 15:13:23 -07:00
Revar Desmera
ef5d5a15be Bugfix for spiral_sweep(). polyline needed to be converted to 3D. 2020-04-19 14:17:37 -07:00
Revar Desmera
1ecd2e798d Fixed attachable() spec for arced_slot() 2020-04-18 18:42:58 -07:00
Revar Desmera
1c06298f10 Enhanced find_circle_2tangents() 2020-04-18 18:38:22 -07:00
Revar Desmera
7ebb83a81d Improved quality of in 3D. 2020-04-14 19:16:24 -07:00
Revar Desmera
22e512b287 Fixed assert that broke stroke() for endcap paths. 2020-04-13 19:10:00 -07:00
Revar Desmera
9f630018f1 Standardized polygon path orientation: CW from X+ 2020-04-13 18:52:11 -07:00
Revar Desmera
0346b8a266 Removed leftover p= args from attachable() refactoring. 2020-04-13 16:53:50 -07:00
Revar Desmera
e2b02ba6a5 Added face_profile() 2020-04-11 22:49:50 -07:00
Revar Desmera
ddca297bba Better error checking in bezier routines. 2020-04-11 14:10:07 -07:00
Revar Desmera
82aaa28471 Added teardrop_corner_mask(), corner_profile() 2020-04-11 01:22:04 -07:00
Revar Desmera
38b4912da3 Added mask2d_teardrop() 2020-04-10 20:32:44 -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
5b7830f8f2 Fixes lack of passing children to attachable() in rotate_extrude_bezier() 2020-04-10 12:59:09 -07:00
Revar Desmera
e8087f7ba4 Added debug.scad to std.scad 2020-04-10 12:52:37 -07:00
Revar Desmera
1cab868d8a Chamferred is spelled chamfered. 2020-04-06 18:53:12 -07:00
Revar Desmera
503c0495d3 Added assert to catch triangulation of self-crossing face perimeters. 2020-04-06 18:46:12 -07:00
Revar Desmera
ea20f59c44 Fix collinear() for cases when a==b. 2020-04-02 18:26:46 -07:00
Revar Desmera
975185e262 Bugfix and optimization for find_noncollinear_points(). Optimized points_are_collinear() 2020-04-02 18:15:43 -07:00
Revar Desmera
0524194391 Optimizations for decompose_path() 2020-04-01 01:36:48 -07:00
Revar Desmera
fb3475abef Various VNF optimizations. 2020-03-31 03:27:07 -07:00
Revar Desmera
abf1a78290 Bugfix for set_union() when b contains duplicate items. 2020-03-31 03:09:04 -07:00
Revar Desmera
258e162f98 Optimized vnf_add_face() and vnf_add_faces() 2020-03-30 23:09:56 -07:00
Revar Desmera
1e2995fcf7 Added set_union(), set_difference(), set_intersection(). 2020-03-30 23:09:20 -07:00
Revar Desmera
2b2012d1d1 Speed optimizations to triangulate_faces() 2020-03-30 16:52:08 -07:00