Issue gts randon dense paking
Hi all,
I am used to create pakings from gts surfaces. However, I am having problem with this right now.
I am trying to create a dense pack in gts predicates, but it seems it is operating in an inverse way. Instead of the pack be presented inside the predicate, it appears outside. The predicate is the void region inside the pack. It seems a boolean operation, but has nothing to do with my code. I already tried creating gts binary or ascii, or even changing the language ( -*- coding: utf-8 -*-).
Here is the script I am using
#!/usr/bin/python
# -*- coding: utf-8 -*-
# F.T. Silva <email address hidden>
from yade.pack import *
from yade import pack,export,qt
from math import *
from yade import plot
from yade import ymport
import gts
#######
O.materials.
#######
sel=22
#######
surf=gts.
if surf.is_closed():
pred=pack.
radius=0.03 #(cm)
O.bodies.
O.bodies.
#######
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GlobalStiffne
NewtonIntegra
]
from yade import qt
qt.View()
qt.Controller()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Luis Barbosa
- Solved:
- Last query:
- Last reply: