S206E Lecture 23, 5/26/2016, Interaction between Python and Grasshopper
|
|
- Roderick McLaughlin
- 5 years ago
- Views:
Transcription
1 S206E Lecture 23, 5/26/2016, Interaction between Python and Grasshopper Copyright 2016, Chiu-Shui Chan. All Rights Reserved. S206E057 Spring 2016 This lecture covers the techniques of using rhinoscriptsyntax in Python particularly for form generation. AddPolyline, AddPoints, AddInterpCurve, and AddLoftSrf are popular methods used and are introduced here briefly for our reference. Then the interaction between Python and Grasshopper are explained in detail. Methods of generating polylines through Python codes: Method A: applying control points to generate the curve. See the image. points = (0,0,0),(20,10,0),(50,-10,0),(100,50,0),(200,0,0),(250,10,0) rs.addinterpcurve(points) AddInterpCurve(points) is a function that will generate a periodic curve, which is a nonrational NURBS curve. Method B: applying control points to generate a curve and display its control points in red color. points = (0,0,0),(20,10,0),(50,-10,0),(100,50,0),(200,0,0),(250,10,0) rs.addinterpcurve(points) rs.addpolyline(points) pts_ids = rs.addpoints(points) rs.objectcolor(pts_ids, [255,0,0]) Method C: Enclosed curve. points = (-12,8.5,0),(0,2.5,0),(12,8.5,0),(18,2,0),(0,-20,0),(-18,2,0),(-12, 8.5,0) cruve1=rs.addinterpcurve(points,3,3) #3 is the degree of the curve, 1 is polyline. #5 is the knotstyle with sqrt spacing (3 is for uniform spacing. pts_ids = rs.addpoints(points) rs.objectcolor(pts_ids, [255,0,0]) ObjectColor(object_ids, color, [red, green, blue]) is a function that will generate RGB colors for the selected objects shown in the wireframe mode, but, not in the Rendered mode. Method D: Creating a series of columns through Python codes. In this example, users are required to input: 1. The values of radius and the height of the column, 2. The number of columns along the X and Y axis, 3. The intended distance on both X & Y directions, and 4. The location of the lower left corner point to start the column series. Creation of columns will be executed by the AddCylinder function and two while loops to control the X and maintain the same X coordination while generating the columns along the Y direction. This program, intended to be run privately without sharing it as class, so, the if name == main function was used for calling the ColSeries function. Coding and run results are shown in the following. Page 1 (5/1/2016)
2 Arch534 Spring 2016 How to connect Python to Grasshopper in Rhino? There is a Python interpreter in Grasshopper, now in version called GhPython. The Python syntax in Grasshopper could be found in Food4Rhino Web page. GhPython has the following nature: The GhPython component controls the values of inputs to and outputs from the components. It includes libraries to the.net SDK and huge number of Python add-on functions. It integrates with the new Python Script Editor included in Rhino 5. To install this Grasshopper add-on: if you are new, then you have to connect to the Internet at food4python page, which should be registered as its member first. The GhPython is an open source; its membership and registration are both for free. You can get a version of this add-on ready for installation from But, a copy is saved on the My.Files server. Here are the sequences of installation. 1. In Grasshopper, choose File > Special Folders > Components folder. Save the gha file in the Components folder, which is: Users/cschan/AppData/Roaming/Grasshopper/Libraries 2. Right-click the file > Properties > make sure there is no "blocked" text (unblock). 3. Restart Rhino and Grasshopper Optional: We could use the _GrasshopperDeveloperSettings command to add the output directory for your.gha to the list of directories that Grasshopper pays attention to. For instance, in the following example, the output file will be sent to the folder with path of c:\534. Page 2 (5/1/2016)
3 Example one: S206E057 Spring Here is the completed Python code of generating 24 pieces of circles, points, and lines from the for loop. In the coding, the definition of if-then-else on line five is to set the valuable of x empty first before assigning 24 to it. # sample script to show how to use Python in Rhino with rhinoscriptsyntax import math x = None if x is None: x = 24 circles = [] radii = [] #x could also defined as x=24 here. # the group of circles. # the group of radii. for i in range(x): pt = (i, math.cos(i), 0) # a tuple for a point id1 = rs.addcircle(pt, 0.3) # the x coordinate of a new point is the value of i. circles.append(id1) # add the circle to the list. endpt = rs.pointadd(pt, (0, 0.3, 0) ) #add the value of 0, 0.3,0 to the xyz of pt. id2 = rs.addline(pt, endpt) radii.append(id2) 2. This coding will be ported into Grasshopper. Thus, Restart Rhino, activate Grasshopper > Maths > Script > select Python Script and drag the component to the Grasshopper screen. Now, the Python component is on the screen. 3. Double click the Python name area > find the Open Editor function and select it to open the Grasshopper Python Script Editor > load (or write) the Python file to the window. This could be done by copy and paste. 4. The data input methods used in Python are variable declarations. In Grasshopper, it is defined by number sliders or panels. Thus, we have to change the input method in the GHPython script, for instance, adding a number slider to dynamically control the x variable with range of 1<20<50 and link the slider output to the Python GH component s x input. 5. Meanwhile, change the statement of x = 24 on line number 5 as a comment. Result of this will let the Python understand that the data of the variable of x shall be obtained from the number slider mechanism. The default Python component input names of X and Y could be changed to match with the variable names used in Python codes. This could be done by moving the mouse on top of the X (for instance) and right click to change the name on the property window. 6. At this time, we also have to define the variable type of this x as an integer type. Otherwise, the GH will not be able to process the data. Methods of defining Python coding related variable type are the following: Page 3 (5/1/2016)
4 Arch534 Spring 2016 Right click x variable > Select Type Hint: Int > and Wire Display > Default. 7. Put another number slider, which is a floating number representing the variable of y. Connect the output of the slider to the input of y, which controls the number of 0.3 in the statement of id1 = rs.addcircle(pt, 0.3) on line number 12. So, replace the parameter of 0.3 in the id1 variable with y, as id1 = rs.addcircle(pt, y). 8. Add another variable of z by right click the Python text area > select the variable manager and add an extra variable of Z; or zoom to 500% of the screen to see the + - sign for adding variables. 9. This z variable controls the points y coordinate value on line# 11 (see the image below) as pt = (i, math.cos(i)/z, 0). 10. Add a variable of a on line# 19 as a=circles or a=radii (see the image below) to declare the output of GH component to see results. Then, click on the Test button on the lower left corner of the Editor and OK to complete the Python codes for GH component. (Note: whenever you want to run the Python codes, just click on the Test button.) Page 4 (5/1/2016)
5 S206E057 Spring 2016 Generating multiple outputs: 1. Divide the case of the last Python coding example to one circle GH component for showing circles. This is the first example of showing one output variable. 2. The second example of showing two output variables of circles and the center point of the circles (CenterPt). These two variables are defined outside of for loop and after the loop is completed, they are available for output. 3. The third example of output three variables to show the center point of the circle (controlptslist), the circle (circles), and the end point of the radius (controlptelist). 4. We could also combine all output units together to make the program more efficient. Methods are to define four variables of (circles, NorthLine, controlptslist and controlptelist) in Python script, operate the functions and statements, then define four output variables in GH component and name them correctly to see geometric results. (Note: the variable input, and execution output of Python codes through GH are more efficient than executing results directly in Python. Also, it is more easy to control the modeling behavior through customized Python coding in GH.) See the results in the following image. Page 5 (5/1/2016)
6 Arch534 Spring 2016 Example 2: Example of Extruding Rhino surfaces The concept is to explore the different interactions between Rhino model > Python, and Rhino model > Python GH. Here we have to also call another Rhino library names: Rhino.Geometry to be used in the coding. Result are shown on the right side of the picture. Steps of doing it are explained shortly below. Step 1: Generate a Rhino module a. Apply Surface Menu > Corner points to draw two surfaces. b. Use Boolean Difference to create holes on the surface. c. Draw a line, polylilne, or Curve > Free-form > Control points on Front view to represent the distance of extrusion. Either geometry should work fine. Step 2: Develop Python codes for extruding the surface There are two variables of curveobjs and extaxis applied here for saving the geometries of the surface and the extrusion line. After the script is done, then run the Python script to see the results. Codes will be exported to GH next. import Rhino.Geometry as rg curveobjs=rs.getobject("select faces to extend") extaxis = rs.getobject("select extension reference") Extrusion=rs.ExtrudeSurface(curveObjs,extaxis) Step 3: Python Grasshopper coding a. Insert a Python Script component in GH (put the following codes to the Python Script window). b. Set up GH parameters of BREP and Curve in GH, select the resulting boolean surface for BREP and the extension line for the Curve. c. Change the name of x and y input in GH to match the Python variable names of: curveobjs and extaxis, the input type will be set up as brep and curve automatically. d. Make the Python input code as comments (because we will apply GH input mechanisms), rename the output a as the variable name of ExtrudeSurface, see the last line below. Page 6 (5/1/2016)
7 S206E057 Spring 2016 import Rhino.Geometry as rg #curveobjs=rs.getobject("select faces to extend") #extaxis = rs.getobject("select extension reference") extrusion=rs.extrudesurface(curveobjs,extaxis) Note 1: if you received a run time error message of missing a guid for the curve or for the brep, it might be that the ID (represented by the guid) of the geometry was missed when the geometry was unappropriated selected. It will be called only once, and the way to resolve it is to erase the GH component and reinstall it again. Note 2: this is the simplest method of creating floor plane or solid surfaces directly from GH that runs your own python codes, which could be baked to Rhino as its own geometries. Results of the extrusion Example of loft curves to make surfaces: In this example, there are two curves. The intension is to apply AddLoftSrf to generate a face between these two curses. Here are the Python codes: import Rhino.Geometry as rg HEX1=rs.GetObject("Select the first curve ") HEX2=rs.GetObject("Select the second curve ") Surface = rs.addloftsrf((hex1,hex2))[0] The codes are converted to Python GH scripts as GH component with HEX1 and HEX2 variables accepting two Curve parameter inputs. The AddLoftSrf has the format of: rs.addloftsrf (object_ids, start=none, end=none ) In this example of rs.addloftsrf ((HEX1,HEX2))[0], 1. (HEX1,HEX2) is seen as a list, that has two members. This list of two members is also treated as the object_ids of the two curves. Page 7 (5/1/2016)
8 Arch534 Spring The [0] means the first element on the list, which is HEX1, shall be used as the starting curve element for the lofted object creation. In Python GH programming syntax, a pair of parenthesis (a,b) makes a tuple, whereas [a,b] makes a list. Tuples and lists are used in different situations and for different purposes. Tuples are immutable, and contain a heterogeneous sequence of elements that are accessed via unpacking or indexing. Lists are mutable and their elements are usually homogeneous and are accessed by iterating over the list. Applications: This loft function could be utilized to generate some simple organic forms in architectural design. F The Column GH component for running the Python codes. Footnote: After the objects were created, some would like to make the objects colorful through the function of ObjectColor. Of course, the function of ObjectColor is available in Python coding environment. But, it has difficulties to run it inside the Python GH script. From the Web page, information shows that it is currently impossible to assign colors (or material or layers) to Grasshopper objects because the Grasshopper SDK does not pass this information from an object to another. On the other hand, we could bake objects with a color or a layer into the Rhino document. This is an alternative solution. Expectation and requirements of the final project should check the assignment handout. Here are the summaries for your reference. -- Lectures covered this semester have three modules of Rhino modeling, GH algorithmic modeling and Python programming. Here are the outline of the expected final submission. 1. First level is to have the Rhino model completed for advanced level of parametric operation. Products are Rhino model files. 2. The second level is expected to use GH generate the entire Rhino model. Products would be the gy files. 3. Third level is expected to have at least one Python script done on generating one architectural form of your building. The program should be bug free with clear comments on side to explain the coding methods. Products are the py & gy files. 4. Complete the final with a project summary. Please load all the files to the server for grading. Page 8 (5/1/2016)
S206E Lecture 13, 5/22/2016, Grasshopper Math and Logic Rules
S206E057 -- Lecture 13, 5/22/2016, Grasshopper Math and Logic Rules Copyright 2016, Chiu-Shui Chan. All Rights Reserved. Interface of Math and Logic Functions 1. Basic mathematic operations: For example,
More informationS206E Lecture 16, 4/27/2018, Rhino 3D, Grasshopper & Architecture Modeling
Copyright 2018, Chiu-Shui Chan. All Rights Reserved. Create regular features on façade and form: S206E057 Spring 2018 Modeling panel features or structural components could be done by a few components
More informationS206E Lecture 17, 5/1/2018, Rhino & Grasshopper, Tower modeling
S206E057 -- Lecture 17, 5/1/2018, Rhino & Grasshopper, Tower modeling Copyright 2018, Chiu-Shui Chan. All Rights Reserved. Concept of Morph in Rhino and Grasshopper: S206E057 Spring 2018 Morphing is a
More informationS206E Lecture 15, 4/27/2018, Rhino 3D, Grasshopper, Shanghai Tower modeling
S206E057 -- Lecture 15, 4/27/2018, Rhino 3D, Grasshopper, Shanghai Tower modeling Copyright 2018, Chiu-Shui Chan. All Rights Reserved. Creation of high-rise building models has a typical algorithm, which
More informationS206E Lecture 22, 5/26/2016, Python and Rhino interface
S206E057 Spring 2016 Copyright 2016, Chiu-Shui Chan. All Rights Reserved. Rhino and Python interface: An example How to run Rhino model by executing Python programs? And what kind of information is needed
More informationS206E Lecture 5, 5/18/2016, Importing and Tracing Drawing Information
Copyright 2016, Chiu-Shui Chan. All Rights Reserved. S206E057 Spring 2016 2D information in the form of drawings can be brought into Rhino in two major ways. The first one is to import the actual digital
More informationLecture 4, 5/27/2017, Rhino Interface an overview
數字建築與城市设计 Spring 2017 Lecture 4, 5/27/2017, Rhino Interface an overview Copyright 2017, Chiu-Shui Chan. All Rights Reserved. This lecture concentrates on the use of tools, 3D solid modeling and editing
More informationSWITCHING FROM GRASSHOPPER TO VECTORWORKS
SWITCHING FROM GRASSHOPPER TO VECTORWORKS INTRODUCTION Graphical scripting allows you to build a parametric process that is powerful and easier to use than traditional programming. Its flow chart-like
More informationS206E Lecture 19, 5/24/2016, Python an overview
S206E057 Spring 2016 Copyright 2016, Chiu-Shui Chan. All Rights Reserved. Global and local variables: differences between the two Global variable is usually declared at the start of the program, their
More informationS206E Lecture 3, 5/15/2017, Rhino 2D drawing an overview
Copyright 2017, Chiu-Shui Chan. All Rights Reserved. S206E057 Spring 2017 Rhino 2D drawing is very much the same as it is developed in AutoCAD. There are a lot of similarities in interface and in executing
More informationAutodesk Inventor Design Exercise 2: F1 Team Challenge Car Developed by Tim Varner Synergis Technologies
Autodesk Inventor Design Exercise 2: F1 Team Challenge Car Developed by Tim Varner Synergis Technologies Tim Varner - 2004 The Inventor User Interface Command Panel Lists the commands that are currently
More informationSpiky Sphere. Finding the Sphere tool. Your first sphere
Spiky Sphere Finding the Sphere tool The Sphere tool is part of ShapeWizards suite called MagicBox (the other tools in the suite are Pursuit, Shell, Spiral). You can install all these tools at once by
More informationTutorial Second Level
AutoCAD 2018 Tutorial Second Level 3D Modeling Randy H. Shih SDC PUBLICATIONS Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit the following websites to learn
More information3 AXIS STANDARD CAD. BobCAD-CAM Version 28 Training Workbook 3 Axis Standard CAD
3 AXIS STANDARD CAD This tutorial explains how to create the CAD model for the Mill 3 Axis Standard demonstration file. The design process includes using the Shape Library and other wireframe functions
More informationSpring 2011 Workshop ESSENTIALS OF 3D MODELING IN RHINOCEROS February 10 th 2011 S.R. Crown Hall Lower Core Computer Lab
[1] Open Rhinoceros. PART 1 INTRODUCTION [4] Click and hold on the Boundary Lines in where they form a crossing and Drag from TOP RIGHT to BOTTOM LEFT to enable only the PERSPECTIVE VIEW. [2] When the
More informationSWITCHING FROM GRASSHOPPER TO VECTORWORKS
SWITCHING FROM GRASSHOPPER TO VECTORWORKS HOW TO PLACE A MARIONETTE NODE To use the Marionette tool in Vectorworks, you don t need to load a plug-in or work in a separate interface. The Marionette tool
More informationGenerating Vectors Overview
Generating Vectors Overview Vectors are mathematically defined shapes consisting of a series of points (nodes), which are connected by lines, arcs or curves (spans) to form the overall shape. Vectors can
More informationChapter 2: Rhino Objects
The fundamental geometric objects in Rhino are points, curves, surfaces, polysurfaces, extrusion objects, and polygon mesh objects. Why NURBS modeling NURBS (non-uniform rational B-splines) are mathematical
More informationAutodesk Inventor 2019 and Engineering Graphics
Autodesk Inventor 2019 and Engineering Graphics An Integrated Approach Randy H. Shih SDC PUBLICATIONS Better Textbooks. Lower Prices. www.sdcpublications.com Powered by TCPDF (www.tcpdf.org) Visit the
More informationThis is the opening view of blender.
This is the opening view of blender. Note that interacting with Blender is a little different from other programs that you may be used to. For example, left clicking won t select objects on the scene,
More informationINTRODUCTION // MODELING PROCESS COMPARISON
INTRODUCTION // MODELING PROCESS COMPARISON INTRODUCTION // MODELING PROCESS IN RHINO ROTATION AXIS PROFILE CRV - TYPE REVOLVE - HIT - PICK PROFILE CRV - HIT - PICK ROTATION AXIS - HIT - TYPE 0 AS START
More informationInventor 201. Work Planes, Features & Constraints: Advanced part features and constraints
Work Planes, Features & Constraints: 1. Select the Work Plane feature tool, move the cursor to the rim of the base so that inside and outside edges are highlighted and click once on the bottom rim of the
More information3D Design with 123D Design
3D Design with 123D Design Introduction: 3D Design involves thinking and creating in 3 dimensions. x, y and z axis Working with 123D Design 123D Design is a 3D design software package from Autodesk. A
More information4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again.
1) Select the line tool 3) Move the cursor along the X direction (be careful to stay on the X axis alignment so that the line is perpendicular) and click for the second point of the line. Type 0.5 for
More informationRHINO; AN INTRODUCTION + FAKING TRABECULAE; EndOfLine.info;
RHINO; AN INTRODUCTION + FAKING TRABECULAE; EndOfLine.info; Rhinoceros is a relatively simple program with an AUTOCAD based interface. The disadvantage of this type of interface is a series of terms need
More informationThis tutorial will take you all the steps required to import files into ABAQUS from SolidWorks
ENGN 1750: Advanced Mechanics of Solids ABAQUS CAD INTERFACE TUTORIAL School of Engineering Brown University This tutorial will take you all the steps required to import files into ABAQUS from SolidWorks
More informationCSC 110 Final Exam. ID checked
ID checked CSC 110 Final Exam Name: Date: 1. Write a Python program that asks the user for a positive integer n and prints out n evenly spaced values between 0 and 10. The values should be printed with
More information3D Modeler Creating Custom myhouse Symbols
3D Modeler Creating Custom myhouse Symbols myhouse includes a large number of predrawn symbols. For most designs and floorplans, these should be sufficient. For plans that require that special table, bed,
More informationParametric Modeling Design and Modeling 2011 Project Lead The Way, Inc.
Parametric Modeling Design and Modeling 2011 Project Lead The Way, Inc. 3D Modeling Steps - Sketch Step 1 Sketch Geometry Sketch Geometry Line Sketch Tool 3D Modeling Steps - Constrain Step 1 Sketch Geometry
More informationEnvelope Parametric Model using Grasshopper
Envelope Parametric Model using Grasshopper i Table of Contents Overview... 1 Learning Objectives... 1 Pre-requisites... 1 Glossary... 1 Tutorial... 2 1. Parametric Model Structure... 2 2. Drivers... 3
More informationGRASSHOPPER TUTORIAL 02 PERFORATED CURVATURE.
GRASSHOPPER TUTORIAL 02 PERFORATED CURVATURE www.exlab.org IDEA PERFORATED CURVATURE THIS TUTORIAL EXTENDS UPON TUTORIAL 01 BY CREATING A SIMPLE DEFINITION THAT ANALYSES THE CURVATURE OF A DOUBLY CURVED
More informationVerification of Laminar and Validation of Turbulent Pipe Flows
1 Verification of Laminar and Validation of Turbulent Pipe Flows 1. Purpose ME:5160 Intermediate Mechanics of Fluids CFD LAB 1 (ANSYS 18.1; Last Updated: Aug. 1, 2017) By Timur Dogan, Michael Conger, Dong-Hwan
More informationCOMPUTER AIDED ARCHITECTURAL GRAPHICS FFD 201/Fall 2013 HAND OUT 1 : INTRODUCTION TO 3D
COMPUTER AIDED ARCHITECTURAL GRAPHICS FFD 201/Fall 2013 INSTRUCTORS E-MAIL ADDRESS OFFICE HOURS Özgür Genca ozgurgenca@gmail.com part time Tuba Doğu tubadogu@gmail.com part time Şebnem Yanç Demirkan sebnem.demirkan@gmail.com
More informationCMPSCI 187 / Spring 2015 Implementing Sets Using Linked Lists
CMPSCI 187 / Spring 2015 Implementing Sets Using Linked Lists Due on Tuesday February 24, 2015, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI
More information1. Open up PRO-DESKTOP from your programmes menu. Then click on the file menu > new> design.
Radio Tutorial Draw your spatula shape by:- 1. Open up PRO-DESKTOP from your programmes menu. Then click on the file menu > new> design. 2. The new design window will now open. Double click on design 1
More informationSolidWorks Modeler Getting Started Guide Desktop EDA
SolidWorks Modeler Getting Started Guide SolidWorks Modeler Getting Started Guide All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical,
More informationIntroduction to Solid Modeling Parametric Modeling. Mechanical Engineering Dept.
Introduction to Solid Modeling Parametric Modeling 1 Why draw 3D Models? 3D models are easier to interpret. Simulation under real-life conditions. Less expensive than building a physical model. 3D models
More informationEach trainee receives the official 260 page courseware as part of attending this course.
Level 1 NURBS modelling with Rhino Course Outline This course is for anyone new, or nearly new, to Rhino. Recognised as THE introductory course for Rhino, all trainees receive an Official Certificate on
More informationRHINO SURFACE MAKING PART 1
TUTORIAL 04: RHINO SURFACE MAKING PART 1 By Jeremy L Roh, Professor of Digital Methods I UNC Charlotte s School of Architecture Surfaces are a key component in shaping 3D objects within Rhinoceros. All
More information15-110: Principles of Computing, Spring 2018
15-110: Principles of Computing, Spring 2018 Problem Set 5 (PS5) Due: Friday, February 23 by 2:30PM via Gradescope Hand-in HANDIN INSTRUCTIONS Download a copy of this PDF file. You have two ways to fill
More informationExercise Guide. Published: August MecSoft Corpotation
VisualCAD Exercise Guide Published: August 2018 MecSoft Corpotation Copyright 1998-2018 VisualCAD 2018 Exercise Guide by Mecsoft Corporation User Notes: Contents 2 Table of Contents About this Guide 4
More informationsolidthinking Environment...1 Modeling Views...5 Console...13 Selecting Objects...15 Working Modes...19 World Browser...25 Construction Tree...
Copyright 1993-2009 solidthinking, Inc. All rights reserved. solidthinking and renderthinking are trademarks of solidthinking, Inc. All other trademarks or service marks are the property of their respective
More informationSCENE FILE MANIPULATION SCENE FILE MANIPULATION GETTING STARTED MODELING ANIMATION MATERIALS + MAPPING RENDERING. Saving Files. Save.
SCENE FILE MANIPULATION SCENE FILE MANIPULATION There are several things you can do with a scene file in 3ds Max. You can save a file, save a file temporarily and retrieve it, and combine scene files.
More informationSpira Mirabilis. Finding the Spiral tool. Your first spiral
Spira Mirabilis Finding the Spiral tool The Spiral tool is part of ShapeWizards suite called MagicBox (the other tools in the suite are Pursuit, Shell, Sphere). You can install all these tools at once
More informationCase Study 1: Piezoelectric Rectangular Plate
Case Study 1: Piezoelectric Rectangular Plate PROBLEM - 3D Rectangular Plate, k31 Mode, PZT4, 40mm x 6mm x 1mm GOAL Evaluate the operation of a piezoelectric rectangular plate having electrodes in the
More informationCOS 116 The Computational Universe Laboratory 10: Computer Graphics
COS 116 The Computational Universe Laboratory 10: Computer Graphics As mentioned in lecture, computer graphics has four major parts: imaging, rendering, modeling, and animation. In this lab you will learn
More informationFeature-based CAM software for mills, multi-tasking lathes and wire EDM. Getting Started
Feature-based CAM software for mills, multi-tasking lathes and wire EDM www.featurecam.com Getting Started FeatureCAM 2015 R3 Getting Started FeatureCAM Copyright 1995-2015 Delcam Ltd. All rights reserved.
More informationCIS192 Python Programming. Robert Rand. August 27, 2015
CIS192 Python Programming Introduction Robert Rand University of Pennsylvania August 27, 2015 Robert Rand (University of Pennsylvania) CIS 192 August 27, 2015 1 / 30 Outline 1 Logistics Grading Office
More informationIntroduction to AutoCAD 2012
Introduction to AutoCAD 2012 Alf Yarwood Chapter 13 Exercise 1 1. Open AutoCAD 2012 with a double-click on its shortcut icon in the Windows desktop. 2. Open the template acadiso3d.dwt. 3. Make two new
More informationCS 051 Homework Laboratory #2
CS 051 Homework Laboratory #2 Dirty Laundry Objective: To gain experience using conditionals. The Scenario. One thing many students have to figure out for the first time when they come to college is how
More informationAutodesk Inventor - Basics Tutorial Exercise 1
Autodesk Inventor - Basics Tutorial Exercise 1 Launch Inventor Professional 2015 1. Start a New part. Depending on how Inventor was installed, using this icon may get you an Inch or Metric file. To be
More informationThis lab exercise has two parts: (a) scan a part using a laser scanner, (b) construct a surface model from the scanned data points.
1 IIEM 215: Manufacturing Processes I Lab 4. Reverse Engineering: Laser Scanning and CAD Model construction This lab exercise has two parts: (a) scan a part using a laser scanner, (b) construct a surface
More informationStrategy. Using Strategy 1
Strategy Using Strategy 1 Scan Path / Strategy It is important to visualize the scan path you want for a feature before you begin taking points on your part. You want to try to place your points in a way
More informationDgp _ lecture 2. Curves
Dgp _ lecture 2 Curves Questions? This lecture will be asking questions about curves, their Relationship to surfaces, and how they are used and controlled. Topics of discussion will be: Free form Curves
More information3D Slider Crank Tutorial (Professional)
3D Slider Crank Tutorial (Professional) Copyright 2018 FunctionBay, Inc. All rights reserved. User and training documentation from FunctionBay, Inc. is subjected to the copyright laws of the Republic of
More informationThis document shows you how to set the parameters for the ModuleWorks Material Removal Simulation.
Table of Contents Introduction:... 3 Select Profile:... 4 Tool Table - Create Tool(s)... 5 Tool properties:... 5 Tool Color R/G/B:... 6 Simulation Configurations - create stock... 7 What if plugin is greyed
More informationTRAINING SESSION Q3 2016
There are 6 main topics in this training session which is focusing on 3D Import and 2D Drawing Tips and Tricks in IRONCAD. Content 3D modeling kernels... 2 3D Import... 3 Direct Face Modeling... 5 Unfold
More informationPython Basics. Lecture and Lab 5 Day Course. Python Basics
Python Basics Lecture and Lab 5 Day Course Course Overview Python, is an interpreted, object-oriented, high-level language that can get work done in a hurry. A tool that can improve all professionals ability
More informationChapter 12: Pull Toy - Solids and Transforms
This tutorial demonstrates using solid primitives and simple transforms. You will learn how to: Enter coordinates to place points exactly. Draw a free-form curve and polygon. Create a pipe along a curve.
More informationSWITCHING FROM RHINO TO VECTORWORKS
SWITCHING FROM RHINO TO VECTORWORKS INTRODUCTION There are a lot of 3D modeling software programs to choose from and each has its own strengths and weaknesses. For architects, flexibility and ease of use
More informationECE 480: Design Team #9 Application Note Designing Box with AutoCAD
ECE 480: Design Team #9 Application Note Designing Box with AutoCAD By: Radhika Somayya Due Date: Friday, March 28, 2014 1 S o m a y y a Table of Contents Executive Summary... 3 Keywords... 3 Introduction...
More informationSketching Data
Sketching Data 101010001010 Carson Smuts - GSAPP 2013 This document outlines the core principles behind Parametric and Algorithmic computation. What has become evident is that users tend to learn as much
More informationSolid Problem Ten. In this chapter, you will learn the following to World Class standards:
C h a p t e r 11 Solid Problem Ten In this chapter, you will learn the following to World Class standards: 1. Sketch of Solid Problem Ten 2. Starting a 3D Part Drawing 3. Modifying How the UCS Icon is
More informationDice in Google SketchUp
A die (the singular of dice) looks so simple. But if you want the holes placed exactly and consistently, you need to create some extra geometry to use as guides. Plus, using components for the holes is
More informationTOOLPATHS TRAINING GUIDE. Sample. Distribution. not for MILL-LESSON-4-TOOLPATHS DRILL AND CONTOUR
TOOLPATHS TRAINING GUIDE MILL-LESSON-4-TOOLPATHS DRILL AND CONTOUR Mill-Lesson-4 Objectives You will generate a toolpath to machine the part on a CNC vertical milling machine. This lesson covers the following
More informationGDL Toolbox 2 Reference Manual
Reference Manual Archi-data Ltd. Copyright 2002. New Features Reference Manual New Save GDL command Selected GDL Toolbox elements can be exported into simple GDL scripts. During the export process, the
More informationSolid Modeling: Part 1
Solid Modeling: Part 1 Basics of Revolving, Extruding, and Boolean Operations Revolving Exercise: Stepped Shaft Start AutoCAD and use the solid.dwt template file to create a new drawing. Create the top
More informationLAB # 2 3D Modeling, Properties Commands & Attributes
COMSATS Institute of Information Technology Electrical Engineering Department (Islamabad Campus) LAB # 2 3D Modeling, Properties Commands & Attributes Designed by Syed Muzahir Abbas 1 1. Overview of the
More informationModule 4B: Creating Sheet Metal Parts Enclosing The 3D Space of Right and Oblique Pyramids With The Work Surface of Derived Parts
Inventor (5) Module 4B: 4B- 1 Module 4B: Creating Sheet Metal Parts Enclosing The 3D Space of Right and Oblique Pyramids With The Work Surface of Derived Parts In Module 4B, we will learn how to create
More informationEssential Mathematics for Computational Design
Essential Mathematics for Computational Design, Third edition, by Robert McNeel & Associates, 2013 is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License. ii Preface Essential
More informationInput CAD Solid Model Assemblies - Split into separate Part Files. DXF, IGES WMF, EMF STL, VDA, Rhino Parasolid, ACIS
General NC File Output List NC Code Post Processor Selection Printer/Plotter Output Insert Existing Drawing File Input NC Code as Geometry or Tool Paths Input Raster Image Files Report Creator and Designer
More informationCAD Tutorial 23: Exploded View
CAD TUTORIAL 23: Exploded View CAD Tutorial 23: Exploded View Level of Difficulty Time Approximately 30 35 minutes Starter Activity It s a Race!!! Who can build a Cube the quickest: - Pupils out of Card?
More informationCreating T-Spline Forms
1 / 28 Goals 1. Create a T-Spline Primitive Form 2. Create a T-Spline Revolve Form 3. Create a T-Spline Sweep Form 4. Create a T-Spline Loft Form 2 / 28 Instructions Step 1: Go to the Sculpt workspace
More informationSpring Semester 11 Exam #1 Dr. Dillon. (02/15)
Spring Semester 11 Exam #1 Dr. Dillon. (02/15) Form 1 A Last name (printed): First name (printed): Directions: a) DO NOT OPEN YOUR EXAM BOOKLET UNTIL YOU HAVE BEEN TOLD TO BEGIN. b) You may use one 8.5"
More informationPart 6b: The effect of scale on raster calculations mean local relief and slope
Part 6b: The effect of scale on raster calculations mean local relief and slope Due: Be done with this section by class on Monday 10 Oct. Tasks: Calculate slope for three rasters and produce a decent looking
More information3 Polygonal Modeling. Getting Started with Maya 103
3 Polygonal Modeling In Maya, modeling refers to the process of creating virtual 3D surfaces for the characters and objects in the Maya scene. Surfaces play an important role in the overall Maya workflow
More informationTable of contents 2 / 117
1 / 117 Table of contents Welcome... 4 System requirements... 5 Getting help... 6 Commands... 7 Primitives... 10 Plane... 11 Box... 13 Torus... 15 Cylinder... 18 Sphere... 20 Ellipsoid... 22 Cone... 24
More informationSWITCHING FROM SKETCHUP TO VECTORWORKS
SWITCHING FROM SKETCHUP TO VECTORWORKS INTRODUCTION There are a lot of 3D modeling software programs to choose from and each has its own strengths and weaknesses. For architects, flexibility and ease of
More informationLesson 17 Shell, Reorder, and Insert Mode
Lesson 17 Shell, Reorder, and Insert Mode Figure 17.1 Oil Sink OBJECTIVES Master the use of the Shell Tool Reorder features Insert a feature at a specific point in the design order Create a Hole Pattern
More informationCreate a Rubber Duck. This tutorial shows you how to. Create simple surfaces. Rebuild a surface. Edit surface control points. Draw and project curves
Page 1 of 24 Create a Rubber Duck This exercise focuses on the free form, squishy aspect. Unlike the flashlight model, the exact size and placement of the objects is not critical. The overall form is the
More informationData Handing in Python
Data Handing in Python As per CBSE curriculum Class 11 Chapter- 3 By- Neha Tyagi PGT (CS) KV 5 Jaipur(II Shift) Jaipur Region Introduction In this chapter we will learn data types, variables, operators
More informationSketchUp + Google Earth LEARNING GUIDE by Jordan Martin. Source (images): Architecture
SketchUp + Google Earth LEARNING GUIDE by Jordan Martin Source (images): www.sketchup.com Part 1: Getting Started with SketchUp GETTING STARTED: Throughout this manual users will learn different tools
More informationLesson 1: Creating T- Spline Forms. In Samples section of your Data Panel, browse to: Fusion 101 Training > 03 Sculpt > 03_Sculpting_Introduction.
3.1: Sculpting Sculpting in Fusion 360 allows for the intuitive freeform creation of organic solid bodies and surfaces by leveraging the T- Splines technology. In the Sculpt Workspace, you can rapidly
More informationComputer Graphics Fundamentals. Jon Macey
Computer Graphics Fundamentals Jon Macey jmacey@bournemouth.ac.uk http://nccastaff.bournemouth.ac.uk/jmacey/ 1 1 What is CG Fundamentals Looking at how Images (and Animations) are actually produced in
More informationfor ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1
ArcSketch User Guide for ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1 ArcSketch allows the user to quickly create, or sketch, features in ArcMap using easy-to-use
More informationAdobe Illustrator CS5 Part 2: Vector Graphic Effects
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Adobe Illustrator CS5 Part 2: Vector Graphic Effects Summer 2011, Version 1.0 Table of Contents Introduction...2 Downloading the
More informationCIS192: Python Programming
CIS192: Python Programming Introduction Harry Smith University of Pennsylvania January 18, 2017 Harry Smith (University of Pennsylvania) CIS 192 Lecture 1 January 18, 2017 1 / 34 Outline 1 Logistics Rooms
More informationQUICK-START TUTORIALS
PUERMC02_0132276593.QXD 08/09/2006 06:05 PM Page 83 QUICK-START TUTORIALS Chapter Objectives Create two real 3D modeling projects, starting them from scratch. Know the difference between representing 3D
More informationAnimation Basics. Learning Objectives
Animation Basics Learning Objectives After completing this chapter, you will be able to: Work with the time slider Understand animation playback controls Understand animation and time controls Morph compound
More informationTUTORIAL 07: RHINO STEREOTOMIC MODELING PART 2. By Jeremy L Roh, Professor of Digital Methods I UNC Charlotte s School of Architecture
TUTORIAL 07: RHINO STEREOTOMIC MODELING PART 2 By Jeremy L Roh, Professor of Digital Methods I UNC Charlotte s School of Architecture This tutorial will explore the Stereotomic Modeling Methods within
More informationGstarCAD Complete Features Guide
GstarCAD 2017 Complete Features Guide Table of Contents Core Performance Improvement... 3 Block Data Sharing Process... 3 Hatch Boundary Search Improvement... 4 New and Enhanced Functionalities... 5 Table...
More informationModule 4A: Creating the 3D Model of Right and Oblique Pyramids
Inventor (5) Module 4A: 4A- 1 Module 4A: Creating the 3D Model of Right and Oblique Pyramids In Module 4A, we will learn how to create 3D solid models of right-axis and oblique-axis pyramid (regular or
More informationHands on practices on products and applications.
Hands on practices on products and applications. Karol Paradowski Senior Specialist Institute of Geodesy and Cartography Modzelewskiego 27 Street 02-679 Warsaw Poland karol.paradowski@igik.edu.pl www.igik.edu.pl
More informationNURBS Sailboat on Ocean (Modeling/Animation)
Course: 3D Design Title: NURBS Sailboat Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (April 2013) NURBS Sailboat on Ocean (Modeling/Animation) The objective of this PDF
More information1 awea.com.m y
1 www.mawea.com.m y 2 www.mawea.com.m y Announcement (1.0) (1.1) LUM END of Support The support of LUM licensing technology was end on December 31 st 2013. This technology had been replaced by DSLS which
More informationDave s Phenomenal Maya Cheat Sheet Polygon Modeling Menu Set By David Schneider
Dave s Phenomenal Maya Cheat Sheet Polygon Modeling Menu Set By David Schneider POLYGONS NURBS to Polygons This allows the user to change the objects created with NURBS into polygons so that polygon tools
More informationSketchUp Tool Basics
SketchUp Tool Basics Open SketchUp Click the Start Button Click All Programs Open SketchUp Scroll Down to the SketchUp 2013 folder Click on the folder to open. Click on SketchUp. Set Up SketchUp (look
More informationVisual 2012 Help Index
Visual 2012 Help Index Absolute Coordinates 2.1 Cartesian Coordinates Aim 7.4.3 Place and Aim Luminaires 7.4.4 Reaiming Luminaires Align Cursor and Plane to Current View 9.6 Align to View Align Cursor
More informationGraphics Pipeline 2D Geometric Transformations
Graphics Pipeline 2D Geometric Transformations CS 4620 Lecture 8 1 Plane projection in drawing Albrecht Dürer 2 Plane projection in drawing source unknown 3 Rasterizing triangles Summary 1 evaluation of
More informationImages from 3D Creative Magazine. 3D Modelling Systems
Images from 3D Creative Magazine 3D Modelling Systems Contents Reference & Accuracy 3D Primitives Transforms Move (Translate) Rotate Scale Mirror Align 3D Booleans Deforms Bend Taper Skew Twist Squash
More information