×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Export xy coordinates from points in between spline points

Export xy coordinates from points in between spline points

Export xy coordinates from points in between spline points

(OP)
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

RE: Export xy coordinates from points in between spline points

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

RE: Export xy coordinates from points in between spline 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:
<http://esoxrepublic.com/blog/2008/10/21/shapeshifting-through-sw-dimension-api/>

batHonesty may be the best policy, but insanity is a better defense.bat
http://www.EsoxRepublic.com-SolidWorks API VB programming help

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources