Commit graph

326 commits

Author SHA1 Message Date
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
Revar Desmera
857e7a94fb Updated tutorial image gen script. 2020-03-30 14:48:29 -07:00
Revar Desmera
5c8f6e8e6f Updated Distributors tutorial. 2020-03-30 14:47:50 -07:00
Revar Desmera
f2decb3873 Bugfix for vec3 spin values. 2020-03-30 14:46:30 -07:00
Revar Desmera
b22cd9e1d8 vec3 spin values failed assert. 2020-03-29 23:44:22 -07:00
Revar Desmera
0a741b36d1 Bugfix for involute gears #148 2020-03-29 20:56:42 -07:00
Revar Desmera
618d0557ca Added a few demos. 2020-03-28 20:51:06 -07:00
Revar Desmera
5769ef1036 Removed BOSL2/ from includes. 2020-03-28 20:50:04 -07:00
Revar Desmera
2937055c08 Fixed reversed bezier patches 2020-03-28 19:30:57 -07:00
Revar Desmera
f504a98d65 Added vimtags to bosl1compat.scad 2020-03-28 15:12:28 -07:00
Revar Desmera
e06ea582fb Refactor trace_bezier_patches() to calculate vertices only once. 2020-03-28 15:02:14 -07:00
Revar Desmera
5e4889652b Added showdots= and showpatch= to trace_bezier_patch(). 2020-03-27 20:43:54 -07:00
Revar Desmera
88a4557012 Added and for various bezier patch calls. 2020-03-27 19:21:45 -07:00
Revar Desmera
30c54725fc Enabled region use with grid2d() 2020-03-27 15:38:20 -07:00
Revar Desmera
eaddb81e7c Cleaned up grid2d() complex example. 2020-03-25 20:14:33 -07:00
Revar Desmera
38d7e0dad6 Typo fix in grid2d docs 2020-03-25 19:52:46 -07:00
Revar Desmera
6b4fb3184c Multiple bugfixes for and argument re-arrangement. Added vfloor() and vceil(). 2020-03-25 19:50:38 -07:00
Revar Desmera
7292250162 Fixes assert in scale() 2020-03-25 15:31:07 -07:00
Revar Desmera
d4e56a9099 Basics.md -> Transforms.md 2020-03-25 15:24:54 -07:00
Revar Desmera
8cd0168f27 Added asserts to select() 2020-03-25 15:05:27 -07:00
Revar Desmera
a102663b1a Fixed Basits tutorial mirror example images. 2020-03-25 01:37:01 -07:00
Revar Desmera
7640627300 Added Basics tutorial 2020-03-24 23:16:16 -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
6183e6d0d2 Added deduplicate_indexed() 2020-03-24 14:51:37 -07:00
Revar Desmera
b0ebc77aba Deduplicate face vertices before triangulation. 2020-03-24 13:33:38 -07:00
Revar Desmera
07d47f4ffc Tweaked tutorial script to better display scripts. 2020-03-24 00:18:33 -07:00
Revar Desmera
a3c917bfe9 Initial script to generate tutorial images. 2020-03-24 00:02:24 -07:00
Revar Desmera
cb42c0d9aa Fixed incorrect usage docs for square() 2020-03-22 22:57:08 -07:00
Revar Desmera
e296c3137e Enable mirror() to work on patches. 2020-03-22 05:41:58 -07:00
Revar Desmera
00f69ba95b Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d() 2020-03-22 05:11:19 -07:00
Revar Desmera
d52c10f03b Improved approx() to handle matrices. 2020-03-22 02:41:47 -07:00
Revar Desmera
bd407bbfbd Bugfix for initial vertex adding to VNF via vnf_add_face() 2020-03-22 01:42:14 -07:00
Revar Desmera
c78eade2f2 Added initial Fractal Tree demo tutorial. Still need to gen images. 2020-03-22 01:14:26 -07:00
Revar Desmera
b2a2c00604 Fixed issue where would return true for a 2x2 matrix or an N=1 patch. 2020-03-22 01:12:51 -07:00
Revar Desmera
e550909726 Added some affine matrix generation optimizations. 2020-03-22 01:11:06 -07:00
Revar Desmera
b8e5171e3d Bugfix in hull() due to change in first_noncollinear() 2020-03-21 15:16:31 -07:00
Revar Desmera
e635755528 Added vsqr(), vnf_centroid(), and vnf_volume() 2020-03-20 22:15:41 -07:00
Revar Desmera
9f3cf44f91 Optimized bezier_patch() 2020-03-20 14:27:11 -07:00
Revar Desmera
f65228f0af Remove casual quantizing from vnf_add_faces() 2020-03-20 13:54:38 -07:00
Revar Desmera
7cba0b60f9 Fixed regression test for function namechange. 2020-03-20 13:53:47 -07:00
Revar Desmera
c38b7ee8e1 Fixed \*rot_copies() when rots is given a range. 2020-03-19 20:32:07 -07:00
Revar Desmera
392b063a0b Added vnf_quantize(), and zero-area face checks to vnf_validate() 2020-03-19 14:06:11 -07:00
Revar Desmera
1df6dcff2b Made polygon_area() work with 3D polygons as well. 2020-03-19 14:04:40 -07:00
Revar Desmera
05827785f5 Fixed turtle() docs truncation issue. 2020-03-17 20:03:36 -07:00
Revar Desmera
b0a57dab7d Tweaked math.scad code formatting. 2020-03-17 19:55:07 -07:00
Revar Desmera
4cf033762f Added face intersection tests to vnf_validate() 2020-03-17 01:16:08 -07:00
Revar Desmera
c52101e0a0 Removed debug echo from skin() 2020-03-17 01:14:26 -07:00
Revar Desmera
3ac23e15e6 Added median() 2020-03-17 01:13:47 -07:00
Revar Desmera
412dd9e260 plane_intersection() bugfix. plane_line_intersection() and polygon_line_intersection() can now detect on-plane intersections. 2020-03-17 01:12:51 -07:00
Revar Desmera
9257c74236 Lightened vnt_validate polyhedron ghost. 2020-03-16 03:01:07 -07:00
Revar Desmera
39d44cb709 Improved vnf_validate() 2020-03-16 02:57:03 -07:00
Revar Desmera
3ac0be39c2 Fixed examples in vnf_vertex_array() 2020-03-15 11:54:11 -07:00
Revar Desmera
265db9fe5d Removed affine2d_apply() and affine3d_apply() 2020-03-15 11:50:41 -07:00
Revar Desmera
93cdbf091d Added size argument to vnf_validate() 2020-03-15 11:20:59 -07:00
Revar Desmera
a4ecbebfe6 Added vnf_compact() and vnf_validate() 2020-03-15 04:25:37 -07:00
Revar Desmera
1d63556121 Apparently, "foo && let(expr) bar" is no longer allowed. 2020-03-14 20:20:32 -07:00
Revar Desmera
c001c6d8ae Bugfix in xflip(), yflip(), zflip(), and mirror() functions. 2020-03-14 15:06:12 -07:00
Revar Desmera
608bde9077 Formatting fix for str_format() docs. 2020-03-14 04:26:38 -07:00
Revar Desmera
8879b7a4d9 Added str_format(), echofmt(), is_letter(), is_digit(), is_hexdigit(), is_upper(), is_lower(), fmt_fixed(). Renamed fmti() to fmt_int(), and fmtf() to fmt_float(). 2020-03-14 04:23:33 -07:00
Revar Desmera
602e850d24 Added points_are_collinear(). Renamed pointslist_is_coplanar() to points_are_coplanar() 2020-03-13 21:48:31 -07:00
Revar Desmera
c1e3f5d60a Added strings.scad to std.scad 2020-03-13 20:07:24 -07:00
Revar Desmera
efa75eaf5a Added pointslist_is_coplanar(). Added coplanar check to plane_from_pointslist(). 2020-03-13 18:45:46 -07:00
Revar Desmera
4b5e0835cc Added region_faces() and linear_sweep(). 2020-03-11 22:26:43 -07:00
Revar Desmera
579714a9f7 Minor stroke() bugfix for duplicate start or endpoints. 2020-03-11 22:21:26 -07:00
Revar Desmera
2cf0ce47d9 Minimized area of subpaths assembled during boolean geometry. 2020-03-11 22:14:16 -07:00
Revar Desmera
5f37eddc1b Fixed . 2020-03-10 00:17:40 -07:00
Revar Desmera
f5cb79ab7a Bugfix for named attachment anchors. 2020-03-09 21:29:22 -07:00