my model didn't work correctly

Asked by Anastasia Sarmakeeva

Hi!

I tried to follow the example 'stl-gts'. Unlike this example my .stl model is cube. However, my model didn't work correctly: instead of cube filled with spheres I get only 2 sides of cube with spheres. Please tell me, where can be the problem?

I've attached my files for you and screenshots with results of work of the original example and example from my stl model.

https://www.dropbox.com/s/ky96pbtu3lufa3e/cone.png?dl=0
https://www.dropbox.com/s/gq6u4fx1ybxxfxb/cube.png?dl=0

https://www.dropbox.com/s/022ggs9mjic4fnc/cube.py?dl=0
https://www.dropbox.com/s/1x1af7mhdrl2cat/cubegr.stl?dl=0

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

Hi,

I guess there is a problem in the command of your script defining what surface should be filled with spheres.. E.g. "surf=gts.read(open('cubegr.gts'))" ?
As a general advice, try to consider each line after the other, checking that it defines indeed exactly what you thought it would. Maybe there is a problem in your gts file itself..

That's a quite general answer, but you would increase your chances to get more precise / helpful answers stating more precise questions : "my model didn't work correctly" is a title that would fit any Yade question, I guess ! ;-)

Can you help with this problem?

Provide an answer of your own, or ask Anastasia Sarmakeeva for more information if necessary.

To post a message you must log in.