|
| 1 | +--- |
| 2 | +layout: plugin |
| 3 | + |
| 4 | +id: hologram |
| 5 | +title: OctoPrint-Hologram |
| 6 | +description: A simple OctoPrint plugin to display a render based on the preloaded G-code. |
| 7 | +authors: |
| 8 | +- MarkSlat |
| 9 | +license: AGPLv3 |
| 10 | + |
| 11 | +date: 2024-05-17 |
| 12 | + |
| 13 | +homepage: https://github.com/MarkSlat/OctoPrint-Hologram |
| 14 | +source: https://github.com/MarkSlat/OctoPrint-Hologram |
| 15 | +archive: https://github.com/MarkSlat/OctoPrint-Hologram/archive/main.zip |
| 16 | + |
| 17 | +tags: |
| 18 | +- ui |
| 19 | +- Gcode |
| 20 | +- visualizer |
| 21 | + |
| 22 | +screenshots: |
| 23 | +- url: /assets/img/plugins/hologram/demo.jpeg |
| 24 | + alt: Example preview of Benchy |
| 25 | + caption: Example preview of Benchy |
| 26 | +- url: /assets/img/plugins/hologram/setup_1.gif |
| 27 | + alt: Example setup step 1 |
| 28 | + caption: Example setup step 1 |
| 29 | +- url: /assets/img/plugins/hologram/setup_2.gif |
| 30 | + alt: Example setup step 2 |
| 31 | + caption: Example setup step 2 |
| 32 | + |
| 33 | + |
| 34 | +featuredimage: /assets/img/plugins/hologram/demo.jpeg |
| 35 | + |
| 36 | + |
| 37 | +compatibility: |
| 38 | + octoprint: |
| 39 | + - 1.4.0 |
| 40 | + os: |
| 41 | + - linux |
| 42 | + - windows |
| 43 | + - macos |
| 44 | + python: ">=3.7,<4" |
| 45 | + |
| 46 | +--- |
| 47 | +This plugin allows a user to an accurate preview of their print projected onto the build plate. Designed for cameras mounted on the build plates. |
| 48 | + |
| 49 | +## Example Usage |
| 50 | +Generate a render by loading the print file, clicking the render button and it overlays a render onto the build plate. |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +## Setup |
| 55 | +In the settings page, enter the physical X and Y dimensions of the build plate (not the print volume). |
| 56 | + |
| 57 | +Position the box over the build plate and secure it to initiate the calibration process. |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +Make any necessary adjustments. Ensure the arrow points towards the origin. |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | +Navigate to the hologram tab and select a file to render and preview |
| 66 | + |
| 67 | +## Raspberry Pi |
| 68 | +Since this plugin depends on Numpy you many have to run the following. |
| 69 | +- sudo apt-get install libopenblas-base |
| 70 | +- sudo ldconfig |
| 71 | + |
| 72 | +See: https://numpy.org/devdocs/user/troubleshooting-importerror.html |
| 73 | + |
| 74 | +## Future plans |
| 75 | +To automatically detect failures and defects in real-time by cross comparing the rendered model with the actual print, layer by layer. If a certain confidence level is met, the print will be paused. Check the pre-releases for more information. |
| 76 | + |
| 77 | +## Acknowledgments |
| 78 | +I would like to give credit Yaqi Zhang’s for using their script for part of the Gcode rendering function. |
| 79 | +https://github.com/zhangyaqi1989/Gcode-Reader |
0 commit comments