Splitting GEdge from an imported step file
Hi,
Using the c++ API, or otherwise, is there a way to split an imported curve into a defined number of sections? Or at least get equally spaced points along the curve? The curve is not necessarily straight, or of constant curvature.
I have gotten as far as getting the GEdge data for the curve from the model, but it's missing a lot of data and even the length variable is simply the distance from the first to last vertex so not correct for splines etc.. as it's not the length of the curve along its path.
To get an idea of what I mean, I've added an image, showing an example of the points I would like the locations of for a given curve.
Any ideas or direction would be appreciated. Many thanks