Grasshopper

algorithmic modeling for Rhino

Transposing uv points and creation of a raster scan

Hi

 

I have extracted the uv points of a surface, say as in the following pattern

 

a b c d e

f g h i j

k l m n o

 

If I flatten this list I would get

 

a b c d e f g h i j k l m n o

 

I want to transpose this so that in the flattend listing I get

 

a f k l g b c h m n i d e j o

 

Can anyone help with this.

 

Many thanks

William

Views: 244

Replies to This Discussion

Use the [Flip Matrix] component on the original datatree.

--

David Rutten

david@mcneel.com

OK that works but I need to reverse the list order of every alternate row of points.  I am trying

to program a cutter so that it does a raster scan.

 

Many thanks

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service