hob.lsp

hob.lsp

Anonymous
Not applicable
1,002 Views
6 Replies
Message 1 of 7

hob.lsp

Anonymous
Not applicable

I'm looking for the old hob.lsp file. Is it still available? My email address is jamessean517@gmail.com

0 Likes
1,003 Views
6 Replies
Replies (6)
Message 2 of 7

Kent1Cooper
Consultant
Consultant

Have you Searched, on the internet generally as well as on these Forums?  What does it do?  Someone may have something else that does the same thing, if you can't find it.

Kent Cooper, AIA
0 Likes
Message 3 of 7

john.uhden
Mentor
Mentor
0 Likes
Message 4 of 7

Kent1Cooper
Consultant
Consultant

If gear teeth are what it's about, >>here<< is a thread with some related routines, as well as some links to other possibilities.

Kent Cooper, AIA
0 Likes
Message 5 of 7

lando7189
Advocate
Advocate

Is it this?

 

(defun c:HOB ()
   (command "SNAP" "OFF")
   (setq cpg (list 0 0))
   (setq ntg (getreal "\nEnter number of teeth on gear: "))
   (setq ngh 18)
   (setq odg (+ 2 ngh))
   (setq pdg (getreal "\nEnter generating pitch dia of gear: "))
   (setq dpg 1.000)

   (setq xi (/ (* -0.25 pi pdg) ntg))
   (setq mx (/ pi ngh 2))
   (setq sph (list (* -48.0 mx) (* 0.5 pdg)))
   (setq rot (/ -180.0 (* ntg ngh)))
   (setq cnt -51)
   (setq pt1 (list (* -2.2 odg) (* -1.85 odg)))
   (setq pt2 (list (* 2.2 odg) (* 1.85 odg)))

  (command "OSNAP" "OFF")
  (command "SNAP" "OFF")
   (command "zoom" "w" pt1 pt2)

  (while (< cnt 51)
  (progn
     (command "INSERT" "HOB" sph 1 1 0 )
     (command "rotate" "W" pt1 pt2 "" cpg rot)
     (setq sph (list (+ (car sph) mx) (cadr sph)))
     (setq cnt (+ cnt 1))
  ))
)

Source:

http://www.eng-tips.com/viewthread.cfm?qid=67055

 

0 Likes
Message 6 of 7

Anonymous
Not applicable
No, it isn't. The lisp file I'm talking about draws the gear and generates
the gear data as text in the drawing/
0 Likes
Message 7 of 7

lando7189
Advocate
Advocate

How about this?  It says it was HobMaster back in 1994 but became MyGEARilla over the years.  It appears the Author retired in 2009... but searching for it appears difficult.

 

https://www.scribd.com/document/26586523/My-Gear-Ill-a-Help-and-Legal

 

0 Likes