55 views

Uploaded by Subhi Mohamad

assignment and solution for cad/cam subject

- Hardness Test Lab Report.pdf
- Rockwell Hardness Test
- Surface Roughness
- CMM
- 11 Secant Angles
- IB CHALLENGE - Differentiation
- Noobtuts - Unity 2D Plants Vs
- AP Calculus BC Test1
- Simple circular curve and its setting out By D.M Siddique
- Pure Maths 2013 Specimen Paper Unit 1 Paper 2
- SAMPLE-X3 Handbook Volume 1
- Curvilinear Coordinates
- Ghosh Support Functions
- Integration Set 1
- TSMM1013 SmartMarine 3D Offshore Modeling 2_CoordinateSystems
- Concepts of Calc 3
- rptIpPrintNew.pdf
- Polygon Table Meshes
- AO January 2008 Paper 1
- Insight 2013 Mathematical Methods Examination 2

You are on page 1of 15

WORK BOOK Part 2a

Semester 1, 2012/2013

October 2012

PROBLEM A:HERMITE CURVE

Based on Figure 26,

is a

"1", u = 1.

Construct a Hermite Curve connecting both points with the vectors value are shown below:

SOLUTION:

Hermite Curve is constructed based on the following Equation:

Create the Table below. Column A contain value of u from 0 to 1 increase by 0.1. Column B

to M are filled with the vectors value (same for each row). Excel can be used to make the

calculation easier.

N2 = (1-3*A2^2+2*A2^3)*B2+(3*A2^2-2*A2^3)*E2 + (A2-2*A2^2+A2^3)*H2 + (A2^3A2^2)*K2

Fill in the other cells in Column N by double click cell N2 (if using MS-Excel)

O2 = (1-3*A2^2+2*A2^3)*C2+(3*A2^2-2*A2^3)*F2 + (A2-2*A2^2+A2^3)*I2 + (A2^3A2^2)*L2

Fill in the other cells in Column O by double click cell O2.

Since this is a 2D problem, z values (column P) are zero.

The first and the last X,Y data (highlighted) MUST be the same with the first and second

point respectively.

Draw a Hermite Curve MANUALLY using X, Y data result as shown in the Table above. On

the same graph, draw both of the tangential vectors. Produce EXACTLY THE SAME

GRAPH as example shown below.

PROBLEM B: BEZIER CURVE

Four control points are defined as shown in Figure 28.

where

SOLUTION

Definition of Bezier Curve:

Create the Table below. Column B contain value of u from 0 to 1 increase by 0.1. Column C

to N are filled with the control points (same for each row). Excel can be used to make the

calculation easier.

Formula of cell O5 and P5 are as follows

O5 = C5*(1-B5)^3+F5*3*B5*(1-B5)^2+I5*3*(B5^2)*(1-B5)+L5*B5^3

Fill in the other cells in Column O by double click cell O5 (if using MS-Excel)

P5 = D5*(1-B5)^3+G5*3*B5*(1-B5)^2+J5*3*(B5^2)*(1-B5)+M5*B5^3

Fill in the other cells in Column P by double click cell P5.

Since this is a 2D problem, z values (column P) are zero.

The first and the last x(u), y(u) data (highlighted) MUST be the same with the first and last

control point respectively.

Draw a Bezier Curve MANUALLY using x(u), y(u) data result as shown in the Table above.

Produce EXACTLY THE SAME GRAPH as example shown below.

ASSIGNMENT 5: CURVES

1. Based on the previous example, Construct a Hermite Curve connecting both points

with the vectors value are shown below:

2. Based on the previous example, Construct a Bezier Curve from 4 control points as

follow:

MEC 3109 CAD/CAM

ASSIGNMENT 5

CURVES

Name:

Matric:

Section:

October 2012

TRANSFORMATION

PROBLEM: 2D TRANSFORMATION

New Working Coordinate System (WCS) is obtained from Model Coordinate System (MCS)

after translation (2 unit in X direction and 1 unit in Y direction) and rotation (30O CCW) as

shown in Figure 30.

(1) Define the Transformation Matrix.

(2) A point (3, 1.5) in WCS, equal to what coordinate in MCS?

SOLUTION:

Translation

Rotation

Total Transformation

So for a point (x,y,z) in WCS, its coordinates (x*,y*,z*) in the MCS is obtained:

,

The result is shown in the Figure below

10

PROBLEM: 3D TRANSFORMATION

In this example, obtaining WCS1 is simpler as it involves translation from point D to point E,

and a rotation CW around X. However obtaining WCS2 involves translation from point D to

point B, rotation CCW around Y, and rotation CW around X.

If AD = AE = 10, AB=15, and = 60O. If Point I is centre point of the inclined circle and

located in the centre of rectangle BCGF, define its location based on WCS2 and MCS.

SOLUTION:

Based on WCS2, Location of point I is half of BC in X2 direction, half of BF in Y2 direction

and 0 in Z2 direction. BC = AD = 10 while BF = EA/sin = 10/sin(60)=11.55. Therefore, the

coordinate of point I is (5, 5.77, 0)

11

Translation from point D to point B, the transformation matrix is:

12

Total Transformation is

[T] = [D][Ry][Rx]CW

13

MEC 3109 CAD/CAM

ASSIGNMENT NO 6

TRANSFORMATION

Name:

Matric:

Section:

October 2012

14

