|
楼主 |
发表于 2017-10-11 11:01:47
|
显示全部楼层
本帖最后由 ryouss 于 2017-10-11 11:03 编辑
4 g& j) ~: G+ U1 `, l0 ?+ f3 u
! u* I2 B! w8 p! g9 ]& d# ^謝謝h大支持,*-1 是知道,. ~, L1 d* k7 {1 {$ y! w" C
如下也是試著用宏寫入方程式,是能得到順逆轉向的控制,做圖中的瓶頸又碰到彈簧曲線要和拉柄中間有段相切放樣曲線很難掌握.
- Z* D7 _* `, Z8 R0 `1 O9 r
+ p# Y5 e7 V8 M/ j+ p, W4 @: Kclo_inv = -1 '順逆轉向
% a( X8 W1 m0 I8 r
" _4 A6 }4 a; l8 _Set equationDriveCurve = Part.SketchManager.CreateEquationSpline2("(" & spring_hig & "+5)-(" & spring_hig & "*t/2/pi/" & coil_num & ")", pitch_dim / 2 & "*cos(t)", _
- D" u( g6 M7 s% ] pitch_dim / 2 & "*sin(t)*" & clo_inv, "0", coil_num * 2 & "*pi", False, 0, 0, 0, True, True)
6 O$ Q! v+ ]! _
" n& E1 R2 Q$ }3 c拉柄园有在位移,彈簧曲線有順逆轉向,如何能保持中間放樣曲線的相切約束??
/ I: ^6 d& y! V% o5 T0 ]) g3 U
9 B3 i/ Z( e& c' p: i
|
|