Commit graph

4438 commits

Author SHA1 Message Date
Revar Desmera
eda0cd75b5
Merge pull request #1469 from adrianVmariano/master
regular_prism(), prismoid and wedge anchors
2024-09-07 22:25:56 -07:00
Adrian Mariano
289d6afb3e spin direction sign fix 2024-09-02 08:14:30 -04:00
Adrian Mariano
ef610906b0 Change VNF hull anchors to point in more rational directions 2024-09-01 21:21:24 -04:00
Adrian Mariano
d897c42a3c regular_prism() sizing bugfixes 2024-09-01 15:08:53 -04:00
Adrian Mariano
6d9d5a8e5a fix function return from regular_prism() 2024-09-01 07:32:46 -04:00
Adrian Mariano
51fbe696b1 fix anchor bug for non-orthogonal spins
change regular_prism side face anchors to point UP
2024-08-31 13:19:10 -04:00
Adrian Mariano
9ac540e03d fix 2d attach() bug 2024-08-30 20:17:49 -04:00
Adrian Mariano
5c3692d109 fix inside attachment spin bug 2024-08-30 19:42:41 -04:00
Adrian Mariano
b919905449 doc fix 2024-08-29 20:38:51 -04:00
Adrian Mariano
f4e37df07b newlines 2024-08-29 19:30:44 -04:00
Adrian Mariano
989007a4bc add regular_prism(), fix anchors to prismoid() 2024-08-29 19:29:43 -04:00
Adrian Mariano
fa58f33e6d fix spin on wedge edges 2024-08-23 18:11:45 -04:00
Adrian Mariano
de6d7a21d7 doc tweaks 2024-08-23 18:11:29 -04:00
Revar Desmera
53af9121e7
Merge pull request #1464 from adrianVmariano/master
doc fix & screws fix
2024-08-11 22:48:27 -07:00
Adrian Mariano
1ab0a85453 doc fixes and screws fix 2024-08-09 21:52:51 -04:00
Revar Desmera
736fad321b
Merge pull request #1459 from adrianVmariano/master 2024-07-27 14:01:30 -07:00
Adrian Mariano
f96e521e9b bugfix for rot_copies: sa parameter was ignored 2024-07-27 10:04:58 -04:00
Adrian Mariano
7c737fd0a3 doc tweaks 2024-07-27 09:36:51 -04:00
Revar Desmera
cc08eb3323
Merge pull request #1458 from adrianVmariano/master
Fix new examples
2024-07-27 02:21:31 -07:00
Adrian Mariano
5375e41af4 example fix 2024-07-26 06:33:25 -04:00
Adrian Mariano
c2b5cd148e add 3D to examples so they display 2024-07-26 06:07:25 -04:00
Revar Desmera
78ea8e4770
Merge pull request #1457 from adrianVmariano/master
vnf_sheet & bezier_sheet
2024-07-25 23:01:31 -07:00
Adrian Mariano
7892d488ba docfix 2024-07-25 21:56:40 -04:00
Adrian Mariano
88e11dfcaf docfix 2024-07-25 21:28:45 -04:00
Adrian Mariano
cff856362b add vnf_sheet, bezier_sheet, vnf_boundary and vnf_thin_offset 2024-07-25 21:04:07 -04:00
Adrian Mariano
0519b5f94c doc tweaks 2024-07-20 11:23:07 -04:00
Revar Desmera
8383d360cc
Merge pull request #1454 from adrianVmariano/master
various fixes
2024-07-19 21:35:00 -07:00
Adrian Mariano
f8ae1d96f4 doc fixes & new examples for bevel gears 2024-07-18 19:13:21 -04:00
Adrian Mariano
b0d82973f0 bugfix 2024-07-18 17:12:45 -04:00
Adrian Mariano
ff3dbf5343 improve message 2024-07-18 00:22:26 -04:00
Adrian Mariano
62c262d3fa fix tolerance bug for screw holes 2024-07-17 23:37:40 -04:00
Revar Desmera
9145c0961f
Merge pull request #1450 from BelfrySCAD/revarbat_dev
Remove redundant collinear points from bezpath_curve() output.
2024-07-07 00:34:15 -07:00
Revar Desmera
ebb98b47d2 Remove redundant collinear points from bezpath_curve() output. 2024-07-07 00:11:23 -07:00
Revar Desmera
8ea8ebf341
Merge pull request #1447 from adrianVmariano/master
su/product optimization
2024-06-29 15:41:11 -07:00
Adrian Mariano
054052144e sum/product optimizations 2024-06-25 19:24:48 -04:00
Revar Desmera
17e307fdb4
Merge pull request #1446 from adrianVmariano/master
projection doc fix
2024-06-22 20:58:13 -07: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
Revar Desmera
67f0004773
Merge pull request #1445 from adrianVmariano/master
add projection()
2024-06-22 18:10:12 -07: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
Revar Desmera
76d09271c1
Merge pull request #1441 from adrianVmariano/master
spiral sweep bugfix
2024-06-12 22:57:08 -07: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