how can i model such a plot in solidworks.
this plot what created using a mathematical formula ,demonstrated in matlab.
There are two options that immediately come to mind that could help accomplish this. The first, and probably easier of the two, is to use Excel to plot this equation into cartesian coordinates (x,y) and use the Curve Through XYZ Points command (found under 'Insert', 'Curve') to plot the resulting X/Y data.
Otherwise, if you wish to use a sketch equation you would need to transform this equation into a y(x) function or two parametric x(t) and y(t) functions to input into the definition of an Equation Drive Curve (found under 'Tools', 'Sketch Entities') in a sketch.
Helo Ryan,this plot is an intersection of 3 lines
i would like to create a 3D model out of this contour
we need to fill the line area inside and give it a 1mm width.
how can i do it?
Once you have been able to generate the contours in the program you could use a 'Fill' surface (found under 'Insert', 'Surface') to select the two contours and create a surface between them. If the contours do not connect on both ends to make a closed contour you may want to create a sketch entity to close the contour before using 'Fill' surface.
Once you have a surface you can use 'Thicken' (found under 'Insert', 'Boss/Base') to transform your surface into a solid with a thickness of 1mm.
Good call. You could also project them on any given surface, then trim away whatever was outside. It might be less flaky, especially if there is a third dimension to this, as the OP implies.
hello Ryan i was able to draw the contour of the shape in MATLAB
could you tel me how could i plot mathetical contour in sold works?
SolidWorks can't handle polar coordinates. You would need to run a conversion on these equations to change them into cartesian equations or output raw X/Y data points before you could plot this in SolidWorks.
no problem,i can convert into cartesian coordinated .
where in solid works i need to input the Cartesian formula?
so i would do Fill afterwards
You would input into the cartesian equation into an Equation Drive Curve (found under 'Tools', 'Sketch Entities') inside a sketch.
Hello Ryan i have extracted to Cartesian coordinates and arranged and sorted in ascending X- axes order excel as shown in the attached photos, i excel it gives me the needed shape,what should i do.
From the chart of your data it looks like the data close to x=0 is very coarse and may not describe the path enough for the program to accurately create the curve. If it has to interpolate the curve off this it may make an intersecting curve like the warning states. You may take more data points in that region specifically and see if it helps smooth the curve out so it does not self-intersect.
Adding the Ryan,
if you don't want to create a model 100% matching your profile, you can insert your image into the sketch and use spline to trace the profile
Assuming alpha and tau are constants, this is an equation in a plane. What is the third dimension component? Let me know and I'll send you back a model.
If assuming alpha and tau are constants the plot will be similar to:
To create 3D surface we need to know limits for arguments. And keep in mind: ln(0) is undefined (is negative infinity).
That's not right. This is in polar coordinates. you've plotted it in Cartesian coordinates without converting it.
Also, wouldn't it be f(x) = sin(ln(x))?
To me the whole topic modelig a mathematical function looks more like a joke than a real question...
ln (0) =-infinity in any coordinate systems no matter what.
Or is alpha actually supposed to be theta in this figure?
The 3D plot of math function may has no sense for SW.
This is how it looks the 3D surface in Maple.
Limits for variables: 1.5<angle<2pi; 1.1<r<2pi:
Self intersection surface is shown. No way for SW to handle it, sorry.
Or, for different limits: .3<angle<.5; .2<t<pi/2:
This oscillation will crash SW at once...
Conclusion: SW is not supposed to handle 3D objects shown above (except for very narrow limits of variables).
Retrieving data ...