Skip to content

Commit f5e0d28

Browse files
authored
Merge pull request #259 from xyz-tools/develop
Release 3.0.0-alpha.1
2 parents a560fd1 + 460a4b3 commit f5e0d28

66 files changed

Lines changed: 36 additions & 411205 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
- develop
1010
- v3.x
1111

12+
permissions:
13+
checks: write
14+
contents: write
15+
pull-requests: write
16+
1217
jobs:
1318
build_and_preview:
1419
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Join us on <a href="https://discord.gg/w2bsGRE6S4">discord</a>
1717
## Demo
1818

1919
Click to see the interactive demo:
20-
[<img title="click to see the demo" width="320" alt="image" src="https://github.com/remcoder/gcode-preview/assets/461650/d965d30f-101e-40d3-8ad7-c8257dd7866a">](https://gcode-preview.web.app/)
2120

21+
[<img title="click to see the demo" width="320" alt="image" src="https://github.com/user-attachments/assets/4e663193-0a01-4fe2-864b-a8ffb18cbcd8">](https://gcode-preview.web.app/)
2222

2323
## Installation
2424

@@ -90,7 +90,7 @@ Thanks to @Sindarius arc commands are now supported, which means gcode processed
9090
### Thumbnail preview
9191
Thumbnail previews as generated by PrusaSlicer are detected and parsed. In the gcode these are found in comments, enclosed between 'thumbnail begin' and 'thumbnail end'. The images are encoded as base64 strings but split over multiple lines. These are now parsed and patched back together, but still kept a base64. This allows easy use in the browser for us as [data urls](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).
9292

93-
![image](https://user-images.githubusercontent.com/461650/133330840-d11e4681-e265-45d0-b1d9-633ef285d972.png)*Thumbnail Preview as generate by PrusaSlicer*
93+
![image](https://github.com/user-attachments/assets/6931167b-d48e-44a8-9233-ec8dbc064a0b) *Thumbnail Preview as generated by PrusaSlicer*
9494

9595
The thumbnails can be accessed like this:
9696
`gcodePreview.parser.metadata.thumbnails['220x124']`

examples/react-typescript-demo/.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/react-typescript-demo/.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/react-typescript-demo/.eslintrc.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

examples/react-typescript-demo/.gitignore

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/react-typescript-demo/.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/react-typescript-demo/.prettierrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/react-typescript-demo/README.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)