Re: [Emc-users] 5 axis g-code, now way OT!

2011-06-16 Thread gene heskett
On Thursday, June 16, 2011 11:48:47 AM Dave did opine:

> On 6/16/2011 1:27 AM, gene heskett wrote:
> > On Thursday, June 16, 2011 12:56:34 AM Kent A. Reed did opine:
> >> Gentle persons.
> >> 
> >> Recall that, 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
> >> 
> >> I replied that it seemed pretty straightforward to work up and Gene
> >> Heskett then suggested I put my workup on the Wiki.
> >> 
> >> I realize this may be moot since Viesturs received g-code to play
> >> with from Stuart Stevenson but I still like the intellectual
> >> challenge.
> >> 
> >> I assumed that any two intersecting cylinders (aka tubes or pipes)
> >> have equal diameters and that their centerlines lie in a plane. If
> >> that isn't so, then the following must be replaced by something much
> >> more complicated.
> >> 
> >> With my assumptions, working out the analytic geometry for the
> >> intersection lines and for the normals to those lines was
> >> straightforward, but I've discovered that I don't understand the
> >> g-codes available to emc2 as well as I thought I did. (Do you think
> >> the fact that I've never touched any 5-axis machine, let alone a
> >> PUMA-like robotic arm, has anything to do with this?)
> >> 
> >> With my assumptions, the intersection lines Viesturs seeks are two
> >> half-ellipses, each lying in its own plane, with the two planes
> >> perpendicular to one another. I had in mind an elegant g-code
> >> solution which would, for each half-ellipse, define the plane
> >> containing the curve to be a working plane, and then send 2D-points
> >> and 2D-vectors (actually, these would be mathematical functions
> >> defined in subroutines) that define the half-ellipse and its normal
> >> in the working plane. In this solution, the welding head would trace
> >> around the curve while rotating about an axis perpendicular to the
> >> plane so as to remain pointing inward along the normal.
> >> 
> >> Now that I've read and reread the relevant material in the Users
> >> Guide, I'm not sure I can do that. Am I just misunderstanding or do
> >> I have to send 3D-points and 3D-vectors that define each
> >> half-ellipse and its normal in space?
> >> 
> >> Also, is there any purpose served if I post my analytic geometry to
> >> the Wiki as a "first half" score to the problem, so to speak? My
> >> wife is going under the surgeon's knife next week and it may be a
> >> while before I get to the "second half".
> > 
> > I don't see why not, maybe someone else will finish it while you are
> > tending to the missus.
> > 
> > You folks are concentrating on the welding, but before you can weld
> > it, the ends of the pipes must be prepared.  If they butt meet at an
> > angle, and are the same size, then its a simple miter saw problem. 
> > If however a space frame where the pieces are triangulated, even with
> > dis-similar sized pipes, then again it seems like a simple jigging
> > setup problem, one where you want to drag the end of the tube being
> > welded to the side of the other, slowly past a ballnose that is
> > tracing a half circle whose diameter matches the other pipe.  Once
> > one pipe is properly seated on the other, and all such pieces are
> > assembled, then rather than welding, I would be tempted to 'furnace
> > braze' the whole assembly in one pass through the oven.  Obviously
> > not as strong as properly welded, but done in one swell foop, and
> > with less stored stress than welding would leave.
> > 
> > For the weld by emc, it strikes me that this same profile of motion
> > could be done, with the 'wrist' holding the migs wire feeder being
> > auto turned so that it always splits the angles.  I can visualize it,
> > but I have no clue how the math that controls the 'wrist' angle can
> > be done in real time as it moves around the joint.  Don't forget too,
> > that generally speaking, one must move the fire in a 'j' stroke,
> > always pushing the heat ahead of the puddle.  Maybe it can be done,
> > but I've had relatively poor luck just trying to push the puddle in a
> > straight line, so I usually revert to a j stroke of about 3/16" out& 
> > back, with the dwell at the 'bottom' of the j on the heavier gauge
> > metal if there is a difference.
> > 
> > OTOH, I've never tested for a cert for arc welding of any kind, so
> > take that with a suitable measure of salt.  My work with a smith
> > wrench has stood the test of time quite a few times though.  One has
> > so 

Re: [Emc-users] 5 axis g-code

