Lithophane Workbench

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
triplus
Posts: 8422
Joined: Mon Dec 12, 2011 4:45 pm

Re: Lithophane Workbench

Postby triplus » Fri Mar 15, 2019 10:02 pm

Nice progress!
User avatar
furti
Posts: 268
Joined: Mon Nov 27, 2017 5:27 pm

Re: Lithophane Workbench

Postby furti » Tue Mar 19, 2019 6:47 pm

mario52 wrote:
Sat Mar 02, 2019 1:40 pm
super macro
triplus wrote:
Fri Mar 15, 2019 10:02 pm
Nice progress!
Thanks glad to here you like it :)


There is a new version available now. Full release notes can be found here https://github.com/furti/FreeCAD-Lithop ... es/tag/0.4

With the new version:
- It is possible to cancel a long running task
- Use the scale command to match a certain diameter (useful for cylindrical or tube lithophanes)
- The scale UI was redesigned to separate the different options into separate Tabs
scale_length_width.png
scale_length_width.png (6.84 KiB) Viewed 789 times
User avatar
furti
Posts: 268
Joined: Mon Nov 27, 2017 5:27 pm

Re: Lithophane Workbench

Postby furti » Wed Apr 24, 2019 6:01 pm

Hi :)

The last month was a bit busy. Created a new (In my opinion a pretty awesome :D ) feature for the Lithophane workbench. And also created the first real thing with it. A lamp as a present for my nephew.
I will upload some pictures of it to the Users Showcase forum :)


But now to the new feature.

I call it "Boolean Mesh".
It is a FeaturePython Object that is based on a Lithophane Image and creates the geometry like before and stores it in a Mesh linked to it.
But in addition to that, you can add Boolean Features to this Object. A Boolean Feature is either based on a Mesh or a Shape and adds or subtracts geometry from the base mesh.
So you can create stuff with the Part or PartDesign workbench and extend your Lithophanes with it.
It works a bit like the PartDesign Body. You add a list of additive or subtractive Features and get a final geometry from it.

For the Boolean Features to work, one has to either install OpenSCAD or Blender and configure it in FreeCAD. It is described here in detail https://github.com/furti/FreeCAD-Lithop ... olean-mesh
I would recommend to use Blender because it is a lot (and I really mean a lot) faster than OpenSCAD when it comes to Boolean Operations.
Tried it with a mesh with 341000 faces. I killed FreeCAD after 5 Minutes of waiting for OpenSCAD to finish. With Blender it was done in About 15 Seconds or so :lol:

You can see the feature in action in the video I uploaded here: https://furti.github.io/FreeCAD-Lithoph ... n_showcase

Hope you can make some gread use of this feature.

As always the full release notes can be found here https://github.com/furti/FreeCAD-Lithop ... es/tag/0.5
User avatar
bavariaSHAPE
Posts: 243
Joined: Tue Jun 10, 2014 8:31 am

Re: Lithophane Workbench

Postby bavariaSHAPE » Fri Aug 09, 2019 6:19 pm

Hey Furti,

great job. Now I have a question about the »ppi« value. My picture has the dimension 1920x1058 – 96 ppi (507x279 mm). I changed the dimension to 100 mm in the length. Now I have the feeling the surface is a little bit rough.

What am I possibly doing wrong.

2019-08-09 19_55_28-FreeCAD 0.18.jpg
2019-08-09 19_55_28-FreeCAD 0.18.jpg (102.86 KiB) Viewed 125 times
2019-08-09 19_57_36-FreeCAD 0.18.jpg
2019-08-09 19_57_36-FreeCAD 0.18.jpg (122.18 KiB) Viewed 125 times
User avatar
furti
Posts: 268
Joined: Mon Nov 27, 2017 5:27 pm

Re: Lithophane Workbench

Postby furti » Tue Aug 13, 2019 6:03 pm

bavariaSHAPE wrote:
Fri Aug 09, 2019 6:19 pm
Now I have the feeling the surface is a little bit rough
I think you do nothing wrong. When scaling the image down, multiple pixels are combined to a single one. Maybe about 20 pixels will be combined to a single one on your case. That means there is a lot less detail in the scaled image than in the original one.