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

updated doc

This commit is contained in:
Justin Lin
2017-03-23 10:14:55 +08:00
parent d80cb310eb
commit af320b8f0f
5 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
# line2d
Creates a line from two points. When the end points are `CAP_ROUND`,
* you can use `$fa`, `$fs` or `$fn` to controll the circle module used internally.
Creates a line from two points. When the end points are `CAP_ROUND`, you can use `$fa`, `$fs` or `$fn` to controll the `circle` module used internally.
## Parameters
@@ -10,6 +9,7 @@ Creates a line from two points. When the end points are `CAP_ROUND`,
- `width` : The line width.
- `p1Style` : The end-cap style of the point `p1`. The value must be `"CAP_BUTT"`, `"CAP_SQUARE"` or `"CAP_ROUND"`. The default value is `"CAP_SQUARE"`.
- `p2Style` : The end-cap style of the point `p2`. The value must be `"CAP_BUTT"`, `"CAP_SQUARE"` or `"CAP_ROUND"`. The default value is `"CAP_SQUARE"`.
- `$fa`, `$fs`, `$fn` : Check [the circle module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#circle) for more details.
## Examples