Jump to content

PTExport.LSP almost works.


Recommended Posts

Posted

I have a single PolyLine with line segments, arc segments and sometimes spline segments.  I am trying to get an interpolation of the points along the PLine exported to csv or plain txt file.  PTExport.LSP does part of what I want to accomplish; It gets the start and end point of any segment.  What I am looking for is an export of each point along the Y axis going up from origin by specific step like mm or 1000th inch.  Preference is mm resolution.

 

Is there lisp or other macro up to the task?

 

Thanks...........Steve

ExportTest.dxf

Posted

So looking at first segment in sample dwg.

From point:  X=   460.7424  Y=   44.9150  Z=   0.0000
     To point:  X=   400.4174  Y=   28.8283  Z=   0.0000

 

Y diff = 16.0867 so if we used 1 as step size would get 15 extra points in the Y direction is that what you want ? Its a lot of points if we go less than 1. Something like 950+ points at a step of 1. 

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...