# gcode-previewer
A simple GCode parser & previewer with 3D printing in mind. Written in Typescript. 

See a [demo](https://gcode-preview.web.app/) here

## wegbl + pan/zoom/rotate controls
<img src="https://user-images.githubusercontent.com/461650/69015936-812bd080-0999-11ea-94fc-67c63bf128af.png" width=400 />

## canvas (static perspective)
<img src="https://user-images.githubusercontent.com/461650/67150833-f9c93f80-f2bc-11e9-9887-3c721cf7bfa5.png" width=400 />


This project is sponsored by:

<img width=42 src="http://logo.q42.com/q42-logo.svg" />

# gcode-previewer
A simple GCode parser & previewer with 3D printing in mind. Written in Typescript. 

See a [demo](https://gcode-preview.web.app/) here

## wegbl + pan/zoom/rotate controls
<img src="https://user-images.githubusercontent.com/461650/69015936-812bd080-0999-11ea-94fc-67c63bf128af.png" width=400 />

## canvas (static perspective)
<img src="https://user-images.githubusercontent.com/461650/67150833-f9c93f80-f2bc-11e9-9887-3c721cf7bfa5.png" width=400 />


## Known issues
### Preview doesn't render in Brave
This is caused by the device recognition shield in Brave. By changing the setting for "Device Recognition" in Shield settings to "Allow all device recognition attemps" or "Only block cross-site device recognition attemps" you should not get this error.
https://github.com/mrdoob/three.js/issues/16904

## Sponsors

This project is sponsored by:

* Q42
  <img width=42 src="http://logo.q42.com/q42-logo.svg" />


Add known issue with Brave browser and solution
Add known issue with Brave browser and solution
