Jump to content

convert Spline to Polyline


Guest Beadin Sabovic

Recommended Posts

Guest Beadin Sabovic

Thank you David for replay,

 

I did dxfout and dxfin but I still can not convert my spline to polyline.

Link to comment
Share on other sites

QUOTE FROM THE DOTSOFT FAQ

 

 

The new SPLINE objects introduced in R13 are nice, but there are limits on what you can do with them. So conversion to a polyline is necessary. Carefully erase all the geometry except for the splines, then save the drawing in R12 DWG (A2K users use R12 DXF) format. Then open the original drawing, erase the splines and insert the R12 file. The spline will now have become polylines. If the splines had differing elevations on the vertices, the resulting polyline will be a 3D polyline.

 

Or you could try this link and scroll down til you see the program with this text description

 

http://www.dotsoft.com/freestuff.htm

 

Converts a selection set of splines to polylines inside the drawing. No more hoops with DXF files in R12 format.

 

HTH....

Link to comment
Share on other sites

Ot you could use:


(defun massoc (key alist / x nlist)
 (foreach x alist
   (if (eq key (car x))
       (setq nlist (cons (cdr x) nlist))))
 (reverse nlist))

(defun c:spl2pol (/ en ed pl)

 (setq en (ssname (ssget '((0 . "SPLINE"))) 0)
       ed (entget en)
       pl (massoc 10 ed))

 (command "_.PLINE")
 (foreach p pl
    (command p))
 (command "")
 (command "_.CHPROP" (entlast) "" "_LA" (cdr (assoc 8 ed)) ""
          "_.PEDIT" (entlast) "_Spline" "_X")
 (entdel en)
 (redraw (entlast))

(prin1))

-David

Link to comment
Share on other sites

  • 7 months later...

Hi,

 

I apology that I am late.

 

I downloaded SPL2PL.VLX

My question is: What should I do with file SPL2PL.VLX.

Where to place this file.

 

Thank you very much.

Link to comment
Share on other sites

  • 5 years later...

Hi,

 

You just type the upload command in autocad command prompt.

browse the sp2pl.vlx, hit load and close.

 

Then type "spl2pl" command to run this command.

 

 

Thanks,

Kumar.

Link to comment
Share on other sites

  • 2 years later...

You can try out the new SPLINECAM app in Autodesk AppStore or download it from autocam2d.com/download link.

 

It converts splines to polylines/polyarcs with optimal number of vertices and smoothness.

 

regards

cncpatriot

 

Thank you David for replay,

 

I did dxfout and dxfin but I still can not convert my spline to polyline.

Link to comment
Share on other sites

You can try out the new SPLINECAM app ....

 

In general, I think it is OK to post commercial solutions when a current question is asked, but I do not think it is proper to search and drag up old posts for the purpose of making advertisment of new products. (especially when you do it in multiple (very old) threads)

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