+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 29

Thread: Nuts and Bolts

  1. #1
    Forum Newbie
    Using
    not specified
    Join Date
    Nov 2005
    Posts
    2

    Default Nuts and Bolts

    Registered forum members do not see this ad.

    I was wondering if there was a way in AutoCAD 2006 to thread a bolt in 3D.

  2. #2
    Super Moderator Lazer's Avatar
    Computer Details
    Lazer's Computer Details
    Operating System:
    Windows 7
    Computer:
    HP xw 4600 Workstation
    CPU:
    Intel Core2 Duo, 3 Gig
    RAM:
    8GB
    Graphics:
    NVIDEA Quadro FX 1700
    Primary Storage:
    1TB
    Secondary Storage:
    Portable TB drive
    Monitor:
    Samsung SyncMaster 226
    Using
    Inventor 2013
    Join Date
    Aug 2005
    Location
    Northants, England
    Posts
    1,565

    Default

    This may help
    http://cadtutor.net/forum/viewtopic.php?t=5603

    I also remember fuccaro done a screw with a thread once, have a search as he may have gave a tutorial on how it was done.

    EDIT: Found it http://cadtutor.net/forum/viewtopic....t=screw+thread
    USING AUTOCAD 2013 AND INVENTOR 2013, ALIAS 2013.

    If in doubt scale and don't ask!



  3. #3
    Super Member David Bethel's Avatar
    Discipline
    Multi-disciplinary
    David Bethel's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Commercial Food Service
    Using
    AutoCAD pre 2000
    Join Date
    Dec 2003
    Location
    Newport News, Virginia
    Posts
    1,926

    Default

    Here's an old old lisp I wrote 10+ years ago. Wow am I getting old.....

    [code];ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»
    ;Ί 3DScrew.Lsp Version 1.2 Sep 24, 1994 Ί
    ;Ί Draw A 3D Screw Tread Ί
    ;ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ
    ;================== Start Program ======================================
    (princ "\nLoading 3DScrew v1.2 ") ;Program Loader
    (setq 3DScrew nil sp_c 1) ;Reset Program Name
    ;%%%%%%%%%%%%%%%%%% Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    (defun PDot () (princ ".")) ;Print Dot
    (defun Spin () ;Spinning
    (setq sp_c (1+ sp_c)) ;Dashes
    (write-char '8) ;For Display
    (princ (nth (rem sp_c 4) (list "|" "/" "-" "\\"))))
    (defun BkSp () (write-char '8)) ;Back Space
    (defun AtoR (a) (* pi (/ a 180.0))) ;Angle To Radian
    (defun RtoA (r) (/ (* r 180.0) pi)) ;Radian To Angle
    (defun Beep (/ f) (setq f (open "con" "w")) ;Print Hex 7
    (write-char '7 f) (close f)) ;To CON
    (defun Err (e) (beep) ;Augmented
    (princ (strcat "\nError: " e)) ;Error
    (quit)) ;Routine

    ;%%%%%%%%%%%%%%%%%% Sub Routines %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    (PDot);++++++++++++ Set Modes & Error ++++++++++++++++++++++++++++++++++
    ;Mode Variables m_l SetList m_s NewSetting m_n OldName m_v OldValue
    (defun st_smd () ;Define st_smd
    (command "UNDO" "MARK") ;Set An Undo Mark
    (setq m_v nil m_n nil ;Reset Name & Value
    m_l (list "CMDECHO" "BLIPMODE" "HIGHLIGHT" "SPLFRAME")
    m_s (list 0 0 1 0) ;Setup Modes
    olderr *error* ;Get Old Error
    *error* (lambda (s) ;Set Error So That
    (cond ((= s "Function cancelled")) ;If Cancel Or
    ((= s "quit / exit abort")) ;Abort Exit Clean
    ((princ (strcat "\nError: " s)))) ;Else Print Error
    (st_rmd))) ;Return Modes
    (foreach x m_l (setq m_v (cons (getvar x) m_v);Get Value
    m_n (cons x m_n))) ;And Variable
    (mapcar 'setvar m_l m_s)) ;Set New Modes
    (PDot);++++++++++++ Return Modes & Error +++++++++++++++++++++++++++++++
    (defun st_rmd () ;Define st_rmd
    (setq *error* olderr) ;Reset Error
    (mapcar 'setvar m_n m_v) ;Reset Modes
    (prin1)) ;Exit Clean

    (PDot);************ Main Program ***************************************
    (defun 3dscrew (/ nang elv ctr dia dis ang rad trd sec ris base rev
    p2 p3 pt1 pt2 pt3 pt4 pt5 pt6 pt7 pt8
    m_n m_v m_s m_l olderr)
    (st_smd)
    ;------------ Get User Input -------------------------------------------
    (setq ctr (getpoint "\nCenter Of Screw:.... "))
    (setq dia (getreal "\nOutside Screw Diameter:... "))
    (setq trd (getreal "\nNumber Of Threads Per Inch:... "))
    (setq tag (getangle "\nThread Cut Angle:... "))
    (setq sec (getint "\nEnter Number Of Sections To Draw Per Thread:... "))
    (setq rev (getreal "\nNumber of Threads To Draw <1>:... "))
    ;------------ Set Constants --------------------------------------------
    (if (= rev nil)(setq rev 1)) ;Default To 1 Revolution
    (setq rad (* dia 0.5)) ;Calculate Radius
    (setq base (caddr ctr)) ;Set Base Elevation
    (setq old base) ;Set Last Elevation
    (setq ris (/ 1.0 trd)) ;Calculate Rise Per Thread
    (setq elev (+ base (/ ris sec))) ;Next Elevation
    (setq ang (/ 360.0 sec)) ;Angle Per Section
    (setq nang (/ 360.0 sec)) ;Next Angle
    (setq ird (- rad (/ (* ris 0.5) ;Get Inside Radius
    (/ (sin tag) (cos tag))))) ;As A Percentage
    (setq irad (/ ird rad)) ;Of Outside Radius
    ;------------ Setup First Segment --------------------------------------
    (setq pt1 (list (+ (car ctr) rad) (cadr ctr) base)) ;Set Point1
    (setq pt4 (list (* irad (car pt1)) ;Set Point4
    (* irad (cadr pt1))
    (+ base (* 0.5 ris))))
    (setq p2 (polar ctr (* pi (/ nang 180)) rad)) ;Calculate XY2
    (setq p3 (polar ctr (* pi (/ nang 180)) (* rad irad))) ;Calculate XY3
    (setq pt2 (list (car p2) (cadr p2) (+ base (/ ris sec))));Set Point2
    (setq pt3 (list (car p3) (cadr p3) (+ old (* 0.5 ris)))) ;Set Point3
    (setq pt5 (list (car pt1) (cadr pt1) (+ base ris))) ;Set Point5
    (setq pt6 (list (car pt2) (cadr pt2) (+ elev ris))) ;Set Point6
    (setq pt7 (list (car ctr) (cadr ctr) (+ elev ris))) ;Set Point7
    (setq pt8 (list (car ctr) (cadr ctr) (+ base ris))) ;Set Point8
    ;------------ Draw Segments --------------------------------------------
    (repeat (fix (* sec rev)) ;Draw
    (command "3DFACE" pt1 pt2 ;Visible
    pt3 pt4 ;Thread
    pt5 pt6 "") ;Faces
    (command "3DFACE" "I" pt5 ;And
    "I" pt6 ;Hidden
    "I" pt7 ;Inner
    "I" pt8 "") ;Faces
    ;------------ Setup Next Segment ---------------------------------------
    (setq nang (+ nang ang)) ;Increase Angle
    (setq pt1 (list (car pt2) (cadr pt2) elev)) ;Set Point1
    (setq pt4 (list (car pt3) (cadr pt3) (+ old (* 0.5 ris))));Set Point4
    (prompt (strcat "\nWorking On Elevation: " (rtos elev 2 4)))
    (setq old elev) ;Last Elev
    (setq elev (+ elev (/ ris sec))) ;Outside Elev
    (setq inelev (+ elev (* 0.5 ris))) ;Inside Elev
    (setq p2 (polar ctr (* pi (/ nang 180)) rad)) ;Calculate XY2
    (setq p3 (polar ctr (* pi (/ nang 180)) (* rad irad))) ;Calculate XY3
    (setq pt2 (list (car p2) (cadr p2) elev)) ;Set Point2
    (setq pt3 (list (car p3) (cadr p3) (+ old (* 0.5 ris))));Set Point3
    (setq pt5 (list (car pt1) (cadr pt1) (+ old ris))) ;Set Point5
    (setq pt6 (list (car pt2) (cadr pt2) (+ elev ris))) ;Set Point6
    (setq pt7 (list (car ctr) (cadr ctr) (+ elev ris))) ;Set Point7
    (setq pt8 (list (car ctr) (cadr ctr) (+ old ris))) ;Set Point8
    ) ;End Repeat
    (st_rmd)) ;Return Modes

    (PDot);@@@@@@@@@@@@ Load Program @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    (defun C:3DScrew () (3DScrew)) ;Make Command
    (and 3DScrew ;Resident
    (repeat 25 (BkSp)) ;Confirm
    (prompt "3DScrew Defined \n")) ;Loading
    (prin1) ;Else Display Errors
    ;ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ End Program ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ

    &#91;code&#93;

    The beep thingy was a real DOS call. -David&#91;/code&#93;
    R12 (Dos) - A2K

  4. #4
    Forum Newbie
    Using
    not specified
    Join Date
    Nov 2005
    Posts
    2

    Default

    Hey thanks a lot, I'm going to go experiment right now.

  5. #5
    Full Member joemaddigotz's Avatar
    Computer Details
    joemaddigotz's Computer Details
    Operating System:
    Windows XP 64.Bit
    Motherboard:
    ECS NFORCE 570-SLIT-A V5.1
    CPU:
    INTEL PENTIUM D DUAL CORE 3.0.
    RAM:
    4.0GB DDR 2
    Graphics:
    NVIDIA GEFORCE 9500GT OC w/ 1GB MEMORY
    Primary Storage:
    160GB, I know it's weak.
    Monitor:
    Simple HP 15" LCD
    Using
    AutoCAD 2006
    Join Date
    Jan 2009
    Location
    Chicago, Illinois
    Posts
    43

    Default

    No luck with the two links posted above - they both can not be found on the site.

    I was really hoping to see more threads on making threads lol...
    I am surprised but definatly not sure with AutoCAD 2006 where to begin.

    I have my cylinder made for the clamp - I just need someway of threading it along with the ring around the clamp..

  6. #6
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,138

    Default

    Do a search of the forum on "threaded bolt". The topic has been discussed many times. Some of the threads contain links to other sites where the entire process of creating a threaded bolt is explained both in words and pictures. One such source would be Ellen Finkelstein's website.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  7. #7
    Full Member joemaddigotz's Avatar
    Computer Details
    joemaddigotz's Computer Details
    Operating System:
    Windows XP 64.Bit
    Motherboard:
    ECS NFORCE 570-SLIT-A V5.1
    CPU:
    INTEL PENTIUM D DUAL CORE 3.0.
    RAM:
    4.0GB DDR 2
    Graphics:
    NVIDIA GEFORCE 9500GT OC w/ 1GB MEMORY
    Primary Storage:
    160GB, I know it's weak.
    Monitor:
    Simple HP 15" LCD
    Using
    AutoCAD 2006
    Join Date
    Jan 2009
    Location
    Chicago, Illinois
    Posts
    43

    Default

    It's quite amazing however - I have already exhausted all of my search options. I always search the threads and internet for help first -

    I am using AutoCAD 2006 - where as Finklestein's is using a command "Helix" which I do not have on my version of AutoCad.

    I could not find any resource that would help me with 06..

  8. #8
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,138

    Default

    We've already covered this topic (Helix.lsp) in another thread. Visit CADTutor's AutoLISP Archive forum.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  9. #9
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

  10. #10
    Super Member SuperCAD's Avatar
    Computer Details
    SuperCAD's Computer Details
    Operating System:
    Win7 Professional 64bit
    Computer:
    HP Z420
    RAM:
    32G
    Graphics:
    NVIDIA Quadro 4000
    Primary Storage:
    150GB SSD
    Secondary Storage:
    1TB HDD
    Monitor:
    LG W2353VP & LG W2343T
    Discipline
    Manufacture
    SuperCAD's Discipline Details
    Occupation
    CAD Manager
    Discipline
    Manufacture
    Details
    Design custom cabinetry and fixtures for retail and food service businesses.
    Using
    AutoCAD 2014
    Join Date
    Sep 2008
    Location
    WI, USA
    Posts
    618

    Default

    Registered forum members do not see this ad.

    That tutorial missed a step or two. Those threads sucked (they weren't aligned properly).
    Chuck Norris counted to infinity...


    Twice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts