DrawDirectionArrow

displaypipeline

#1

Hi,

I want to display custom normal vectors on the vertices of a polyline - like the normals of a mesh are displayed with the _Dir command. I assume the DrawDirectionArrow method of the DisplayPipeline is meant do do this?
However, I don’t get it to work. Obviously I’m missing an example using this stuff from python.

Thanks for any arrows in the right direction!
Jess


#2

Hi @Jess,

i’ve not been sure if you want to display permanently or during script run. Below example behaves like the _Dir command, so you can press Enter and display stops:

Conduit_DisplayPolylineDirection.py (1.5 KB)

c.


#3

Hi Clement,
Exactly how I need it - big Thanks!
Jess