Jump to content

VBA - split objects into points


anibal_pp

Recommended Posts

hello to all, this is my first post after being reading this wonderfull forums for a while

 

I'm looking after a way to programatically (VBA) get points coordinates every an arbitrary length.

Some sort of "split objects each x unit lenght" function

 

Let me explain by example:

 

If I had a line whose points were P1(0,0) P2 (3,4), I'd need to be able to

"splitObjectEach(2.5)" and then I'll get VBA'looping through it, for that object, a new point P3(1.5,2)

 

I'm specially interested in being able to do that for objects distinct to lines, specially arcs and different curves (lines are easily workable through basic math)

 

FYI I'm trying to build the software to control a home made cnc cutting machine, and I need first to be able to transform an acad drawing into a set of points (the more points the better)

 

regards, anibal

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...