iCAx开思网

标题: 【求助】C-HOOKS做阿基米德螺旋线 [打印本页]

作者: 牧羊人    时间: 2003-7-26 20:54
标题: 【求助】C-HOOKS做阿基米德螺旋线
【求助】C-HOOKS做阿基米德螺旋线
作者: ant    时间: 2003-7-27 15:24
COPYRIGHT 2003 [$copy] WWW.ZJCAD.COM.ALL RIGHTS RESERVED.
版权所有:江苏镇江CAD联盟网站
  
名称:正弦曲线  
建立环境:Pro/E软件、笛卡尔坐标系  
x=50*t  
y=10*sin(t*360)  
z=0  
  
名称:螺旋线(Helical curve)  
建立环境:PRO/E;圆柱坐标(cylindrical)  
r=t  
theta=10+t*(20*360)  
z=t*3  
  
蝴蝶曲线  
球坐标 PRO/E  
方程:rho = 8 * t  
     theta = 360 * t * 4  
     phi = -360 * t * 8
  
Rhodonea 曲线  
采用笛卡尔坐标系  
theta=t*360*4  
x=25+(10-6)*cos(theta)+10*cos((10/6-1)*theta)  
y=25+(10-6)*sin(theta)-6*sin((10/6-1)*theta)  
*********************************  
圆内螺旋线  
采用柱座标系  
theta=t*360  
r=10+10*sin(6*theta)  
z=2*sin(6*theta)  
  
渐开线的方程  
r=1  
ang=360*t  
s=2*pi*r*t  
x0=s*cos(ang)  
y0=s*sin(ang)  
x=x0+s*sin(ang)  
y=y0-s*cos(ang)  
z=0
  
对数曲线  
z=0  
x = 10*t  
y = log(10*t+0.0001)
  
           
  
球面螺旋线(采用球坐标系)  
rho=4  
theta=t*180  
phi=t*360*20
  
名称:双弧外摆线  
卡迪尔坐标  
方程: l=2.5  
       b=2.5  
       x=3*b*cos(t*360)+l*cos(3*t*360)  
       Y=3*b*sin(t*360)+l*sin(3*t*360)
  
        
  
名称:星行线  
  卡迪尔坐标  
方程:  
a=5  
x=a*(cos(t*360))^3  
y=a*(sin(t*360))^3
  
        
  
名稱:心臟線  
建立環境:pro/e,圓柱坐標  
a=10  
r=a*(1+cos(theta))  
theta=t*360
  
名稱:葉形線
  
建立環境:笛卡儿坐標  
a=10  
x=3*a*t/(1+(t^3))  
y=3*a*(t^2)/(1+(t^3))
  
笛卡儿坐标下的螺旋线  
x = 4 * cos ( t *(5*360))  
y = 4 * sin ( t *(5*360))  
z = 10*t  
  
  一抛物线  
  
笛卡儿坐标
    x =(4 * t)  
    y =(3 * t) + (5 * t ^2)  
    z =0  
  
名稱:碟形弹簧  
建立環境:pro/e  
圓柱坐  
r = 5  
theta = t*3600  
z =(sin(3.5*theta-90))+24*t
作者: 牧羊人    时间: 2003-7-28 21:18
谢谢!这位仁兄 希望能从你这里学到更多东西
作者: 牧羊人    时间: 2003-7-28 21:23
MASTER CAM 里C-HOOKS怎样做阿基米德螺旋线了?好象要改变一下
作者: ant    时间: 2003-8-16 22:33
用fplot.dll
作者: ant    时间: 2003-8-16 22:35
The Fplot C-Hook is a function plotting utility that draws equations and can create corresponding geometry (points, lines, splines, parametric surfaces, or NURBS surfaces). The equations are entered using basic algebraic notation. The files for this C-Hook include:
  
?Fplot.dll
  
?Fplot.txt
  
?Fplot.doc
  
To use the Fplot C-Hook, you must create an EQN file that contains the equations. This file can be created with any text editor, such as Notepad. You can also enter an equation into the prompt area. The Fplot C-Hook reads the EQN file and performs the functions listed in the file.
The following functions and constants are available:
  
(x) &nbsparentheses
-x  Unary minus
x^y  Exponentiation
x*y  Multiplication
x/y  Division
x+y  Addition
x-y  Subtraction
abs (x)  Absolute value
sqrt (x)  Square root
sin (x)  Sine
cos (x)  Cosine
tan (x)  Tangent
asin (x)  Arc sine
acos (x)  Arc cosine
atan (x)  Arc tangent
exp (x)  e^x
ln (x)  Natural log
log (x)  Log base 10
pi  3.141592653589793
e  2.718281828459045
When you run the Fplot C-Hook, the Fplot menu displays to give you the following options. Click on the menu below for more information.
  
  To use the Fplot C-hook




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3