Dear Teiv,
try to use vmtksurfacewriter instead of vmtkmeshwriter.
The output of vmtkcenterlines is a polydata object.
Best Regards
Simone
—
Simone Manini, Eng
Project Manager, OROBIX Srl
via Camozzi 144, 24121 Bergamo, Italy
orobix: www.orobix.com
web: daron1337.github.io
twitter: @daron1337
phone: +39 035 0273786 +39 035 0170561
"This message originates from Orobix Srl and its contents and attachments are
privileged and confidential and are intended only for the individual(s) or
entity(ies) named above. This message should not be forwarded, distributed or
disclosed. Any unauthorized use, dissemination and duplication is strictly
prohibited and may be unlawful. All personal messages express views solely of
the sender, which are not to be attributed to Orobix Srl, and may not be copied
or distributed without this disclaimer. If you are not the intended recipient
or received this message in error, please delete this message and notify the
sender by reply e-mail. Opinions, conclusions and other information in this
message that do not relate to the official business of Orobix Srl shall be
understood as neither given nor endorsed by it."
On Tuesday, Oct 28, 2014 at 8:01 am, Teiv <tei...@gmail.com>, wrote:
Hello Luca,
Could you please show me a way to output the result of the vmtkcenterlines
command in the Ascii format so as it can be read by Gmesh.
I have used the following commands but it has not been successful:
$ vmtkcenterlines -ifile aorta.vtk --pipe vmtkmeshwriter -ofile foo.vtk -mode
ascii
I really appreciate any help you can provide.
Best, Teiv.
On Friday, November 2, 2012 6:31:27 PM UTC+9, Luca Antiga wrote:
Hi everyone,
about the STL thing, the vtk writer used in vmtk supports ASCII files out of
the box, only
I haven't exposed that option at the script level until today.
I just pushed a commit on the source code repository to allow this:
... --pipe vmtksurfacewriter -ofile foo.stl -mode ascii
It works for stl, vtu, vtk, vtp, ply.
If you're in a rush, get these two files
https://raw.github.com/vmtk/vmtk/master/vmtkScripts/vmtksurfacewriter.py
https://raw.github.com/vmtk/vmtk/master/vmtkScripts/vmtkmeshwriter.py
and copy them over to your {installpath}/lib/vmtk/vmtk folder, replacing the
old ones.
Note, it's the lib folder, not the bin folder (you'll find two files called
vmtksurfacewriter
and vmtkmeshwriter, without the py extension: they're not the right ones to
replace).
Luca
PS: Richard, thanks a lot for sharing the script, very much appreciated.
On Nov 1, 2012, at 8:19 PM, Richard Downe wrote:
Personally, I write my stl files myself, because I build my surfaces in
another program. Attached is a perl script I've used for converting .off files
to .stl -- should be trivial to adapt it to python/iterate over a vtkPolyData
instead of .off input.
-rd
On 11/01/2012 01:40 PM, Vikram Mehta wrote:
Hi Arjan,
Thanks alot for your response. I seem to have got all the data I needed.
On a separate note,
Does anyone know how to save your surface file as an ASCII STL and not a
binary one.
Thanks alot !
Vikram.
On Tue, Oct 16, 2012 at 9:47 PM, Arjan Geers <ajg...@gmail.com> wrote:
Hi Vikram,
You could try this:
vmtksurfacereader -ifile /home/vm308/catheter.vtp --pipe vmtkcenterlines
-seedselector openprofiles -ofile catheter_cl.dat
It should give you the coordinates of the centerline points in a
human-readable format.
Good luck with it,
Arjan
On Tue, Oct 16, 2012 at 7:58 PM, Vikram Mehta <vvm...@gmail.com> wrote:
Dear VMTK users,
I have a surface reconstruction of a catheter within a coronary artery and
have also generated the centerlines for it.
However, for further processing, I need the coordinates of the catheter
centerline and was wondering if you all had any idea to do this ?
I tried using vmtkcenterlinegeometry but I might be doing something wrong,
vmtksurfacereader -ifile /home/vm308/catheter.vtp --pipe vmtkcenterlines
-seedselector openprofiles --pipe vmtkcenterlinegeometry -ofile
catheter_clg.vtp
Ideally I would like a .txt file (basically a point cloud) - is this
achievable ?
Please advise.
Looking forward to your replies
Thanks in advance,
Vikram.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
vmtk-users mailing list
vmtk-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we. Make your web apps faster with
AppDynamics Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ vmtk-users mailing list
vmtk-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users
<stlBuilder.pl>------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________
vmtk-users mailing list
vmtk-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users
--
You received this message because you are subscribed to the Google Groups
"vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to vmtk-users+unsubscr...@googlegroups.com.
To post to this group, send email to vmtk-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------------------------------------------------------------------------------
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users