algorithmic modeling for Rhino
Hi,
I have an issue with CollidePointMesh goal when using it within C# KangarooSolver.dll
I get error line0: within the line number 186.
How can I add correctly this goal to GoalList?
I think I have to add PS.AssignPIndex(collision, 0.001);
But this does solves collision problem.
I attached .gh file below.
Thanks,
Petras
Tags:
I solved what I wanted to do with OnMesh Goal:
Point3d[] pts = PS.GetPositionArray();
// IGoal g = new CollidePointMesh(pts, meshToCollide, false, 0.01);
IGoal g = new KangarooSolver.Goals.OnMesh(pts.ToList(), meshToCollide, 1);
PS.AssignPIndex(g, 0.00001);
GoalList.Add(g);
but , Is it I still do no know why mesh point collision does not work.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by