vweavers Posted February 20, 2009 Share Posted February 20, 2009 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? Quote Link to comment Share on other sites More sharing options...
lpseifert Posted February 20, 2009 Share Posted February 20, 2009 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) ) Quote Link to comment Share on other sites More sharing options...
vweavers Posted February 20, 2009 Author Share Posted February 20, 2009 I get the same response from AutoCad as though I was trying to convert splines- but they originated as arcs... if that helps any? Quote Link to comment Share on other sites More sharing options...
vweavers Posted February 20, 2009 Author Share Posted February 20, 2009 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. Quote Link to comment Share on other sites More sharing options...
SEANT Posted February 20, 2009 Share Posted February 20, 2009 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? Quote Link to comment Share on other sites More sharing options...
vweavers Posted February 20, 2009 Author Share Posted February 20, 2009 Region does appear to work for what I need- Thanks! 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... Quote Link to comment Share on other sites More sharing options...
jammie Posted February 21, 2009 Share Posted February 21, 2009 After creating a region, explode it and then convert all the lines & arcs to polylines. Region seems to convert any ellipses with equal major and minor radii to arcs.. Also see Adesu & fuccaro's lisp routines for converting ellipses to arcs... http://www.cadtutor.net/forum/showthread.php?t=32634 Regards, Jammie Quote Link to comment Share on other sites More sharing options...
Cad64 Posted February 21, 2009 Share Posted February 21, 2009 Any other thoughts out there would be appreciated- I may find out later I need more than Region...[/color] The BOUNDARY command would be another option. Quote Link to comment Share on other sites More sharing options...
vweavers Posted February 24, 2009 Author Share Posted February 24, 2009 The BOUNDARY command would be another option. Returns as "Polyline boundary could not be derived. Create region?". Good thought, though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.