From a7cc2f72951242a3d4841d8627561a5dc3c5e079 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 17 Feb 2021 18:08:06 +0800 Subject: [PATCH] update to 3.0 --- README.md | 2 +- ...-crystal_ball-1.JPG => lib3x-crystal_ball-1.JPG} | Bin ...{lib2x-crystal_ball.md => lib3x-crystal_ball.md} | 4 ++-- src/crystal_ball.scad | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename docs/images/{lib2x-crystal_ball-1.JPG => lib3x-crystal_ball-1.JPG} (100%) rename docs/{lib2x-crystal_ball.md => lib3x-crystal_ball.md} (92%) diff --git a/README.md b/README.md index 4429ff3e..f3d992dd 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp - [rounded_square](https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_square.html) ### 3D Module -- [crystal_ball](https://openhome.cc/eGossip/OpenSCAD/lib2x-crystal_ball.html) +- [crystal_ball](https://openhome.cc/eGossip/OpenSCAD/lib3x-crystal_ball.html) - [function_grapher](https://openhome.cc/eGossip/OpenSCAD/lib3x-function_grapher.html) - [hull_polyline3d](https://openhome.cc/eGossip/OpenSCAD/lib2x-hull_polyline3d.html) - [line3d](https://openhome.cc/eGossip/OpenSCAD/lib2x-line3d.html) diff --git a/docs/images/lib2x-crystal_ball-1.JPG b/docs/images/lib3x-crystal_ball-1.JPG similarity index 100% rename from docs/images/lib2x-crystal_ball-1.JPG rename to docs/images/lib3x-crystal_ball-1.JPG diff --git a/docs/lib2x-crystal_ball.md b/docs/lib3x-crystal_ball.md similarity index 92% rename from docs/lib2x-crystal_ball.md rename to docs/lib3x-crystal_ball.md index 85314872..c5dfe3c9 100644 --- a/docs/lib2x-crystal_ball.md +++ b/docs/lib3x-crystal_ball.md @@ -9,7 +9,7 @@ Uses spherical coordinate system to create a crystal ball. - `radius` : The radial distance r. - `theta` : The azimuthal angle. It defaults to 360. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle. - `phi` : The polar angle. It defaults to 180. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle. -- `thickness` : The thickness of the ball. **Since:** 2.1. +- `thickness` : The thickness of the ball. **Since:** 2.1 - `$fa`, `$fs`, `$fn` : Check [the circle module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#circle) or [the sphere module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#sphere) for more details. The final fragments will be a multiple of 4 to fit edges. ## Examples @@ -42,4 +42,4 @@ Uses spherical coordinate system to create a crystal ball. thickness = 2 ); -![crystal_ball](images/lib2x-crystal_ball-1.JPG) +![crystal_ball](images/lib3x-crystal_ball-1.JPG) diff --git a/src/crystal_ball.scad b/src/crystal_ball.scad index 881a6e90..e9a05336 100644 --- a/src/crystal_ball.scad +++ b/src/crystal_ball.scad @@ -4,7 +4,7 @@ * @copyright Justin Lin, 2017 * @license https://opensource.org/licenses/lgpl-3.0.html * -* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-crystal_ball.html +* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-crystal_ball.html * **/