commit
fd4beb03f1
12
Demo.md
Normal file
12
Demo.md
Normal file
@ -0,0 +1,12 @@
|
||||
```
|
||||
|
||||
import { Polyline } from "webcad-api";
|
||||
import { Vector3 } from "three";
|
||||
let polyline = new Polyline();
|
||||
polyline.RectangleFrom2Pt(new Vector3(0, 0, 0), new Vector3(100, 100, 0));
|
||||
console.log(polyline);
|
||||
|
||||
console.log(polyline.Area);
|
||||
console.log(polyline.GetOffsetCurves(3));
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user