
Re: modelig a mathematical function
Ryan Dark Feb 15, 2017 4:04 PM (in response to Lina Pol)Hi Lina,
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.

Re: modelig a mathematical function
Lina Pol Feb 15, 2017 4:13 PM (in response to Ryan Dark)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?
thanks

Re: modelig a mathematical function
Ryan Dark Feb 15, 2017 5:23 PM (in response to Lina Pol)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.

Re: modelig a mathematical function
Mike Pogue Feb 15, 2017 5:38 PM (in response to Ryan Dark)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.

Re: modelig a mathematical function
Lina Pol Feb 16, 2017 3:48 PM (in response to Ryan Dark)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?
Thanks

Re: modelig a mathematical function
Ryan Dark Feb 16, 2017 3:52 PM (in response to Lina Pol)Hi Lina,
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.

Re: modelig a mathematical function
Lina Pol Feb 16, 2017 4:15 PM (in response to Ryan Dark)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
Thanks

Re: modelig a mathematical function
Ryan Dark Feb 16, 2017 4:33 PM (in response to Lina Pol)You would input into the cartesian equation into an Equation Drive Curve (found under 'Tools', 'Sketch Entities') inside a sketch.


Re: modelig a mathematical function
Ryan Dark Feb 17, 2017 11:05 AM (in response to Lina Pol)Lina,
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 selfintersect.








Re: modelig a mathematical function
Christian Chu Feb 15, 2017 4:17 PM (in response to Ryan Dark)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


Re: modelig a mathematical function
Mike Pogue Feb 15, 2017 5:35 PM (in response to Lina Pol)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.

Re: modelig a mathematical function
Vladimir Urazhdin Feb 15, 2017 9:54 PM (in response to Mike Pogue)
Re: modelig a mathematical function
Mike Pogue Feb 16, 2017 12:18 PM (in response to Vladimir Urazhdin)That's not right. This is in polar coordinates. you've plotted it in Cartesian coordinates without converting it.

Re: modelig a mathematical function
Mike Pogue Feb 16, 2017 12:22 PM (in response to Mike Pogue)Also, wouldn't it be f(x) = sin(ln(x))?

Re: modelig a mathematical function
Vladimir Urazhdin Feb 16, 2017 12:31 PM (in response to Mike Pogue)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.






Re: modelig a mathematical function
Vladimir Urazhdin Feb 18, 2017 2:36 PM (in response to Lina Pol)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).