Benjamin Lemoine

Benjamin Lemoine

About Me

Expertise
Not Specified
Location
France
Website

Connect

Recent Forum Posts

Removing points based on line detection Nov. 18, 2019, 3:22 p.m.

The dir vector is first neighbor position (that mean the only neighbor for extremity) minus current point position : that give a vector pointing from my position to the neighbor… So the direction of the line…

Removing points based on line detection Nov. 18, 2019, 6:48 a.m.

Hello ,
you could first group by neighbors count as those point have only one
neighbourcount(0,@ptnum)<2
then iterate on this group and compare first neighbor direction with normal :

vector dir =point(0,“P”,neighbour(0,@ptnum,0))-point(0,“P”,@ptnum);
if(normalize(dir)!=normalize(v@N)){
removepoint(0,@ptnum);
}

or with a dot product to enable a little margin of error…

Simulate vellum only with grouped points Nov. 12, 2019, 2:56 a.m.

Hello
Yeah there's is something inside the vellum solver , in the sop solver. I'm copying the group and giving a mass of zero to point that are in the group.

Otherwise it's just the sphere that is moving and changing the group….