1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-09 08:16:50 +02:00

update to 3.0

This commit is contained in:
Justin Lin
2021-02-14 10:21:03 +08:00
parent 4001ddba25
commit 09e3efdc05
10 changed files with 9 additions and 9 deletions

View File

@@ -46,9 +46,9 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp
### 2D Module
- [arc](https://openhome.cc/eGossip/OpenSCAD/lib3x-arc.html)
- [hexagons](https://openhome.cc/eGossip/OpenSCAD/lib3x-hexagons.html)
- [hull_polyline2d](https://openhome.cc/eGossip/OpenSCAD/lib2x-hull_polyline2d.html)
- [line2d](https://openhome.cc/eGossip/OpenSCAD/lib2x-line2d.html)
- [multi_line_text](https://openhome.cc/eGossip/OpenSCAD/lib2x-multi_line_text.html)
- [hull_polyline2d](https://openhome.cc/eGossip/OpenSCAD/lib3x-hull_polyline2d.html)
- [line2d](https://openhome.cc/eGossip/OpenSCAD/lib3x-line2d.html)
- [multi_line_text](https://openhome.cc/eGossip/OpenSCAD/lib3x-multi_line_text.html)
- [pie](https://openhome.cc/eGossip/OpenSCAD/lib2x-pie.html)
- [polyline2d](https://openhome.cc/eGossip/OpenSCAD/lib2x-polyline2d.html)
- [polygon_hull](https://openhome.cc/eGossip/OpenSCAD/lib2x-polygon_hull.html)

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -19,4 +19,4 @@ Creates a 2D polyline from a list of `[x, y]` coordinates. As the name says, it
width = 1
);
![hull_polyline3d](images/lib2x-hull_polyline2d-1.JPG)
![hull_polyline3d](images/lib3x-hull_polyline2d-1.JPG)

View File

@@ -27,4 +27,4 @@ Creates a line from two points. When the end points are `CAP_ROUND`, you can use
line2d(p1 = [0, 0], p2 = [5, 0], width = 1,
p1Style = "CAP_BUTT", p2Style = "CAP_BUTT");
![line2d](images/lib2x-line2d-1.JPG)
![line2d](images/lib3x-line2d-1.JPG)

View File

@@ -18,5 +18,5 @@ Creates multi-line text from a list of strings. Parameters are the same as the b
halign = "center"
);
![multi_line_text](images/lib2x-multi_line_text-1.JPG)
![multi_line_text](images/lib3x-multi_line_text-1.JPG)

View File

@@ -4,7 +4,7 @@
* @copyright Justin Lin, 2017
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-hull_polyline2d.html
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-hull_polyline2d.html
*
**/

View File

@@ -4,7 +4,7 @@
* @copyright Justin Lin, 2017
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-line2d.html
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-line2d.html
*
**/

View File

@@ -4,7 +4,7 @@
* @copyright Justin Lin, 2017
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-multi_line_text.html
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-multi_line_text.html
*
**/
module multi_line_text(lines, line_spacing = 15, size = 10, font = "Arial", halign = "left", valign = "baseline", direction = "ltr", language = "en", script = "latin"){