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)
|
- [loft](https://openhome.cc/eGossip/OpenSCAD/lib3x-loft.html)
|
||||||
- [polyhedron_hull](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyhedron_hull.html)
|
- [polyhedron_hull](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyhedron_hull.html)
|
||||||
- [polyline3d](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyline3d.html)
|
- [polyline3d](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyline3d.html)
|
||||||
- [rounded_cube](https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cube.html)
|
- [rounded_cube](https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cube.html)
|
||||||
- [rounded_cylinder](https://openhome.cc/eGossip/OpenSCAD/lib2x-rounded_cylinder.html)
|
- [rounded_cylinder](https://openhome.cc/eGossip/OpenSCAD/lib3x-rounded_cylinder.html)
|
||||||
- [starburst](https://openhome.cc/eGossip/OpenSCAD/lib2x-starburst.html)
|
- [starburst](https://openhome.cc/eGossip/OpenSCAD/lib3x-starburst.html)
|
||||||
- [sweep](https://openhome.cc/eGossip/OpenSCAD/lib2x-sweep.html)
|
- [sweep](https://openhome.cc/eGossip/OpenSCAD/lib3x-sweep.html)
|
||||||
|
|
||||||
### Transformation
|
### Transformation
|
||||||
- [along_with](https://openhome.cc/eGossip/OpenSCAD/lib2x-along_with.html)
|
- [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
|
# 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
|
## 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(20, 5);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
use <rounded_cube.scad>;
|
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
|
center = true
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
use <rounded_cube.scad>;
|
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
|
center = true
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -21,4 +21,4 @@ Creates a rounded cylinder.
|
|||||||
round_r = 3
|
round_r = 3
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
A 3D version of `shape_starburst`.
|
A 3D version of `shape_starburst`.
|
||||||
|
|
||||||
**Since:** 1.2.
|
**Since:** 1.2
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
@@ -20,5 +20,5 @@ A 3D version of `shape_starburst`.
|
|||||||
translate([40, 0, 0]) starburst(10, 5, 12, 10);
|
translate([40, 0, 0]) starburst(10, 5, 12, 10);
|
||||||
translate([60, 0, 0]) starburst(10, 5, 4, 3);
|
translate([60, 0, 0]) starburst(10, 5, 4, 3);
|
||||||
|
|
||||||

|

|
||||||
|
|
@@ -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:
|
This module sweeps multiple cross-sections to create a 3D object. For example, imagine that you have the following cross-sections:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This module sweeps them to create a 3D object:
|
This module sweeps them to create a 3D object:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
When using this module, you should use points to represent a cross section. The points must be counter-clockwise indexes. For example:
|
When using this module, you should use points to represent a cross section. The points must be counter-clockwise indexes. For example:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If your cross section is hollow, set the `triangles` parameter to `"HOLLOW"` and index the points as the following:
|
If your cross section is hollow, set the `triangles` parameter to `"HOLLOW"` and index the points as the following:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
You can cut triangles by yourself. For example, the above shape can be cut into triangles such as:
|
You can cut triangles by yourself. For example, the above shape can be cut into triangles such as:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The indexes of the above triangles is:
|
The indexes of the above triangles is:
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ The indexes of the above triangles is:
|
|||||||
|
|
||||||
sweep(sections);
|
sweep(sections);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
use <rotate_p.scad>;
|
use <rotate_p.scad>;
|
||||||
use <sweep.scad>;
|
use <sweep.scad>;
|
||||||
@@ -92,7 +92,7 @@ The indexes of the above triangles is:
|
|||||||
|
|
||||||
sweep(sections, "HOLLOW");
|
sweep(sections, "HOLLOW");
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
use <rotate_p.scad>;
|
use <rotate_p.scad>;
|
||||||
use <sweep.scad>;
|
use <sweep.scad>;
|
||||||
@@ -130,7 +130,7 @@ The indexes of the above triangles is:
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -4,7 +4,7 @@
|
|||||||
* @copyright Justin Lin, 2017
|
* @copyright Justin Lin, 2017
|
||||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
* @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
|
* @copyright Justin Lin, 2017
|
||||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
* @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
|
* @copyright Justin Lin, 2019
|
||||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
* @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
|
* @copyright Justin Lin, 2020
|
||||||
* @license https://opensource.org/licenses/lgpl-3.0.html
|
* @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
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|