Commit graph

4401 commits

Author SHA1 Message Date
Adrian Mariano
054052144e sum/product optimizations 2024-06-25 19:24:48 -04:00
Adrian Mariano
c6e58b926b doc fix 2024-06-22 22:58:52 -04:00
Adrian Mariano
565b62f3f5 fix projection examples 2024-06-22 22:32:05 -04:00
Adrian Mariano
e0c6280b09 cylindrical_extrude bugfix 2024-06-21 17:51:18 -04:00
Adrian Mariano
683bab1d6a fix typo 2024-06-20 17:29:14 -04:00
Adrian Mariano
67697fe139 add projection() 2024-06-20 17:20:10 -04:00
Adrian Mariano
76a5d59e97 spiral_sweep bugfix 2024-06-12 22:01:34 -04:00
Adrian Mariano
aafe13f0da example fix 2024-06-08 00:20:33 -04:00
Revar Desmera
fa7ca74dd6
Merge pull request #1439 from hvegh/master
rect: enhanced rounding and chamfer options
2024-06-07 18:50:54 -07:00
Henk Vergonet
b63554e624 rect: enhanced rounding chamfer options, fixes
- Renamed cswap to corner_flip
- corner_flip is boolean vector, and is automatically expanded from a
  scalar.
- when atype = "perim", the anchors are now updated accordingly.

corner_flip = Flips the direction of the rouding curve or roudover and chamfer spikes.
 If true it produces spikes on the Y axis. If false it produces spikes on the X axis.
 If given as a list of four booleans it flips the direction for each corner, in the order [X+Y+,X-Y+,X-Y-,X+Y-].  Default: false (no flip)

Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
2024-06-05 18:08:27 +02:00
Henk Vergonet
5221b80c4a rect: whitespace fixes 2024-06-03 13:50:01 +02:00
Henk Vergonet
7cc1430557 rebase with latest head 2024-06-03 13:35:20 +02:00
Henk Vergonet
996adeadb0 rect: enhanced rounding chamfer options
Introduces the extra "cswap" parameter that moves the chamfer
and rounding center points.

In the original code the negative roudings and chamfers are
only extended in the x direction, this allows control over
both directions.

Example:

