← Back to team overview

yade-users team mailing list archive

[Question #696056]: Can't clump facet together

 

New question #696056 on Yade:
https://answers.launchpad.net/yade/+question/696056

Hi, 
I'm trying to clump facet together to create a boundary that is not cuboid. My code is as followed:

####################################################

f1=facet(vertices=[(0,0,0),(0,1,0),(1,0,0)],wire=False)
f2=facet(vertices=[(1,1,0),(0,1,0),(1,0,0)],wire=False)
O.bodies.appendClumped((f1,f2))

####################################################

But it reports error like this:

python3.6: /builds/yade-dev/trunk/deb/yadedaily/core/Clump.cpp:242: static void yade::Clump::updateProperties(const boost::shared_ptr<yade::Body>&, unsigned int): Assertion `M > 0' failed.
Aborted (core dumped)

Can someone help me? Thanks.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.