So are you wanting to do something like engrave something onto a cylindrical?
The times that I have had to do something like this it was in an advanced computer graphics class -- jumping between world and other projections and moving the view plane around graphics objects, but I doubt telling you how to do that would be of any help. So, can you describe what you want to do a little more? EBo -- Mark <[email protected]> said: > --0016364994412c68d2046443dbad > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > > I can create a helix by putting a line on a cylindrical surface... the > problem is how to go from 3d points to the correct coordinates in 2d space > on the cylindrical surface. I am banging my head on this wall, but have yet > to create any cracks. :) > > Mark > > On Tue, Mar 3, 2009 at 6:41 PM, EBo <[email protected]> wrote: > > > Stephen, > > > > Thanks for the correction. > > > > EBo -- > > > > > > Stephen Wille Padnos <[email protected]> said: > > > > > EBo wrote: > > > > > > >Mark, > > > > > > > >It would help to tell us what you are trying to accomplish. From your > > last > > > >statement: > > > > > > > > > > > >>Now I just have to figure out how to draw a helix... > > > >> > > > >> > > > > > > > >The problem that I see is that you might not be able to get there from > > arc's > > > >and might have to approximate arcs as lines only. The issue is that > > g02/03 > > > >(arcs) are assumed to be planar -- which means you cannot get there from > > where > > > >you are. > > > > > > > > > > What you can't do is an arbitrary helix, or an arbitrary arc for that > > > matter. Only plane-aligned arcs are allowed at the moment, which turn > > > into plane-aligned helixes if you also move in the perpendicular axis. > > > > > > - Steve > > > > > > > If there is some way to generate an arc that also moves in another > > > >dimension/axis then you will have to account for that and can actually > > > >generate a helix. Maybe I am just missing the point from skimming this > > > >thread, but I'm getting the feeling that something is a little off... > > > > > > > >BTW, this is one of the reasons that I advocated NURBs years ago since a > > helix > > > >can be generated by skewing the control polygon of a circle. > > > > > > > > EBo -- > > > > > > > > > > > >Mark <[email protected]> said: > > > > > > > > > > > > > > > >>--0016362834ee85fb7f04643b1f21 > > > >>Content-Type: text/plain; charset=ISO-8859-1 > > > >>Content-Transfer-Encoding: 7bit > > > >> > > > >>Thanks. For right now, I'll stick with the SAI output, since I'm > > already > > > >>using it. > > > >>I tried to find the functions (ARC_FEED etc) before, but whatever > > string I > > > >>searched for only showed up in emccannon.cc - which doesn't have the > > > >>printf's. > > > >> > > > >>Does the interpreter take care of offsets, cutter radius compensation, > > etc, > > > >>or is that taken care of somewhere else? I see functions in test.cc > > related > > > >>to both, but I am wishing really, reeeeally hard that it's taken care > > of for > > > >>me :) > > > >> > > > >>I just remembered gdepth. I will take a look at it. I'm trying to do > > about > > > >>the same thing, only using Open Cascade. I hope the accuracy will be > > high > > > >>enough to compare the volume of the model generated from g-code with > > the > > > >>volume of the original model, to see if there are differences. > > > >> > > > >>Now I just have to figure out how to draw a helix... > > > >> > > > >>Mark > > > >> > > > >>On Tue, Mar 3, 2009 at 12:36 PM, Alexey Starikovskiy > > <[email protected]>wrote: > > > >> > > > >> > > > >>>You may insert code into ARC_FEED/STRAIT_FEED of the attached program. > > > >>>command line to compile it (put your paths to emc source): > > > >>>g++ -I../x/emc2-trunk/include/ -L../x/emc2-trunk/lib/ > > > >>>-R../x/emc2-trunk/lib/ -lrs274 -lemcini test.cc -o t > > > >>> > > > >>>Mark wrote: > > > >>> > > > >>> > > > >>>>What I want is a way to get lines and arcs from a gcode file. > > > >>>> > > > >>>>Question: if changes are made to the main interp, do they propagate > > to the > > > >>>>Axis version or must the Axis version be edited by hand? > > > >>>> > > > >>>>Mark > > > >>>> > > > >>>>On Tue, Mar 3, 2009 at 11:55 AM, Jeff Epler <[email protected]> > > > >>>>wrote: > > > >>>> > > > >>>> > > > > > > > > ------------------------------------------------------------------------------ > > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > > CA > > > -OSBC tackles the biggest issue in open source: Open Sourcing the > > Enterprise > > > -Strategies to boost innovation and cut costs with open source > > participation > > > -Receive a $600 discount off the registration fee with the source code: > > SFAD > > > http://p.sf.net/sfu/XcvMzF8H > > > _______________________________________________ > > > Emc-developers mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > > > > > > > > -- > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > > Enterprise > > -Strategies to boost innovation and cut costs with open source > > participation > > -Receive a $600 discount off the registration fee with the source code: > > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Emc-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > --0016364994412c68d2046443dbad > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > I can create a helix by putting a line on a cylindrical surface... the prob= > lem is how to go from 3d points to the correct coordinates in 2d space on t= > he cylindrical surface.=A0 I am banging my head on this wall, but have yet = > to create any cracks. :)<br> > <br>Mark<br><br><div class=3D"gmail_quote">On Tue, Mar 3, 2009 at 6:41 PM, = > EBo <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">[email protected]= > m</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"borde= > r-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-le= > ft: 1ex;"> > Stephen,<br> > <br> > Thanks for the correction.<br> > <font color=3D"#888888"><br> > =A0EBo --<br> > </font><div class=3D"im"><br> > <br> > Stephen Wille Padnos <<a href=3D"mailto:[email protected]">spad...@sover= > .net</a>> said:<br> > <br> > > EBo wrote:<br> > ><br> > > >Mark,<br> > > ><br> > > >It would help to tell us what you are trying to accomplish. =A0Fro= > m your last<br> > > >statement:<br> > > ><br> > > ><br> > > >>Now I just have to figure out how to draw a helix...<br> > > >><br> > > >><br> > > ><br> > > >The problem that I see is that you might not be able to get there = > from arc's<br> > > >and might have to approximate arcs as lines only. =A0The issue is = > that g02/03<br> > > >(arcs) are assumed to be planar -- which means you cannot get ther= > e from where<br> > > >you are.<br> > > ><br> > ><br> > </div><div><div></div><div class=3D"h5">> What you can't do is an ar= > bitrary helix, or an arbitrary arc for that<br> > > matter. =A0Only plane-aligned arcs are allowed at the moment, which tu= > rn<br> > > into plane-aligned helixes if you also move in the perpendicular axis.= > <br> > ><br> > > - Steve<br> > ><br> > > > =A0If there is some way to generate an arc that also moves in ano= > ther<br> > > >dimension/axis then you will have to account for that and can actu= > ally<br> > > >generate a helix. =A0Maybe I am just missing the point from skimmi= > ng this<br> > > >thread, but I'm getting the feeling that something is a little= > off...<br> > > ><br> > > >BTW, this is one of the reasons that I advocated NURBs years ago s= > ince a helix<br> > > >can be generated by skewing the control polygon of a circle.<br> > > ><br> > > > =A0EBo --<br> > > ><br> > > ><br> > > >Mark <<a href=3D"mailto:[email protected]">[email protected]</a= > >> said:<br> > > ><br> > > ><br> > > ><br> > > >>--0016362834ee85fb7f04643b1f21<br> > > >>Content-Type: text/plain; charset=3DISO-8859-1<br> > > >>Content-Transfer-Encoding: 7bit<br> > > >><br> > > >>Thanks. =A0For right now, I'll stick with the SAI output, = > since I'm already<br> > > >>using it.<br> > > >>I tried to find the functions (ARC_FEED etc) before, but whate= > ver string I<br> > > >>searched for only showed up in emccannon.cc - which doesn'= > t have the<br> > > >>printf's.<br> > > >><br> > > >>Does the interpreter take care of offsets, cutter radius compe= > nsation, etc,<br> > > >>or is that taken care of somewhere else? =A0I see functions in= > test.cc related<br> > > >>to both, but I am wishing really, reeeeally hard that it's= > taken care of for<br> > > >>me :)<br> > > >><br> > > >>I just remembered gdepth. =A0I will take a look at it. =A0I= > 9;m trying to do about<br> > > >>the same thing, only using Open Cascade. =A0I hope the accurac= > y will be high<br> > > >>enough to compare the volume of the model generated from g-cod= > e with the<br> > > >>volume of the original model, to see if there are differences.= > <br> > > >><br> > > >>Now I just have to figure out how to draw a helix...<br> > > >><br> > > >>Mark<br> > > >><br> > > >>On Tue, Mar 3, 2009 at 12:36 PM, Alexey Starikovskiy<br> > <<a href=3D"mailto:[email protected]">[email protected]</a>>wrote:<= > br> > > >><br> > > >><br> > > >>>You may insert code into ARC_FEED/STRAIT_FEED of the attac= > hed program.<br> > > >>>command line to compile it (put your paths to emc source):= > <br> > > >>>g++ -I../x/emc2-trunk/include/ -L../x/emc2-trunk/lib/<br> > > >>>-R../x/emc2-trunk/lib/ -lrs274 -lemcini test.cc -o t<br> > > >>><br> > > >>>Mark wrote:<br> > > >>><br> > > >>><br> > > >>>>What I want is a way to get lines and arcs from a gcod= > e file.<br> > > >>>><br> > > >>>>Question: if changes are made to the main interp, do t= > hey propagate to the<br> > > >>>>Axis version or must the Axis version be edited by han= > d?<br> > > >>>><br> > > >>>>Mark<br> > > >>>><br> > > >>>>On Tue, Mar 3, 2009 at 11:55 AM, Jeff Epler <<a hre= > f=3D"mailto:[email protected]">[email protected]</a>><br> > > >>>>wrote:<br> > > >>>><br> > > >>>><br> > ><br> > > ----------------------------------------------------------------------= > --------<br> > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francis= > co, CA<br> > > -OSBC tackles the biggest issue in open source: Open Sourcing the Ente= > rprise<br> > > -Strategies to boost innovation and cut costs with open source partici= > pation<br> > > -Receive a $600 discount off the registration fee with the source code= > : SFAD<br> > > <a href=3D"http://p.sf.net/sfu/XcvMzF8H" target=3D"_blank">http://p.sf= > .net/sfu/XcvMzF8H</a><br> > > _______________________________________________<br> > > Emc-developers mailing list<br> > > <a href=3D"mailto:[email protected]">Emc-developers= > @lists.sourceforge.net</a><br> > > <a href=3D"https://lists.sourceforge.net/lists/listinfo/emc-developers= > " target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/emc-develo= > pers</a><br> > ><br> > <br> > <br> > <br> > </div></div>--<br> > <div><div></div><div class=3D"h5"><br> > <br> > <br> > <br> > ---------------------------------------------------------------------------= > ---<br> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, C= > A<br> > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterpris= > e<br> > -Strategies to boost innovation and cut costs with open source participatio= > n<br> > -Receive a $600 discount off the registration fee with the source code: SFA= > D<br> > <a href=3D"http://p.sf.net/sfu/XcvMzF8H" target=3D"_blank">http://p.sf.net/= > sfu/XcvMzF8H</a><br> > _______________________________________________<br> > Emc-developers mailing list<br> > <a href=3D"mailto:[email protected]">emc-develop...@list= > s.sourceforge.net</a><br> > <a href=3D"https://lists.sourceforge.net/lists/listinfo/emc-developers" tar= > get=3D"_blank">https://lists.sourceforge.net/lists/listinfo/emc-developers<= > /a><br> > </div></div></blockquote></div><br> > > --0016364994412c68d2046443dbad-- > > -- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
