Jump to content

Recommended Posts

Posted

Can anyone be able to draw the curve similar with such as the attached image in AutoCAD 2012/2013?

 

If yes, can you please show it to me?

 

Thank you

curve1.jpg

Posted

The curve looks parabolic.

 

Draw a horizontal line from A to the right. Draw a vertical line up from B. Fillet (Radius = 0} the lines to form a corner.

 

Start the SPLINE command, Method=CV, Degree=2. Snap to A, the filleted corner, then B.

Posted

... also seems 1/4 ellipsoid xy+

 

% matlab

a=00.01;

b=0.005;

L=3;

x1=linspace(0,L/3)

x2=linspace(L/3,L)

u1=-a*ones(size(x1))

u2=3*a-(((b^2)/a)*(x2.^2))

x=[x1,x2]

u=[u1,u2]

area(u,'Displayname','u');figure(gcf)

xlabel('x')

ylabel('u(x)')

% end

 

have fun

Posted
Trajectory Superimposed.jpgWell, I was leaning toward a parabolic path, but even it does not seem to be a perfect fit. It looks like a non-ideal trajectory, but still very closely approximated by a parabola. In the figure, I superimposed an elliptical section in green and a parabolic section in red. Obviously, I could not be precise, as the image is imprecise. Still, this should be close enough to get the idea. Note that "ellipsoidal" refers to 3D, not 2D.
Posted
... also seems 1/4 ellipsoid xy+
Were you suggesting that your posted code can be applied directly to AutoCAD? If so, how? Also, if you consider the posted path to be elliptical, why would you not just recommend the Ellipse command?
Guest AARi
Posted (edited)

parabola.JPG

 

..well you can use bezier curve, splines, ellips... commands in AutoCad

or use a specific math soft. to draw functions

 

MatLab, Octave or SciLab.. then import into autocad as imag and redraw it

.... Octave or SciLab are open sources.

 

let me some time to study optional modulus to xport/import as .dxf into autocad

and.. may be someone can write a script directly

Edited by AARi
Posted

Does parabolic curve will perfect fit as my attached image?

Guest AARi
Posted (edited)

spincad...

there are curves functions as stars in the sky

have a look this one y=f(x)=-h*((x/b)^2)

or [n>0] y=f(x)=-h*((x/b)^n)

..

if you have at least a three points of the curve (see coordinates x-y), then calculate if all three fit the equation function

so this will be the function than you are looking for..

 

they are not linear function,they are cuadratic or cubic or..or... curves

should be better if you let me know for what you need that curve (is something aprox. or have to be something exactly like representation of strain, strees, axial forces, road slope.....)

 

SciLab is free soft. [150mb]. And suppose, have to be a portable version

Edited by AARi
updates
Posted
The curve looks parabolic.

 

Draw a horizontal line from A to the right. Draw a vertical line up from B. Fillet (Radius = 0} the lines to form a corner.

 

Start the SPLINE command, Method=CV, Degree=2. Snap to A, the filleted corner, then B.

 

It is a quadratic Bezier curve and it does not prefect fit.

Posted
It is a quadratic Bezier curve and it does not prefect fit.
Correct. Though the fit is pretty close.

 

If you need something closer use a FIT spline with as many points as necessary.

Posted
Correct. Though the fit is pretty close.

 

If you need something closer use a FIT spline with as many points as necessary.

Sounds right. And shouldn't this method work for any curve he wishes to draw?
Posted

Yes. If a curve is not linear or circular, a FIT spline is a good choice.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...