Author |
Topic  |
|
Ruslan
USA
1 Posts |
Posted - Aug 24 2020 : 18:49:48
|
Hi Enrico,
It looks like generation of an input file for VoxHenry in FreeCAD had been incorporated by you, thank you for doing that!
I have successfully used it couple of times but sometimes the voxelization process take very long time or crashes.
1. Are there any rules/tricks to avoid this? 2. How should I connect end of the wires, like for FastHenry we can connect nodes, but in VoxHenry, do we just make single part, like physically connect two parts?
Thanks,
Ruslan.
|
|
Enrico
545 Posts |
Posted - Aug 25 2020 : 12:40:16
|
Hi Ruslan,
the VoxHenry workbench is still beta - this is also why you don't get documentation. Generation of the voxelization requires testing each voxel for inside / outside status within a 3D shell, so it can take a significative amount of time, coupled with the fact that the script is Python so not always you can get top speed also for the other operations (but the inside/outside test should dominate).
There are other strategies possible to voxelize a body, we planned to look into them for the evolution of the WB. You are welcome to contribute, if you wish and can. Note instead that voxelization of a parallelepiped (i.e. a box in FreeCAD) is quite fast as it does NOT use any in/out testing - just a different simple algorithm to break the box into cubes.
For the connections, this is intrinsic in how VoxHenry works. No nodes to connect. Adjacent voxels (in contact on a side, not on an edge) are automatically considered connected. Watch out because this also means that you may have unwanted shorts if the discretization is coarse and the gap between bodies is small.
Best Regards, Enrico
|
 |
|
arie.westland
1 Posts |
|
Enrico
545 Posts |
Posted - Apr 11 2024 : 12:27:19
|
Hi Arie,
your improvement is now merged in the official EM Workbench. Definitely the voxelization speed has greatly improved.
Thank you for the support, Enrico
|
 |
|
|
Topic  |
|
|
|