On 6/3/2011 3:41 PM, Viesturs Lācis wrote: > Hello, gentlemen! > > I would like to ask, if anyone can suggest me a way to generate a > g-code for a single-time situation: > The part consists of 3 pieces of tubes - 2 of them need to be welded > to main piece. > What I need is to get a g-code that describes the intersection lines > of each 2 tube pieces. > I have SolidEdge model, IGES, STEP and STL models for the whole part. > > Does anyone have any idea, how do they usually generate toolpaths for > such kind of machines? > > Viesturs Hi, Viesturs:
I was away from my email when you started this thread. It doesn't look like you received much actionable information. Did you solve your problem? If not, I can at least do the math for you. Only in the special case of equal-diameter tubes with intersecting centerlines can one find a nice solution mathematically. The curves defined by the intersection of the surfaces of one such tube joining another are portions of two ellipses lying in two different planes. The minor axis of each ellipse is just the radius of the tubes and the major axis depends on the angle of intersection of the tubes. Unfortunately, in the general case where diameters differ and/or the centerlines don't intersect, the solutions are space curves for which there is no rational parameterization. Would you like me to gen up some pictures and parameterized formulas for the intersection curves? I'm no gcode expert but I wouldn't think it would be too difficult to derive gcode from this. Regards, Kent ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
