Jump to content

Recommended Posts

Posted

in my attachment lisp there are 3 lines i want make fillet to them how can i make it?

D3.LSP

Posted

Perhaps if you post a DWG with a BEFORE objects and then AFTER objects someone will

be able to assist you.

 

One not is that you should (setvar "OSMODE" 0) or use "none" before points within COMMANDS because

OSnaps will cause problems with COMMANDS.

 

Using the fillet command in lisp you may pass it a list that you get from entsel, like this

(command "fillet" (entget) (entget))

or this:

(command "fillet" '( (12.0 25.17))'( (10.0 4.25)))

Posted

Thanks Cab For Your Advise In My Dwg Attachment There Are A Shape Before And After Fillet.

1.dwg

Posted

Also as a side note:

 

If you are going to manually assign the points next to the entity names as shown in CAB's example:

 

(command "fillet" '(<ename1> (12.0 25.17))'(<ename2> (10.0 4.25)))

 

Make sure that you do not use the endpoint or startpoint of the lines that you are working on, and I would probably think it is better to use a point which is outside of the specified fillet radius, to avoid any other errors.

 

maybe something like:

 

(setq oldfill (getvar "filletrad"))
(setvar "filletrad" 10.0)
(command "fillet"
   (list    <ename1>
       (polar
           (cdr (assoc 10 (entget <ename1>)))
           (angle
               (cdr (assoc 10 (entget <ename1>)))
               (cdr (assoc 11 (entget <ename1>)))
           )
           (+ (getvar "filletrad") 1)
       ) ; end polar
   ) ; end list
   
   etc etc

 

Sorry for the bad coding, I typed it pretty quick - chuck a few variables in there to ease things.

Posted

True CAB, I end up just throwing something together with a bunch of coding errors in, just because I don't have the time to think about what I am doing... What time is it where you are?

 

 

PS. good advice indeed as it was originally advice you gave to me... :P

Posted

It's 8:19 am and I'm off on an errand.

 

See Ya

Posted

Based on those last two post, it appears that the CadTutor time stamp is about 20 miutes off. At least as far as it shows on my setup.

 

Edit: It even shows an offset from my post.

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