Scripts and Meshes 1 Scripts and Meshes Meshes –Only way to draw very complex surfaces –Each point on the mesh is defined individually (ie you type in.

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Advertisements

Computer Aided Engineering Drawing الرسم الهندسي المعان بالحاسوب Lecture TWO CAD / CAD Engineering Dr. Tahseen Fadhil Abbas
USING 2D DESIGN NPBHS WORKSHEETS 4 Motorcycle Fairing Creating tangential arcs & using connected lines.
Introduction to Illustrator. With the release of Illustrator, Adobe has completed a tightly integrated trio of applications (Photoshop, InDesign and now.
By Paul Richard and Jim Fitzgerald Chapter 9 - Drawing and Editing Complex Objects.
1 GRADING AND DAYLIGHTING  The Daylighting commands calculate slope daylighting from a polyline footprint to a surface.  A 2D or 3D polyline with elevational.
Using MS Paint by A. Satariano Launching MS Paint Click on the Start Button Move the mouse up to the Programs Folder. Then move the mouse up to the Accessories.
ADDING BREAKLINES TO YOUR DRAWING
Civil 114 Civil Engineering Drawing AutoCAD
Use MLCAD and 3D win 4 Edwin Yu. Overview Using 3D win 4 Import MLCAD files Export AutoCAD files Open DXF files Rescale the model Change color of the.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
ENGR 111 Class 5.2a AutoCAD Basics Thursday, September 30 th, 2004.
2008-Fall Technical Drawing – Week 2. 2  Drawing Simple Objects –Command Promt –Draw Menu –Draw Toolbox.
________CIVL114 LAB 4. Outline Exercise 1 – solving an intersection problem  Point Style  Rotate  Modify Dimension Style Exercise 2 – stirrups  Fillet.
Creating an HTML page Skills: edit and debug HTML pages IT concepts: text editor This work is licensed under a Creative Commons Attribution-Noncommercial-
Polygons Only one of these is a polygon. Do you know? A polygon MUST be a closed figure.
11.2a Area of Regular Polygons CCSSLESSON GOALS  Identify the radius, central angle, and apothem of a polygon.  Find the measure of a polygon’s central.
A Mid-Term study guide of covered commands. SAVING  Using the Save command allows the drafter to save an already developed drawing.  The Save As command.
ENGR-22_Lec-04_2D_Construction-2.ppt 1 Bruce Mayer, PE Engineering 22 – Engineering Design Graphics Bruce Mayer, PE Licensed Electrical.
AutoCAD Basics The AutoCAD Interface Draw Tool Palette Pull-down Menus
Computer Aided Engineering Drawing
Geographic Information Systems Using ESRI ArcGIS 9.3 Advanced Editing: Attribute Table.
Concepts of Engineering and Technology
Constructing Triangles using Geometer’s Sketchpad.
AutoCAD 2002 CAD stands for Computer-Aided Design. An AutoCAD drawing is made up of objects. These can be either simple graphic objects (such as lines,
Introduction to ZWCAD Drawing plane figures. This presentation gives some hints for starting the use of ZWCAD for plane drawings. Only very essential.
What is AutoCAD? A software drafting tool Particularly useful for Mechanical drawings Architectural drawings.
Getting Started With AutoCAD ENGR 2 Week #1 Laboratory.
Fill in the blanks: (1) ______tool is used for selection in paint program. (2) _____tool makes the letter bold. (3) In paint program ________ tool is used.
Inscribed Angles Section 10.3 Goal: To use inscribed angles to solve problems To use properties of inscribed polygons.
Mid-Term Pretest Review
AGENDA – DIGITAL COMPUTER 1B MARCH 21, WEDNESDAY  MS PowerPoint Advance Course Lesson 3: Working with Visual and Sound Objects (Applications) 
1.8: Perimeter, Circumference, and Area
Google Sketchup. What is Sketchup SketchUp is a very powerful 3-D modeling software of the type used by architects and drafters. In three dimensional.
7 th Grade 3D Solid Modeling Test (Google SketchUp) Written by Pam Brown.
Creating a Custom Drawing Sheet Tutorial. Create a new standard drawing file from menu options Opening a Drawing Sheet.
CSC 385 – Project - Jason Creighton. 2. Input a Graph Via Keyboard Simply enter a sequence of ‘1’s’ and ‘0’s’ to draw a graph via an adjacency matrix.
1.To begin click: File, New, then select Design 2.Draw a circle, then use the dimension tool to set it’s size to 84 diameter or 42 radius. 3. Next draw.
By Sin-Pui Fu Fall 2012 ME250, University of Illinois at Chicago 7,Sep, 2012 Autocad lecture 1 Introduction of Autocad and Title Block By Sin-Pui Fu.
If you use it, cite it.
AutoCAD Tutorial Instructor: Dr. Karndee Prichanont Learning Objectives: - Refresh your memories in operating AutoCAD - Practice on basic operations.
AUTOLISP Prof.Dr. Demir Bayka. AUTOLISP 1.Declare and set values to variables 2.Pick the elements of lists 3.Implement AutoCad commands 4.Select Entities.
Refraction Statics Bryce Hutchinson Sumit Verma. 3D Statics display 1. Click this button on the right side of the statics window to open a 3D statics.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
I NTRODUCTION TO A UTO CAD P ART 2 Lab 8. CHAPTER OBJECTIVES Creating New Layers Assigning Colors to Layers Assigning Linetypes Assigning Lineweight Changing.
ENGR-22_Lec-0_2D_Construction-1.ppt 1 Bruce Mayer, PE Engineering 22 – Engineering Design Graphics Bruce Mayer, PE Licensed Electrical.
Introduction to 3d Modeling Simple Polygon Modeling Using 3D Max
Drawing Objects.
Calculating the area of a leaning triangle. Calculating Area.
Objective: Inscribe and circumscribe polygons. Warm up 1. Length of arc AB is inches. The radius of the circle is 16 inches. Use proportions to find.
1 Mapping Coordinates Find the x- and y- coordinates for the images, relative to the x-axis and y-axis In a coordinate pair, the first number is the x-coordinate.
PLEASE USE THE ENTER KEY OR RIGHT CLICK ON THE MOUSE TO ADVANCE.
This is what we want to produce Import sketch dimensions Label angles Set the scale Add linear dimensions.
1E9 – Design 1- Autocad Scheduled labs Assignment Tutorial Interface Prof. S Pavía, Dept. of Civil Engineering, TCD.
Polygons Only one of these is a polygon. Do you know? A polygon MUST be a closed figure.
Using MIT Scratch for Programming and Control Programming 9.
 AutoCAD Ellipse Command AutoCAD Ellipse Command  AutoCAD Arc Command AutoCAD Arc Command  AutoCAD Polygon Command AutoCAD Polygon Command  AutoCAD.
Drawing Geometric Objects
Computer Programming.
Polygon, polyline and donut
Computer Application AutoCAD Program
Lecture 1: Introduction
Week 1 Computer Programming Year 9 – Unit 9.04
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Create 3D Solid Objects. Create 3D Solid Objects.
H.
Lesson: 10 – 4 Inscribed Angles
Introduction To Drawings, Saving Drawings Chapter 8 Placing Text
Inscribed Angles.
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Scripts and Meshes 1 Scripts and Meshes Meshes –Only way to draw very complex surfaces –Each point on the mesh is defined individually (ie you type in each vertex) Scripts –Save repetitive typing –Useful for 3D Meshes

Scripts and Meshes 2 3D Mesh Simple 3D Mesh –Draw, Surfaces, 3D Mesh M direction?2 N direction?2 Enter (0,0)10,10 Enter (0,1)10,30,0 Enter (1,0)20,10,0 Enter (1,1)20,30 –This produces a mesh with one element –Notice that the co-ordinates must be entered in the correct order.

Scripts and Meshes 3 Larger Mesh Command: 3dmesh Mesh M size: 4 Mesh N size: 3 Vertex (0, 0): 10,1,3 Vertex (0, 1): 10,5,5 Vertex (0, 2): 10,10,3 Vertex (1, 0): 15,1,0 Vertex (1, 1): 15,5,0 Vertex (1, 2): 15,10,0 Vertex (2, 0): 20,1,0 Vertex (2, 1): 20,5,-1 Vertex (2, 2): 20,10,0 Vertex (3, 0): 25,1,0 Vertex (3, 1): 25,5,0 Vertex (3, 2): 25,10,0 View this mesh using 3D orbit.

Scripts and Meshes 4 Script Files Run an existing Script File –Tools, Run Script browse to FIRST.scr Create a Script File –Start a new drawing –Start, All programs, Accessories, Notepad –Type the program –Save As, SECOND.SCR –Back to AutoCAD –Tools, Run Script browse to SECOND.scr Line 0,0 100,200

Scripts and Meshes 5 Write your own script files –To draw a circle with centre at 0,150 and radius 20 (THIRD.SCR) –To draw a rectangle from 50,20 to 250,50 (FOURTH.SCR) –To draw a 6 sided polygon with centre at 200,150 inscribed about a circle of radius 60 (FIFTH.SCR) –To erase everything and zoom all (SIXTH.SCR)

Scripts and Meshes 6 Scripts and 3D Meshes Write a script file to create the simple mesh on Slide 2 Write a script file to create the larger mesh on Slide 3

Scripts and Meshes 7 Smoothing Meshes Use the Pedit command to smooth meshes –Start a new drawing –Tools, Run Script, find MESH3.SCR –Modify, Object, Polyline, click on mesh, S –3D Orbit to view the mesh To Desmooth –Modify, Object, Polyline, click on mesh, D To control surface density –At command prompt type Surfu (for m direction density) and change value –Change surfv for n direction density –Smooth again with new mesh density settings.