DXF composed of Face3d entities to regular grid #1789
Unanswered
antoinecollet5 asked this question in Q&A
Replies: 1 comment
-
I do not think that CadQuery's DXF import is capable of handling Face3D entities as-is, but you could integrate your ezdxf solution as a plugin since ezdxf is already a dependency of CadQuery. The other devs will have ideas, but here are some initial thoughts.
|
BetaWas this translation helpful?Give feedback.
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
-
Hi !
What I am trying to achieve:
I have a dxf composed of around 70k Face3D entities. These represent volumes. I can load it with libs such as ezdxf without problem.
Now I have a regular grid (sugarbox kind with Parallelepiped grid cells) which is referenced in the same space (basically a numpy array). What I want to achieve is to iterate over the Face3D and compute the intersection with the grid. Basically, I would like to compute for each grid cell the proportion of coverage by these volumes.
I know how to do that in 2d using libs like shapely, but what would be the right tool for such a task in 3D ? Can CQ helps here ?
Thank you in advance for the help.
BetaWas this translation helpful?Give feedback.
All reactions