Dear all,
Many thanks for your quick reply to my question.
Brett, I have followed your advise and used the
combination of the read field & the write field module
in SCIrun and this worked for me perfectly.
Petar, one of the SCIrun training PDF documents did
mention the "TriSurfFieldToText" function. I was looking
for this document again. However, I was unfortunately
unsuccessful in finding it again. Nevertheless, I was able
to locate another hint for the existence of this command-line
tool. The readme.txt file in the "SCIRunData_4.6_20120809_data/convert-examples/unstructured" folder also mentions the existence of this command-line tool.
I have attached the relevant readme.txt file for your reference.
Dan, thank you for your suggestion. I was already successful
with the approach suggested by Brett -as I do not really need
a command-line tool (I was just looking for an easy way for
converting *.ts.fld files into ASCII format files).
Again, many thanks for your quick response to my question.
Best regards,
Daniel
You can use the SCIRun 4 GUI to do this. A WriteField module with file output type set as "TriSurfField (*.fac, *.tri, *.pts, *.pos)" will write out plain text. Do you require a command-line tool for this specifically? If so, it is possible to script the conversion in bash, or in version 5, in Python. Others on the list can help with that part.
Dan
PPetrovCheers,I only see:Hi Daniel,I just greped in linux for the filename I cannot seem to find it, could you elaborate on which documentation are you referring to?
TriSurfToTetgen
TriSurfToOBJ
On Tue, Jan 10, 2017 at 1:02 AM, <d.guldenring@ulster.ac.uk> wrote:
Hello,
I hope things are well. I am currently trying to generate plain ASCII
format files from SCIRun surface files (*.ts.fld). The SCIRun documentation
and a previous post in this forum have indicated the existence of a
command-line tool "TriSurfFieldToText" that can be used for this purpose.
This command-line tool is described to be located in the SCIRun/obj/
StandAlone/convert/ directory. However, the "SCIRun_4.7_20160120_osx32.dmg"
version does currently
not contain the "TriSurfFieldToText" command-line tool.
I am wondering whether it would be possible to obtain a compiled
version of the "TriSurfFieldToText" command-line tool from you?
Many thanks for your help and best regards,
Daniel
________________________________________________
SCIRun users mailing list: scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
________________________________________________ SCIRun users mailing list: scirun-users@sci.utah.edu http://www.sci.utah.edu/software/scirun.html To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
Attachment:
README
Description: README
Archive powered by MHonArc 2.6.18.