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">&lt;<a href=3D"mailto:[email protected]";>[email protected]=
> m</a>&gt;</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 &lt;<a href=3D"mailto:[email protected]";>spad...@sover=
> .net</a>&gt; said:<br>
> <br>
> &gt; EBo wrote:<br>
> &gt;<br>
> &gt; &gt;Mark,<br>
> &gt; &gt;<br>
> &gt; &gt;It would help to tell us what you are trying to accomplish. =A0Fro=
> m your last<br>
> &gt; &gt;statement:<br>
> &gt; &gt;<br>
> &gt; &gt;<br>
> &gt; &gt;&gt;Now I just have to figure out how to draw a helix...<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;<br>
> &gt; &gt;The problem that I see is that you might not be able to get there =
> from arc&#39;s<br>
> &gt; &gt;and might have to approximate arcs as lines only. =A0The issue is =
> that g02/03<br>
> &gt; &gt;(arcs) are assumed to be planar -- which means you cannot get ther=
> e from where<br>
> &gt; &gt;you are.<br>
> &gt; &gt;<br>
> &gt;<br>
> </div><div><div></div><div class=3D"h5">&gt; What you can&#39;t do is an ar=
> bitrary helix, or an arbitrary arc for that<br>
> &gt; matter. =A0Only plane-aligned arcs are allowed at the moment, which tu=
> rn<br>
> &gt; into plane-aligned helixes if you also move in the perpendicular axis.=
> <br>
> &gt;<br>
> &gt; - Steve<br>
> &gt;<br>
> &gt; &gt; =A0If there is some way to generate an arc that also moves in ano=
> ther<br>
> &gt; &gt;dimension/axis then you will have to account for that and can actu=
> ally<br>
> &gt; &gt;generate a helix. =A0Maybe I am just missing the point from skimmi=
> ng this<br>
> &gt; &gt;thread, but I&#39;m getting the feeling that something is a little=
>  off...<br>
> &gt; &gt;<br>
> &gt; &gt;BTW, this is one of the reasons that I advocated NURBs years ago s=
> ince a helix<br>
> &gt; &gt;can be generated by skewing the control polygon of a circle.<br>
> &gt; &gt;<br>
> &gt; &gt; =A0EBo --<br>
> &gt; &gt;<br>
> &gt; &gt;<br>
> &gt; &gt;Mark &lt;<a href=3D"mailto:[email protected]";>[email protected]</a=
> >&gt; said:<br>
> &gt; &gt;<br>
> &gt; &gt;<br>
> &gt; &gt;<br>
> &gt; &gt;&gt;--0016362834ee85fb7f04643b1f21<br>
> &gt; &gt;&gt;Content-Type: text/plain; charset=3DISO-8859-1<br>
> &gt; &gt;&gt;Content-Transfer-Encoding: 7bit<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;Thanks. =A0For right now, I&#39;ll stick with the SAI output, =
> since I&#39;m already<br>
> &gt; &gt;&gt;using it.<br>
> &gt; &gt;&gt;I tried to find the functions (ARC_FEED etc) before, but whate=
> ver string I<br>
> &gt; &gt;&gt;searched for only showed up in emccannon.cc - which doesn&#39;=
> t have the<br>
> &gt; &gt;&gt;printf&#39;s.<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;Does the interpreter take care of offsets, cutter radius compe=
> nsation, etc,<br>
> &gt; &gt;&gt;or is that taken care of somewhere else? =A0I see functions in=
>  test.cc related<br>
> &gt; &gt;&gt;to both, but I am wishing really, reeeeally hard that it&#39;s=
>  taken care of for<br>
> &gt; &gt;&gt;me :)<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;I just remembered gdepth. =A0I will take a look at it. =A0I&#3=
> 9;m trying to do about<br>
> &gt; &gt;&gt;the same thing, only using Open Cascade. =A0I hope the accurac=
> y will be high<br>
> &gt; &gt;&gt;enough to compare the volume of the model generated from g-cod=
> e with the<br>
> &gt; &gt;&gt;volume of the original model, to see if there are differences.=
> <br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;Now I just have to figure out how to draw a helix...<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;Mark<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;On Tue, Mar 3, 2009 at 12:36 PM, Alexey Starikovskiy<br>
> &lt;<a href=3D"mailto:[email protected]";>[email protected]</a>&gt;wrote:<=
> br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;<br>
> &gt; &gt;&gt;&gt;You may insert code into ARC_FEED/STRAIT_FEED of the attac=
> hed program.<br>
> &gt; &gt;&gt;&gt;command line to compile it (put your paths to emc source):=
> <br>
> &gt; &gt;&gt;&gt;g++ -I../x/emc2-trunk/include/ -L../x/emc2-trunk/lib/<br>
> &gt; &gt;&gt;&gt;-R../x/emc2-trunk/lib/ -lrs274 -lemcini test.cc -o t<br>
> &gt; &gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;Mark wrote:<br>
> &gt; &gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;&gt;What I want is a way to get lines and arcs from a gcod=
> e file.<br>
> &gt; &gt;&gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;&gt;Question: if changes are made to the main interp, do t=
> hey propagate to the<br>
> &gt; &gt;&gt;&gt;&gt;Axis version or must the Axis version be edited by han=
> d?<br>
> &gt; &gt;&gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;&gt;Mark<br>
> &gt; &gt;&gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;&gt;On Tue, Mar 3, 2009 at 11:55 AM, Jeff Epler &lt;<a hre=
> f=3D"mailto:[email protected]";>[email protected]</a>&gt;<br>
> &gt; &gt;&gt;&gt;&gt;wrote:<br>
> &gt; &gt;&gt;&gt;&gt;<br>
> &gt; &gt;&gt;&gt;&gt;<br>
> &gt;<br>
> &gt; ----------------------------------------------------------------------=
> --------<br>
> &gt; Open Source Business Conference (OSBC), March 24-25, 2009, San Francis=
> co, CA<br>
> &gt; -OSBC tackles the biggest issue in open source: Open Sourcing the Ente=
> rprise<br>
> &gt; -Strategies to boost innovation and cut costs with open source partici=
> pation<br>
> &gt; -Receive a $600 discount off the registration fee with the source code=
> : SFAD<br>
> &gt; <a href=3D"http://p.sf.net/sfu/XcvMzF8H"; target=3D"_blank">http://p.sf=
> .net/sfu/XcvMzF8H</a><br>
> &gt; _______________________________________________<br>
> &gt; Emc-developers mailing list<br>
> &gt; <a href=3D"mailto:[email protected]";>Emc-developers=
> @lists.sourceforge.net</a><br>
> &gt; <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>
> &gt;<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

Reply via email to