Code: Select all
Bits_pixel 1 unrecognized format
Nice WB!furti wrote: ↑Sat Aug 25, 2018 9:15 amHi,
some time ago I stumbled across this page (http://3dp.rocks/lithophane/) that lets you create lithophanes by uploading a image to the side. Recently the idea to print some images came to my mind again.
As I am a programmer myself ( Not python. This was the first time I really did something in python. So please go easy on me ) and FreeCAD is a really powerful tool ( And fairly easy to extend) I decided to combine Lithophanes with the power of FreeCAD.
I started this workbench https://github.com/furti/FreeCAD-Lithophane that lets you import images into FreeCAD and create a Lithophane Mesh from it.
Maybe this Workbench can be useful for other FC Users too
The Readme on GitHub should document the currently available features well enought to get started I think. If something is unclear please let me know.
Code: Select all
Running the Python command 'Import_Image' failed: Traceback (most recent call last): File "C:\Users\Chris\AppData\Roaming\FreeCAD\Mod\FreeCAD-Lithophane\import_image.py", line 17, in Activated fileName = QtGui.QFileDialog.getOpenFileName(QtGui.qApp.activeWindow(), "Open Image", '', "Image Files (*.png *.jpg *.bmp)") 'NoneType' object has no attribute 'activeWindow'
What steps are involved to get added to the Addon list? Do I have to ask somebody on the forum or should I create a pull request in the Github repo?
Thanks for testing it with a PY3 and QT5 build. Unfortunately I had not the time to try it myself. But the download is running right now I copied your bug description to the Github issue. Will inform you when the bug is fixed.
you have to simply open an issue similar to this