Adrian Mariano
3b130c0356
Fix vertical offset attachment bug for linear_sweep
2023-03-22 16:37:50 -04:00
Adrian Mariano
05eec08542
Change orient() to have only the anchor argument
2023-03-22 15:58:49 -04:00
Adrian Mariano
d871d02bdf
fix extra comma
2023-03-18 21:41:40 -04:00
Adrian Mariano
00af3d6eca
fix trapezoid anchoring to eliminate special case for zero length
...
edges that made it inconsistent with other anchors
2023-03-18 21:39:13 -04:00
Adrian Mariano
a4596cb448
add trapezoid anchor override and fix trapezoid and rect perimeter anchoring
2023-03-08 23:09:11 -05:00
Revar Desmera
e3d4de3e1d
Added point attachment geometry.
2023-03-07 13:07:21 -08:00
Revar Desmera
a233745af0
Merge pull request #1030 from adrianVmariano/master
...
path_text fixes
2023-01-22 22:29:33 -08:00
Adrian Mariano
554d197976
doc fixes
2023-01-20 07:10:57 -05:00
Revar Desmera
ef5d197014
Added $idx to various attachent modules.
2023-01-14 23:00:55 -08:00
Revar Desmera
44866fc1e2
Fix for #985 : cyl(r1,r2,h,chamfer)
2022-11-16 23:55:36 -08:00
Adrian Mariano
bd8064b77e
attachments tutorial proofread
2022-11-12 23:28:59 -05:00
Adrian Mariano
21945263b6
Add $slop docs to modules that use $slop, fix stroke to accept
...
singletons, and fix cylinder to handle zero length case
2022-11-09 22:22:30 -05:00
Adrian Mariano
14e12d8456
assert cleanup
2022-11-09 16:54:27 -05:00
Adrian Mariano
a7711edf0b
distributors name normalization & bug fix
2022-10-22 23:15:35 -04:00
Adrian Mariano
e41ba5e453
doc tweaks
2022-09-25 10:00:00 -04:00
Adrian Mariano
696d968755
add double attachable() examples
2022-09-24 19:48:24 -04:00
Adrian Mariano
62733fb0d7
screws update, including critical bugfix
2022-09-08 21:37:54 -04:00
Adrian Mariano
98de98377c
doc tweaks
2022-06-27 18:34:56 -04:00
Adrian Mariano
ec1bab7274
fix attachment scope problem, change default mask tag to "remove",
...
applied only when user doesn't give a tag
2022-06-26 12:08:22 -04:00
Adrian Mariano
924f8a6298
change count_true to num_true and simplify
...
fix bug in offset()
2022-05-27 10:21:33 -04:00
Adrian Mariano
458acdf803
Update hull to support new tagging method. Change hulling to conv_hull
2022-05-16 18:15:08 -04:00
Adrian Mariano
174fb02e2b
rewrite of tag handling
2022-05-15 10:51:45 -04:00
Garth Minette
64dd55a864
Anchoring bugfixes. Added example to vnf_vertex_array()
2022-05-12 13:27:34 -07:00
Garth Minette
ec6b158f8c
Fixes for prismoidal geometry with non-UP axis=.
2022-05-06 18:09:44 -07:00
Garth Minette
b8462c7a17
Major rework on joiners.
2022-04-24 18:18:24 -07:00
Garth Minette
a26ccb9dcd
linear_sweep() fixes and tweaks to xrgn geometries.
2022-04-20 19:30:35 -07:00
Garth Minette
1a4ac0e5d1
Enabled attachable(..., geom=)
2022-04-11 18:33:19 -07:00
Adrian Mariano
7afef10a79
usage messages fixes, req_children additions
2022-03-31 18:12:23 -04:00
Adrian Mariano
c135de46d3
add join_prism
2022-03-28 20:52:24 -04:00
Adrian Mariano
58eb8a5e0d
doc tweak
2022-03-27 19:27:08 -04:00
Adrian Mariano
26855429d8
move color_this and recolor into color.scad
...
doc tweaks for rounding
2022-03-27 19:23:47 -04:00
Adrian Mariano
b4b62f86dd
fix broken examples
2022-03-24 00:15:25 -04:00
Adrian Mariano
5bcd7e571b
doc tweaks
2022-03-21 23:58:18 -04:00
Adrian Mariano
dd99cec7a0
bugfix
2022-03-20 09:40:02 -04:00
Adrian Mariano
c25d3a3f67
bug fixes for "default" color
2022-03-20 09:03:18 -04:00
Adrian Mariano
942c15e84d
replace color scheme handling with a "default" color
2022-03-20 08:25:04 -04:00
Adrian Mariano
372b3ae857
Add support for different color schemes with color_this()
2022-03-19 22:16:50 -04:00
Adrian Mariano
c08d33aec0
change default color to the official standard for default scheme
2022-03-19 19:23:47 -04:00
Adrian Mariano
5439b1ee64
add color_this() module
2022-03-19 14:48:16 -04:00
Adrian Mariano
fe1d017252
add missing }
2022-03-19 08:42:13 -04:00
Adrian Mariano
fbaff36531
Change tags() to just apply the label and add force_tags to actually
...
apply tagging to objects.
Simplify diff() by removing pos argument, rework docs and add examples
2022-03-18 23:38:12 -04:00
Adrian Mariano
f5260d170c
doc fixes
2022-02-13 07:17:06 -05:00
Adrian Mariano
47bc457db0
another double anchor assignment
2022-02-12 21:46:12 -05:00
Adrian Mariano
e3624e0b2f
fix anchor reassignment issues
2022-02-12 21:27:56 -05:00
Adrian Mariano
c94ef55d6a
Map z to y for 2d anchors
2022-02-12 21:13:51 -05:00
Adrian Mariano
1a22305191
Fix missing reference, add figure for 2d directions
2022-02-12 20:05:30 -05:00
Garth Minette
8e0a51a30c
Fixed references to old atext()
2022-01-18 23:14:32 -08:00
Revar Desmera
676f13cb48
Merge pull request #752 from adrianVmariano/master
...
debug function rename, etc
2022-01-09 18:06:14 -08:00
Adrian Mariano
f5d0854549
debug function rename
...
attachment function reorder
add axes to egg examples
2022-01-08 23:08:34 -05:00
Revar Desmera
00df38a83b
Merge pull request #749 from adrianVmariano/master
...
doc tweaks, path_chamfer_rounding fix
2022-01-07 19:28:37 -08:00
Adrian Mariano
d8aa4ced71
misc doc fixes and organization
...
beziers reorg
arc bug fix for endpoint=false and N=undef
2022-01-07 14:23:01 -05:00
Garth Minette
592e367cfb
Tweaks to shapes2d tutorial.
2022-01-01 16:35:11 -08:00
Garth Minette
c4aa61fc20
Fixed orient() for 2D dir=
2021-12-26 18:39:10 -08:00
Revar Desmera
f9c5dc2cb9
Fixes for rect(center=)
2021-12-13 16:31:14 -08: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
Garth Minette
21083277b0
Various documentation fixes.
2021-12-06 14:28:04 -08:00
Adrian Mariano
dd3542c748
Fix references to changed subsections
2021-11-19 22:33:16 -05:00
Adrian Mariano
3d93795e7e
tweaks
2021-11-19 22:23:04 -05: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
2bfb4e39e7
more fixes
2021-11-16 23:12:03 -05:00
Adrian Mariano
d576526b60
VNF interface update skin.scad and shapes2d.scad
2021-11-16 18:49:37 -05:00
Adrian Mariano
6b20232f99
remove nil and noop
2021-11-15 23:55:57 -05:00
Adrian Mariano
886d316532
fix circle attachment bug
2021-11-14 10:06:04 -05:00
Adrian Mariano
b671a0c37d
add attachments to region()
...
rewrite "circle" attachment to use line intersection
2021-11-13 10:47:51 -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
a105c05182
doc fixes
2021-11-10 20:28:06 -05:00
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
Garth Minette
b71d6619be
Added asserts for attachment vectors.
2021-10-29 23:13:26 -07: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
Garth Minette
622a13952b
Anchor calculation fixes. Added wedge() and make right_triangle() be 2D.
2021-10-26 00:42:27 -07:00
Garth Minette
cbab1b9a61
Added octahedron(), fixed bug in VNF extent anchoring.
2021-10-24 15:26:27 -07:00
Garth Minette
1b000705e3
masks.scad reworkings.
2021-10-23 20:28:40 -07:00
Adrian Mariano
5ad1fb3620
remove debug echo
2021-10-21 18:15:09 -04:00
Adrian Mariano
d5ce3615cf
Make linear_sweep center in z direction with center option by adding
...
"zcenter" named anchor.
2021-10-21 11:31:32 -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
2d205a2568
subarray -> columns
2021-10-15 22:39:10 -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
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
9ca77eed1b
path.scad cleanup (hid/removed several functions)
2021-09-18 19:11:08 -04:00
Adrian Mariano
bf23e067bd
set default color to prevent error
2021-09-16 22:39:45 -04:00
Adrian Mariano
935a113fcf
Examples fix
...
merge primitives stuff into shapes*.scad
move text commands to shapes3d.scad
rename common.scad
2021-09-16 21:50:12 -04:00
Adrian Mariano
fd0bcc0903
rename anchorpt to named_anchor
2021-09-16 18:32:12 -04:00
Garth Minette
a2c3c3916b
Small docs link fix in attachments.scad.
2021-09-11 02:33:28 -07:00
Adrian Mariano
14ae1795bb
fix permutation docs
...
consolidate "line/segment/ray" functions to just "line" with bounded option
add RAY, LINE and SEGMENT constants
2021-09-09 18:32:58 -04:00
Adrian Mariano
a651e191b4
add section heading
2021-09-09 06:42:36 -04:00
Adrian Mariano
814a3981ce
fix doc errors
...
extend path_text to 2d
2021-09-07 22:49:15 -04:00
Adrian Mariano
c7fd5d05fa
fix internal function headings
2021-09-07 21:00:19 -04:00
Adrian Mariano
32fbcff915
added section for atext
2021-09-07 20:48:13 -04:00
Adrian Mariano
77cd7ac63c
Reorder attachments.scad for user friendly docs.
...
Make "internal" several functions that users don't need to
reduce confusion.
2021-09-07 20:35:55 -04:00
Garth Minette
d11068cec9
Added orient() attachments module.
2021-07-31 18:21:39 -07:00
Garth Minette
cebb35af34
Explain using tags-based operations with non-attachable shapes.
2021-07-21 19:32:04 -07:00
Braden Mars
ae61b1c4b1
fix(attachments): utilize font parameter in atext
2021-07-08 23:30:37 -05:00
Garth Minette
11b4151f74
Added Extruded Path geometry to attachable() and reorient().
2021-06-28 18:02:13 -07: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
c7073a47b2
Fixed anchoring of cubetruss_corner()
2021-06-07 20:46:50 -07:00
Garth Minette
d7ee1cee09
Added atext()
2021-05-27 23:26:31 -07:00
Garth Minette
9afae8f1e4
Fix for issue #512
2021-05-23 18:55:14 -07:00
Garth Minette
bbfe46e1da
Fixed use of attach(overlap=) for 2D cases.
2021-05-20 01:35:25 -07:00
Adrian Mariano
e82483ba79
Modified $overlap to default to zero and made some tweaks to clips and
...
dovetails because of this. Fixed bug in rabbit clip with lock=true.
2021-05-16 20:29:04 -04:00
Garth Minette
1335bd1e5a
Added Attachments Tutorial links to attachments.scad docs.
2021-05-07 16:05:34 -07:00
Garth Minette
22b85610ec
Enable axis= for cuboid/prismoid attachable()
2021-04-20 18:55:33 -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
17efb079d9
Fixes for various example bugs.
2021-03-16 14:46:11 -07: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
1a7f7ef953
Reworked docs for primitives.scad and shapes2d.scad
2021-02-25 02:16:55 -08:00
Garth Minette
6cfbc538fc
Re-work to use openscad_docsgen package.
2021-02-19 19:56:43 -08:00
Garth Minette
2db8133029
Corrected anchor asserts.
2021-01-31 15:52:00 -08:00
Garth Minette
0a6b899404
Allow passing of undef in anchor, spin, and orient to get default values.
2021-01-31 15:41:19 -08:00
Garth Minette
320518194f
Various arrays.scad docs updates. Bugfixes.
2021-01-24 23:26:39 -08:00
Garth Minette
1ebe6115a9
Various attachments.scad docs fixes.
2021-01-07 21:22:31 -08: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
b518763d6f
Fixed shift handling for rect geometries.
2020-12-27 21:48:16 -08:00
Garth Minette
bf80c1193a
Fixups for hulling()
2020-11-16 15:43:45 -08:00
Garth Minette
914e57cc6e
Fix for nested diff()s, issue #270
2020-11-11 17:45:12 -08:00
Garth Minette
5bfd3bee4d
Added axis= to attachable() and reorient().
2020-09-22 00:22:48 -07:00
Garth Minette
e1b0985afc
Fixed broken line-plane intersections. Attachment enhanced vnf_polyhedron().
2020-08-28 19:07:10 -07:00
Kelvie Wong
e5a0a3cad7
Fix diff/intersect when some tags are hidden
...
When the first operand is hidden, some strange things happen, so this guards
against that.
Example:
include <BOSL2/std.scad>
part_to_show = "A"; // [A,B,C]
part_to_hide = "B"; // [A,B,C]
module my_part() {
tags("A") left(10) cuboid(10);
tags("B") diff("neg", "B") right(10) {
cuboid(10);
cyl(d=10, h=10, $tags="neg");
}
tags("C") fwd(10) cuboid(10);
}
show(part_to_show) hide(part_to_hide) my_part();
Tag "B" here acts very strangely when it is supposed to be hidden, and never
hides completely.
2020-08-22 16:19:39 -07:00
Garth Minette
7daa16f238
Fixed VNF attachment normal vector.
2020-08-17 18:11:49 -07:00
Garth Minette
25841bda73
Fixed attachable() anchors for vnf's with extent=false.
2020-08-16 23:10:43 -07:00
Garth Minette
e56f953c1c
Fixed calls to vmul() with heteerogenous vector sizes.
2020-08-02 23:23:50 -07:00
Garth Minette
b5d465cf1e
docs_gen.py now shows more docs errors.
2020-07-27 15:15:34 -07:00
Garth Minette
14e013cd13
Bugfix for unit() changes in attachment
2020-07-19 05:49:05 -07:00
Garth Minette
dde616dad5
unit() now asserts error for zero-length vector unless dflt= arg is given.
2020-07-10 00:03:55 -07:00
Garth Minette
efa76fe9f5
Added cp= to attachable. Added "origin" standard named anchor.
2020-07-06 17:07:20 -07:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Revar Desmera
4f622a16b8
Corrected incorrect default in attachable() docs.
2020-05-22 00:00:15 -07:00
Revar Desmera
ef7acd1c10
Added "sideN" named anchors for Ngons.
2020-05-06 17:17:45 -07:00
Revar Desmera
c03570ce3b
Enhanced oval() to allow actual oval shapes.
2020-05-06 01:36:06 -07:00
Revar Desmera
ff96db86d2
Removed overrides for square() and circle() builtin modules.
2020-04-25 04:00:16 -07:00
Revar Desmera
e2b02ba6a5
Added face_profile()
2020-04-11 22:49:50 -07:00
Revar Desmera
82aaa28471
Added teardrop_corner_mask(), corner_profile()
2020-04-11 01:22:04 -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
00f69ba95b
Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d()
2020-03-22 05:11:19 -07:00
Revar Desmera
1df6dcff2b
Made polygon_area() work with 3D polygons as well.
2020-03-19 14:04:40 -07:00
Revar Desmera
c1e3f5d60a
Added strings.scad to std.scad
2020-03-13 20:07:24 -07:00
Revar Desmera
4b5e0835cc
Added region_faces() and linear_sweep().
2020-03-11 22:26:43 -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
Revar Desmera
ab6f59867e
Fix attachable(). Again. For real this time.
2020-03-09 21:15:04 -07:00
Revar Desmera
7e69100a53
Rolled back bugfix for hiding grandchildren of hidden child.
2020-03-09 19:35:46 -07:00
Revar Desmera
ff4c3146e8
Improved asserts in attachable().
2020-03-07 22:26:39 -08:00
Revar Desmera
6ec5013835
Reworked attachable() internals, and provided geometry only function equivalent called reorient().
2020-03-06 15:32:53 -08: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
a3d9c9bdba
Added corner_mask()
2020-02-13 00:30:37 -08:00