Garth Minette
0104011918
texture() cleanup.
2022-07-18 19:49:57 -07:00
Garth Minette
12f3f5ba1c
Found another bug in textured_revolution(closed=false).
2022-07-17 14:40:00 -07:00
Garth Minette
83730c06b8
Minor construction bugfixes in textured_revolution().
2022-07-16 01:02:49 -07:00
Garth Minette
e69b881ad0
Another textured_revolution() example bugfix.
2022-07-15 19:35:14 -07:00
Garth Minette
63039f5f97
Fixed textured_revolution() example.
2022-07-15 19:29:12 -07:00
Garth Minette
9a8202f54e
textured_linear_sweep() bugfixes.
2022-07-15 18:58:15 -07:00
Garth Minette
186be66d4e
Made texture functions/modules region aware.
2022-07-13 23:05:18 -07:00
Garth Minette
e182bc3c94
Fixed texture path tracing consistency.
2022-06-21 21:42:34 -07:00
Garth Minette
45a1b316ce
get_texture() example errors.
2022-06-21 20:04:54 -07:00
Garth Minette
a8ebd11755
Make get_texture() examples generate images.
2022-06-21 19:36:55 -07:00
Garth Minette
58bdc7e4ec
Example fixes for texture code.
2022-06-21 18:43:37 -07:00
Garth Minette
4c848ca081
Added VNF tile texture support.
2022-06-21 18:04:51 -07:00
Garth Minette
31e91f69a2
Added img2scad.py script.
2022-05-17 22:36:30 -07:00
Garth Minette
fd318a1170
Added conical capability (r1,r2) to cylindrical_heightfield()
2022-05-17 19:37:12 -07:00
Adrian Mariano
494b6a40db
doc bugfix
2022-05-15 10:37:45 -04:00
Adrian Mariano
78818076cc
remove echos
2022-05-03 18:53:46 -04:00
Adrian Mariano
c2a623d071
fix path_sweep handling of regions as input
2022-05-03 17:39:30 -04:00
Adrian Mariano
ea85b58c75
doc typo
2022-04-30 22:28:24 -04:00
Garth Minette
5cb31884cf
textured_cylinder() Example tweak.
2022-04-20 20:48:36 -07:00
Garth Minette
a26ccb9dcd
linear_sweep() fixes and tweaks to xrgn geometries.
2022-04-20 19:30:35 -07:00
Garth Minette
f35639629f
linear_sweep() fixes.
2022-04-18 14:43:28 -07:00
Garth Minette
f87b5b8c2f
Add shift= to linear_sweep()
2022-04-18 03:21:10 -07:00
Garth Minette
e4bac06df7
Removed knurlings.scad as it's now handled by textures in skin.scad.
2022-04-17 20:14:10 -07:00
Garth Minette
e5454a048e
Added textured_linear_sweep(), textured_revolution(), and textured_cylinder().
2022-04-17 15:53:28 -07:00
Adrian Mariano
7afef10a79
usage messages fixes, req_children additions
2022-03-31 18:12:23 -04:00
Adrian Mariano
c5ea11df87
fix usage messages
2022-03-30 00:38:25 -04:00
Adrian Mariano
e7be7d8fb0
doc tweaks, mdash fixes, merge subdivide_long_segments into subdivide_path
2022-03-17 18:38:20 -04:00
Adrian Mariano
7d6a2b593f
Force N parameters to n in most places
2022-03-13 21:40:55 -04:00
Adrian Mariano
26fa464ce1
doc tweaks
2022-03-05 08:02:10 -05:00
Adrian Mariano
5086d043d4
wrap some example code lines
2022-03-01 18:19:06 -05:00
Adrian Mariano
15b3c50557
add is_rotation() test, doc tweak
2022-02-27 22:38:20 -05:00
Adrian Mariano
0146e5a532
does this fix it?
2022-02-26 10:59:59 -05:00
Adrian Mariano
670787fbb2
doc tweaks
2022-02-26 09:54:28 -05:00
Adrian Mariano
a305b53804
remove quaternions from stroke
...
improve docs for skin
cumprod multiplies on the left
echo_matrix bugfix
2022-02-25 21:22:37 -05:00
Adrian Mariano
77a78bf8bc
Improve docs for path_sweep
...
make echo_matrix handle non-numeric entries gracefully and add
separator arg.
2022-02-21 20:45:57 -05:00
Adrian Mariano
c280513253
doc fixes
2022-02-17 16:55:21 -05:00
Adrian Mariano
7ccd7eb450
vnf doc tweaks, add sweep example
2022-02-17 16:46:45 -05:00
Adrian Mariano
0fb20c18ca
remove debug echos
2022-02-14 22:59:26 -05:00
Adrian Mariano
cbf31d7d9c
add uniform option to path_sweep
2022-02-14 22:58:50 -05:00
Adrian Mariano
42d186389c
change Text: to Continues:
2022-02-14 18:05:54 -05:00
Adrian Mariano
581b7c2fbc
more path_sweep docs fixes
2022-02-14 17:15:10 -05:00
Adrian Mariano
340ec45bb1
doc tweak
2022-02-13 19:44:54 -05:00
Adrian Mariano
201e5db433
Added profiles option to path_sweep for debugging
2022-02-13 19:43:38 -05:00
Adrian Mariano
f5260d170c
doc fixes
2022-02-13 07:17:06 -05:00
Adrian Mariano
7a9a98d875
Improve docs for path_sweep
2022-02-12 20:05:44 -05:00
Adrian Mariano
05c5e4efe5
bugfix
2022-01-10 21:50:32 -05:00
Adrian Mariano
dd9b197678
move linear_sweep and spiral_sweep to skin.scad
2022-01-10 21:00:39 -05:00
Adrian Mariano
a233d8e04f
doc tweaks
2022-01-01 22:00:26 -05:00
Revar Desmera
aa109de9d7
Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev
2021-12-13 15:51:06 -08:00
Revar Desmera
59bf523908
Lots of docs tweaks for openscad-docsgen v2
2021-12-13 15:48:30 -08:00
Adrian Mariano
e653be471f
Move edges.scad content to attachments.scad
...
Add subsections to attachments.scad
2021-11-19 22:20:01 -05:00
Adrian Mariano
475129fd95
revamp extruded region attachables and apply to linear_sweep.
2021-11-17 13:38:07 -05:00
Adrian Mariano
cd664f830c
attachment bugfixes
2021-11-16 22:13:00 -05:00
Adrian Mariano
47bf93e6cb
more anchoring fixes
2021-11-16 20:46:37 -05:00
Adrian Mariano
45e64f309c
bug fixes
2021-11-16 20:33:51 -05:00
Adrian Mariano
d576526b60
VNF interface update skin.scad and shapes2d.scad
2021-11-16 18:49:37 -05:00
Adrian Mariano
477dd55781
remove polygon_shift, hide noncollinear_triple
...
modify glued circle to not produce duplicate points
2021-11-11 18:50:26 -05:00
Adrian Mariano
69e8491659
doc tweaks
...
vnf_merge split
2021-11-11 08:45:30 -05:00
Adrian Mariano
052200433b
Make most path functions accept singleton regions
...
Replace check_and_fix_path with force_path
2021-10-29 19:29:51 -04:00
Adrian Mariano
024011ea5e
list_remove fix
...
rename array_dim to list_shape
2021-10-27 20:21:12 -04: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
76272d9d9a
add region centroid capability and consolidate into one centroid
...
function for polygons, regions and VNFs.
Fix bug with anchors for linear_sweep (due to centerpoint issues)
Fix intersection anchors for vnfs when anchor vector intersects
in a path instead of a single point.
2021-10-20 22:44:55 -04:00
Adrian Mariano
f7b08f1b9d
reorder functions in array.scad
...
list_{de,in}creasing -> is_{de,in}creasing, add strict option to both
2021-10-16 23:01:52 -04:00
Adrian Mariano
2d205a2568
subarray -> columns
2021-10-15 22:39:10 -04:00
Adrian Mariano
a65315b876
fix examples
2021-10-15 16:22:36 -04:00
Adrian Mariano
cd85b3b1f4
change region_faces to vnf_from_region and move to vnf.scad
...
remove secret merge option from vnf_triangulate
add examples
add vnf_clean_unrefs
2021-10-14 22:36:21 -04:00
Adrian Mariano
9bb22dc7c5
doc tweaks
2021-10-07 21:31:58 -04:00
Adrian Mariano
33484f2c4b
misc bugfixes
2021-10-06 21:53:46 -04:00
Adrian Mariano
71b22e5850
helix rewrite
...
make skin() take regions
2021-10-01 21:27:52 -04:00
Adrian Mariano
6e3efd68a4
big function re-org to eliminate debug.scad and hide affine.scad from docs
2021-10-01 00:30:28 -04:00
Adrian Mariano
60c3a99e90
moved some functions around and renamed
2021-09-28 19:08:47 -04:00
Adrian Mariano
c15ff24edd
use is_bool_list
2021-09-27 18:08:30 -04:00
Adrian Mariano
3c6e9804a8
phillips_drive bugfix:
...
wing angle corrected from ~70 deg to 92 deg
adjusted cutouts so length "b" in the spec is correct
(this causes the cutout to not align with the end so it
doesn't look as pretty, but the spec wins, right?)
Changed construction method to avoid z-fighting which gave
rise to failed render
doc fixes and shifting in paths.scad
decompose_path -> polygon_parts
2021-09-21 19:19:02 -04:00
Adrian Mariano
ef9f54c369
Fix Examples: that should be Example:
...
Add closed option to path_merge_collinear
Add nonzero to decompose_path
offset() bugfix for paths whose endpoints are equal
vnf doc tweaks
2021-09-20 18:34:22 -04:00
Adrian Mariano
9ca77eed1b
path.scad cleanup (hid/removed several functions)
2021-09-18 19:11:08 -04:00
Adrian Mariano
2494de9368
reordering and moving for improved docs
...
removed xxrot and xxflip
2021-09-11 18:48:23 -04:00
Adrian Mariano
9d2bb59325
remove modulate_circle, move jitter_poly to shapes2d,
...
reorder stuff in skin.scad and add top text
2021-09-07 18:47:08 -04:00
Adrian Mariano
0aad39c7e5
Move affine3d_frame_map to transforms.scad and rename to frame_map.
...
Add module version. Change all calls.
2021-09-06 18:07:03 -04:00
Garth Minette
5a355434ce
Tweaks for docs usage lines.
2021-06-26 20:59:33 -07:00
Garth Minette
5ee224f2d3
Added point_segment_distance(), segment_distance(). Renamed distance_from_line() -> point_line_distance(). Renamed distance_from_plane() -> point_plane_distance()
2021-06-10 15:49:44 -07:00
Adrian Mariano
15c79d8f6a
doc tweak, new example
2021-04-24 17:45:38 -04:00
Adrian Mariano
75b974906d
_UNDEF definition didn't work; moving to constants.scad fixed this.
...
Fixed vnf.scad so that "convex" is efficient and handles degenerate
case in vnf_vertex_array
Fixed skin to correctly handle multi-section "distance" skins.
2021-04-14 16:32:47 -04:00
Adrian Mariano
f2914f0efb
remove debug echo
2021-04-13 20:45:14 -04:00
Adrian Mariano
27928eac70
bug fixes for caps and style
2021-04-13 20:21:19 -04:00
Adrian Mariano
4a179920cf
Speed improvement for vnf_vertex_array by changing deduplicate
...
testing. Add "min_edge" style to vnf vertex array.
eliminate _skin_core, replace with vnf_vertex_array, add style option
to all modules/functions.
fix bug in path_normals (not normalized)
2021-04-13 19:27:42 -04:00
Garth Minette
8bd3ef8a74
Removed range(), rangex(). Added count().
2021-04-07 20:57:45 -07: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
df9d045475
Added subdivide_long_segments(), path_add_jitter(), jittered_poly()
2021-03-17 18:27:10 -07:00
Adrian Mariano
737baed34c
further type checking fixes
2021-03-14 12:08:20 -04:00
Adrian Mariano
35c2d7df42
doc tweaks for skin
...
bug fixes for is_matrix, is_vector, and new tests for same
2021-03-14 10:25:22 -04:00
Adrian Mariano
4dc2d4cfe5
Fix bug in skin, add some complex stuff to math and tests
2021-03-12 20:36:34 -05:00
Adrian Mariano
f90e89c761
rewrote check_and_fix_path. Old version was broken/undef errors
...
added regions_equal (but probably not best version)
removed debug echo from roundinglscad
assert on invalid arc() radius inpu
new "fast_distance" method for skin()
tweaked skin() docs
support regions for path_sweep
2021-03-12 18:40:24 -05:00
Adrian Mariano
863c410404
doc tweaks for skin(), faster 2d hull()
2021-03-04 18:34:17 -05:00
Revar Desmera
6db9ec6f17
Merge branch 'master' into revarbat_dev
2021-02-20 22:49:57 -08:00
Garth Minette
e3369b6b6e
skin.scad docs fixes.
2021-02-20 22:47:50 -08:00
Revar Desmera
799686b7ca
Merge pull request #427 from adrianVmariano/master
2021-02-20 12:46:54 -08:00
Adrian Mariano
852eed292d
doc fixes and bug fixes for undef
2021-02-20 11:45:10 -05:00
Garth Minette
6cfbc538fc
Re-work to use openscad_docsgen package.
2021-02-19 19:56:43 -08:00
Garth Minette
320518194f
Various arrays.scad docs updates. Bugfixes.
2021-01-24 23:26:39 -08:00
Garth Minette
b6cfda0537
Remove apply_list(). Renamed affine_frame_map() to affine3d_frame_map()
2021-01-20 13:36:41 -08:00
Adrian Mariano
caac76e23e
doc updates
2021-01-14 22:39:14 -05:00
Adrian Mariano
5650171ed6
doc fixes for skin
2021-01-12 22:15:20 -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
Adrian Mariano
5269b26703
Improved error message for skin()
2020-12-31 08:58:22 -05:00
Adrian Mariano
081ef23eba
Added turtle3d. Typo fixes in docs.
2020-12-11 19:01:03 -05:00
Adrian Mariano
008d1c5002
Add path_sweep2d and change path_sweep to accept ccw shape without
...
producing inverted output. Minor doc fixes.
2020-12-08 21:41:50 -05:00
Garth Minette
90eaf73293
Bugfix for sweep() endcaps.
2020-11-17 17:22:38 -08:00
Garth Minette
1e93276747
Enable using path_sweep() with a region.
2020-11-17 14:41:14 -08:00
Garth Minette
9d5d7cbc4f
Enhanced sweep() to accept region input.
2020-11-17 14:25:08 -08:00
Garth Minette
e4f2497863
Changes all references to polyline to path.
2020-11-16 17:50:08 -08:00
Adrian Mariano
db54881dd3
Added scutoid example
2020-10-08 15:59:28 -04:00
Revar Desmera
066f4ab00f
Merge pull request #289 from adrianVmariano/master
...
minor doc fixes and bugfix for closed path tangents with path_sweep
2020-10-05 17:22:36 -07:00
Adrian Mariano
c71112347e
minor doc fixes and bugfix for closed path tangents with path_sweep
2020-10-05 17:40:32 -04:00
Garth Minette
38873d8ef9
Fixed a bunch of docs errors with Usage headers.
2020-10-03 20:29:35 -07:00
Adrian Mariano
2ff93f34cd
Added attachment support to all modules, and bug fixed rounded_prism
...
(problem introduced by error checking in det2), and fixed broken
example in rounding.
2020-08-17 18:43:58 -04:00
Adrian Mariano
45a8b3ec6a
Moved no_children to common.scad, and changed references to
...
echo_warning in skin.scad and polyhedra.scad.
2020-08-01 15:54:58 -04:00
Garth Minette
b5d465cf1e
docs_gen.py now shows more docs errors.
2020-07-27 15:15:34 -07:00
Adrian Mariano
32cb24f29b
fixed skin bug
2020-07-07 23:25:11 -04:00
Adrian Mariano
e9fe42cae2
fix doc typos
2020-07-06 22:30:13 -04:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Adrian Mariano
68a4741d4f
saved the file this time
2020-05-21 16:44:56 -04:00
Adrian Mariano
f190bfdd55
fixed round_corners invocation
2020-05-21 16:44:36 -04:00
Adrian Mariano
320b53326d
Added check for repeated end points to path_sweep
2020-05-15 17:27:55 -04:00
Revar Desmera
182688cf02
Implemented solution for issue #159
2020-04-29 22:45:41 -07:00
Revar Desmera
ff96db86d2
Removed overrides for square() and circle() builtin modules.
2020-04-25 04:00:16 -07:00
Adrian Mariano
cf18d8a264
fixed broken examples due to ngon change.
2020-04-23 17:22:29 -04:00
Revar Desmera
c52101e0a0
Removed debug echo from skin()
2020-03-17 01:14:26 -07:00
Revar Desmera
863398eb24
Tweak to force example regen.
2020-03-05 03:56:35 -08:00
Revar Desmera
4aee7133d3
Fixed sweep() example formatting.
2020-03-05 03:40:47 -08: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
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
46b1625c1a
Merge branch 'master' into master
2020-03-01 14:20:32 -08:00
Adrian Mariano
d0e625809e
fixed last example for better view
2020-02-29 23:29:00 -05:00
Adrian Mariano
ca167f6bb1
moved affine_frame_map to affine.scad
2020-02-29 22:54:33 -05:00
Revar Desmera
fd3d812f7e
More docs example image bugfixes.
2020-02-29 19:17:52 -08:00
Adrian Mariano
f8fc8cb544
Adds sweep and new version of path_sweep to skin.scad, which probably
...
needs a name change. Adds apply(), apply_list() and
affine_frame_map() to affine.scad. Adds derivative calcluation to
math.scad. Adds path_tangent, path_normal, path_curvature and
path_torsion functions. Adds path_length_fraction().
Fixed bug in reindex_polygon where it randomly reverses a 3d path (due
to clockwise check that is bogus in 3d) and put a check in
polygon_is_clockwise to trap this case.
2020-02-27 17:32:03 -05:00
Revar Desmera
0f7c7956d1
Tweaked skin() examples.
2020-02-13 21:58:46 -08:00
Revar Desmera
c533dfe315
Adjusted skin() docs and example images.
2020-02-13 18:03:19 -08:00
Adrian Mariano
ed205d713f
added mobius strip
2020-02-13 18:28:26 -05:00
Adrian Mariano
0c68d60e98
Tweaked names, moved plane_line_angle to geometry.scad
2020-02-13 18:06:35 -05:00
Adrian Mariano
9ce9d708a4
Fixed bug with slices = list, added code to avoid duplicate vertices
...
when only resampling methods are used. Renamed some functions.
2020-02-12 20:08:21 -05:00
Adrian Mariano
7e2bc6d5cf
Fixed handling of list valued slices. Added more examples. Removed
...
debug echoes.
2020-02-11 17:15:43 -05:00
Adrian Mariano
dba4e2e09b
Reworked interface substantially and added a bunch of examples.
2020-02-10 21:02:24 -05:00
Adrian Mariano
800ee715db
Hopefully fixed bug with wrap-around for the symmetric distance method
...
where you get the wrong result when points from both ends of a curve
map to the same vertex. (Regular distance method I think is still broken.)
2020-02-06 18:51:28 -05:00
Adrian Mariano
8171fbc8f6
Added "sym_distance" method. Through clever pruning strategy, may
...
actually be faster than old method.
2020-02-05 22:24:30 -05:00
Adrian Mariano
00ba569a86
Added some error handling on profiles to superskin().
...
Renamed skin to _skin_core and simplified it to remove methods.
Renamed superskin to skin.
Correctly pass closed and caps.
2020-02-03 21:36:06 -05:00
Adrian Mariano
927e50c5ca
Fixed alignment problem in tangent_align.()
2020-02-03 17:46:42 -05:00
Adrian Mariano
0aabf2cf47
Developmental superskin() wrapper and various supporting stuff.
...
Code in a rough state at this point.
2020-02-02 22:43:49 -05:00
Revar Desmera
28f07a997f
Tweaked uniform skin method.
2020-02-02 19:33:09 -08:00