Computer Aided Design

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 17

INTRODUCTION

Final Year Project


Developed By

• Rachita Sharma(0413213036)
• Kapil Sharma(0413213023)
• Vivek Kr. Singh(0413213058)
PROJECT

CAD-C (COMPUTER AIDED


DESIGN IN ‘C’)

Under the guidance of:-


Ms.SARU BAJAWA
INTRODUCTION TO
CAD
• Cad is Computer Aided Design

• A combination of art and science


with business application in the
architectural or engineering fields
Overview Of
CAD
• Designing products at a computer terminal
or Work Station
• Design engineer develops rough sketch
of
Product
• Uses computer to draw product design
before actual product is made.
BENEFITS OF

CAD
• Shorter design time
• Preciseness
• New capabilities
• Improved product
quality
• Reduced production
costs
DRAWING
A means for communication
Design is used to relay a visual
concept
Safety Proportion
Line Quality
Texture Elements Efficiency
Shape Durability

Tolerance Functionality
Maintenance Consideration
FEATURES OF
GRAPHICS
PROGRAMMING
• All video games, animation,
multimedia, predominantly works
using computer graphics.
• A major use is in engineering and
architecture system as
automobile, aircraft design.
• 2-D bar chart and pie chart linked
to geographical chart.
Features Of
The
DRAW:-
Project
. Line- draws line
. Box- draws box
. Circle- draws circle
. Ellipse- draws ellipse
. Arc- draws arc
. Freehand- freehand drawing
. Text- write text
Contd..
Edit:-
. Wipe- clears screen
. Erase- clears selectively
. Move- moves selectively
. Copy- copies selectively
. Paint- paints the object
Contd..
File:-
. Save – saves current drawing
. Loads- loads saved files
. Print- prints current drawing
Contd..
Line Style:-
. Solid_fill – solid line
. Line_fill – dashed line
. Wide_dot_fill – dotted line
. Close_dot_fill – closely
dotted line
Contd..

Exit:-
. Exit from CAD
CODING
HEADERS USED

# include "stdio.h"
# include "graphics.h"
# include "math.h"
# include "dos.h"
# include "process.h"
# include "alloc.h"
# include "stdlib.h"
# include "ctype.h"
# include "fcntl.h"
# include "types.h"
# include "stat.h"
MACROS DEFINED
• /* macro definitions for various keys and their scan/ascii codes */
• # define ESC 27
• # define ENTER 13
• # define DOWN 80
• # define LEFT 75
• # define RIGHT77
• # define UP 72
• # define HOME 71
• # define END 79
• # define PGUP 73
• # define PGDN 81
• # define TAB 9
• # define SH_TAB 15
• # define CTRL_RIGHT 116
• # define CTRL_LEFT 115
• # define CTRL_PGDN 118
• # define CTRL_PGUP 132
• # define CTRL_HOME 119
• # define CTRL_END 117
USER DEFINED

FUNCTIONS
1. Welcome()
2. Setup()
3.Mainscreen()
4.Getresponse()
5.Display Menu()
6.Cleartext()
7.Movecursor()
8.Draw Cursor()
10.Getkey()
11.Active Time()
THANK YOU

You might also like