Export the model as stl format
Hi,
I'm a new yade user. I plan to make a model and the export format is STL,but I can't find the effective way to export it. Could anyone give me a clue of what is going on?
Thanks a lot in advance.
ZDJ
*******code *********
# !/usr/bin/python
# -*- coding: utf-8 -*-
#######
# IMPORT MODULES
#######
from yade import export
from yade import pack
from yade import qt
#######
# DEFINE MATERIALS
#######
steel=FrictMat(
O.materials.
#######
# DEFINE PRED & MAKECLOUD
#######
# create lower plank
plank=O.
sp=pack.
sp.makeCloud(
sp.toSimulation
# create aabbwalls and delete the -z & +z walls
walls=aabbWalls
O.bodies.
O.bodies.
O.bodies.
#######
# ENGINES
#######
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
NewtonIntegrat
]
O.dt=0.
# O.step()
qt.View()
qt.Controller()
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask zhao dejin for more information if necessary.