Jump to content

Convert to Polyline?


vweavers

Recommended Posts

Using a Raster Image from a scan, I 'traced' a profile into AutoCad. I then made it a polyline, converted it into a block, allowing me to scale the item in X and Y axis when re-inserting the block. I then exploded the profile, made some modifications, and wish to convert the resulting profile into a polyline. However, it will not allow me to convert any of the arcs into a polyline, only the straight line portions of the profile.

 

I've had to 'remanufacture' each arc, replacing the original one. There HAS to be a faster way?! Suggestions?

 

:geek:

Link to comment
Share on other sites

try setting Peditaccept=1, then use pedit and select the arcs

or you could use this, joins them all... results of the join are kinda iffy sometimes but it will make the selection set plines.

(defun c:pj ()
 (setq pa (getvar "peditaccept"))
 (setvar "peditaccept" 1)
   (setq ssj (ssget ))
   (command "pedit" "m" ssj ""  "j" "0.01" "")
 (setvar "peditaccept" pa)
(princ)
)

Link to comment
Share on other sites

peditaccept=1

 

did not have any effect

 

I have tried FLATTEN

and

I tried SPL2PL.vlx which converts splines into polylines fine, but doesn't work for this problem.

Link to comment
Share on other sites

Non-uniformly scaled Arcs tend to become Ellipses – which are not supported in Polylines. What is the end requirement? Splines and Ellipses are supported in Regions: Would that serve the desired purpose?

Link to comment
Share on other sites

Region does appear to work for what I need- Thanks! :shock:

 

Any other thoughts out there would be appreciated- I may find out later I need more than Region...

 

Update:

I did find out that when I make a .dxf file from the drawing, and run it into my template mill, the Region area is not recognized! (doesn't appear) If I explode it, though, the template mill will then see it. This whole thing is weird...

Link to comment
Share on other sites

The BOUNDARY command would be another option.

 

 

Returns as "Polyline boundary could not be derived. Create region?".

 

Good thought, though.

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