SlideShare a Scribd company logo
© 2020 IJSRET
3136
International Journal of Scientific Research & Engineering Trends
Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X
Design of Machine Element by using Auto LISP
Programming in Auto CAD
Chaitanya Yadure, Saharsh Shah, Pravin Powar, Lecturer A.B.Khot
Dept of Mechanical engineering
Sharad Institute of Technology, Jaysingpur-Sangli Naka, Yadrav, Ichalkaranji, Maharashtra, India
yadurechaitanya@gmail.com
Abstract- AutoLISP is a dialect of the LISP programming language built specially to use with AutoCAD and its derivatives. It
is a subset of the LISP (List Processor) programming language, which is used in bids of artificial intelligence and expert
systems. Many functions have been added to the LISP program in order to interface AutoLISP directly to AutoCAD, and you
will see that same AutoCAD commands have been retained as AutoLISP functions .Key is the simple component in Mechanical
design than others. Key is a machine element which is used to connect the transmission shaft to rotating machine elements like
pulley, gear, sprocket or flywheel. Keys provide a positive means of transmitting torque between shaft and hub of the mating
element. In this thesis a key model is designed with simple programming language. Initially stresses depending on the
application is taken as the input for the generating various dimensions of the key.
Keywords- AutoLISP, Key LISP, AutoCAD.
I. INTRODUCTION
After the development of AutoCAD, conscripting of
engineering drawing becomes easier. In case of
Mechanical Engineering drawing, drafting of machine
element with small describing at any scale is made
possible. Also main benefit of AutoCAD is to increase
competence and reduce in time. But to achieve this
benefits user must have thorough information of
AutoCAD. In this project the calculations is done by
program from giving input values from user. The
dimensions of components are generated by programming
in AutoLISP.
The design of machine component is done through
program i.e. after giving input values from user the
calculations is done & according to calculating values the
output dimensions are generated & this dimensions used
for creating component in AutoCAD by giving values of
co-ordinates of component. The language is simple for
producing drawing & also for mathematical calculations
& analytical calculations.
AutoCAD
Designing is the process of converting an idea into an
object, product or a system. This process is iterative. CAD
(Computer Aided Design) is a tool that can be used for
design and drafting activities. Since it used the computing
power of a processor, CAD drawings are faster, better and
more accurate than their manually drafted counterparts.
1. AutoLISP
AutoLISP is a programming language that allows you to
customize AutoCAD to meet your own unique
requirements. It is a subset of the LISP (List Processor)
programming language, which is used in applications of
artificial intelligence and expert systems.
Many functions have been added to the LISP program in
order to interface AutoLISP directly to AutoCAD, and
you will see that some AutoCAD commands have been
retained as AutoLISP functions.
2. Benefits of AutoLISP
• All the manual drafting operations can be done
individually by AutoLISP.
• LISP has certain set of tasks which allows us to perform
many operations automatically in a very less time.
• They can even handle loops, mathematical operations,
error spotting and corrections.
• Once the program for a machine assembly or
component is done many other forms can be generated
based on the inputs from the parent assembly drawing
itself.
2.METHODOLOGY
Initially the inputs for the assembly drawing generation
are given. From which the generated program will
produce the output in terms of dimensions. By using
basic commands the entire assembly drawing is modeled
which is given in the upcoming sections.
© 2020 IJSRET
3137
International Journal of Scientific Research & Engineering Trends
Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X
Fig no 1. Modeled.
(defun c:cskey()
(setq
cs(getreal"n Enter the permissible crushing stress in
N/mm2=")
d(getreal"n Enter the diameter of shaft in MM=")
w(/ d 4)
th(/ d 6)
TR(* (/ 3.14 16) cs (* d d d))
lc(/ (* TR 2 2)(* cs th d)))
(setq osm "osmode")
(setq pt1(getpoint "nSpecify point you want to start")
pt2(polar pt1 0 w)
pt3(polar pt2(/ pi 2) th)
pt4(polar pt3 pi w)
)
(command "pline" pt1 pt2 pt3 pt4 pt1"c")
(command "dimlinear" pt1 pt2)
(princ)
)
III. ANALYTICAL CALCULATIONS
The key is designed with usual proportions as follows &
then checked for shearing and crushing stress.
i.e. w = d/4 , t = d/6 & l=L
By considering shear failure torque transmitted
T = l x w x ↊k x d/2 ------by shear failure
By considering crushing failure torque transmitted
T = l x t/2 x σck x d/2 ------by crushing
failure
IV. AUTOLISP PROGRAMMING
The AutoLISP is a based lisp programming procedure.
The various steps involved in AutoLISP programming are
as follows
Step1: Defining the drive where AUTOCAD is installed.
Step2: Defining a name for our program it should be
noted that, no alphabets should be used which are to be
used to define formula .
For example “d” which is used to define the diameter. In
turn this alphabet “d” should not be used to define our
program.
Step3: Defining the point on the working coordinate
based on required diagram.
Step4: By using commands such as line , hatch, circle,
rectangle, triangle ,etc
KEY
;TR=Torque transmitted by shaft
;F=Tangential force acting on circumference of shaft
;d=diameter of shaft
;l=lenth of key
;w=width of key
;th=thickness of key
;tou & cs = permissible shear & crushing stress of
material
V. PROBLEM DESCRIPTION
A key is a piece of steel inserted between the shaft and
hub or boss of the pulley to connect these together in
order to prevent relative motion between them. It is
always inserted parallel to the axis of the shaft. Keys are
used as temporary fastenings and are subjected to
considerable crushing and shearing stresses.
© 2020 IJSRET
3138
International Journal of Scientific Research & Engineering Trends
Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X
A keyway is a slot or recess in a shaft and hub of the
pulley to accommodate a key.
Figure 2. Rectangular Sunk Key.
VI. CONCLUSION
AutoCAD is one of the most versatile 2D and 3D CAD
software available in the market. In addition to that, the
AUTOLISP Programming provides and Intuitive
approach towards generating automatic diagrams with
minimal user input. The Program can also be saved as a
Macro or as an AutoCAD plug-in which can then be used
in any type of systems and can be made commercial.
Even a first time Novice user can be able to understand
the level of programming in LISP as it uses a common
representation of equations and command history which is
easy to understand. Thus the flange coupling has been
designed for transmitting the power and found the
designed values within the allowable limits and the
modeling of Flange coupling has been successfully done
by using the AutoCAD LISP.
REFERANCES
[1] GuanZhi-chao and Fang Xiao-chu “A Generation
Method of Mechanical Assembly Drawing in CAD” in
Wuhan University Journal of Natural Sciences Vol. 5
No. 3 pp.,298~300, 2000.
[2] Muhammad Akilu1 and Hassan Ibrahim Ogiri
“Autocad Programming For Reinforced Concrete
Structural Detailing” in International Journal of
Scientific Engineering and Technology
[3] Mohammed Amine, Dirhar, Essaid and El Kennassi
“3D Autolisp Mesh Generation” in Journal Of
Advanced Research In Mechanical Engineering And
Technology Vol. 4 No. 1 , 2017
[4] Edelsbrunner H, “Geometry and Topology for Mesh
Generation.” in Cambridge, United Kingdom,
Cambridge University Press, 2001
[5] The ABC’s of AutoLISP by Omura George, 2001
[6] Gabriel, Richard P. “Performance and Evaluation of
Lisp Systems” in MIT Press ,1985.
[7] George P.L , “Automatic mesh generation and finite
element computation.” In Handbook of Numerical
Analysis Elsevier Science B.V, Vol. IV, 1996.

More Related Content

DOCX
PPT
Mechanical sw
PDF
Use Auto CAD
DOCX
Rayat institute of engineering and information technology(final)
PDF
Software training report on AutoCAD and Staad Pro. Civil Engineering
PPTX
PPTX
Importance of auto cad
PPT
Professional Autocad
Mechanical sw
Use Auto CAD
Rayat institute of engineering and information technology(final)
Software training report on AutoCAD and Staad Pro. Civil Engineering
Importance of auto cad
Professional Autocad

What's hot (20)

PPT
CADD CENTRE NAGPUR
PPTX
AutoCad Electrical
PPT
Autocad training
PDF
Engineering design via autocad
PDF
Development_of_Computer_Aided_Critical_Lift_Planning_Software-libre
PDF
Moving From AutoCAD to Electrical and What's New in AutoCAD Electrcial
PPSX
Electrical Room Layout
PDF
Introduction to Autocad Mechanical 2015
PDF
Introduction to HyperWorks for linear static and non linear quasi static anal...
PPTX
Applocation of Numerical Methods
PPTX
Auto-CAD
DOCX
Robotic iAssembly
DOCX
PDF
Simpleware for Automotive Engineering
PPT
Opportunites in engineering services
PPTX
Product Design
PPTX
CAD & CAM BY G.DINESHPIRAN
PPT
Mathcad presentation
PDF
Autocad training report
PPTX
Cad cam cae
CADD CENTRE NAGPUR
AutoCad Electrical
Autocad training
Engineering design via autocad
Development_of_Computer_Aided_Critical_Lift_Planning_Software-libre
Moving From AutoCAD to Electrical and What's New in AutoCAD Electrcial
Electrical Room Layout
Introduction to Autocad Mechanical 2015
Introduction to HyperWorks for linear static and non linear quasi static anal...
Applocation of Numerical Methods
Auto-CAD
Robotic iAssembly
Simpleware for Automotive Engineering
Opportunites in engineering services
Product Design
CAD & CAM BY G.DINESHPIRAN
Mathcad presentation
Autocad training report
Cad cam cae
Ad

Similar to Design of machine element by using AutoLISP programming in AutoCAD. (20)

PPTX
INTERSHIP PPT.pptx
PDF
Computer-Aided Design of Raft Foundation using Excel VBA and FORTRAN
PPTX
AutoCAD is a 2D and 3D computer desi.pptx
PPTX
AutoCAD Tutorial AB.pptx
DOCX
Solidworks software
PDF
“Analysis and Planning of Residential Building by Using AutoCAD and Revit.”
DOCX
6 weeks software training report
PDF
Developing a gui based design software in
PDF
IRJET- Design Automation of Flange Coupling using NX 10.0
PPTX
AutoCAD 2D training report
PDF
Automatic Graphical Design Generator
PDF
Industrial training report
PPTX
Cad automation of electrical busbar
PDF
Design of computer aided process plan for a casing cover plate
PDF
IRJET- Design Automation of Cam Lobe Modeling in Creo using C#
DOCX
Introductiuon to cad
PPTX
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
PPTX
Introduction to AUTOCAD and commands in AutoCAD
DOCX
CAD vs CAE
PDF
DESIGN OF COMPUTER AIDED PROCESS PLAN FOR A CASING COVER PLATE
INTERSHIP PPT.pptx
Computer-Aided Design of Raft Foundation using Excel VBA and FORTRAN
AutoCAD is a 2D and 3D computer desi.pptx
AutoCAD Tutorial AB.pptx
Solidworks software
“Analysis and Planning of Residential Building by Using AutoCAD and Revit.”
6 weeks software training report
Developing a gui based design software in
IRJET- Design Automation of Flange Coupling using NX 10.0
AutoCAD 2D training report
Automatic Graphical Design Generator
Industrial training report
Cad automation of electrical busbar
Design of computer aided process plan for a casing cover plate
IRJET- Design Automation of Cam Lobe Modeling in Creo using C#
Introductiuon to cad
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
Introduction to AUTOCAD and commands in AutoCAD
CAD vs CAE
DESIGN OF COMPUTER AIDED PROCESS PLAN FOR A CASING COVER PLATE
Ad

Recently uploaded (20)

PDF
August Patch Tuesday
PPTX
1. Introduction to Computer Programming.pptx
PDF
project resource management chapter-09.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Hybrid model detection and classification of lung cancer
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
Architecture types and enterprise applications.pdf
August Patch Tuesday
1. Introduction to Computer Programming.pptx
project resource management chapter-09.pdf
A comparative study of natural language inference in Swahili using monolingua...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
TLE Review Electricity (Electricity).pptx
WOOl fibre morphology and structure.pdf for textiles
Group 1 Presentation -Planning and Decision Making .pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Getting started with AI Agents and Multi-Agent Systems
OMC Textile Division Presentation 2021.pptx
STKI Israel Market Study 2025 version august
Hybrid model detection and classification of lung cancer
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Hindi spoken digit analysis for native and non-native speakers
Web App vs Mobile App What Should You Build First.pdf
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
1 - Historical Antecedents, Social Consideration.pdf
The various Industrial Revolutions .pptx
Architecture types and enterprise applications.pdf

Design of machine element by using AutoLISP programming in AutoCAD.

  • 1. © 2020 IJSRET 3136 International Journal of Scientific Research & Engineering Trends Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X Design of Machine Element by using Auto LISP Programming in Auto CAD Chaitanya Yadure, Saharsh Shah, Pravin Powar, Lecturer A.B.Khot Dept of Mechanical engineering Sharad Institute of Technology, Jaysingpur-Sangli Naka, Yadrav, Ichalkaranji, Maharashtra, India yadurechaitanya@gmail.com Abstract- AutoLISP is a dialect of the LISP programming language built specially to use with AutoCAD and its derivatives. It is a subset of the LISP (List Processor) programming language, which is used in bids of artificial intelligence and expert systems. Many functions have been added to the LISP program in order to interface AutoLISP directly to AutoCAD, and you will see that same AutoCAD commands have been retained as AutoLISP functions .Key is the simple component in Mechanical design than others. Key is a machine element which is used to connect the transmission shaft to rotating machine elements like pulley, gear, sprocket or flywheel. Keys provide a positive means of transmitting torque between shaft and hub of the mating element. In this thesis a key model is designed with simple programming language. Initially stresses depending on the application is taken as the input for the generating various dimensions of the key. Keywords- AutoLISP, Key LISP, AutoCAD. I. INTRODUCTION After the development of AutoCAD, conscripting of engineering drawing becomes easier. In case of Mechanical Engineering drawing, drafting of machine element with small describing at any scale is made possible. Also main benefit of AutoCAD is to increase competence and reduce in time. But to achieve this benefits user must have thorough information of AutoCAD. In this project the calculations is done by program from giving input values from user. The dimensions of components are generated by programming in AutoLISP. The design of machine component is done through program i.e. after giving input values from user the calculations is done & according to calculating values the output dimensions are generated & this dimensions used for creating component in AutoCAD by giving values of co-ordinates of component. The language is simple for producing drawing & also for mathematical calculations & analytical calculations. AutoCAD Designing is the process of converting an idea into an object, product or a system. This process is iterative. CAD (Computer Aided Design) is a tool that can be used for design and drafting activities. Since it used the computing power of a processor, CAD drawings are faster, better and more accurate than their manually drafted counterparts. 1. AutoLISP AutoLISP is a programming language that allows you to customize AutoCAD to meet your own unique requirements. It is a subset of the LISP (List Processor) programming language, which is used in applications of artificial intelligence and expert systems. Many functions have been added to the LISP program in order to interface AutoLISP directly to AutoCAD, and you will see that some AutoCAD commands have been retained as AutoLISP functions. 2. Benefits of AutoLISP • All the manual drafting operations can be done individually by AutoLISP. • LISP has certain set of tasks which allows us to perform many operations automatically in a very less time. • They can even handle loops, mathematical operations, error spotting and corrections. • Once the program for a machine assembly or component is done many other forms can be generated based on the inputs from the parent assembly drawing itself. 2.METHODOLOGY Initially the inputs for the assembly drawing generation are given. From which the generated program will produce the output in terms of dimensions. By using basic commands the entire assembly drawing is modeled which is given in the upcoming sections.
  • 2. © 2020 IJSRET 3137 International Journal of Scientific Research & Engineering Trends Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X Fig no 1. Modeled. (defun c:cskey() (setq cs(getreal"n Enter the permissible crushing stress in N/mm2=") d(getreal"n Enter the diameter of shaft in MM=") w(/ d 4) th(/ d 6) TR(* (/ 3.14 16) cs (* d d d)) lc(/ (* TR 2 2)(* cs th d))) (setq osm "osmode") (setq pt1(getpoint "nSpecify point you want to start") pt2(polar pt1 0 w) pt3(polar pt2(/ pi 2) th) pt4(polar pt3 pi w) ) (command "pline" pt1 pt2 pt3 pt4 pt1"c") (command "dimlinear" pt1 pt2) (princ) ) III. ANALYTICAL CALCULATIONS The key is designed with usual proportions as follows & then checked for shearing and crushing stress. i.e. w = d/4 , t = d/6 & l=L By considering shear failure torque transmitted T = l x w x ↊k x d/2 ------by shear failure By considering crushing failure torque transmitted T = l x t/2 x σck x d/2 ------by crushing failure IV. AUTOLISP PROGRAMMING The AutoLISP is a based lisp programming procedure. The various steps involved in AutoLISP programming are as follows Step1: Defining the drive where AUTOCAD is installed. Step2: Defining a name for our program it should be noted that, no alphabets should be used which are to be used to define formula . For example “d” which is used to define the diameter. In turn this alphabet “d” should not be used to define our program. Step3: Defining the point on the working coordinate based on required diagram. Step4: By using commands such as line , hatch, circle, rectangle, triangle ,etc KEY ;TR=Torque transmitted by shaft ;F=Tangential force acting on circumference of shaft ;d=diameter of shaft ;l=lenth of key ;w=width of key ;th=thickness of key ;tou & cs = permissible shear & crushing stress of material V. PROBLEM DESCRIPTION A key is a piece of steel inserted between the shaft and hub or boss of the pulley to connect these together in order to prevent relative motion between them. It is always inserted parallel to the axis of the shaft. Keys are used as temporary fastenings and are subjected to considerable crushing and shearing stresses.
  • 3. © 2020 IJSRET 3138 International Journal of Scientific Research & Engineering Trends Volume 6, Issue 5, Sept-Oct-2020, ISSN (Online): 2395-566X A keyway is a slot or recess in a shaft and hub of the pulley to accommodate a key. Figure 2. Rectangular Sunk Key. VI. CONCLUSION AutoCAD is one of the most versatile 2D and 3D CAD software available in the market. In addition to that, the AUTOLISP Programming provides and Intuitive approach towards generating automatic diagrams with minimal user input. The Program can also be saved as a Macro or as an AutoCAD plug-in which can then be used in any type of systems and can be made commercial. Even a first time Novice user can be able to understand the level of programming in LISP as it uses a common representation of equations and command history which is easy to understand. Thus the flange coupling has been designed for transmitting the power and found the designed values within the allowable limits and the modeling of Flange coupling has been successfully done by using the AutoCAD LISP. REFERANCES [1] GuanZhi-chao and Fang Xiao-chu “A Generation Method of Mechanical Assembly Drawing in CAD” in Wuhan University Journal of Natural Sciences Vol. 5 No. 3 pp.,298~300, 2000. [2] Muhammad Akilu1 and Hassan Ibrahim Ogiri “Autocad Programming For Reinforced Concrete Structural Detailing” in International Journal of Scientific Engineering and Technology [3] Mohammed Amine, Dirhar, Essaid and El Kennassi “3D Autolisp Mesh Generation” in Journal Of Advanced Research In Mechanical Engineering And Technology Vol. 4 No. 1 , 2017 [4] Edelsbrunner H, “Geometry and Topology for Mesh Generation.” in Cambridge, United Kingdom, Cambridge University Press, 2001 [5] The ABC’s of AutoLISP by Omura George, 2001 [6] Gabriel, Richard P. “Performance and Evaluation of Lisp Systems” in MIT Press ,1985. [7] George P.L , “Automatic mesh generation and finite element computation.” In Handbook of Numerical Analysis Elsevier Science B.V, Vol. IV, 1996.