Grasshopper

algorithmic modeling for Rhino

Hi,

I have an issue when I want to intersect voronoi3D cells with original mesh.

Voronoi cells are generated from 4 outline curves points, marked in red green yellow blue points on the edge.

When using brep to brep (left) or mesh to mesh (right prefferable to have in the end) intersection component, I get clean curves at first look.

But their points are 0.00001 not matching.

At the end of the script I get mesh (red gree yellow blue areas) naked edges and I see that mesh vertices are not on the same position. 

What should I do? I really need to keep dataTree for four meshes at the end of the script. But I need vertices to be at the same points without mis-matching.

Views: 515

Attachments:

Replies to This Discussion

Your two sets of base curve order are different.

Attachments:

Hi, 

Maybe I explained the issue in a wrong way.

I get all the lines from mesh naked edges and they show that there is a slight mis-alignment of vertices.

Is it possible to solve this?

And welding points does not help:

Does this help?

Attachments:

No really, I think the main problem is that voronoi 3d is all breps, and when I convert it to mesh neigbour cells corners are slightly off.

Is there any way to generate voronoi3d as mesh output?

I see that Cell3 cell3 = new Cell3(pt, box); can only be casted to breps but not meshes.

It may also come from voronoi 3d cells, where corners maybe slightly mis-aligned or more probably from intersection result. But I do not know how to solve it...

When I change the scale of all geomtry brep to brep intersection result is more clean, but not the mesh. There is something with tolerance..

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service