|
export xy coordinates from points in between spline points
i have a spline that's defined by 8 points spaced evenly every 0.1" in the x-direction, each with their own pre-determined y-coordinate. i would like to export the x-y coordinates of the curve that solidworks automatically creates in between the spline points, and ideally i'd like to have them in 0.001" increments in the x-direction. i saw some macros on this website to export the user-defined spline points, but is there a way to export the points in between that solidworks determines?
thanks,
kevin
you may be able to use reference points applied along the spline using the along curve distance or multiple reference point or evenly distribute option, but the number of points is limited to 100.
another method is to create a tiny spherical feature at the start point of the spline, and then use the insert > pattern/mirror > curve driven pattern function.
either way at .001" spacing that will create a large file and one helluva lot of points.
place a single sketch point constrained coincident to the spline. add a driving dimension in the x-direction and a driven dimension in the y-direction. incrementally change the x and read both x and y.
an article about dimensions in api: |
|