Final Year Project Developed By: Rachita Sharma(0413213036) Kapil Sharma(0413213023) Vivek Kr. Singh(0413213058)

  • Uploaded by: ppksn
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Final Year Project Developed By: Rachita Sharma(0413213036) Kapil Sharma(0413213023) Vivek Kr. Singh(0413213058) as PDF for free.

More details

  • Words: 431
  • Pages: 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 Line Quality Texture Shape Tolerance

Proportion Elements

Efficiency Durability

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 Project DRAW:. 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 include include include include include include include include include include

"stdio.h" "graphics.h" "math.h" "dos.h" "process.h" "alloc.h" "stdlib.h" "ctype.h" "fcntl.h" "types.h" "stat.h"

MACROS DEFINED • • • • • • • • • • • • • • • • • • •

/* macro definitions for # define ESC 27 # define ENTER # 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 # define SH_TAB # define CTRL_RIGHT # define CTRL_LEFT # define CTRL_PGDN # define CTRL_PGUP # define CTRL_HOME # define CTRL_END

various keys and their scan/ascii codes */ 13

9 15 116 115 118 132 119 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

Related Documents


More Documents from "varun"