Thank you Michael. The surface would have to be locally flat-ish, relative to the radius of the circle. Circle centerpoints that are 2D far away would have to be 3d far away, (no nearby folding). D3- force has the force equations, but only does boundaries for 2d constant x or 2d constant y. Or huge 2d arc boundaries, with external centers. The only way to repel from a surface curve boundary, AFAIK, would be to replace boundary curve with lots of fixed points, close together relative to circle radius...which drives up overhead.. Or many small arcs with external centers.. And boundary curves need to be "reasonable". Surfaces with internal boundaries, (e.g. holes) similarly. Have not located efficient boundary curve repulsion algorithm.
Re surfaces, points on curve (e.g. isocurve), on surface, can be used to get normals, for alignment to surface.
Brian
|