$fn = 32;
translate([0,0,-.51])
distribute(spacing=1.5) {

// rounded examples:

    // original
    rect(rounding=.25*[1,1,-1,-1]);

    // cswap curve for quadrants [-1,1] and [-1,-1]
    rect(rounding=.25*[1,1,-1,-1], cswap = [0,1,1,0]);

// chamfered examples:

    // original
    rect(chamfer=.25*[1,1,-1,-1]);

    // cswap chamfer for quadrants [-1,1] and [-1,-1]
    // note only affects the negative chamfers
    rect(chamfer=.25*[1,1,-1,-1], cswap = [0,1,1,0]);
}

Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
2024-06-03 13:14:22 +02:00
Revar Desmera
fec1fa07e3
Merge pull request #1438 from BelfrySCAD/revarbat_dev
Documented tex_taper= for rotate_sweep()
2024-06-01 02:18:36 -07:00
Revar Desmera
ecc095d4c0 Documented tex_taper= for rotate_sweep() 2024-06-01 01:36:18 -07:00
Revar Desmera
44dc7945c7
Merge pull request #1437 from adrianVmariano/master
attach() bugfix
2024-05-31 20:40:55 -07:00
Adrian Mariano
c8d61f4d79 bezier doc tweaks 2024-05-29 20:29:32 -04:00
Adrian Mariano
4284b86ba9 doc tweak 2024-05-28 19:55:21 -04:00
Adrian Mariano
0f39f10dba fix attach() bug 2024-05-28 19:12:27 -04:00
Revar Desmera
334498d8f9
Merge pull request #1435 from adrianVmariano/master
arc endpoint bugfix
2024-05-23 14:07:52 -07:00
Adrian Mariano
04437cc6a0 bugfix 2024-05-22 21:51:01 -04:00
Adrian Mariano
f3b35eab0a arc bugfix 2024-05-22 21:30:36 -04:00
Adrian Mariano
bf9c1da410 arc endpoint bugfix 2024-05-22 20:26:52 -04:00
Revar Desmera
f9e6e67acf
Merge pull request #1433 from adrianVmariano/master
vnf_validate isect bugfix
2024-05-21 23:34:59 -07:00
Adrian Mariano
c426fab90e doc fix 2024-05-21 22:16:42 -04:00
Adrian Mariano
c7950a7475 fix vnf_validate isect bug, plus doc tweaks 2024-05-21 19:36:22 -04:00
Revar Desmera
7d69589478
Merge pull request #1429 from adrianVmariano/master
sparse cuboid + doc fixes
2024-05-21 14:04:18 -07:00
Adrian Mariano
35f1dc4cb0 Change Extra Anchors to Named Anchors 2024-05-20 19:42:07 -04:00
Adrian Mariano
33de6a13ea fix offset_stroke anchor bug; doc tweaks for Extra Anchors 2024-05-20 19:01:05 -04:00
Adrian Mariano
5d667f105f fix includes 2024-05-17 18:13:43 -04:00
Adrian Mariano
b1a7758a10 remove spurious include 2024-05-17 17:14:02 -04:00
Adrian Mariano
9e280d908f doc tweak 2024-05-17 16:35:48 -04:00
Adrian Mariano
ff2775f3f0 add hex_panel 2024-05-17 16:35:33 -04:00
Adrian Mariano
799e662041 fix heightfield to match docs for case of array input: thresholds
input values to be larger than the bottom value
2024-05-17 16:34:47 -04:00
Adrian Mariano
01b33416a8 fix merge issues 2024-05-13 21:23:33 -04:00
adrianVmariano
e68ff5ff4c
Merge branch 'master' into master 2024-05-13 20:33:01 -04:00
Adrian Mariano
e10700986b path_sweep caps bugfix 2024-05-13 17:17:47 -04:00
Adrian Mariano
56f423c594 fix sparse_wall so that struts are actually the thickness specified 2024-05-12 22:48:53 -04:00
Adrian Mariano
bd21bac004 add sparse_cuboid plus doc fixes 2024-05-12 21:09:44 -04:00
Revar Desmera
a224359ec6
Merge pull request #1427 from adrianVmariano/master
fillet/rounding_edge_mask consolidation
2024-05-11 20:24:58 -07:00
Adrian Mariano
a43b9097df remove redundant rounding_angled_corner_mask 2024-05-09 20:09:16 -04:00
Adrian Mariano
386e99326e remove alias 2024-05-08 21:31:28 -04:00
Adrian Mariano
f0298963f5 doc fixes 2024-05-08 20:33:34 -04:00
Adrian Mariano
6098942407 fillet/rounding_edge_mask consolidation 2024-05-08 20:15:53 -04:00
Revar Desmera
40ba64f7e6
Merge pull request #1426 from BelfrySCAD/revarbat_dev
Revarbat dev
2024-05-05 12:09:45 -07:00
Revar Desmera
2df76f4d44 Merge branch 'revarbat_dev' of github.com:BelfrySCAD/BOSL2 into revarbat_dev 2024-05-04 22:27:16 -07:00
Revar Desmera
36cc8555fc
Merge pull request #1425 from adrianVmariano/master
mutators->misc, new vnf styles
2024-05-04 22:22:29 -07:00
Adrian Mariano
a036802cea mutators-> misc, add flip1/flip2 styles to vnf 2024-05-04 23:32:48 -04:00
Revar Desmera
611de2f427 Fixed Figure reference. 2024-05-04 19:41:52 -07:00
Revar Desmera
8d4ad7cd48
Merge pull request #1424 from adrianVmariano/master
sweep attach
2024-05-04 19:15:56 -07:00