Skip to content

Reply To: Something about settlingCube3D


Dear Zhangshi,

the objects for such particle simulations are described my SmoothIndicators, e.g.
You will have to create a new one, which calculates the physical parameters (or you hardcode them if you know them) in the constructor. Also the ()-operator is used to decide wheater a given point is within the particle or outside. at this point you have to include the STL. You can probably take advantage of the included STL-reader :

I suggest you use an existing SmoothIndicator as a blueprint and have a look at the STLreader (it is applied e.g. in the cylinder3D example case.

Best regards