update to 3.0
@ -62,10 +62,10 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp
|
||||
- [loft](https://openhome.cc/eGossip/OpenSCAD/lib3x-loft.html)
|
||||
- [polyhedron_hull](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyhedron_hull.html)
|
||||
- [polyline3d](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyline3d.html)
|
||||
- [rounded_cube](https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cube.html)
|
||||
- [rounded_cylinder](https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cylinder.html)
|
||||
- [starburst](https://openhome.cc/eGossip/OpenSCAD/lib2x-starburst.html)
|
||||
- [sweep](https://openhome.cc/eGossip/OpenSCAD/lib2x-sweep.html)
|
||||
- [rounded_cube](https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cube.html)
|
||||
- [rounded_cylinder](https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cylinder.html)
|
||||
- [starburst](https://openhome.cc/eGossip/OpenSCAD/lib3x-starburst.html)
|
||||
- [sweep](https://openhome.cc/eGossip/OpenSCAD/lib3x-sweep.html)
|
||||
|
||||
### Transformation
|
||||
- [along_with](https://openhome.cc/eGossip/OpenSCAD/lib2x-along_with.html)
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -1,6 +1,6 @@
|
||||
# rounded_cube
|
||||
|
||||
Creates a cube in the first octant. When `center` is `true`, the cube is centered on the origin.
|
||||
Creates a cube in the first octant.
|
||||
|
||||
## Parameters
|
||||
|
||||
@ -15,7 +15,7 @@ Creates a cube in the first octant. When `center` is `true`, the cube is centere
|
||||
|
||||
rounded_cube(20, 5);
|
||||
|
||||
![rounded_cube](images/lib2x-rounded_cube-1.JPG)
|
||||
![rounded_cube](images/lib3x-rounded_cube-1.JPG)
|
||||
|
||||
use <rounded_cube.scad>;
|
||||
|
||||
@ -25,7 +25,7 @@ Creates a cube in the first octant. When `center` is `true`, the cube is centere
|
||||
center = true
|
||||
);
|
||||
|
||||
![rounded_cube](images/lib2x-rounded_cube-2.JPG)
|
||||
![rounded_cube](images/lib3x-rounded_cube-2.JPG)
|
||||
|
||||
use <rounded_cube.scad>;
|
||||
|
||||
@ -37,7 +37,7 @@ Creates a cube in the first octant. When `center` is `true`, the cube is centere
|
||||
center = true
|
||||
);
|
||||
|
||||
![rounded_cube](images/lib2x-rounded_cube-3.JPG)
|
||||
![rounded_cube](images/lib3x-rounded_cube-3.JPG)
|
||||
|
||||
|
||||
|
@ -21,4 +21,4 @@ Creates a rounded cylinder.
|
||||
round_r = 3
|
||||
);
|
||||
|
||||
![rounded_cylinder](images/lib2x-rounded_cylinder-1.JPG)
|
||||
![rounded_cylinder](images/lib3x-rounded_cylinder-1.JPG)
|
@ -2,7 +2,7 @@
|
||||
|
||||
A 3D version of `shape_starburst`.
|
||||
|
||||
**Since:** 1.2.
|
||||
**Since:** 1.2
|
||||
|
||||
## Parameters
|
||||
|
||||
@ -20,5 +20,5 @@ A 3D version of `shape_starburst`.
|
||||
translate([40, 0, 0]) starburst(10, 5, 12, 10);
|
||||
translate([60, 0, 0]) starburst(10, 5, 4, 3);
|
||||
|
||||
![starburst](images/lib2x-starburst-1.JPG)
|
||||
![starburst](images/lib3x-starburst-1.JPG)
|
||||
|
@ -2,23 +2,23 @@
|
||||
|
||||
This module sweeps multiple cross-sections to create a 3D object. For example, imagine that you have the following cross-sections:
|
||||
|
||||
![sweep](images/lib2x-sweep-1.JPG)
|
||||
![sweep](images/lib3x-sweep-1.JPG)
|
||||
|
||||
This module sweeps them to create a 3D object:
|
||||
|
||||
![sweep](images/lib2x-sweep-2.JPG)
|
||||
![sweep](images/lib3x-sweep-2.JPG)
|
||||
|
||||
When using this module, you should use points to represent a cross section. The points must be counter-clockwise indexes. For example:
|
||||
|
||||
![sweep](images/lib2x-sweep-10.JPG)
|
||||
![sweep](images/lib3x-sweep-10.JPG)
|
||||
|
||||
If your cross section is hollow, set the `triangles` parameter to `"HOLLOW"` and index the points as the following:
|
||||
|
||||
![sweep](images/lib2x-sweep-5.JPG)
|
||||
![sweep](images/lib3x-sweep-5.JPG)
|
||||
|
||||
You can cut triangles by yourself. For example, the above shape can be cut into triangles such as:
|
||||
|
||||
![sweep](images/lib2x-sweep-6.JPG)
|
||||
![sweep](images/lib3x-sweep-6.JPG)
|
||||
|
||||
The indexes of the above triangles is:
|
||||
|
||||
@ -62,7 +62,7 @@ The indexes of the above triangles is:
|
||||
|
||||
sweep(sections);
|
||||
|
||||
![sweep](images/lib2x-sweep-7.JPG)
|
||||
![sweep](images/lib3x-sweep-7.JPG)
|
||||
|
||||
use <rotate_p.scad>;
|
||||
use <sweep.scad>;
|
||||
@ -92,7 +92,7 @@ The indexes of the above triangles is:
|
||||
|
||||
sweep(sections, "HOLLOW");
|
||||
|
||||
![sweep](images/lib2x-sweep-8.JPG)
|
||||
![sweep](images/lib3x-sweep-8.JPG)
|
||||
|
||||
use <rotate_p.scad>;
|
||||
use <sweep.scad>;
|
||||
@ -130,7 +130,7 @@ The indexes of the above triangles is:
|
||||
]
|
||||
);
|
||||
|
||||
![sweep](images/lib2x-sweep-9.JPG)
|
||||
![sweep](images/lib3x-sweep-9.JPG)
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @copyright Justin Lin, 2017
|
||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||
*
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cube.html
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cube.html
|
||||
*
|
||||
**/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @copyright Justin Lin, 2017
|
||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||
*
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cylinder.html
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cylinder.html
|
||||
*
|
||||
**/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @copyright Justin Lin, 2019
|
||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||
*
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-starburst.html
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-starburst.html
|
||||
*
|
||||
**/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @copyright Justin Lin, 2020
|
||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
||||
*
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-sweep.html
|
||||
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-sweep.html
|
||||
*
|
||||
**/
|
||||
|
||||
|