Kim's first answer is on the right track for me. I'm calculating all of the moves outside of EMC2 and passing them via emcrsh to Axis, one at a time. So I can't use the built-in viewer to know. Basically I need a formula that will tell me if the arc will go out of bounds given the things I already know (start,end,radius of arc and machine boundaries).
thx On Tue, Mar 15, 2011 at 4:32 AM, Alex Joni <[email protected]> wrote: > EMC only checks if the endpoints are outside the work envelope, not > intermediary points on the arc. > You can still load the program and look outside the bounds (if set up > properly you see the extent of travel in the preview). > > Regards, > Alex > >> Or, can you just let EMC check it for you? >> If you set the work envelope of your machine correctly, >> EMC will tell you if there are problems. >> >> "Program exceeds machine limits" >> "Program exceed machine (max/min) on axis (X/Y/Z/A/B/C/U/V/W)" >> " [ Run Anyway ] [ Cancel ] " >> >> And if you're using "Axis" it will show you any arcs that are >> outside of the work envelope. You can click on them and it will >> show what program line generated them. Would that help? >> >> On 03/15/2011 02:40 AM, forget color wrote: >>> this is more of a math question than an EMC question, but I need the >>> question for EMC so thought someone else might have run into it. >>> >>> I'm trying to figure out how I can calculate whether an arc will go >>> outside the working area of my CNC. Let's say I have an arc from the >>> following parameters: >>> >>> x1,y1,x2,y2,radius,direction (CW or CCW) >>> >>> and that my working area boundaries are: minX = -5, minY = -5, maxX = >>> 5, maxY = 5 >>> >>> how can i tell if the arc will go outside the boundaries? >>> >>> so, for example, an arc with these values would go outside the bounds: >>> >>> G0 x-4.5 y0 >>> G02 x-4.5 y4 r2 >>> >>> in fact, it's almost entirely outside the bounds. but if I change the >>> radius to 6, it won't. (or if I change the direction to ccw of course) >>> >>> thanks for any help!! >>> > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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
