Skip to content

Commit cf3f21b

Browse files
authored
Update README.md
1 parent d79c674 commit cf3f21b

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ or
2323
import * as GCodePreview from 'gcode-preview';
2424
2525
const preview = GCodePreview.init({
26-
document.querySelector('canvas'),
26+
canvas: document.querySelector('canvas'),
2727
extrusionColor: 'hotpink'
2828
});
2929
@@ -47,6 +47,11 @@ or
4747

4848
## Features
4949

50+
### Experimental: render extrusion as tubes
51+
```
52+
renderTubes : true
53+
```
54+
5055
### G2/G3 arc support
5156
Thanks to @Sindarius arc commands are now supported, which means gcode processed by ArcWelder should be rendered correctly.
5257

@@ -98,8 +103,9 @@ It would be great if you want to help! Maybe you'd like to help out with:
98103
- unit tests
99104

100105
## Contributors
101-
- ❤️ Thank you @Zeng95 for providing a React & Typescript example
102-
- ❤️ Thanks to @Sindarius for implementing G2/G3 arc support
106+
- ❤️ Thank you @sophiedeziel for rendering extrusion as tubes.
107+
- ❤️ Thank you @Sindarius for implementing G2/G3 arc support.
108+
- ❤️ Thank you @Zeng95 for providing a React & Typescript example.
103109

104110
## Changelog
105111
Jump to the [CHANGELOG](CHANGELOG.md)

0 commit comments

Comments
 (0)