2011-06-16 Thread Dave
On 6/16/2011 1:27 AM, gene heskett wrote:
> On Thursday, June 16, 2011 12:56:34 AM Kent A. Reed did opine:
>
>
>> Gentle persons.
>>
>> Recall that, 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
>>>
>> I replied that it seemed pretty straightforward to work up and Gene
>> Heskett then suggested I put my workup on the Wiki.
>>
>> I realize this may be moot since Viesturs received g-code to play with
>> from Stuart Stevenson but I still like the intellectual challenge.
>>
>> I assumed that any two intersecting cylinders (aka tubes or pipes) have
>> equal diameters and that their centerlines lie in a plane. If that isn't
>> so, then the following must be replaced by something much more
>> complicated.
>>
>> With my assumptions, working out the analytic geometry for the
>> intersection lines and for the normals to those lines was
>> straightforward, but I've discovered that I don't understand the g-codes
>> available to emc2 as well as I thought I did. (Do you think the fact
>> that I've never touched any 5-axis machine, let alone a PUMA-like
>> robotic arm, has anything to do with this?)
>>
>> With my assumptions, the intersection lines Viesturs seeks are two
>> half-ellipses, each lying in its own plane, with the two planes
>> perpendicular to one another. I had in mind an elegant g-code solution
>> which would, for each half-ellipse, define the plane containing the
>> curve to be a working plane, and then send 2D-points and 2D-vectors
>> (actually, these would be mathematical functions defined in subroutines)
>> that define the half-ellipse and its normal in the working plane. In
>> this solution, the welding head would trace around the curve while
>> rotating about an axis perpendicular to the plane so as to remain
>> pointing inward along the normal.
>>
>> Now that I've read and reread the relevant material in the Users Guide,
>> I'm not sure I can do that. Am I just misunderstanding or do I have to
>> send 3D-points and 3D-vectors that define each half-ellipse and its
>> normal in space?
>>
>> Also, is there any purpose served if I post my analytic geometry to the
>> Wiki as a "first half" score to the problem, so to speak? My wife is
>> going under the surgeon's knife next week and it may be a while before I
>> get to the "second half".
>>
>>  
> I don't see why not, maybe someone else will finish it while you are
> tending to the missus.
>
> You folks are concentrating on the welding, but before you can weld it, the
> ends of the pipes must be prepared.  If they butt meet at an angle, and are
> the same size, then its a simple miter saw problem.  If however a space
> frame where the pieces are triangulated, even with dis-similar sized pipes,
> then again it seems like a simple jigging setup problem, one where you want
> to drag the end of the tube being welded to the side of the other, slowly
> past a ballnose that is tracing a half circle whose diameter matches the
> other pipe.  Once one pipe is properly seated on the other, and all such
> pieces are assembled, then rather than welding, I would be tempted to
> 'furnace braze' the whole assembly in one pass through the oven.  Obviously
> not as strong as properly welded, but done in one swell foop, and with less
> stored stress than welding would leave.
>
> For the weld by emc, it strikes me that this same profile of motion could
> be done, with the 'wrist' holding the migs wire feeder being auto turned so
> that it always splits the angles.  I can visualize it, but I have no clue
> how the math that controls the 'wrist' angle can be done in real time as it
> moves around the joint.  Don't forget too, that generally speaking, one
> must move the fire in a 'j' stroke, always pushing the heat ahead of the
> puddle.  Maybe it can be done, but I've had relatively poor luck just
> trying to push the puddle in a straight line, so I usually revert to a j
> stroke of about 3/16" out&  back, with the dwell at the 'bottom' of the j
> on the heavier gauge metal if there is a difference.
>
> OTOH, I've never tested for a cert for arc welding of any kind, so take
> that with a suitable measure of salt.  My work with a smith wrench has
> stood the test of time quite a few times though.  One has so much more
> control over the composition of the weld puddle with gas that you can do
> almost anything with it.  Even magnesium, but you'd need to be better than
> me.  A lot better. ;-)
>
>
>> Regards,
>> Kent
>>
>>
>> 

Re: [Emc-users] 5 axis g-code

2011-06-15 Thread gene heskett
On Thursday, June 16, 2011 12:56:34 AM Kent A. Reed did opine:

