Welcome to ask.woodem.org. You may post when you login through your GitHub account.

Insert a constant number of capsules in a cylindrical container

0 votes
12 views
asked Oct 21, 2018 by coderguruz (160 points)
What kind of Python command should I use in a script to insert a constant number of capsules in a cylindrical container?

1 Answer

0 votes
answered Oct 23, 2018 by eudoxos (48,570 points)

Hi guru, use CylinderInlet and set maxNum to the desired number of capsules. As generator, use PsdCapsuleGenerator . See the bottle tutorial , that one uses maxMass=.12 to limit the amount of capsules, so you just set maxNum instead to limit the number. HTH, v.

...