几何尺寸与公差论坛

 找回密码
 注册
查看: 979|回复: 0

【转帖】export xy coordinates from points in between spline points

[复制链接]
发表于 2009-4-13 10:48:34 | 显示全部楼层 |阅读模式
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:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 22:36 , Processed in 0.036479 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表