> Gentle persons.
> 
> Recall that, 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
> 
> I replied that it seemed pretty straightforward to work up and Gene
> Heskett then suggested I put my workup on the Wiki.
> 
> I realize this may be moot since Viesturs received g-code to play with
> from Stuart Stevenson but I still like the intellectual challenge.
> 
> I assumed that any two intersecting cylinders (aka tubes or pipes) have
> equal diameters and that their centerlines lie in a plane. If that isn't
> so, then the following must be replaced by something much more
> complicated.
> 
> With my assumptions, working out the analytic geometry for the
> intersection lines and for the normals to those lines was
> straightforward, but I've discovered that I don't understand the g-codes
> available to emc2 as well as I thought I did. (Do you think the fact
> that I've never touched any 5-axis machine, let alone a PUMA-like
> robotic arm, has anything to do with this?)
> 
> With my assumptions, the intersection lines Viesturs seeks are two
> half-ellipses, each lying in its own plane, with the two planes
> perpendicular to one another. I had in mind an elegant g-code solution
> which would, for each half-ellipse, define the plane containing the
> curve to be a working plane, and then send 2D-points and 2D-vectors
> (actually, these would be mathematical functions defined in subroutines)
> that define the half-ellipse and its normal in the working plane. In
> this solution, the welding head would trace around the curve while
> rotating about an axis perpendicular to the plane so as to remain
> pointing inward along the normal.
> 
> Now that I've read and reread the relevant material in the Users Guide,
> I'm not sure I can do that. Am I just misunderstanding or do I have to
> send 3D-points and 3D-vectors that define each half-ellipse and its
> normal in space?
> 
> Also, is there any purpose served if I post my analytic geometry to the
> Wiki as a "first half" score to the problem, so to speak? My wife is
> going under the surgeon's knife next week and it may be a while before I
> get to the "second half".
> 
I don't see why not, maybe someone else will finish it while you are 
tending to the missus.

You folks are concentrating on the welding, but before you can weld it, the 
ends of the pipes must be prepared.  If they butt meet at an angle, and are 
the same size, then its a simple miter saw problem.  If however a space 
frame where the pieces are triangulated, even with dis-similar sized pipes, 
then again it seems like a simple jigging setup problem, one where you want 
to drag the end of the tube being welded to the side of the other, slowly 
past a ballnose that is tracing a half circle whose diameter matches the 
other pipe.  Once one pipe is properly seated on the other, and all such 
pieces are assembled, then rather than welding, I would be tempted to 
'furnace braze' the whole assembly in one pass through the oven.  Obviously 
not as strong as properly welded, but done in one swell foop, and with less 
stored stress than welding would leave.

For the weld by emc, it strikes me that this same profile of motion could 
be done, with the 'wrist' holding the migs wire feeder being auto turned so 
that it always splits the angles.  I can visualize it, but I have no clue 
how the math that controls the 'wrist' angle can be done in real time as it 
moves around the joint.  Don't forget too, that generally speaking, one 
must move the fire in a 'j' stroke, always pushing the heat ahead of the 
puddle.  Maybe it can be done, but I've had relatively poor luck just 
trying to push the puddle in a straight line, so I usually revert to a j 
stroke of about 3/16" out & back, with the dwell at the 'bottom' of the j 
on the heavier gauge metal if there is a difference.

OTOH, I've never tested for a cert for arc welding of any kind, so take 
that with a suitable measure of salt.  My work with a smith wrench has 
stood the test of time quite a few times though.  One has so much more 
control over the composition of the weld puddle with gas that you can do 
almost anything with it.  Even magnesium, but you'd need to be better than 
me.  A lot better. ;-)

> Regards,
> Kent
> 
> 
> 
> -- EditLive Enterprise is the world's most technically advanced
> content authoring tool.

Re: [Emc-users] 5 axis g-code

2011-06-15 Thread Kent A. Reed
Gentle persons.

Recall that, 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
I replied that it seemed pretty straightforward to work up and Gene 
Heskett then suggested I put my workup on the Wiki.

I realize this may be moot since Viesturs received g-code to play with 
from Stuart Stevenson but I still like the intellectual challenge.

I assumed that any two intersecting cylinders (aka tubes or pipes) have 
equal diameters and that their centerlines lie in a plane. If that isn't 
so, then the following must be replaced by something much more complicated.

With my assumptions, working out the analytic geometry for the 
intersection lines and for the normals to those lines was 
straightforward, but I've discovered that I don't understand the g-codes 
available to emc2 as well as I thought I did. (Do you think the fact 
that I've never touched any 5-axis machine, let alone a PUMA-like 
robotic arm, has anything to do with this?)

