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
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
Revar Desmera
4a2fb2ee56
Split VNF structures out into vnf.scad
2019-10-21 16:44:39 -07:00
Revar Desmera
0e187c82f8
Added paths.scad to std.scad since it's used by so many modules.
2019-08-10 15:50:30 -07:00
Revar Desmera
94c2378136
Fix error in bezier_offset() docs.
2019-06-24 02:24:17 -07:00
Revar Desmera
72c0922c13
Reworked bezier_offset()
2019-06-24 02:18:37 -07:00
Revar Desmera
2f6671e56d
Long overdue path and bezier function and module name cleanups.
2019-06-24 00:32:13 -07:00
Revar Desmera
6dbff74f2b
Rewrote bezier_segment_closest_point() algorithm to search all minima.
2019-06-19 01:35:08 -07:00
Revar Desmera
e33990c141
Added better bezier_curve() example images.
2019-06-01 17:10:16 -07:00
Revar Desmera
0733eb7e34
Added bezier_curve()
2019-05-31 18:25:47 -07:00
Revar Desmera
01a52cdac4
Fixed bezier patch functions to all accept mixes of triangular and rectangular patches in the patches list, instead of having separate tris arguments.
2019-05-28 14:50:20 -07:00
Revar Desmera
f378b70151
Added in range step of 1 to avoid errors.
2019-05-26 22:34:46 -07:00
Revar Desmera
15b8f9ba67
Simplified usages.
2019-05-26 13:45:22 -07:00
Revar Desmera
bb10d40dc7
Fixed docs links.
2019-05-26 12:47:50 -07:00
Revar Desmera
16919f39c3
Reworked orientation to use vectors. Added spin.
2019-05-25 23:31:05 -07:00
Revar Desmera
26aaf480f5
Fixed bezier_patch_flat()
2019-05-12 18:09:14 -07:00
Revar Desmera
c79e887612
Removed per-file copyright messages in favor of the LICENSE file.
2019-05-03 12:30:20 -07:00
Revar Desmera
69d882b4d5
Cleaned up dependency includes in non-std libfiles.
2019-05-03 12:19:51 -07:00
Revar Desmera
5a16152416
Renamed align to anchor.
2019-04-22 20:55:03 -07:00
Revar Desmera
7e1598d66d
Fixed corner and top/bottom edge orientations.
2019-04-22 01:08:41 -07:00
Revar Desmera
cc36235736
Updated copyright years. Split math.scad up. Enabled attach for lots of shapes. Removed backwards compatability.
2019-04-19 17:02:17 -07:00
Revar Desmera
1d6aefc867
Removed all uses and incudes. Document all includes needed for each file. Added std.scad include.
2019-04-19 00:25:10 -07:00
Revar Desmera
a46ea27fca
Changed all BOSL references to BOSL2.
2019-04-18 23:45:46 -07:00
Revar Desmera
6b0e796462
Renamed all V_ constants. Removed ALIGN_ constants.
2019-04-18 23:32:17 -07:00
Revar Desmera
08711565e7
Removed deprecations.
2019-04-18 21:16:10 -07:00
Revar Desmera
cb3a380740
Docs tweaks and examples images added.
2019-03-31 14:53:58 -07:00
Revar Desmera
d238236c59
Added patch_reverse()
2019-03-31 04:42:55 -07:00
Revar Desmera
d0595fb132
Quadrupled bezier patch speed.
2019-03-30 15:44:36 -07:00
Revar Desmera
b8239d2dde
Added support for triangular bezier patches.
2019-03-30 01:54:05 -07:00
Revar Desmera
1d4bf6dcda
Added Bezier patch and surface support.
2019-03-27 19:31:07 -07:00
Revar Desmera
1dc7df18fb
Added several bezier functions.
2019-03-26 23:23:25 -07:00
Revar Desmera
228f4c4134
vector3d_angle -> vector_angle
2019-03-25 03:52:09 -07:00
Revar Desmera
71395098ec
Fixed some alignment issues with rotate_extrude_bezier()
2019-03-23 03:21:00 -07:00
Revar Desmera
9a3c25d3d3
Massive reworking of documentation production.
2019-03-22 21:13:18 -07:00
Revar Desmera
4401bb1135
Fixed linear_extrude_bezier default args to behave more like linear_extrude default args.
2019-02-04 04:25:33 -08:00
Revar Desmera
89657fdcb2
Updated extrude_2d_shapes_along_bezier example.
2019-02-02 19:59:46 -08:00
Revar Desmera
e69f017023
Fixed up some comments in beziers.scad
2018-11-25 15:23:30 -08:00
Revar Desmera
4c935bf9f2
Added extrude_2d_shapes_along_3dpath()
2018-11-24 01:37:56 -08:00
Revar Desmera
2673b157a2
Added linear_extrude_bezier().
2018-10-03 18:24:07 -07:00