Grasshopper

algorithmic modeling for Rhino

Hi There,

I am using Lunchbox to create a platonic cube,and then Deconstructing the Brep to get its six faces. I then enlarge these faces so that they intersect and use Brep|Brep Solve Intersection Events between Breps to find the line of intersection.

The problem that I am having is that for the fifth face (subscript {4}) the start and end of the line of intersection with any adjacent face are swapped.  All the other intersection lines go left to right (with respect to the first face, looking at the second), but if one of the faces is number 4, the intersection line goes in the other direction.

This does not happen if I start with a Center Box, avoiding the Lunchbox component.

The only reason for using Lunchbox is that I really want to use its Dodecahedron component, but I started with the simpler case.  I realize that this is probably a Lunchbox issue (or mine), but I hope raising the problem with this forum is OK.

I attach my test file.  If you look from the pink face towards the black face, the blue ball should be on the left.  Diddling with the Index sliders allows any pair of faces to be selected.  If one of them is number 4, the blue ball is on the right.

Any ideas what is wrong?

I also attach my actual project so that you can see what I am doing with the resulting lines of intersection and why it matters to me.  Still a work in progress!

Best wishes,

Bob

Views: 273

Attachments:

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service