05-15-2024, 12:16 AM
(This post was last modified: 05-15-2024, 12:16 AM by sig.johnnson.)
I have an application where I call the `AddGeometry` method an extremely large number of times (ballpark 100 million). I have tried doing this both from the Python API and the C API and the speeds are still very slow.
The AddGeometry method is being called for a small STL (20 vertices // 36 faces), being attached to a much larger object (8.5kvertices // 16k faces).
I have some options for reducing the resolution of each object, but that is not my preference unless it may achieve dramatic results.
If it is helpful, I have the ability to cache the results that I am using to determine the objects to attach and locations/orientations to attach them into potentially very large batches. Ex: instead of `AddGeometry(fromitem, pose)`, I could store up a large cache and do `AddGeometry(fromitem, list_of_1e5_poses)`.
Any advice on how I may speed things up?
The AddGeometry method is being called for a small STL (20 vertices // 36 faces), being attached to a much larger object (8.5kvertices // 16k faces).
I have some options for reducing the resolution of each object, but that is not my preference unless it may achieve dramatic results.
If it is helpful, I have the ability to cache the results that I am using to determine the objects to attach and locations/orientations to attach them into potentially very large batches. Ex: instead of `AddGeometry(fromitem, pose)`, I could store up a large cache and do `AddGeometry(fromitem, list_of_1e5_poses)`.
Any advice on how I may speed things up?