1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-13 02:31:58 +02:00

updated docs

This commit is contained in:
Justin Lin 2017-04-22 16:56:47 +08:00
parent cd25031176
commit 438529abce

View File

@ -1,8 +1,8 @@
line2d
# 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.
# Parameters
## Parameters
- `p1` : 2 element vector `[x, y]`.
- `p2` : 2 element vector `[x, y]`.
@ -11,7 +11,7 @@ Creates a line from two points. When the end points are `CAP_ROUND`, you can use
- `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. The final fragments of a circle will be a multiple of 4 to fit edges.
# Examples
## Examples
include <line2d.scad>;