Commit graph

103 commits

Author SHA1 Message Date
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