Jump to content

Recommended Posts

Posted

Been playing around with making a wipeout using entmake and getting confused. So I created a wipeout and then got the properties of it. This code will recreate the wipeout very nicely.

(vl-load-com)

(defun C:TTEST ()

 (entmake 
   (list
     '(0 . "WIPEOUT")
     '(100 . "AcDbEntity")
     '(8 . "0")
     '(100 . "AcDbWipeout")
     '(90 . 0)
     '(10 0.0 0.0 0.0)
     '(11 60.2461 0.0 0.0) ; length
     '(12 0.0 60.2461 0.0) ; length
     '(13 1.0 1.0 0.0) ; ???
     '(70 . 7)
     '(280 . 1)
     '(281 . 50)
     '(282 . 50)
     '(283 . 0)
     '(290 . 0)
     '(71 . 2)
     '(91 . 9)
     '(14 0.458504 0.445017 0.0)
     '(14 0.426759 0.5 0.0)
     '(14 -0.426759 0.5 0.0)
     '(14 -0.458504 0.445017 0.0)
     '(14 -0.5 0.445017 0.0)
     '(14 -0.5 0.38381 0.0)
     '(14 0.5 0.38381 0.0)
     '(14 0.5 0.445017 0.0)
     '(14 0.458504 0.445017 0.0)
     )
   )

 (princ)
 ); end

I've found that I can change the location of it with DFX code 10 and the length of it with DXF codes 11 and 12. But the DXF codes 13 and 14... I do not understand at all. The docs say these are supposed to be points, but the ones listed do not form any part of this shape. ???

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