[vtkusers] Plot Tubular Paths from xyz

Justin Clark jreileyclark at gmail.com
Tue Aug 8 00:22:46 EDT 2017


"interpolatedRadius.AddTuple(0,0.2)"  fails in python. The kernel completely crashes. I've tried tuple and list arguments as well. Nothing works. 

-----Original Message-----
From: Bill Lorensen [mailto:bill.lorensen at gmail.com] 
Sent: Monday, August 7, 2017 12:05 PM
To: Justin Clark <jreileyclark at gmail.com>
Cc: VTK Users <vtkusers at vtk.org>
Subject: Re: [vtkusers] Plot Tubular Paths from xyz

Here is a C++ example:

On Mon, Aug 7, 2017 at 1:03 PM, Justin Clark <jreileyclark at gmail.com> wrote:
> Hi all,
> Total vtk newbie here trying to figure out a solution in vtk python.  I would like to plot multiple tubular paths defined by a set of (x, y, z) data.  Multiple paths.  I'm trying to plot wellbores. Once the wellbores are plotted I intend to use them as sources and sinks for simulation and streamline purposes.  Any guidance would be helpful!
> Using existing examples I believe I need to insert my xyz's into a vtkPoints object. Then interpolate using a spline, and use the spline to define my tube path?
> Thanks!
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

Unpaid intern in BillsBasement at noware dot com

More information about the vtkusers mailing list