ASSIGNMENT 6: TRANSFORMATION

One MCS and three WCS are shown in Figure 32. Plane GHIF has 30O inclination from

plane CDHG. Length OA=CG=10, AD=AB=20, BE=30. MCS (X-Y-Z) is a Model

Coordinate System, WCS1 (X1-Y1-Z1), WCS2 (X2-Y2-Z2), WCS3 (X3-Y3-Z3) are Working

Coordinate Systems.

a) Define Transformation Matrix of WCS1

b) Define Transformation Matrix of WCS3

c) If Point J (centre of the first circle) is located at 10,10 based on WCS1, what is its location

based on MCS?

d) If Point K (centre of the second circle) is located at 10,10 based on WCS3, what is its

location based on MCS?

15

- Hardness Test Lab Report.pdfUploaded byKalKatu MaLam
- Rockwell Hardness TestUploaded byinnocentsoul
- Surface RoughnessUploaded bynajieyuya
- CMMUploaded byAkash Patel
- 11 Secant AnglesUploaded byAnwar Hossain
- IB CHALLENGE - DifferentiationUploaded bymakunjap
- Noobtuts - Unity 2D Plants VsUploaded byAan Vorkstyle
- AP Calculus BC Test1Uploaded byYong Luo
- Simple circular curve and its setting out By D.M SiddiqueUploaded byRazi Baig
- Pure Maths 2013 Specimen Paper Unit 1 Paper 2Uploaded byVanoiMariaStylesWilkinson
- SAMPLE-X3 Handbook Volume 1Uploaded byKris Crazzy
- Curvilinear CoordinatesUploaded byYang Cao
- Ghosh Support FunctionsUploaded bykostya_4524
- Integration Set 1Uploaded byHayati Aini Ahmad
- TSMM1013 SmartMarine 3D Offshore Modeling 2_CoordinateSystemsUploaded byTiến Lượng Nguyễn
- Concepts of Calc 3Uploaded byJohn Schrage
- rptIpPrintNew.pdfUploaded byHasrat Sheikh
- Polygon Table MeshesUploaded byShaurya Kapoor
- AO January 2008 Paper 1Uploaded byrajdeepghai5607
- Insight 2013 Mathematical Methods Examination 2Uploaded bynochnoch
- Applications MATH 24 Part 1Uploaded byIanGeneroso
- Denavit Hartenberg ConventionUploaded byshobri49
- h03ste10Uploaded byАрхи́п
- Cad CommandsUploaded byasdf
- Fg 201701Uploaded byNeel Chakraborty
- Calculus Free Derivatives of Sine and CosineUploaded byNikhil Pallamreddy
- Laporan AdeUploaded byRobbyPratama
- Using-1Uploaded bytt3340
- ExamFW12Uploaded byFrank Li 李岳洋
- TES ParkingUploaded byhamza

- 12. Distributed DBMS Reliability - 3 of 3[Good]Uploaded byLakhveer Kaur
- TD.docUploaded bysophia khan
- Kota Lama Semarang: Urban Heritage Preservartion in the Perspective of 'Smart Planning'Uploaded byPUSTAKA Virtual Tata Ruang dan Pertanahan (Pusvir TRP)
- Challenges of NGOization and Dreams of SangtinUploaded byTigersEye99
- N64 Roms List 26-01-2013Uploaded byJuan Sebastian Sard Cristi
- JEDI Slides-3.1 Requirements Engineering ConceptsUploaded byStef Shi
- A usability evaluation of iTunes using Jakob Nielsen's heuristicsUploaded bykazkiely
- AdvCourseOutlineUploaded byEd Pawliw
- Dynamic TextilesUploaded byDr. S. P. Mishra
- 6.IPSO - Installing a New Image Using BootmgrUploaded bynagendra_badam
- Algebra Tips PDFUploaded byAkki_Vaghela
- APAME 2017 Invitation Jeong-Wook SEOUploaded byMs. Rachel Samson
- ads1293-uCUploaded byAnonymous EDt70JASW
- STRONG-MOTION PARAMETERS: DEFINITION, USEFULNESS AND PREDICTABILITYUploaded bySadeghMahmoudkhani
- resume victoryUploaded byapi-315634054
- ChromatographyUploaded byMATHANKUMAR.S
- Web Grabber Pp t NewUploaded byDhishna Devadas
- Ch NonunifrngUploaded bybing miranda
- Low-Noise DC Seismic AccelerometerUploaded bysuysuy00
- ps01Uploaded byKunalPandey
- Mukta Bodha html filesUploaded bysivanayak
- Plain Text TestUploaded byrex5485-1
- Technological UnemploymentUploaded byAniket Singh Kashyap
- ingestion_layer.pdfUploaded byAnonymous 3OMRz3VC
- Ocular Inspection ReportUploaded byDan Emmanuel R. Ventura
- Handbook on the Physics and Chemistry of Rare Earths Vol. 10.pdfUploaded byNilmar Camilo
- Hope Bay Phase 2, Plain Language SummaryUploaded byNunatsiaqNews
- MAX HEINDELL –THE ROSICRUCIAN FELLOWSHIPUploaded byANTHONY WRITER
- Prathibha RohitUploaded byFiy Jannatin Aliyah
- Metaphor: Imagery Devices Used by Morgan to Describe Organizations as Culture and Psychic PrisonsUploaded byjhunt