← Back to team overview

yade-users team mailing list archive

Re: [Question #293635]: Problem with visualization of boxes in ParaView 4.0.1

 

Question #293635 on Yade changed:
https://answers.launchpad.net/yade/+question/293635

Jonathan Pergoli posted a new comment:
Hi Jan!

I have installed both yadedaily from package and yade-1.07.0 from
source.

Maybe I have solved the problem using VTKExport from the export module:
- in the engine
        PyRunner(command='vtkExporter.exportPolyhedra()',iterPeriod=2500),
	PyRunner(command='vtkExporter.exportSpheres()',iterPeriod=2500),
        PyRunner(command='vtkExporter.exportFacets()',iterPeriod=2500),
- out of the engine
Prova="prova"
vtkExporter = export.VTKExporter(Prova)
vtkExporter.exportSpheres(ids="all",what=[('pos','b.state.pos')])
vtkExporter.exportFacets(ids="all",what=[('pos','b.state.pos')])
vtkExporter.exportPolyhedra(ids="all",what=[('orientation','b.state.se3')])

Now it seems to work correcttly since it is the same in the View. But
maybe you can confirm it to me and help to write it in a smarter way if
what I have written above is incorrect.

P.S. 
As you can notice I have to use polyhedra instead of box

Cheers

Jonathan

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