[Question] how to export as vtk .ts?
Closed this issue · 10 comments
Hi again,
I searched the loop Structural docs and couldn't find anything obvious that allows me to export the fault surfaces I'm generating.
I can get it from vtk to .ts by myself if there isn't already a .ts output built.
Thanks
Matt
Hi Matt,
I haven't written a ts exporter yet but there is #100 that I need to integrate into LoopStructural. I personally don't use external visualization so it hasn't been a priority but I will aim to do it in the near future. It will follow a similar pattern to the vtk exporter.
Cheers
Thank Lachlan,
I'm just using LoopStructural from a pip install and I'm getting
ModuleNotFoundError: No module named 'LoopStructural.export'
This is the same docker container I'm able to build the faults in, something is off with my install I think
Umm that may be because there is no init.py file in the module, can you directly import the files
from LoopStructural.export.exporters import write_feat_surfs
I haven't actually used this module but I'll take a look and see if I can workout what is going on.
Does this work
from LoopStructural.export.exporters import write_feat_surfs
For me it gives an error needing pyevtk but if you have the dependencies it should work. I haven't merged the TS code into the master branch currently so you'll have to wait for that.
That is odd, you'll have to leave that with me and I'll try to fix it up.
Thanks Matt, I'll fix that up