With my assumptions, the intersection lines Viesturs seeks are two 
half-ellipses, each lying in its own plane, with the two planes 
perpendicular to one another. I had in mind an elegant g-code solution 
which would, for each half-ellipse, define the plane containing the 
curve to be a working plane, and then send 2D-points and 2D-vectors 
(actually, these would be mathematical functions defined in subroutines) 
that define the half-ellipse and its normal in the working plane. In 
this solution, the welding head would trace around the curve while 
rotating about an axis perpendicular to the plane so as to remain 
pointing inward along the normal.

Now that I've read and reread the relevant material in the Users Guide, 
I'm not sure I can do that. Am I just misunderstanding or do I have to 
send 3D-points and 3D-vectors that define each half-ellipse and its 
normal in space?

Also, is there any purpose served if I post my analytic geometry to the 
Wiki as a "first half" score to the problem, so to speak? My wife is 
going under the surgeon's knife next week and it may be a while before I 
get to the "second half".

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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-07 Thread gene heskett
On Tuesday, June 07, 2011 09:56:59 AM Kent A. Reed did opine:

> 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
 
Kent, I think that's a jolly good idea, particularly if you could add it to 
the wiki so we can find it any time we need it.

Cheers, gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Insanity is hereditary.  You get it from your kids.

--
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-07 Thread Viesturs Lācis
2011/6/7 Kent A. Reed :
>
> 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?

Oh, yes, I have a g-code to play with! All the credit goes to Stuart Stevenson!

Viesturs

--
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-07 Thread Kent A. Reed
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-04 Thread Dave
On 6/4/2011 11:41 AM, Viesturs Lācis wrote:
> 2011/6/4 Lester Caine:
>
>> I simply presumed that Viesturs was saying that he needed to demonstrate 
>> that a
>> particular part of an on-going job could be machined by robot which would 
>> then
>> make putting that job into production practical. Or even win the job at all.
>> That right Viesturs?
>>  
> My apologies for unclear expression! By getting the job after
> successful demonstration of sample production I meant getting a job of
> building another welding robot for that particular customer. AFAIK
> they got an order from their customer, who currently sources those
> parts from abroad.
>
>
>> The only thing that I can offer for working out 5 axis gcode is cnc toolkit
>> http://groups.yahoo.com/group/CNC_Toolkit/
>>  
> Thanks, I had already forgotten about it.
>
> Viesturs
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
Good Luck,

I can definitely relate to your situation... good customers are made one 
"job" at a time... :-)

Dave

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-04 Thread Viesturs Lācis
2011/6/4 Lester Caine :
> I simply presumed that Viesturs was saying that he needed to demonstrate that 
> a
> particular part of an on-going job could be machined by robot which would then
> make putting that job into production practical. Or even win the job at all.
> That right Viesturs?

My apologies for unclear expression! By getting the job after
successful demonstration of sample production I meant getting a job of
building another welding robot for that particular customer. AFAIK
they got an order from their customer, who currently sources those
parts from abroad.

> The only thing that I can offer for working out 5 axis gcode is cnc toolkit
> http://groups.yahoo.com/group/CNC_Toolkit/

Thanks, I had already forgotten about it.

