Commit graph

90 commits

Author SHA1 Message Date
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
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
Adrian Mariano
75054fb215 Added showdots and showpatch option to trace_bezier_patch 2020-03-27 19:26:53 -04:00
Revar Desmera
971c1e795f Renamed place_copies() to move_copies() 2020-03-24 18:31:22 -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
9f3cf44f91 Optimized bezier_patch() 2020-03-20 14:27:11 -07:00
Revar Desmera
2551f19939 Added EMPTY_VNF 2020-03-09 18:36:22 -07:00
Adrian Mariano
ee82a8bb97 bug fix qr factorization, removed echo in plane intersection, fixed
bezier_surface so vnf arg is in right order
2020-03-09 21:05:57 -04:00
Revar Desmera
126f2acd15 Extraneous include removed from beziers.scad. 2020-03-08 21:21:48 -07:00
Revar Desmera
c152d393db
Merge branch 'master' into master 2020-03-07 16:31:21 -08:00
Revar Desmera
b048570f7a Bugfix for bezier_segment_length() for unusual bezier curves. 2020-03-06 17:28:58 -08:00
Adrian Mariano
f67b0dbfc5 Added support for rounding factor k to path_to_bezier and smooth_path. 2020-03-05 17:05:23 -05:00
Adrian Mariano
fcbeadc363 renamed replist to repeat
fixed normalization issue in path_to_bezier
2020-03-04 23:22:39 -05:00
Adrian Mariano
a8ed6214be Fixed bug in path_to_bezier and added example to smooth_path. 2020-03-04 22:26:23 -05:00
Adrian Mariano
51af394c24 Added force_list, path_to_bezier, smooth_path, associate_vertices,
improved skin and sweep error handling.  Allow path_sweep to take a 2d
path.
2020-03-04 20:24:00 -05:00
Revar Desmera
07bfcd6a57 Renamed normalize() to unit() 2020-03-02 19:30:20 -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
f5803a696a Fixed spelling of Asymmetric 2020-01-31 23:32:34 -08:00
Revar Desmera
06ca151bc8 Fixed bezier patch example. 2020-01-31 23:09:04 -08:00
Revar Desmera
8da60800c9 Consolidated path code into paths.scad 2020-01-30 14:00:10 -08:00
Revar Desmera
fa055e9469 Tweaked move(), rot(), scale(), etc to handle bezier patches and VNF structures. Added mirror() and skew_XX() functions. 2019-12-04 02:24:34 -08:00
Revar Desmera
d999822355 Refactored bezier patch code to use VNFs. 2019-11-11 00:50:25 -08:00
Revar Desmera
302b8c4b2f Removed assert_in_list() in favor of assert(in_list()) 2019-10-31 01:33:28 -07:00