Intersection of facets
Hi everybody!
I have problems trying to eliminate a facet. The geometry that i need is the intersection of a facetbox with a facetcylinder. With the wallMask command inside the facetCylinder i removed the top "circle" of the cylinder but i have problem with the bottom wall of the box. The balls cant enter in the cylinder because i need a "circular hole" in the bottom wall of the box. There is a possibility of generating a geometry through the intersection of the cylinder and the box? (like predicates).
I tried the following code:
from __future__ import division
from yade import pack
from yade import plot,qt
import math,numpy
### SPHERES
sp=pack.
sp.makeCloud(
sp.toSimulation()
### MATERIAL OF SPHERES AND WALLS
O.materials[
O.materials[
O.materials[
O.materials[
id_wall = O.materials.
O.materials[
### WALLS
O.bodies.
O.bodies.
# ENGINE
O.engines=[
ForceResetter(),
InsertionSor
InteractionLoop(
[
[
[
),
NewtonIntegr
# call the checkUnbalanced function (defined below) every 2 seconds
]
O.dt=utils.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: