my bad about the import, I guess I had a session going on....
Here's an updated version.
Flatten a face
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Flatten a face
- Attachments
-
- unfoldSheet.py
- (3.46 KiB) Downloaded 159 times
Re: Flatten a face
Your macro seems work pretty well. But how to get the hole?
- Attachments
-
- Capture.PNG (57.51 KiB) Viewed 2375 times
-
- TestUnfold.FCStd
- (525.16 KiB) Downloaded 77 times
Re: Flatten a face
No problems while using MeshDesignWB
used version (py3qt5!!):
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15109 (Git)
Build type: Release
Branch: master
Hash: f898eafd64f88902ea1916b01303705b3baa2c46
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
used version (py3qt5!!):
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15109 (Git)
Build type: Release
Branch: master
Hash: f898eafd64f88902ea1916b01303705b3baa2c46
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Re: Flatten a face
Even no problem, if you decide to become more wild at heart
Re: Flatten a face
To UR_
Please show the macro operation step by step. For example, my file.
Please show the macro operation step by step. For example, my file.
- Attachments
-
- My_test.fcstd
- (27.48 KiB) Downloaded 83 times
Re: Flatten a face
I'm not sure if i understand correctly, but your part looks like a plain piece of sheetmetal with a thickness of 10 mm
Nothing to unwrap.
For clarification:
Unwrapping works with faces, not with solids (you meshed a solid instead)
So you have to create a midplane first for unwrapping afterwards
Please ensure, this menu item is available from MeshDesignWB (availability depends on installed build of FreeCAD)
Re: Flatten a face
Thanks for sharing this. I need to do this for compound curves. Doing non-conformal mapping preserving local distances instead of angles, i see no reason why this methodology could not flatten a surface on both u and v.