Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export xy coordinates from points in between spline points

Status
Not open for further replies.

Kevin847

Mechanical
Joined
Dec 15, 2008
Messages
1
Location
US
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.


[cheers]
 
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:
<
[bat]Honesty may be the best policy, but insanity is a better defense.[bat]
-SolidWorks API VB programming help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top