Jump to content

Need a lisp....... Lee Mac this ones for you


MikeP

Recommended Posts

  • Replies 94
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    35

  • MikeP

    31

  • CAB

    11

  • Se7en

    9

Top Posters In This Topic

Posted Images

Nice idea Alan, doing the transformation matrix "manually". :wink:

 

Should be interesting to see if this approach works any better for Mike.

 

btw, just out of interest - did my original code work OK for you?

 

Lee

Link to comment
Share on other sites

neither codes work in 2009

 

But in 2006 it works fine.

 

but in CABs, the circle is in the correct spot. its just not snapping to anythign

 

WTF? Do I not have a setting on or something?

Link to comment
Share on other sites

Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off

  ;; <<------------  Adjustments  ------------>> ;;
 ;;                                             ;;
         edg  0.0 ;1.125   ;; Vertical Offset        ;;
         len  2.25    ;; Line Length            ;;
         off  0.0 ;0.875   ;; Horizontal Offset      ;;
 ;;                                             ;;
 ;; <<--------------------------------------->> ;;

 

I haven't read the entire thread so I don't know what they are for?

Link to comment
Share on other sites

Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off

  ;; <<------------  Adjustments  ------------>> ;;
 ;;                                             ;;
         edg  0.0 ;1.125   ;; Vertical Offset        ;;
         len  2.25    ;; Line Length            ;;
         off  0.0 ;0.875   ;; Horizontal Offset      ;;
 ;;                                             ;;
 ;; <<--------------------------------------->> ;;

I haven't read the entire thread so I don't know what they are for?

 

 

Those offsets are the 2 most important ones. Sry.

 

I dont care if its not as pretty, Can it be made so it used CAD's snaps and not artificial ones?

Link to comment
Share on other sites

Try this one attached. I added some msg to display at the command line telling what points were picked & snaped to. A point will be added to the DWG at the Snap point. Change your PDMODE & PDSIZE as needed to see it.

Also reset your gaps.

LineSpacer2 CAB.lsp

Link to comment
Share on other sites

Try this one attached. I added some msg to display at the command line telling what points were picked & snaped to. A point will be added to the DWG at the Snap point. Change your PDMODE & PDSIZE as needed to see it.

Also reset your gaps.

 

 

sorry man, still no good

 

(100.854 136.417 0.0) = actual pick point.

(100.854 136.417 0.0) = Snap point.

 

they should be different, no?

Link to comment
Share on other sites

Not sure what the snap problem is. My test show that when the snap circle is visable it does snap. Note that there are some offsets that you may want to set to zero. See edg and off

  ;; <<------------  Adjustments  ------------>> ;;
 ;;                                             ;;
         edg  0.0 ;1.125   ;; Vertical Offset        ;;
         len  2.25    ;; Line Length            ;;
         off  0.0 ;0.875   ;; Horizontal Offset      ;;
 ;;                                             ;;
 ;; <<--------------------------------------->> ;;

I haven't read the entire thread so I don't know what they are for?

 

Alan,

 

The adjustments at the top of the program determine the dimensions of the displayed lines, as portrayed by the original drawing Mike posted. :)

Link to comment
Share on other sites

No problem, got me curious too.

 

I returned the offsets to your settings in the latest version. Never looked at the DWG. :)

 

Latest, added + - key adjustments to the number of lines.

I'm going to adapt this to one of my in-house routines. :)

LineSpacer3 CAB.lsp

Link to comment
Share on other sites

Latest, added + - key adjustments to the number of lines.

I'm going to adapt this to one of my in-house routines. :)

 

Thanks CAB, I feel honoured :D

 

I read the comments on the routine... (osMark osPt) in the clicked point... why: copy/paste/haste. :P

Link to comment
Share on other sites

Thanks, This is going to be a handy helper routine.

I'll need to make one with fixed intervals later. Haven't figured out how to manage the remainder space yet. Option to leave all on one end. Or split the remainder. Or user offset to first item then remainder on other end.

Keeps me intertained. :D

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