Sie sind auf Seite 1von 16

PROJECT – I

Modelling Of Beam

Prepared By:
Jay Patel 2019MEM2888
Vishal Kumar 2019MEM2851
Profile Curves :

Profile-
Cubic-Spline curves Straight-Section

Bezier-Curve
Profile Generation
Cubic Spline : A cubic spline is a spline constructed of piecewise third-order polynomials
which pass through a set of control point.

Command used for generation of Cubic Spline in MATLAB:

cs = csapi(xi,yi,xx);
xi =X-coordinate vector of control point.
yi =Y-coordinate vector of control point.
xx =Intermidates point in X-coordinates.
cs =Give value of cubic spline for given xx.

Steps used for generation of Cubilc Spline in Solidworks:

Generate control Point—Select ‘sweep’—Select Control point


Straight Section: Connect two control point by straight line segment.

Command for Straight Section in MATLAB:

Plot(x,y,’—r’);
x = X-coordinate of control point
y = Y-coordinate of control point

Steps used in solidwork to create straight section:

Generate control point—Select line—Select Control Point


Bezier Curve: A Bezier curve is a parametric curve uses the Bernstein polynomial as a basis.

Command used for generation Bezier curve in MATLAB:


B= bernsteinMatrix(n-1,u);
Beziercuvre=simplify(B*p);

p = Control points
u = Parametric Variabel
n-1 = Degree of Polynomial

Steps used in Solid-works to generate Bezier curve:

Generate control points—Select Sweep-option—Select Bezier Curve—Select Control Point


C1 – Continuity : The first derivatives, or tangents, are identical (in addition to C0 continuity).
The tangents of curves and surfaces are vectors,
So both the magnitude and direction of the tangent vectors must be identical.
Profile in MATLAB:
Command used for modelling of beam in MATLAB:

Surf(X,Y,Z):- Creates a three dimensional surface plot. The function plots the
values in matrix Z as heights above a grid in x-y plane defined by
X and Y.

Patch(X,Y,Z,C):- Creates the polygons in 3-D coordinates using X,Y and Z.


To view the polygons in a 3-D view, use the view(3) command.
C determines the polygon colours.

View (az,el):- Set the viewing angle for a three–dimensional plot.

az :- The azimuth, is the horizontal rotation about the Z-axis as measured in


degrees from the negative y-axis.
el :- el is the vertical elevation of the viewpoint in degrees.
MATLAB CODE:-
Isometric-View

MATLAB SOLID-WORK
Front-View

MATLAB Solid-Works
Top-View

MATLAB Solid-Works
Side-View

MATLAB Solid-Work
Solid-work Sheet:
References:
http://www-isl.ece.arizona.edu/ACIS-docs/HTM/DATA/ACIS/FCG/03MATH/0003.HTM

http://mathworld.wolfram.com/CubicSpline.html

http://web.mit.edu/hyperbook/node12.html

https://en.ppt-online.org/337205
THANK YOU

Das könnte Ihnen auch gefallen