Viesturs

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-04 Thread Lester Caine
Peter Blodow wrote:
> Hello Viesturs,
> if it really is a single time situation: Why bother with G code, why not
> take that burner in your hand and fry them tubes down once and forever?
>
> (I know, it's a question of principles ;-))

COME on - think 
I simply presumed that Viesturs was saying that he needed to demonstrate that a 
particular part of an on-going job could be machined by robot which would then 
make putting that job into production practical. Or even win the job at all. 
That right Viesturs?

The only thing that I can offer for working out 5 axis gcode is cnc toolkit 
http://groups.yahoo.com/group/CNC_Toolkit/ I've not actually succeeded in using 
it myself, but the PRINCIPAL of maintaining the welding head reliably at the 
correct angle to what could potentially be a quite complex path is not 
difficult, and I am sure that someone on that list could help with a demo 
script.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-04 Thread Viesturs Lācis
2011/6/4 Stuart Stevenson :
> On Fri, Jun 3, 2011 at 3:46 PM, andy pugh  wrote:
>
>> On 3 June 2011 21:36, Stuart Stevenson  wrote:
>> > the motion would be a circle
>>
>> I don't think it is. Even in the case of two equal-diameter tubes at
>> right-angles it is an ellipse (a special case of a conic section, for
>> a cylinder)
>> Projected along the axis of either tube it is a circle, but in its own
>> containing plane it is an ellipse.
>>
>
> If you wish to lay a round pipe against the cut you will need to cut a round
> shape

The components will be fabricated and even prewelded in few spots just
to hold together before my machine "gets hands" on the part.
Taking a look at those shapes I definitely agree that those lines are ellipses.

2011/6/4 Stuart Stevenson :
> Are you looking for welding motion? If so what is your timeframe? I can
> generate the gcode to do that but I would need information.
> iges or step of the model
> shape (diameter) of the end of the welding wire guide
> maybe other things as we go along
> are you wanting the gcode generated or are you wanting something so you can
> generate the gcode?

Actually in this case I just would like to get the g-code, because I
need to demonstrate to a potential client, if my machine can produce a
part that they would need my machine for.

I will send You the model files with more details in private e-mail.


2011/6/4 Dave :
>
> Viesturs, I think that you will find that for welding robots a teach
> pendant is often used to create the tool path...

I suspect that this is the way they are going to do it, I do not
really know much about it yet - my task was to design the arm and
implement controls in it. The machine was shipped to them this week, I
will have to visit them (probably next week, when they will set up
welding machine,  but it also depends on time of my exams at
university) to show them around EMC2.

2011/6/4 Peter Blodow :
> Hello Viesturs,
> if it really is a single time situation: Why bother with G code, why not
> take that burner in your hand and fry them tubes down once and forever?
>
> (I know, it's a question of principles ;-))

It is one-time show-off to demonstrate the robot's capabilities :)
I do not get another job, if that part is not welded by robot.

Viesturs

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-04 Thread Peter Blodow
Hello Viesturs,
if it really is a single time situation: Why bother with G code, why not 
take that burner in your hand and fry them tubes down once and forever?

(I know, it's a question of principles ;-))

Peter

Viesturs Lācis schrieb:
> 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
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today. 
> http://p.sf.net/sfu/quest-dev2dev2 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>   


--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Dave
On 6/3/2011 5:11 PM, andy pugh wrote:
> On 3 June 2011 22:05, Stuart Stevenson  wrote:
>
>
>> If you wish to lay a round pipe against the cut you will need to cut a round
>> shape
>>  
> I think he wants the 3D path that the welder should take (given that
> he is working on a welding robot)
>
> I assume it is part of the locus of solutions to X.X + Y.Y = R1.R1 and
> X.X + Z.Z = R2.R2
>
>

Oh well then my suggestion won't be much use..  for a welding robot tool 
path!

Viesturs, I think that you will find that for welding robots a teach 
pendant is often used to create the tool path... many small moves 
smoothed and then tweaked into a
solution.Most robot "programming" that I have seen is actually 
pretty crude compared to Gcode moves on a machine tool.

Dave



--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Jon Elson
Viesturs Lācis wrote:
> 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.
>   
Geez, I wish I could just give you the code, but I'm under a 
non-disclosure agreement,
and the code isn't mine. But, there is a fairly well-known math formula 
for the
intersection of two cylinders. In the particular case I've seen, it was 
a machine with
oner linear and one rotary axis, and the code contained a SQRT and a SIN 
function
plus the square (**) operator.
The entire, totally generalized G-code is only 12 lines, and will follow 
the curve when
the size of the two pipes are entered. It might take one more line of 
code to do it
with an X-Y-Z machine. It was all done with the math functions available 
in EMC2's
G-code interpreter.

Jon

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Stuart Stevenson
On Fri, Jun 3, 2011 at 2: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
>
> Are you looking for welding motion? If so what is your timeframe? I can
generate the gcode to do that but I would need information.

iges or step of the model
shape (diameter) of the end of the welding wire guide
maybe other things as we go along
are you wanting the gcode generated or are you wanting something so you can
generate the gcode?
thanks
Stuart

-- 
dos centavos
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread andy pugh
On 3 June 2011 22:05, Stuart Stevenson  wrote:

> If you wish to lay a round pipe against the cut you will need to cut a round
> shape

I think he wants the 3D path that the welder should take (given that
he is working on a welding robot)

I assume it is part of the locus of solutions to X.X + Y.Y = R1.R1 and
X.X + Z.Z = R2.R2

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Stuart Stevenson
On Fri, Jun 3, 2011 at 3:46 PM, andy pugh  wrote:

> On 3 June 2011 21:36, Stuart Stevenson  wrote:
> > the motion would be a circle
>
> I don't think it is. Even in the case of two equal-diameter tubes at
> right-angles it is an ellipse (a special case of a conic section, for
> a cylinder)
> Projected along the axis of either tube it is a circle, but in its own
> containing plane it is an ellipse.
>

If you wish to lay a round pipe against the cut you will need to cut a round
shape


>
> --
> atp
> "Torque wrenches are for the obedience of fools and the guidance of wise
> men"
>
>
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
dos centavos
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Dave
Since you are welding them anyway... you might want to look at this.

It generates 2 axis Gcode to do a tube to tube coped joint and it looks 
pretty simple.

*http://www.metalgeek.com/static/cope.pcgi

*Dave



On 6/3/2011 3:41 PM, Viesturs La-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
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Dave Caroline
Missing from the question is the actuals joins needed, angles and
types of cut, are the pipe sizes the same etc. and then there are the
moves for welding which are another problem due to welding
constraints.

Dave Caroline

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread andy pugh
On 3 June 2011 21:36, Stuart Stevenson  wrote:
> the motion would be a circle

I don't think it is. Even in the case of two equal-diameter tubes at
right-angles it is an ellipse (a special case of a conic section, for
a cylinder)
Projected along the axis of either tube it is a circle, but in its own
containing plane it is an ellipse.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread andy pugh
On 3 June 2011 21:25, Viesturs Lācis  wrote:

> My apologies, but I do not understand, what do You mean with "Union of pipes".

A Union is one of the boolean operations offered by most solid
modelling packages.
By "pipes" I mean "tubes"

> And how can I trace the intersection of 2 edges of a solid?

That is probably different for every software package. In Inventor I
think I would use the edge to define a plane, then project the edge
onto the same plane.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Stuart Stevenson
I don't know the geometry but if it is a straight tube intersecting a
straight tube the motion would be three axis motion. It may be tilted to
some angle but the machine motion would be 3 axis motion.

On Fri, Jun 3, 2011 at 2: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
>
>
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
dos centavos
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Stuart Stevenson
the motion would be a circle

On Fri, Jun 3, 2011 at 3:25 PM, Viesturs Lācis wrote:

> 2011/6/3 andy pugh :
> > On 3 June 2011 20:41, Viesturs Lācis  wrote:
> >
> >> 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.
> >
> > Taking a Union of the pipes might be a start, then trace one edge of
> > the solid formed.
>
> My apologies, but I do not understand, what do You mean with "Union of
> pipes".
> And how can I trace the intersection of 2 edges of a solid?
>
> Viesturs
>
>
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
dos centavos
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread Viesturs Lācis
2011/6/3 andy pugh :
> On 3 June 2011 20:41, Viesturs Lācis  wrote:
>
>> 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.
>
> Taking a Union of the pipes might be a start, then trace one edge of
> the solid formed.

My apologies, but I do not understand, what do You mean with "Union of pipes".
And how can I trace the intersection of 2 edges of a solid?

Viesturs

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis g-code

2011-06-03 Thread andy pugh
On 3 June 2011 20:41, Viesturs Lācis  wrote:

> 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.

Taking a Union of the pipes might be a start, then trace one edge of
the solid formed.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis G-code

2010-06-08 Thread Andy Pugh
On 8 June 2010 15:07, Viesturs Lācis  wrote:

> 1) If I use G43 to compensate the nozzle length, how is EMC going to
> behave, when rotary axis are moved?

Unless the kinematics module takes account of the tool length, I am
pretty sure that nothing else will.

-- 
atp

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5 axis G-code

2010-06-08 Thread Viesturs Lācis
2010/6/8 Viesturs Lācis :
> Hello again!
>
> Now I have two questions, regarding correct G-code for 5 axis machine:
>
> 1) If I use G43 to compensate the nozzle length, how is EMC going to
> behave, when rotary axis are moved?
> What I want to achieve is that I would like to save appropriate tool
> length, which corresponds to distance from center of both rotary axis
> to the point, where water jet has to enter the material (here and
> after - tool tip) and have EMC conduct any compensating moves along X,
> Y and Z axis, so that tool tip does not move, when rotary axis are
> turned. Or are there any other way to achieve that?
>
> 2) is following command for G01 move correct?:
>
> G01 X10.000 Y 10.00 I0.000 J10.000 C90
>
> The thing I want to find out is: how to properly write G03 move in XY
> plane with synchronised turn of rotary axis. This particular example
> would keep the cutting head oriented in the direction of the move.

My apologies for my laziness - please ignore the second question, as I
found this one:
If a line of code makes an arc and includes rotational axis motion,
the rotational axes turn at a constant rate so that the rotational
motion starts and finishes when the XYZ motion starts and finishes.

Viesturs

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users