On Sat, Mar 12, 2011 at 4:30 PM, Viesturs Lācis <[email protected]>wrote:
> Hello, gentlemen! > > I would like to ask, if anyone has an idea, how to create a code to > produce this kind of part (both files contain the same model, I just > saved it in 2 different formats): > http://www.cutting.lv/fileadmin/user_upload/Test.IGS > http://www.cutting.lv/fileadmin/user_upload/Test.STL > > My goal would be cutting this part from thick slab of material. Those > flat planes represent top and bottom surfaces of the slab. > Basically I would like to get code, in which the waterjet (or any 5 > axis plasma or cuts a circle on the top, but rotary joints that tilt > the head would move so that something like a square is on the bottom. > > So the problem is finding out the necessary tilt angle, which > corresponds to the slope of the edge. I thought that it could be > something like dividing the top contour (in this case - the circle) in > 0.1 mm segments and then getting the slope angle, but I have no idea, > how to do that. > > Can anyone recommend some kind of solution? Is there some _affordable_ > CAM application that can do that (I have found one that costs 12K EUR, > but I do not even consider that to be an option)? Or can I calculate > that myself with some trigonometry? Since I know the distance from one > plane to another (that is the thickness of material), I would need > only horizontal distance from one line to another to get the angle > with atan function. The distance between both lines could be > calculated in 0,1 - 0,2 mm increments. That would not affect the > quality of the result and probably would not create insanely long code > for such a small part. > > I would appreciate any ideas on this matter. > I think that any solution that works will do! > > Thanks, > Viesturs > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > You want to calculate the length of the circumference of the top and bottom shapes. Divide each length by the same number (determined by the desired smoothness of the resulting cut). Match/map the points ie. start at zero (3 oclock) with the square shape in a diamond orientation - (one of the corners at 3 oclock) the first point top and bottom is at 3 oclock assume you want 100 discrete cuts around the part the second point is now 1/100 the distance from 3 oclock for both the top and bottom shapes repeat until you reach the second corner of the square shape (or until you reach three oclock again) The resulting points (using the thickness of the part to determine the distance between the points) will give you the 5 axis vector for your tool. A smoother part will need more discrete points. -- dos centavos ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
