Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5749

Unroller Class Confusion?

$
0
0

@TianYing wrote:

I am trying to reproduce the UnrollSrf(Label=Yes) command in rhino using the IronPython component in grasshopper.

I am using the functions of Rhino.Geometry.Unroller and dealing with BREP, my code works fine in most parts except one.

For example, I want to unroll a cube. A cube has 12 edges and I put a text dot at the center of each edge using “AddFollowingGeometry(TextDot)”. After unrolling, the unrolled BREPs should have altogether 24 edges, since a cube becomes 6 squares. However, the PerformUnroll function only return 12 text dot instead of 24. Does anyone know why the Text Dot does not follow all edges? Since one edge is split to 2

This picture might explain a little bit more.

Thanks

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5749

Trending Articles