Jump to content

Problem with exploding blocks containing an arc


Recommended Posts

Posted

Hi everyone.

 

I am actually making a script to export all the entities in the autoCAD.

 

The floor plans I am working on have doors that are blocks. Each plan doesn't have the same name for the blocks and may be just a random insert without a real block name. (Architects, I tell you). The block is a simple line with a arc. When my lisp routine explodes the doors. The arcs inside turn into ellipses. Is there a way to keep the arcs as arcs when you explode?

 

I have tried to work with it regardless using Lee Mac's E2A lisp, which converts ellipses into arcs, but unfortunatly new arcs then go in all strange directions probabably because they came from blocks. I have played around with this a whole week studying the dxf patterns of the ellipses in autoCAD (after being exploded from the blocks) and....there is no guaranteed pattern...:cry:

 

I cannot convert the ellipse to polylines because then the exported data I intend to use does not recognize the polylines.

 

Please help me I've spent actually two weeks figuring out the ellipse problem:oops:, is there a way to explode blocks on a lisp level that keeps the arcs as arcs?

Posted

Could you attach a file of one of those blocks? Sounds strange. I've never seen a door that could swing and sweep out an ellipse :)

Posted

If a block with an arc is inserted with different x and y scaling, then when the block is exploded the arc turns to an ellipse.

 

Insert your blocks with equal x and y scaling.

Posted

I subscribe to this; the arcs contained into blocks inserted with different scale factors on axes were converted to ellipses.

Posted
I have tried to work with it regardless using Lee Mac's E2A lisp, which converts ellipses into arcs, but unfortunatly new arcs then go in all strange directions probabably because they came from blocks.

 

Your thread has prompted me to update and publish that old Ellipse to Arc program to my site - you can find the updated program here. The program should hopefully now perform correctly with all Ellipses & Elliptical Arcs (with axes of equal length), constructed in any UCS.

 

I hope this helps!

 

Lee

 

ha! your user name is censored in the quote

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