New answers tagged

0

Thank you for the responses! This solution using quadratic bezier interpolation wound up working for me. def ArcPoints(node): points = node.GetAllPoints() if len(points) < 3: return # The first three points of the point object. a, b, c = points[:3] samples = 6 arcPoints = list() for i in range(samples): t = ...


0

One very simple way to do it is to just find the straight line distance between the points A and C. Divide that distance by the number of points you want to subdivide+1. Then starting at A moving along the line formed between A and C add that distance for each subdivision. This gives a nice even subdivision without having to argue with PI. To get the point ...


Top 50 recent answers are included