Dear all,
I need some advice for my program. I got it from someone else and I just learned some basic things about this...
1) Parallelity:
I want to know the parallelity of a cylinder. I measure two circles at two different heights of the cylinder. Right now I run the following code
DECL/LOCAL,INTGR,PointsZ3
PointsZ3=Value/FA(circle_2.9),PTDATA
DECL/LOCAL,INTGR,PointsZ7
PointsZ7=Value/FA(circle_7),PTDATA
F(Cylinder1)=FEAT/CYLNDR,OUTER,CART,-5,-2.486,6.544,-1,0,0,8
CONST/CYLNDR,F(Cylinder1),BF,FA(circle_2.9)[5,PointsZ3-5],FA(circle_7)[5,PointsZ7-5]
DATDEF/FA(Cylinder1), DAT(D)
T(2)=TOL/PARLEL,0.2,RFS,DAT(D),RFS
OUTPUT/FA(Cylinder1),TA(1)
How can I set the actual length of the cylinder that is created? For compuation of command "PARLEL" the length is needed, but I can't find a way to change the result. I tryed to change it by an additional number at the end of the "FEAT/CYLNDR" line, but i doesn't change the result I get at all.
2) The same for the position of the cylinder. I run
T(3)=TOL/POS,3D,0.1,RFS,DAT(D),RFS,DAT(B),RFS,DAT(C),RFS
OUTPUT/FA(Zapfen_Bezug_D),TA(1)
but also for computation of position, one needs the length of the cylinder.
Thanks for any help!
Philipp.
I need some advice for my program. I got it from someone else and I just learned some basic things about this...
1) Parallelity:
I want to know the parallelity of a cylinder. I measure two circles at two different heights of the cylinder. Right now I run the following code
DECL/LOCAL,INTGR,PointsZ3
PointsZ3=Value/FA(circle_2.9),PTDATA
DECL/LOCAL,INTGR,PointsZ7
PointsZ7=Value/FA(circle_7),PTDATA
F(Cylinder1)=FEAT/CYLNDR,OUTER,CART,-5,-2.486,6.544,-1,0,0,8
CONST/CYLNDR,F(Cylinder1),BF,FA(circle_2.9)[5,PointsZ3-5],FA(circle_7)[5,PointsZ7-5]
DATDEF/FA(Cylinder1), DAT(D)
T(2)=TOL/PARLEL,0.2,RFS,DAT(D),RFS
OUTPUT/FA(Cylinder1),TA(1)
How can I set the actual length of the cylinder that is created? For compuation of command "PARLEL" the length is needed, but I can't find a way to change the result. I tryed to change it by an additional number at the end of the "FEAT/CYLNDR" line, but i doesn't change the result I get at all.
2) The same for the position of the cylinder. I run
T(3)=TOL/POS,3D,0.1,RFS,DAT(D),RFS,DAT(B),RFS,DAT(C),RFS
OUTPUT/FA(Zapfen_Bezug_D),TA(1)
but also for computation of position, one needs the length of the cylinder.
Thanks for any help!
Philipp.
Comment