06-08-2017 09:03 AM - edited 06-08-2017 09:26 AM
Hi ,
I am trying to make something like a CAM simulator , I started with a fixed object (cylinder) and a cutter (also cylinder) and i am trying to make the cutter to rotate around the axis of the cylinder and tangent to the top surface of the cylinder.
I attached the VI plus a video for what happened with me.
Solved! Go to Solution.
06-08-2017 09:17 AM - edited 06-08-2017 09:18 AM
hi hosa200,
you might have missed to attach the vi.
ps: fill the controls with values, make them all default, so ppl trying to help you can play around, without guessing what values should be.
also don't forget to include subvis.
06-08-2017 09:27 AM
I update everything as you mentioned ,thank you
06-08-2017 09:45 AM
Your description of the cutter orientation doesn't quite make sense to me. Is this what you mean?
06-08-2017 09:57 AM
@aputman wrote:
Your description of the cutter orientation doesn't quite make sense to me. Is this what you mean?
The cutter rotation axis is perpendecular on cylinder rotation axis
like this
06-08-2017 10:07 AM
@hosa200 wrote:
@aputman wrote:
Your description of the cutter orientation doesn't quite make sense to me. Is this what you mean?
The cutter rotation axis is perpendecular on cylinder rotation axis
like this
Ok, that is the way I interpreted your description but it didn't make sense from a machining point of view (coming from a non-machinist).
Your x values remain the same in the second Matlab script but I think it should be your z values remaining constant. I can't open your VI to make sure.
06-08-2017 10:10 AM
@aputman wrote:
Ok, that is the way I interpreted your description but it didn't make sense from a machining point of view (coming from a non-machinist).
Your x values remain the same in the second Matlab script but I think it should be your z values remaining constant. I can't open your VI to make sure.
I am using Labview 2016 ,
06-08-2017 10:20 AM
Right. And I am using 2012. I can only see your picture and from there, I can't see which axis is x, y, or z. Obviously, based on the video, you are changing the wrong values, so I am assuming that X is parallel to the top of the cylinder and should remain constant.
06-08-2017 10:26 AM
2012 version
06-08-2017 10:39 AM
Sorry, I don't have a license of Mathscript to execute. So assuming that your code for drawing the cylinder around the axis is correct (only the wrong axis was chosen), this is what I had in mind for the second MathScript node:
mXcut2=mXcut*sin((c*pi)/180); mYcut2=mYcut*cos((c*pi)/180); mZcut2 = mZcut;