Grasshopper

algorithmic modeling for Rhino

3(4) ways to extract a mesh from a rectilinear scalar field

Isosurface extraction using a rectilinear scalar field (here distance from a mesh)
1) Classical marching cubes using iso-surface from Millipede
2) Marching tetrahedrons (Paul Bourke)
3) Naive surface nets/dual countouring without smoothed vertex (Mikola Lysenko)
4) Naive surface nets/dual countouring with smoothed vertex (Mikola Lysenko)

Views: 496

Albums: Offset

Comment

You need to be a member of Grasshopper to add comments!

Comment by Laurent DELRIEU on February 8, 2016 at 11:55am

The size of the output is driver by Maxres and factor.

Factor augment the size of the bounding box around the mesh

Maxres give the number of subdivision of the bounding box. So there are Maxres^3 points for calculating the scalar field (here distance from a mesh)

Comment by Ben on February 7, 2016 at 7:13pm

Sorry for bugging you again Lauren, I've been using the from dual cubes to smooth script and am really enjoying it. 

However is there a way to say vary the size of the cubes (faces i guess) of the output mesh. At the moment they are all the same size. 

May not be possible, would be great if there was a way to do this though, or even to vary the size of the faces based on an image sample or a map?

Regards,

Ben

Comment by Laurent DELRIEU on February 7, 2016 at 4:39am
I extract each face of the mesh generate as many colours as needed, jitter everything and assign colours. See the scripts.
Comment by Ben on February 7, 2016 at 4:30am
Oh also, how did you go about assigning a different colour to each face ?
Comment by Ben on February 7, 2016 at 4:23am
Thanks so much :D
Comment by Laurent DELRIEU on February 7, 2016 at 4:19am

See here : for the script (play with offset, scale factor, MaxRes  in order to limit non manifold mesh)

http://www.grasshopper3d.com/forum/topics/offset-mesh-problems-with...

Comment by Laurent DELRIEU on February 7, 2016 at 4:15am

Just move the silder in red 

Comment by Ben on February 7, 2016 at 4:10am
Probably a dumb question. But how would one go about converting a given mesh such as the bunny to cubes, then to a much smoother mesh ect. Did you use a definition to create those bunnies ?
Comment by Laurent DELRIEU on February 7, 2016 at 2:31am

Scripts here, as the discussion was to offset mesh. But scripts could be used to remesh in quad mesh (often non manifold with geometries like bunny ...)

http://www.grasshopper3d.com/forum/topics/offset-mesh-problems-with...

Comment by Ben on February 7, 2016 at 1:25am

Can you upload the definition for this please ?

Or explain how i can achieve said experiments. I'm really interested in this mesh subdivision esque type stuff :D

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service