Is it possible to modify a scanned (stl or OBJ) object in Grasshopper?

Hi,

I’m COMPLETELY new to Rhino and Grasshopper.

My question is: Is it possible to import a scanned object (a head shape in STL or OBJ format) and then modify the object with a mathematic algoritm? Based on the little I have read about Grasshopper I’m pretty sure the algoritm isn’t the issue(I also have python code for it), but I have no idea whether it is possible to modify a scanned object imported into grasshopper? The end result will be a “random” and abstract looking head because of the changes made by the algoritm - I’m not looking for ways to change specific parts of the head(e.g. Bigger nose)

I’m also not looking for someone to do all the ‘dirty’ work for me, but if it is possible to do, maybe someone could point me into the right direction and maybe list some of the functions that I could use. Then I can spend some time digging further into this myself.

Best regards
Kenneth

Hi Kenneth,

I would say yes, you can, it is a mesh so you will be working with vertices and faces. You can start by opening the file, going to grasshopper and with the “deconstruct mesh” and “deconstruct faces” nodes get the base data from your scanned object.

I have never done it, but you can, it may be a nightmare and ultraslow, so you may want to go from mesh to subd to polysurface first and work on the polysurface or subd and then mesh it again.

Cheers!

It is a pointcloud or a mesh object?

What exactly do you want to modify?

I own an Artec Leo and I work with scanned geometry alsmost every day.

Thank you for your replies. :slightly_smiling_face:

It is a mesh object modified in and exported from Nomad Sculpt

@JJLV - I’ll have a look at what you suggested :+1:
@martinsiegrist: What I am trying to do is to use an algorithm(which generates a number sequence) to modify the look of the object. It is for an art project and it shouldn’t (necessarily) look like a head when done. The number sequence will be used for creating e.g. spheres in different sizes, or pins coming out of the head/going into the head). The exact way the number sequence should affect the head is not yet decided - some experiments will reveal that.

BR Kenneth

You can populate the mesh with points like this:

I just quickly did a test with the ShrinkWrap command in the new Rhino WIP. I don’t think it is available in Grasshopper just yet. Anyway, it doesn’t require you to boolean union the meshes. In fact, the inputs can be meshes, point clouds and breps.

The result of my test is a single closed mesh.

2 Likes

Thank you SO much Martin - it looks like that functionality is just what I need. Also I now know that it is possible :+1:

Is it in Rhino 8 WIP you find this?

Thanks again
Kenneth

1 Like

It’s a new command called ShrinkWrap, only in Rhino 8 WIP

1 Like

You can do the same in rhino 7 using Dendro plugin but only with Windows and not MacOS

1 Like

Tanks a lot Laurent - I’ll have a look at it :slight_smile: