unwrapping mesh

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
manchild
Posts: 7
Joined: Wed Dec 05, 2018 8:49 am

unwrapping mesh

Post by manchild »

Hi all,

I used to be able unwrap cone mesh. Nom i missing this option ? what i doing wrong ? :?:


FC 0.18
Attachments
cone unroll.FCStd
(5.78 KiB) Downloaded 73 times
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: unwrapping mesh

Post by looo »

manchild wrote: Fri Jan 04, 2019 10:48 am I used to be able unwrap cone mesh. Nom i missing this option ?
can you post your freecad-version-info? This functionality is only available if FreeCAD is compiled with pybind11. For now this is only true for conda-builds. (AFAIK)
chrisb
Veteran
Posts: 54166
Joined: Tue Mar 17, 2015 9:14 am

Re: unwrapping mesh

Post by chrisb »

Some questions back:
What do you expect?
Which version worked?
What exactly have you done?
Which version do you use now? Please add your FreeCAD info as described following the IMPORTANT link above.
What do you get now?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54166
Joined: Tue Mar 17, 2015 9:14 am

Re: unwrapping mesh

Post by chrisb »

It creates fancy results here for a 360° cylinder:
Bildschirmfoto 2019-01-04 um 12.46.58.png
Bildschirmfoto 2019-01-04 um 12.46.58.png (15.24 KiB) Viewed 3151 times
It works well if I cut the mesh:
Bildschirmfoto 2019-01-04 um 12.46.31.png
Bildschirmfoto 2019-01-04 um 12.46.31.png (16.42 KiB) Viewed 3151 times
.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15525 (Git)
Build type: Release
Branch: master
Hash: 1a7d3d9a37fe43468c8ac84590c1db53e2b2000a
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
manchild
Posts: 7
Joined: Wed Dec 05, 2018 8:49 am

Re: unwrapping mesh

Post by manchild »

looo wrote: Fri Jan 04, 2019 11:26 am
manchild wrote: Fri Jan 04, 2019 10:48 am I used to be able unwrap cone mesh. Nom i missing this option ?
can you post your freecad-version-info? This functionality is only available if FreeCAD is compiled with pybind11. For now this is only true for conda-builds. (AFAIK)
my version:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15396 (Git)
Build type: Release
Branch: master
Hash: 5dee2fdfb38881a881493b2b610640bb7f3347c3
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0

i used to have option unwrap.
like in gif from user @looo:
Image

i don't remember witch vesion it was.
now i don't have unwrap button
Screen Shot 01-04-19 at 12.07 PM.PNG
Screen Shot 01-04-19 at 12.07 PM.PNG (129.99 KiB) Viewed 3148 times
manchild
Posts: 7
Joined: Wed Dec 05, 2018 8:49 am

Re: unwrapping mesh

Post by manchild »

ok., I installed conda and now i'm able to unfolding. thanks guys
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: unwrapping mesh

Post by looo »

chrisb wrote: Fri Jan 04, 2019 11:48 am It creates fancy results here for a 360°
I guess the wanted result are two concentric circles. The algorithm doesn't work good for such problems. There is the risk that triangles are overlapping and this makes the output of the relaxing step nonsense... There are alternative approaches which allow to unwrap also these kind of problems. The implemented approach is more suited for problems where not too much length differences between shape and unwrapped face occure.

So to get a better result a seam has to be added. For meshes a seam is simple a not connected mesh (Points on the seam occure twice in the vertices array) currently there is not a easy way to create seams for meshes in FreeCAD. So adding a little gap is the simpler way.
manchild wrote: Fri Jan 04, 2019 12:02 pm Python version: 2.7.14
this indicates that your library (most-likely) is not build with pybind11 (conda-based builds are all using python3). So the unwrap tools are not available for this version.

But I guess you already found a solution :D
DDM
Posts: 88
Joined: Tue Feb 05, 2019 9:06 am

Re: unwrapping mesh

Post by DDM »

Hello,

the unwrap feature in very useful. I downloead the last version of freecad from GIT, but I dont't see the command "Unwrap mesh" in the mesh workbench. I don't know if there is a procedure to activate the utility.
...@looo; @manchild can you help me?....
I need the feature to unwrap the surface of steel/aluminum plates for laser cutting....

Thanks,
Marco

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: unwrapping mesh

Post by looo »

DDM wrote: Tue Mar 19, 2019 8:51 am OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
I am not sure why it is not included. All packages I create have it enabled. So maybe @sgrogan doesn't build with pybind11...
DDM
Posts: 88
Joined: Tue Feb 05, 2019 9:06 am

Re: unwrapping mesh

Post by DDM »

Hi Looo,

thanks for your reply.
So did you build your version with pybind11?
I am not expert.... :( ...The unwrap is too important...
Should I create a post in "open discussion"? What do you think?

Thanks, Marco
Post Reply