Alex Matulich
039485e913
Added paragraph breaks in coments for squircle
2024-12-09 12:21:53 -08:00
Alex Matulich
c18c955376
Revised to manage attachments
2024-12-09 11:59:46 -08:00
Alex Matulich
a2c30affea
Corrected link in comment about linearizing squareness in squircle()
2024-12-06 09:07:44 -08:00
Alex Matulich
6c92e0313a
Final fix for exact squareness linearity in squircle()
2024-12-06 08:28:03 -08:00
Alex Matulich
504c92bba9
Corrected anchor positions, improved linear response of squareness, added example
2024-12-05 16:59:58 -08:00
Alex Matulich
495ebbefd8
Expanded documentation to explain differences from supershape()
2024-12-05 15:17:28 -08:00
Alex Matulich
65ec17f4b3
added squircle to shapes2d.scad
2024-12-04 23:26:54 -08:00
Adrian Mariano
9742177381
misc fixes
2024-10-13 20:03:00 -04:00
Adrian Mariano
2670ce0c95
assorted doc fixes
2024-09-29 09:10:12 -04:00
Adrian Mariano
fac12237c7
Change Courier references to Liberation Mono which we know is available
2024-09-26 16:59:12 -04:00
Adrian Mariano
f03d4300e2
fix default font
2024-09-22 16:49:58 -04:00
Adrian Mariano
aafe13f0da
example fix
2024-06-08 00:20:33 -04: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
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
Revar Desmera
753deeca36
Added keyhole() 2d shape.
2024-02-23 13:38:50 -08:00
Adrian Mariano
5435bb1fc2
add deduplicate to rect(), add deduplicate to is_path_simple
...
add epsilon to degenerate bezier patch detection
2024-01-28 18:22:04 -05:00
Adrian Mariano
d6fe226fca
Fix teardrop for threaded screws
2024-01-27 10:52:54 -05:00
Adrian Mariano
10727a26b6
ring()
2024-01-26 20:10:51 -05:00
Richard Milewski
fd059735b0
Added Ext Syntag
2024-01-02 14:10:19 -08:00
Revar Desmera
0d6d5140bf
Allow zero-size rect() to allow prismoid() pyramids.
2023-10-10 15:16:50 -07:00
Revar Desmera
a6e60b5993
Once again, removed extraneous comma.
2023-10-10 14:54:37 -07:00
Revar Desmera
d37917c671
Enabled various shapes to not barf on zero or negative sizes.
2023-10-10 14:43:16 -07:00
Richard Milewski
7b7e6ba21d
Shapes2D SynTags
2023-04-14 13:42:53 -07:00
Revar Desmera
732de27907
Minor docs fix.
2023-03-30 19:39:49 -07:00
Revar Desmera
7b988dcb58
Fixed truncated docs problems.
2023-03-28 21:53:01 -07:00
Revar Desmera
cc14ca2872
Fixed wedge/triangle shapes anchoring issues.
2023-03-28 20:39:37 -07:00
Richard Milewski
62b425628d
Added vnf to synopses
2023-03-27 23:56:04 -07:00
Richard Milewski
c73d80a553
Synopses drawing.scad
2023-03-27 16:30:04 -07:00
Richard Milewski
eb2f5944f9
Merge remote-tracking branch 'upstream/master'
2023-03-27 14:45:31 -07:00
Richard Milewski
e20fe7a84b
Shapes3d Synopses
2023-03-27 14:27:13 -07:00
Richard Milewski
74d2ea918f
Shapes2d Synopses
2023-03-26 17:36:52 -07:00
Adrian Mariano
af53674c4e
Add angle definition to prismoid
2023-03-24 19:50:52 -04:00
Adrian Mariano
b813881d26
fix anchoring bug in rect() and doc fix in screw_hole
2023-03-12 23:25:13 -04:00
Revar Desmera
a01c2cab0a
Fixed consecutive commas error.
2023-03-10 16:59:14 -08:00
Adrian Mariano
a4596cb448
add trapezoid anchor override and fix trapezoid and rect perimeter anchoring
2023-03-08 23:09:11 -05:00
Adrian Mariano
4a9ab3b18b
doc fix
2023-02-03 17:27:44 -05:00
Adrian Mariano
be998746e6
trapezoid fix
2023-02-03 16:36:40 -05:00
Adrian Mariano
3f4d5e65f7
doc fixes
2023-01-20 16:55:56 -05:00
Adrian Mariano
d949c08f7e
attachments tutorial reorg
2022-11-10 21:38:41 -05:00
Adrian Mariano
dbb20fa92a
special case teardrop $fn=6
2022-11-08 22:39:45 -05:00
Adrian Mariano
8cd43a6637
fix teardrop for extents to make proper cuboids
2022-11-05 16:25:37 -04:00
Adrian Mariano
66fce69e4d
Fix bug in nut beveling, fix teardrop bugs, add chamfer to teardrop,
...
add tap and self tap screw hole tolerances.
2022-10-25 22:33:22 -04:00
Adrian Mariano
d860dc8044
doc fixes
2022-10-23 08:05:40 -04:00
Adrian Mariano
a7711edf0b
distributors name normalization & bug fix
2022-10-22 23:15:35 -04:00
Adrian Mariano
b9713845f7
added n= option to supershape to give number of points
2022-08-06 10:28:36 -04:00
Adrian Mariano
f7b67232b2
doc fix for ellipse
2022-08-02 22:49:10 -04:00