Semester Project Introduction Computer control of a cutting machine 1. Given a data file description of desired 2-D parts 2. Create software tools to:

Slides:



Advertisements
Similar presentations
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Advertisements

Why ROOT?. ROOT ROOT: is an object_oriented frame work aimed at solving the data analysis challenges of high energy physics Object _oriented: by encapsulation,
1 Software Design Introduction  The chapter will address the following questions:  How do you factor a program into manageable program modules that can.
Chapter 10 Introduction to Arrays
Excel Charts – Basic Skills Creating Charts in Excel.
What is Software Design?  Introduction  Software design consists of two components, modular design and packaging.  Modular design is the decomposition.
Copyright Irwin/McGraw-Hill Software Design Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Software Design Deriving a solution which satisfies software requirements.
Getting Started with Layout Compiled by Ryan Johnson May 1, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT  The.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie July 8, 2005.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 06.
Get number The ginput command creates crosshairs. When the user clicks the x,y values of the crosshairs are returned.
Functions MATLAB’s power comes from functions Functions allow projects to be partitioned into manageable, testable, reusable modules.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 3 – Graphs and Charts: Delivering a Message Robert Grauer and Maryann Barber Exploring.
Semester Project Introduction Computer control of a cutting machine 1. Given a data file description of desired 2-D parts 2. Create software tools to:
Project reports are due at the final Monday May 8 11:30 am Reports should contain a paragraph describing the contribution of each team member. Who did.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
COMP 14 Introduction to Programming Miguel A. Otaduy May 24, 2004.
EXCEL PART 2. Chart Elements Chart Title Plot Area Data Marker X AxesCategory Name Y axes.
Chapter 6 Graphical User Interface (GUI) and Object-Oriented Design (OOD)
Microsoft® Small Basic The Controls Object Estimated time to complete this lesson: 1 hour.
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
Mathcad Variable Names A string of characters (including numbers and some “special” characters (e.g. #, %, _, and a few more) Cannot start with a number.
CS0007: Introduction to Computer Programming File IO and Recursion.
University of technology Department of Materials Engineering
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
Attribute Data in GIS Data in GIS are stored as features AND tabular info Tabular information can be associated with features OR Tabular data may NOT be.
Computers: Tools for an Information Age Chapter 12 Spreadsheets and Business Graphics: Facts and Figures.
ENGR 1181 College of Engineering Engineering Education Innovation Center Excel 1.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
Introduction to Matlab & Data Analysis
Objectives Differentiate between raster scan display and random scan display.
Geometers Sketch pad. Step 1: Open Sketch pad Use this to select items Use this to draw a point Use this to draw a circle Use this to draw a line Use.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Getting Started With AutoCAD ENGR 2 Week #1 Laboratory.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Entering Data Manually PowerPoint Prepared by.
Chapter 6 Working with Patterns and Brushes. Objectives Use the Move command Create a pattern Design a repeating pattern Use the Pattern Options panel.
Basic Editing Lesson 2.
Chapter 4: Subprograms Functions for Problem Solving Mr. Dave Clausen La Cañada High School.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
1.NET Web Forms Graphics and Charts © 2002 by Jerry Post.
COSC 1P02 Introduction to Computer Science 8.1 Cosc 1P02 “For myself, I am an optimist--it does not seem to be much use being anything else.” Winston Churchill.
A relation is an operation, or series of operations, that maps one number onto another.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Spreadsheet Vocabulary Terms
First Steps in Modularization. Simple Program Design, Fourth Edition Chapter 8 2 Objectives In this chapter you will be able to: Introduce modularization.
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
Copyright © 2008 Pearson Prentice Hall. All rights reserved Exploring Microsoft Office Excel 2007 Chapter 8 What-if Analysis Robert Grauer, Keith.
First Steps in Modularization. Simple Program Design, Fourth Edition Chapter 8 2 Objectives In this chapter you will be able to: Introduce modularization.
4.5 Inverse of a Square Matrix
INTRODUCTION TO GIS  Used to describe computer facilities which are used to handle data referenced to the spatial domain.  Has the ability to inter-
Learning Objectives for Section 4.5 Inverse of a Square Matrix
ADAMS Assignment 6 ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: November 13, 2013 Due: November 20, 2013.
Computers Are Your Future Tenth Edition Spotlight 5: Microsoft Office Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
Structured Computer Programming EE 201 Introduction to MATLAB 7 for Engineers بسم الله الرحمن الرحيم King Abdulaziz University College of Engineering Dept.
Beginning Programming for Engineers Animation. Special matrix functions >> clear >> ones(2,3) >> zeros(3,5) >> ones(2) >> zeros(3) >> eye(4) >> magic(4)
As you come in Take a whiteboard, markers, folder, name tags to your section area. Leave the folders closed.
Miscellaneous Excel Combining Excel and Access.
Computer Graphics CC416 Week 13 Clipping.
Functions CIS 40 – Introduction to Programming in Python
European Computer Driving Licence
Unit# 8: Introduction to Computer Programming
Designing and Debugging Batch and Interactive COBOL Programs
MatLab – 2D Plots 2 MATLAB has many built-in functions and commands to create various types of plots. Instructor notes: We start with an example of some.
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
Unit J: Creating a Database
Presentation transcript:

Semester Project Introduction Computer control of a cutting machine 1. Given a data file description of desired 2-D parts 2. Create software tools to: a. Compute the characteristics of the parts (area, perimeter, centroid locations) b. Solve for the cutter route (simplest to most efficient) c. Graphically display results

Example Data format: –Polygonal parts –List of vertices –(0,0) as the separator Data file: x Desired cut pattern y

Polygon areas can be determined by adding up trapezoid areas

Trapezoid centroid, y (A1 + A2)y = A1 y1 + A2 y2 where y is the y coordinate of the centroid of the trapezoid

Fill in this part before the meeting Leave this part blank Project Status Report Form

Text handle Handles are labels that allow items to be addressed. Here the text at the coordinates x,y is given the handle htext(x,y). htext is an array that includes handles of text at other locations. Properties of the text are easily changed using its handle. get(h) returns all properties of the graphics object identified by the handle h and their current values. get(h,'PropertyName') returns the value of the property 'PropertyName' of the graphics object identified by h.

Erase text Here the text handle is used to modify the text property ‘string’, which is the actual text message. The text is replaced with the string ns(1) which is a blank. The result is that the text is erased. Since the text is erased the board has to be updated with a zero in the appropriate location. The row is 10-y so that the first row is at the top of the board in the plot at the coordinate x=9.

% Handles x=linspace(0,10); % Set up x y=x.^2; % Calculate y h =plot(x,y); hold on % Next put a marker at the origin. blobhandle = plot(0,0,'o','markersize',10,'markerfacecolor','k'); for k2 = 1:length(x) % Move marker along line set(blobhandle,'Xdata',x(k2),'Ydata',y(k2)) pause(.05) end

Structured Programming Hierarchical Modules are divided into smaller and smaller submodules (functions work well as modules) functions contain functions Modular Simple independent modules with well defined inputs and outputs Locality Minimize inputs and outputs Generate values inside the module where possible