I try to pass a dictionary (unordered_map) structure from python to C++ through pybind11. On the python side I am trying to do: On the C++ side, I have It prints garbage data. I used reinterpret_cast to satisfy the Visual Studio compiler. Answer I sort of solve this by using py::cast on the C++ side:
Tag: stl
How to convert 3D cloud datapoints to mesh using python?
I have a set of 3D data points that looks similar to sphere. I need these data points to be connected as a watertight mesh so that it can be used for simulation. I have worked with Meshlab and obtained a reasonable mesh but not watertight. After this, I have tried with Open3D python library by using ball pivot algorithm.
VTK with multiple combined STL files
I’m working on a project with python and VTK. I successfully managed to combine three STL files, with a python STL libraray. After that, I visualize this combined.stl file in VTK like this: So far so good. But now I want to colorize/highlight one of those STL-objects. (All STLs together form a bigger object, so the positioning is important and