Revar Desmera
33d713522b
Merge pull request #292 from revarbat/revarbat_dev
...
Bugfixes for looping helpers.
2020-10-07 16:57:12 -07:00
Garth Minette
a36eec5297
Added align_tip/align_side to regular_ngon()/star().
2020-10-07 16:53:52 -07:00
Revar Desmera
066f4ab00f
Merge pull request #289 from adrianVmariano/master
...
minor doc fixes and bugfix for closed path tangents with path_sweep
2020-10-05 17:22:36 -07:00
Adrian Mariano
c71112347e
minor doc fixes and bugfix for closed path tangents with path_sweep
2020-10-05 17:40:32 -04:00
Garth Minette
16ee49e8b2
Fixed a bunch of undef math warnings with dev snapshot OpenSCAD builds.
2020-10-03 19:50:29 -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
dde616dad5
unit() now asserts error for zero-length vector unless dflt= arg is given.
2020-07-10 00:03:55 -07:00
Garth Minette
7045f436a1
Fixed inverted endcap1 in stroke()
2020-07-01 00:59:32 -07:00
Revar Desmera
ef13137657
Fix for issue #180 . 3D stroke works again.
2020-06-14 18:32:59 -07:00
Revar Desmera
620a536dbc
Fix stroke() for 1 point paths.
2020-06-10 00:03:48 -07:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Adrian Mariano
7c97593a54
Modified arc so cw and ccw can be used with 180 deg arcs. Beefed up
...
parameter error checking. Deleted echos from star() and arc().
2020-05-29 20:09:17 -04:00
Adrian Mariano
9fe8788357
Added long, cw, and ccw arguments to arc for selecting which arc is
...
drawn when you give 2 points and a centerpoint.
2020-05-25 23:43:52 -04:00
Revar Desmera
ac773cea20
Added "tipN" named anchors to Ngons. Added "tipN", "midptN", and "cornerN" named anchors to star().
2020-05-07 17:11:35 -07:00
Revar Desmera
b03e97cb9b
Added an example for maxking by attachment to ogee mask.
2020-05-06 17:32:03 -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
be3dd53132
Bugfix for oval() not properly using circum args.
2020-05-05 15:27:25 -07:00
Revar Desmera
ff96db86d2
Removed overrides for square() and circle() builtin modules.
2020-04-25 04:00:16 -07:00
Revar Desmera
1b6ebd3761
Fixed Ngon rounding size distortion.
2020-04-23 04:36:51 -07:00
Revar Desmera
7ebb83a81d
Improved quality of in 3D.
2020-04-14 19:16:24 -07:00
Revar Desmera
22e512b287
Fixed assert that broke stroke() for endcap paths.
2020-04-13 19:10:00 -07:00
Revar Desmera
9f630018f1
Standardized polygon path orientation: CW from X+
2020-04-13 18:52:11 -07:00
Revar Desmera
0346b8a266
Removed leftover p= args from attachable() refactoring.
2020-04-13 16:53:50 -07:00
Revar Desmera
82aaa28471
Added teardrop_corner_mask(), corner_profile()
2020-04-11 01:22:04 -07:00
Revar Desmera
38b4912da3
Added mask2d_teardrop()
2020-04-10 20:32:44 -07:00
Revar Desmera
05827785f5
Fixed turtle() docs truncation issue.
2020-03-17 20:03:36 -07:00
Adrian Mariano
55798da5c5
Added xymove to turtle.
2020-03-14 23:52:16 -04:00
Revar Desmera
579714a9f7
Minor stroke() bugfix for duplicate start or endpoints.
2020-03-11 22:21:26 -07:00
Revar Desmera
5c83313203
Minor stroke() bugfix.
2020-03-09 01:04:46 -07:00
Revar Desmera
d5aac19ef8
Enabled use of stroke() for 3D paths.
2020-03-08 21:22:40 -07: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
0571425ce7
Merge pull request #133 from adrianVmariano/master
...
Added snap pins to joiners.scad
2020-03-04 20:27:21 -08:00
Adrian Mariano
fcbeadc363
renamed replist to repeat
...
fixed normalization issue in path_to_bezier
2020-03-04 23:22:39 -05:00
Revar Desmera
ee30513644
Bugfix for rot
2020-03-03 19:17:14 -08:00
Revar Desmera
07bfcd6a57
Renamed normalize() to unit()
2020-03-02 19:30:20 -08:00
Revar Desmera
7ea33cc724
Added asserts for regular_ngon().
2020-03-02 12:57:24 -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
9736ec48f5
Added edge_profile(), edge_mask(), and various 2D mask shapes.
2020-02-11 20:11:59 -08:00
Revar Desmera
555f1a9ab3
Bugfix for stroke() with scalar width.
2020-01-29 01:31:05 -08:00
Revar Desmera
b074259054
Added variable line widths along path to stroke()
2020-01-28 19:15:23 -08:00
Revar Desmera
9d84c33af6
Fixed 2D attachments issue That rotated shapes vertically.
2020-01-15 14:18:11 -08:00
Revar Desmera
62e8e517fd
Added rounding examples for 2D Ngons.
2020-01-14 16:48:20 -08:00
Revar Desmera
ab66cb5788
Added rounding= option to various 2D Ngons.
2020-01-14 16:23:35 -08:00
Revar Desmera
b4bad57588
Reorganized 2D shapes. Added teardrop2d() function.
2020-01-05 21:36:27 -08:00
Adrian Mariano
29b682be96
Added lcm() and gcd() and is_integer() to math.scad. Added a couple
...
3d examples for supershape() that I snagged from
list-comprehension-demo. Added repeat_entries to array.scad. Note
dependence on _sum_preserving_round which is in paths.scad. Also note
it's possible _force_list (added to math.scad) should be exposed, or
placed elsewhere.
2019-12-06 19:27:49 -05:00
Revar Desmera
80e9ecac05
Fixed some issues with stroke() docs.
2019-12-04 02:20:05 -08:00
Revar Desmera
a947ec2476
Fixed all *gon() 2D shapes to support attachments.
2019-11-03 19:01:14 -08:00
Revar Desmera
9f0d4f9465
Code formatting standardization in shapes2d.scad
2019-10-21 02:32:05 -07:00
Revar Desmera
1e587ee0f3
Reformatted turtle commands docs.
2019-09-04 18:39:39 -07:00
Adrian Mariano
fc99ce985d
Changed rounded_sweep() to offset_sweep()
...
Fixed collinear bug in arc()
Added arcleftto and arcrrightto and arcsteps to turtle()
2019-09-02 18:15:24 -04:00
Revar Desmera
bd19e12096
Rewrote PCO* parts to use arcleft/arcright turtle commands. Removed turtle_arc()
2019-08-31 23:44:24 -07:00
Revar Desmera
207721012f
Fixed docs spelling. Standardized formatting.
2019-08-31 23:13:25 -07:00
Adrian Mariano
e438b17911
Added "arcleft" and "arcright" to turtle()
2019-08-31 19:52:47 -04:00
Revar Desmera
bf407307c7
Added turtle_arc(), pco1810_neck(), pco1810_cap()
2019-08-31 00:43:06 -07:00
Revar Desmera
0e187c82f8
Added paths.scad to std.scad since it's used by so many modules.
2019-08-10 15:50:30 -07:00
Adrian Mariano
22dc6474da
Added od and or to star(). Documented support for r and d in various polygons.
2019-08-04 09:48:13 -04:00
Revar Desmera
6c48c27baf
Added r/d alternate args to or/od for polygon 2D shapes.
2019-08-03 02:18:40 -07:00
Revar Desmera
6ba7bde38b
Reworked new endcap support for stroke()
2019-08-03 00:07:54 -07:00
Adrian Mariano
7855cf98c0
Tweaked pentagram example for turtle()
...
path_cut had a bug when invoked with a single distance
_bezcorner would fail if $fn wasn't set and $fs was too large
added offset_stroke()
2019-08-01 16:36:53 -04:00
Revar Desmera
6f2e83cb68
Reworked stroke() examples.
2019-07-30 13:00:13 -07:00
Revar Desmera
48ee931522
Embiggen endcaps figure all the way\!
2019-07-30 12:52:45 -07:00
Revar Desmera
455e906dbd
Enlarge stroke() endcaps figure
2019-07-30 12:40:59 -07:00
Revar Desmera
71189197c8
Allow custom endcaps for stroke()
2019-07-30 12:34:05 -07:00
Revar Desmera
a130b59dd8
Added arrow endcaps and separate endcap1 and endcap2 options to stroke()
2019-07-29 18:19:19 -07:00
Adrian Mariano
c6ebb93751
removed include
2019-07-15 21:41:20 -04:00
Adrian Mariano
a71868431b
Added repeat to turtle. Added centroid to geometry.scad.
2019-07-15 20:14:29 -04:00
Revar Desmera
9aa1cd09e6
Widened stroke width for square spiral example.
2019-07-14 12:47:04 -07:00
Revar Desmera
8705a8ff0f
Embiggened turtle() images.
2019-07-14 12:45:18 -07:00
Revar Desmera
d0c5ef29b8
Fixed kock snowflake example rendering.
2019-07-14 12:37:55 -07:00
Revar Desmera
874eac943a
Made turtle() example images 2D.
2019-07-14 12:33:17 -07:00
Revar Desmera
a89edec667
Fixed docs formating and code indentation.
2019-07-14 12:30:46 -07:00
Adrian Mariano
8a0fc80c90
Added turtle function
2019-07-14 13:13:36 -04:00
Revar Desmera
3eb39d0018
Changed close argument of stroke() to closed.
2019-07-12 13:11:13 -07:00
Revar Desmera
e60648dadd
Make stroke() assert that path is 2D.
2019-07-10 13:03:17 -07:00
Revar Desmera
f1a70f62f3
Fixed // handling for arcs with negative arc angles.
2019-06-30 18:09:43 -07:00
Adrian Mariano
fb5580268a
Three new supershape examples
2019-06-23 17:21:00 -04:00
Revar Desmera
02da52c097
Fixed supershape example images.
2019-06-18 01:08:24 -07:00
adrianVmariano
5bfdbf3c5c
Add files via upload
2019-06-11 21:56:10 -04:00
Revar Desmera
ac71eb67e8
Removed pie_slice2d(), make N defaultable in
2019-05-29 17:52:42 -07:00
Revar Desmera
3b0a1a3383
Added spin and anchor to various 2D shapes.
2019-05-29 16:27:35 -07:00
Revar Desmera
0836e821f4
Added arc()
2019-05-28 21:23:59 -07:00
Revar Desmera
f378b70151
Added in range step of 1 to avoid errors.
2019-05-26 22:34:46 -07:00
Revar Desmera
4f98535141
Removed remove_undefs()
2019-05-15 21:38:54 -07:00
Revar Desmera
e649991e56
Merged functions&modules docs in shapes2d.scad
2019-05-12 18:10:15 -07:00
Revar Desmera
cdaeb136d0
Examples fixes for shapes2d
2019-05-12 03:46:53 -07:00
Revar Desmera
51403aee33
Added shapes2d.scad
2019-05-12 03:32:56 -07:00