584,826 active members*
5,305 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Dolphin CAD/CAM > create slot with profile / so many lines instead of I J K style
Results 1 to 16 of 16
  1. #1
    Join Date
    Oct 2009
    Posts
    230

    create slot with profile / so many lines instead of I J K style

    not sure how to word this
    i am doing a .500" diameter profile straight slot into the part. only .050" deep though
    seems like it should output a 2 line K style command instead of a hundred + lines
    maybe the post process is doing this?




    N6X-4.8705Y-0.1594Z0.0F1.0
    N7G01X-4.8724Y-0.1596Z-0.0015
    N8X-4.8744Y-0.1599Z-0.0029
    N9X-4.8764Y-0.1602Z-0.0043
    N10X-4.8784Y-0.1605Z-0.0057
    N11X-4.8804Y-0.1608Z-0.0071
    N12X-4.8824Y-0.1611Z-0.0085
    N13X-4.8844Y-0.1614Z-0.0098
    N14X-4.8864Y-0.1617Z-0.0111
    N15X-4.8885Y-0.162Z-0.0124
    N16X-4.8906Y-0.1623Z-0.0137
    N17X-4.8926Y-0.1626Z-0.015
    N18X-4.8947Y-0.1629Z-0.0162
    N19X-4.8968Y-0.1632Z-0.0174
    N20X-4.8989Y-0.1635Z-0.0186
    N21X-4.9011Y-0.1638Z-0.0198
    N22X-4.9032Y-0.1641Z-0.021
    N23X-4.9054Y-0.1644Z-0.0221
    N24X-4.9075Y-0.1647Z-0.0232
    N25X-4.9097Y-0.165Z-0.0243
    N26X-4.9119Y-0.1653Z-0.0254
    N27X-4.9141Y-0.1656Z-0.0264
    N28X-4.9163Y-0.166Z-0.0275
    N29X-4.9185Y-0.1663Z-0.0285
    N30X-4.9207Y-0.1666Z-0.0295
    N31X-4.9229Y-0.1669Z-0.0304
    N32X-4.9252Y-0.1672Z-0.0314
    N33X-4.9274Y-0.1676Z-0.0323
    N34X-4.9297Y-0.1679Z-0.0332
    N35X-4.9319Y-0.1682Z-0.034
    N36X-4.9342Y-0.1685Z-0.0349
    N37X-4.9365Y-0.1689Z-0.0357
    N38X-4.9388Y-0.1692Z-0.0365
    N39X-4.9411Y-0.1695Z-0.0373
    N40X-4.9434Y-0.1699Z-0.0381
    N41X-4.9457Y-0.1702Z-0.0388
    N42X-4.948Y-0.1705Z-0.0395
    N43X-4.9503Y-0.1709Z-0.0402
    N44X-4.9527Y-0.1712Z-0.0409
    N45X-4.955Y-0.1715Z-0.0415
    N46X-4.9573Y-0.1719Z-0.0421
    N47X-4.9597Y-0.1722Z-0.0427
    N48X-4.9621Y-0.1726Z-0.0433
    N49X-4.9644Y-0.1729Z-0.0439
    N50X-4.9668Y-0.1732Z-0.0444
    N51X-4.9692Y-0.1736Z-0.0449
    N52X-4.9715Y-0.1739Z-0.0454
    N53X-4.9739Y-0.1743Z-0.0458
    N54X-4.9763Y-0.1746Z-0.0463
    N55X-4.9787Y-0.175Z-0.0467
    N56X-4.9811Y-0.1753Z-0.0471
    N57X-4.9835Y-0.1756Z-0.0474
    N58X-4.9859Y-0.176Z-0.0478
    N59X-4.9883Y-0.1763Z-0.0481
    N60X-4.9907Y-0.1767Z-0.0484
    N61X-4.9931Y-0.177Z-0.0486
    N62X-4.9955Y-0.1774Z-0.0489
    N63X-4.9979Y-0.1777Z-0.0491
    N64X-5.0004Y-0.1781Z-0.0493
    N65X-5.0028Y-0.1784Z-0.0495
    N66X-5.0052Y-0.1788Z-0.0496
    N67X-5.0076Y-0.1791Z-0.0497
    N68X-5.01Y-0.1795Z-0.0498
    N69X-5.0125Y-0.1798Z-0.0499
    N70X-5.0149Y-0.1802Z-0.05
    N71X-5.0165Y-0.1804
    N72X-5.0189Y-0.1807
    N73X-5.0213Y-0.1811Z-0.0499
    N74X-5.0237Y-0.1814Z-0.0498
    N75X-5.0262Y-0.1818Z-0.0497
    N76X-5.0286Y-0.1821Z-0.0496
    N77X-5.031Y-0.1825Z-0.0494
    N78X-5.0334Y-0.1828Z-0.0492
    N79X-5.0358Y-0.1832Z-0.049
    N80X-5.0383Y-0.1835Z-0.0488
    N81X-5.0407Y-0.1839Z-0.0485
    N82X-5.0431Y-0.1842Z-0.0483
    N83X-5.0455Y-0.1846Z-0.048
    N84X-5.0479Y-0.1849Z-0.0477
    N85X-5.0503Y-0.1853Z-0.0473
    N86X-5.0527Y-0.1856Z-0.0469
    N87X-5.0551Y-0.186Z-0.0465
    N88X-5.0575Y-0.1863Z-0.0461
    N89X-5.0598Y-0.1867Z-0.0457
    N90X-5.0622Y-0.187Z-0.0452
    N91X-5.0646Y-0.1873Z-0.0447
    N92X-5.067Y-0.1877Z-0.0442
    N93X-5.0693Y-0.188Z-0.0437
    N94X-5.0717Y-0.1884Z-0.0431
    N95X-5.0741Y-0.1887Z-0.0425
    N96X-5.0764Y-0.189Z-0.0419
    N97X-5.0787Y-0.1894Z-0.0413
    N98X-5.0811Y-0.1897Z-0.0406
    N99X-5.0834Y-0.19Z-0.04
    N100X-5.0857Y-0.1904Z-0.0393
    N101X-5.0881Y-0.1907Z-0.0385
    N102X-5.0904Y-0.191Z-0.0378
    N103X-5.0927Y-0.1914Z-0.037
    N104X-5.095Y-0.1917Z-0.0362
    N105X-5.0972Y-0.192Z-0.0354
    N106X-5.0995Y-0.1924Z-0.0346
    N107X-5.1018Y-0.1927Z-0.0337
    N108X-5.1041Y-0.193Z-0.0329
    N109X-5.1063Y-0.1933Z-0.032
    N110X-5.1086Y-0.1937Z-0.031
    N111X-5.1108Y-0.194Z-0.0301
    N112X-5.113Y-0.1943Z-0.0291
    N113X-5.1152Y-0.1946Z-0.0281
    N114X-5.1174Y-0.195Z-0.0271
    N115X-5.1196Y-0.1953Z-0.0261
    N116X-5.1218Y-0.1956Z-0.025
    N117X-5.124Y-0.1959Z-0.0239
    N118X-5.1262Y-0.1962Z-0.0228
    N119X-5.1283Y-0.1965Z-0.0217
    N120X-5.1305Y-0.1968Z-0.0206
    N121X-5.1326Y-0.1971Z-0.0194
    N122X-5.1347Y-0.1974Z-0.0182
    N123X-5.1368Y-0.1977Z-0.017
    N124X-5.1389Y-0.198Z-0.0158
    N125X-5.141Y-0.1983Z-0.0145
    N126X-5.1431Y-0.1986Z-0.0133
    N127X-5.1452Y-0.1989Z-0.012
    N128X-5.1472Y-0.1992Z-0.0107
    N129X-5.1492Y-0.1995Z-0.0094
    N130X-5.1513Y-0.1998Z-0.008
    N131X-5.1533Y-0.2001Z-0.0066
    N132X-5.1553Y-0.2004Z-0.0052
    N133X-5.1573Y-0.2007Z-0.0038
    N134X-5.1592Y-0.201Z-0.0024
    N135X-5.1612Y-0.2013Z-0.001
    N136X-5.1625Y-0.2014Z0.0
    N137G00Z0.5
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  2. #2
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    this might be clearer

    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  3. #3
    Join Date
    Apr 2004
    Posts
    5728

    Re: create slot with profile / so many lines instead of I J K style

    It looks like your slot isn't exactly orthogonal, in relationship to the workpiece. That's why the numbers are varying in X, Y and Z.
    Andrew Werby
    Website

  4. #4
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    hmmm, just tried a X plane only slot and the same hundred lines of code....
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  5. #5
    Join Date
    Dec 2013
    Posts
    5717

    Re: create slot with profile / so many lines instead of I J K style

    Sorry, it's not very clear in either example.

    But the code seems reasonable if I understand what you're doing.
    Jim Dawson
    Sandy, Oregon, USA

  6. #6
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    i know it is hard to be very accurate with the words
    in a X Y plane there can be 2 lines of code to make an arc
    is there not the same thing for a Z plane arc?
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  7. #7
    Join Date
    Dec 2013
    Posts
    5717

    Re: create slot with profile / so many lines instead of I J K style

    It's pretty common for a post processor to create code like that for other than just an arc, even though the shape seems to be an XZ plane arc. If the CAM software is doing it's job correctly, it is also compensating for where the endmill is contacting the work, and thus would not be a true arc.
    Jim Dawson
    Sandy, Oregon, USA

  8. #8
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    i have a diameter of .005 in the tool definition
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  9. #9
    Join Date
    Dec 2013
    Posts
    5717

    Re: create slot with profile / so many lines instead of I J K style

    After looking at the G code again, That arc is on a diagonal line so 3 axes are in continuous motion, there is no way to simultaneously move in a G17 (XY plane) and a G18 (XZ plane) or a G19 (YZ plane), one or the other, not both. The only way to generate that shape is the way the post processor did it, because it a simultaneous 3 axis move.
    Jim Dawson
    Sandy, Oregon, USA

  10. #10
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    gotcha
    my brain was stuck on there being like 2 lines of code
    X x.xxx Y y.yyy Z -z.zzz K something something.....

    do you have an example line of code for a radius down/infeed and then up? assuming a point and not a flat end mill
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  11. #11
    Join Date
    Dec 2013
    Posts
    5717

    Re: create slot with profile / so many lines instead of I J K style

    Quote Originally Posted by turbothis View Post
    gotcha
    my brain was stuck on there being like 2 lines of code
    X x.xxx Y y.yyy Z -z.zzz K something something.....

    do you have an example line of code for a radius down/infeed and then up? assuming a point and not a flat end mill
    Here is a G18 move to create a XZ arc. This is a convex arc, but the same principle applies, there is no Y movement, only X and Z

    G18
    G1 X0.75 Z-0.1112 F5.
    G2 X0.5449 Z0.0144 I-0.3906 K-0.2145
    Jim Dawson
    Sandy, Oregon, USA

  12. #12
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    i see
    so you can only move 2 plains at once. other wise it is a bunch of small vector tolerance 3d moves?
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

  13. #13
    Join Date
    Dec 2013
    Posts
    5717

    Re: create slot with profile / so many lines instead of I J K style

    Quote Originally Posted by turbothis View Post
    i see
    so you can only move 2 plains at once. other wise it is a bunch of small vector tolerance 3d moves?
    As far as I know that is correct. It's not unusual for me to run thousands of lines of short vector moves. A true arc in two planes will do a G3 or G2 move.
    Jim Dawson
    Sandy, Oregon, USA

  14. #14
    Join Date
    Feb 2007
    Posts
    412

    Re: create slot with profile / so many lines instead of I J K style

    Hello,

    Yes, you can't use I J K if the slot is not parallel to either the X or Y axes.

    What you can do to cut down the number of line vectors is to use the Vector tolerance setting on the Slot tab of the Z Profile command, setting the number to a larger value will reduce the number of line segments output by the post processor.

    ATB
    Andre

  15. #15
    Join Date
    Jun 2015
    Posts
    4131

    Re: create slot with profile / so many lines instead of I J K style

    there is no way to simultaneously move in a G17 (XY plane) and a G18 (XZ plane) or a G19 (YZ plane), one or the other, not both.
    hello, just saw this some cncs can handle tilted arches; such an option can be called 3d circular interpolation

    another aproach, is to take a normal xy arch for example, and apply a 3d coordinate conversion ( scale, rotation, translation, mirror, etc )

    last, but not least, all those 100+ lines from initial post, may be executed by the cnc, in something like 1/2/3/very few lines : entire code read-ahead and aproximated within a tolerance

    all above are cnc solutions



    for software solutions, seeing andre-dolphin in here, he will more than likely provide a quick tip
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  16. #16
    Join Date
    Oct 2009
    Posts
    230

    Re: create slot with profile / so many lines instead of I J K style

    i like the sound of this

    " take a normal xy arch for example, and apply a 3d coordinate conversion ( scale, rotation, translation, mirror, etc )"
    shizuoka an-s knee mill=kflop/kanalog running nema 34 dc brushed servos
    cincinnati sabre 750=kflop/kanalog building now with ac brushless servos

Similar Threads

  1. How do I create an angled plane to create an angled slot in Alibre
    By Nalder in forum Uncategorised CAD Discussion
    Replies: 2
    Last Post: 12-26-2018, 05:29 PM
  2. cannot create profile
    By Gallchobhair in forum UCCNC Control Software
    Replies: 33
    Last Post: 10-06-2016, 07:59 PM
  3. Using live tooling to create slot.
    By p8md in forum Okuma
    Replies: 10
    Last Post: 01-23-2010, 10:26 PM
  4. Create Arc And Lines From A N-Spline
    By thebowman in forum Mastercam
    Replies: 1
    Last Post: 11-02-2009, 12:39 AM
  5. How do I create solids from lines?
    By HawainPand in forum BobCad-Cam
    Replies: 2
    Last Post: 09-12-2004, 06:36 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •