Commit graph

113 commits

Author SHA1 Message Date
Adrian Mariano
727bc43401 doc fixes 2021-11-10 19:58:47 -05:00
Adrian Mariano
2a3a22ade7 hide contents of edges.scad
edges.scad holds new 4 section docs for how to specify cube parts
2021-11-10 16:34:10 -05:00
Adrian Mariano
a75a368dd5 Move linear algebra to linalg.scad
columns->column because the multiindex case is handled by submatrix
and also it never occurs in the code.
2021-10-26 16:45:14 -04:00
Adrian Mariano
a7ca1b1b64 more beziers fixes 2021-10-17 21:21:53 -04:00
Adrian Mariano
80c6e0666d fix beziers to handle removal of vnf= option in vnf_vertex_array 2021-10-17 20:48:58 -04:00
Adrian Mariano
2d205a2568 subarray -> columns 2021-10-15 22:39:10 -04:00
Adrian Mariano
dbec028bd1 bug fix 2021-10-06 22:31:13 -04:00
Adrian Mariano
33484f2c4b misc bugfixes 2021-10-06 21:53:46 -04:00
Adrian Mariano
bb77faa0c9 assorted doc fixes
eliminate trace_path
_path_self_intersections fix
2021-10-06 21:16:39 -04:00
Adrian Mariano
1cca11ab28 Removed unnecessary requirement for splinesteps>=3, added some error
checks on splinesteps, added example of using splinesteps=1 to chamfer
in rounded_prism.

Added rot_resample, rot_inverse.
2021-07-04 11:25:54 -04:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07:00
Garth Minette
a748c77077 vmul() to v_mul(), etc. 2021-06-14 20:28:49 -07:00
Garth Minette
9668eefb7d Tweaks to beziers.scad docs formatting. 2021-05-09 16:45:37 -07:00
Adrian Mariano
dea5949df8 Fix face orientation bugs in vnf_vertex_array, rounded_prism,
bezier_patch_degenerate.  Added reverse option to count().
2021-04-12 20:15:01 -04:00
Adrian Mariano
d4d5794ef2 fixed sum to handle larger input
added all_equal
added vnf_tri_array as public
added bezier_patch_degenerate as public
2021-04-11 22:29:25 -04:00
Garth Minette
2225257f09 Tweaks suggested by @adrianVmariano. 2021-04-08 17:27:43 -07:00
Garth Minette
8bd3ef8a74 Removed range(), rangex(). Added count(). 2021-04-07 20:57:45 -07:00
Garth Minette
698268c8c7 Resolved conflicts with master. 2021-04-06 19:18:57 -07:00
Garth Minette
bda2661855 Merge branch 'master' into pr/483 2021-04-06 18:22:39 -07:00
RonaldoCMP
2c03b19246 Revert "Merge remote-tracking branch 'upstream/master'"
This reverts commit fd2c073bb2, reversing
changes made to d4c7fab7ed.
2021-04-05 15:59:54 +01:00
Adrian Mariano
957907200b bezier doc fixes, test for complex() 2021-04-02 20:39:14 -04:00
Adrian Mariano
dd13967049 Cleanup of path_resample, add tests for round_corners, fix
bezier_curve and arc to always return n points for either endpoint
setting.
2021-04-02 16:59:29 -04:00
Garth Minette
0b17bf5930 Brought slice() in line with select() indexing, without wrapping. Replaced a lot of select() and slice() calls with last(), list_head(), and list_tail() calls. 2021-03-30 00:46:59 -07:00
Garth Minette
d7cb503ffc Replace most trivial uses of slice() with faster list_head() and list_tail() 2021-03-25 00:23:36 -07:00
Garth Minette
1ee6e3a2e7 Added bezier polar construction functions. 2021-03-06 02:20:32 -08:00
Garth Minette
a346a0cbf0 Added Topics/SeeAlso to affine, arrays, attachments, beziers, common, constants, gears 2021-03-01 22:44:00 -08:00
Garth Minette
6cfbc538fc Re-work to use openscad_docsgen package. 2021-02-19 19:56:43 -08:00
Garth Minette
7bb46c774e Added xyrot(), xzrot(), yzrot(), xyzrot(), xyflip(), xzflip, yzflip(). 2021-02-15 00:28:36 -08:00
Adrian Mariano
ffd80c29f2 doc fix 2021-02-02 18:04:47 -05:00
Adrian Mariano
592fd34986 Doc tweak for modular hose. Add is_bool_list to common.scad. Add
line circle intersection and line bezier intersection.
2021-02-02 17:49:44 -05:00
Garth Minette
320518194f Various arrays.scad docs updates. Bugfixes. 2021-01-24 23:26:39 -08:00
Garth Minette
456364c5ae Reworked bezier docs, and pruned redundant functions. 2021-01-19 04:36:53 -08:00
Adrian Mariano
d097be435b Add bezier endpoint, tweak _bezcorners to properly produce that
endpoint.  doc tweak for polyhedra.
2021-01-05 23:29:10 -05:00
Garth Minette
f9aa81e178 Improved docs gen script for Returns:, Custom:, Includes:, Topics:, and positional/named args spits. 2021-01-05 01:20:01 -08:00
Garth Minette
0399cd085c Guard various linear_extrude()s for height=0 2020-11-29 20:23:03 -08:00
Garth Minette
e4f2497863 Changes all references to polyline to path. 2020-11-16 17:50:08 -08:00
Garth Minette
dba5aab918 Implement Issue #2. Added diameter alternates for most radius options. 2020-08-26 20:39:45 -07:00
Garth Minette
b5d465cf1e docs_gen.py now shows more docs errors. 2020-07-27 15:15:34 -07:00
Adrian Mariano
7aab27266f Added polynomial root finding and complex math to math.scad. Changed
path_to_bezier to new algorithm (which uses polynomial roots).  And
updated path_smooth to use the new code.

Also removed extra (?) include<skin.scad> and
include<strings.scad> from rounding.scad and
removed the common $fn=36 that was forced on all the examples.  (May
break something...we'll look at the examples and see.)  I added $fn=36
to some examples.
2020-06-18 17:50:25 -04:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07: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
Revar Desmera
a5fb810738 Refactored various bezier routines to use fast bezier point generation. 2020-05-13 01:09:11 -07:00
Adrian Mariano
52ef8089bb Added bezier_points new improved fast code. (Did not remove old code.) 2020-05-11 20:27:52 -04:00
Revar Desmera
2a90eb01de Added bez_deriv(), bezier_tangent(), bezier_curvature(). 2020-05-10 00:41:07 -07:00
Revar Desmera
22f8d65991 Example image bugfixes. 2020-04-25 14:44:41 -07:00
Revar Desmera
8a1b511df7 Added extra error checking to various bezier routines. 2020-04-19 15:13:23 -07:00
Revar Desmera
ddca297bba Better error checking in bezier routines. 2020-04-11 14:10:07 -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
2937055c08 Fixed reversed bezier patches 2020-03-28 19:30:57 -07:00
Revar Desmera
e06ea582fb Refactor trace_bezier_patches() to calculate vertices only once. 2020-03-28 15:02:14 -07:00