585,670 active members*
4,663 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Uncategorised CAM Discussion > Cnc Code Maker - Simple 2D CAD/CAM
Results 1 to 16 of 16
  1. #1

    Talking Cnc Code Maker - Simple 2D CAD/CAM

    I'm pleased to announce the (pre)release of "Cnc Code Maker", a small, simple and FREE 2D CAD/CAM software. It's made with a user-friendly way to be easy to use and to understand. It's not as powerful as commercial CAD/CAM programs, but used as a tool when manually creating CNC programs it will be very handy.


    It is at the moment in beta stage and the website is somewhat rough.

    Read more about it here: http://www.cncsimple.com

  2. #2
    Join Date
    May 2008
    Posts
    266
    I can't get it to work because the refuel code is invalid.

    Martin.

  3. #3
    It's beed updated and I've disabled the recharge system for the time being.
    New version available at: http://www.cncsimple.com/

  4. #4
    Join Date
    Feb 2005
    Posts
    32
    CncCodeMaker.
    There will be a lot of people interested in your program at this Swedish forum.
    look under "Mekatronik"
    http://elektronikforumet.com/forum/
    Best regards PerE

  5. #5
    Join Date
    Apr 2006
    Posts
    3498
    I really love programmers.. Thanks for putting efforts and sharing this great program with us.. What Language you used to program this great software?
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  6. #6
    Thank you for the suggestions.
    The softwware is made in Delphi, pure Win32. I'm currently looking inot the possibilities to convert it to a Linux verion aswell.

  7. #7
    Join Date
    May 2007
    Posts
    781
    Just downloaded build 514 and installed.
    When I do the recharge I get an error.
    From the Out of energy window
    Code: AMMSJSJHSLSLLN

    And the code I got back from the web page.
    Fuel code: ELWFWWNFZVXK

    Then I get a wrong code window.
    Hit OK on that and Exit the Out of energy widow and windows errors and sends a dump home.

    OS is XP x64 on a Dell M6300 laptop.

  8. #8
    Quote Originally Posted by Andre' B View Post
    Just downloaded build 514 and installed.
    When I do the recharge I get an error.
    From the Out of energy window
    Code: AMMSJSJHSLSLLN

    And the code I got back from the web page.
    Fuel code: ELWFWWNFZVXK

    This code should work: ELLLWFWWNFZVPG

    And the error has been corrected in the recharge script. Sorry for that.
    Author of Cnc Code Maker - 2D CAD/CAM
    http://www.cncsimple.com

  9. #9
    Join Date
    May 2007
    Posts
    781
    Thanks, it is working now.

  10. #10
    Join Date
    Jul 2006
    Posts
    1256
    fuel code doesn't work
    AMMLAMYL3AMJND
    L GALILEO THE EPOXY SURFACE PLATE IS FLAT

  11. #11
    Join Date
    May 2007
    Posts
    781
    I tryed uploading some screen shots but somthing is not working.

    I drew a rectangle with some fillets and did the arc in, pick the path, and arc out like in your video.
    In the g code I am getting all X values in mirrored (*-1) of what the drawing is. Also I values in the G2 arcs are mirrored.

    The NcDemo1.avi video looks to show the same but the g code text is a bit small and fuzzy on my screen.

    Edit:
    It is also putting a redundant G1 move in after the arc out move, same X,Y values as the end of the arc.

  12. #12
    Quote Originally Posted by Andre' B View Post
    In the g code I am getting all X values in mirrored (*-1) of what the drawing is. Also I values in the G2 arcs are mirrored.

    The NcDemo1.avi video looks to show the same but the g code text is a bit small and fuzzy on my screen.
    Thanks for for the feedback. I just noticed that the wrong postprocessors were supplied with the installation. Gonna fix that asap.

    Quote Originally Posted by lgalla View Post
    fuel code doesn't work
    AMMLAMYL3AMJND
    Get the last build (516), you should get it started there without a fuel code
    Author of Cnc Code Maker - 2D CAD/CAM
    http://www.cncsimple.com

  13. #13
    There's a new build, with the right postprocessors /and some fixed other aswell)
    Author of Cnc Code Maker - 2D CAD/CAM
    http://www.cncsimple.com

  14. #14
    Join Date
    May 2007
    Posts
    781
    I have been playing with your program build 517.
    Below is a screen shot of the shape I drew and programmed and the G-code generated.

    A few things I noticed while doing this.

    The G0 moves between the arc outs and the next arc in is being done at the cutting depth and not at some safe height above the part. If you have something in place to do that I just have not found it yet.

    I had a few problems getting the arc in to happen on the side I wanted, mainly when the geometry is small and there is a lot of other geometry close by. Had to zoom in very close to get it to work, had some similar problems trimming lines.
    Would be nice to be able to set the arc in out parameters one time and not have to click thru that stuff every time.
    Maybe think about clicking on the point, clicking on the geometry to arc into and then as the user moves the cursor around the point show a preview of one of the 4 different arc in moves that would be selected with a third click.

    You will see in the picture that I have a large circle around the shape in the center, that circle represents the part blank before machining. So I trimmed the path to that circle.
    On some of short paths the arc in out happens on an arc the end of which is not a quadrant that caused some problems with the arc in move so I added a short line tangent to the arc, then the arc in out worked fine.

    I did have an few errors pop up but I clicked thru them before saving any of the info, will try to get it next time I see them.

    Seems to be something that is not getting closed down properly in the file save in the Save as type box.
    I saved the ccmd file, then saved the .nc file at which time the type box was showing the ccmd options.
    Then I hit the Print Scrn button, minimized the codemaker program and opened up IrfanView pasted the screen shot, cropped it and when I went to save the picture the save as type box was showing the .nc option, which seems really strange. I hit cancel and then tried to save the pic again and it worked as expected.
    I will watch for that again and see if I can get some better info on what happened.


    Last
    You have a really nice simple and useful project going here, I like simple, clean, small, and fast software. I use programs like KeyCreator, SolidWorks, and MasterCAM at work and they have all grown into big bloated pigs, they work great but you need a super computer to get anything done.

    Let me know what you used to make those demo videos and if I have time I will make some more. Maybe give you some ideas on what operations can be automated to make the tool paths faster to create.

    Thanks;
    Andre' B.

    Code:
    % 
    :1000 
    N10 G21 
    N20 G0 G54 G80 G90 G40 
    N30 T1 M06 
    N40 G43 H1 
    N50 G0 X0.03578 Y1.86299 Z-0.5 
    N60 G1 X0.09088 Y1.77954 F20 
    N70 G3 X0.12961 Y1.74519 I0.08345 J0.0551 
    N80 G1 
    N90 X0.13666 Y1.74167 
    N100 G3 X0.27082 Y1.71 I0.13416 J0.26833 
    N110 G1 X0.37202 
    N120 G3 X0.42202 Y1.7234 I0. J0.1 
    N130 G1 
    N140 X0.50862 Y1.7734 
    N150 G0 X-0.50862 
    N160 G1 X-0.42202 Y1.7234 
    N170 G3 X-0.37202 Y1.71 I0.05 J0.0866 
    N180 G1 
    N190 X-0.27082 
    N200 G2 X-0.13666 Y1.67833 I0. J-0.3 
    N210 G1 X0.13666 Y1.54167 
    N220 G3 X0.27082 Y1.51 I0.13416 J0.26833 
    N230 G1 X0.88453 
    N240 G3 X0.93453 Y1.5234 I0. J0.1 
    N250 G1 
    N260 X1.02114 Y1.5734 
    N270 G0 X-1.0886 Y1.52777 
    N280 G1 X-0.99499 Y1.49258 
    N290 G3 X-0.94348 Y1.48752 I0.03519 J0.0936 
    N300 G1 
    N310 X-0.91388 Y1.49242 
    N320 G2 X-0.7 Y1.51 I0.21388 J-1.29242 
    N330 G1 X-0.27082 
    N340 G2 X-0.13666 Y1.47833 I0. J-0.3 
    N350 G1 X0.13666 Y1.34167 
    N360 G3 X0.27082 Y1.31 I0.13416 J0.26833 
    N370 G1 X0.9 
    N380 G2 X1.22461 Y1.25014 I0. J-0.91 
    N390 G1 X1.25263 Y1.23943 
    N400 G3 X1.30412 Y1.23411 I0.03569 J0.09342 
    N410 G1 
    N420 X1.40287 Y1.24991 
    N430 G0 X0.50862 Y-1.7734 
    N440 G1 X0.42202 Y-1.7234 
    N450 G3 X0.37202 Y-1.71 I-0.05 J-0.0866 
    N460 G1 X-0.37202 
    N470 G3 X-0.42202 Y-1.7234 I0. J-0.1 
    N480 G1 
    N490 X-0.50862 Y-1.7734 
    N500 G0 X1.0886 Y-1.52777 
    N510 G1 X0.99499 Y-1.49258 
    N520 G3 X0.94348 Y-1.48752 I-0.03519 J-0.0936 
    N530 G1 
    N540 X0.91388 Y-1.49242 
    N550 G2 X0.7 Y-1.51 I-0.21388 J1.29242 
    N560 G1 X-0.88453 
    N570 G3 X-0.93453 Y-1.5234 I0. J-0.1 
    N580 G1 
    N590 X-1.02114 Y-1.5734 
    N600 G0 X1.54834 Y-1.02761 
    N610 G1 X1.44922 Y-1.04089 
    N620 G3 X1.40144 Y-1.0608 I0.01327 J-0.09911 
    N630 G1 
    N640 X1.37768 Y-1.07912 
    N650 G2 X0.7 Y-1.31 I-0.67768 J0.87912 
    N660 G1 X-0.9 
    N670 G2 X-1.22461 Y-1.25014 I0. J0.91 
    N680 G1 X-1.25263 Y-1.23943 
    N690 G3 X-1.30412 Y-1.23411 I-0.03569 J-0.09342 
    N700 G1 
    N710 X-1.40287 Y-1.24991 
    N720 G0 X-1.54834 Y1.02761 
    N730 G1 X-1.44922 Y1.04089 
    N740 G3 X-1.40144 Y1.0608 I-0.01327 J0.09911 
    N750 G1 
    N760 X-1.37768 Y1.07912 
    N770 G2 X-0.7 Y1.31 I0.67768 J-0.87912 
    N780 G1 X-0.27082 
    N790 G2 X-0.13666 Y1.27833 I0. J-0.3 
    N800 G1 X0.13666 Y1.14167 
    N810 G3 X0.27082 Y1.11 I0.13416 J0.26833 
    N820 G1 X0.9 
    N830 G2 X1.61 Y0.4 I0. J-0.71 
    N840 G1 Y-0.2 
    N850 G2 X0.7 Y-1.11 I-0.91 J0. 
    N860 G1 X-0.9 
    N870 G2 X-1.61 Y-0.4 I0. J0.71 
    N880 G1 Y0.2 
    N890 G2 X-0.7 Y1.11 I0.91 J0. 
    N900 G1 X-0.27082 
    N910 G2 X-0.13666 Y1.07833 I0. J-0.3 
    N920 G1 X0.13666 Y0.94167 
    N930 G3 X0.27082 Y0.91 I0.13416 J0.26833 
    N940 G1 X0.9 
    N950 G2 X1.41 Y0.4 I0. J-0.51 
    N960 G1 Y-0.2 
    N970 G2 X0.7 Y-0.91 I-0.71 J0. 
    N980 G1 X-0.9 
    N990 G2 X-1.41 Y-0.4 I0. J0.51 
    N1000 G1 Y0.2 
    N1010 G2 X-0.7 Y0.91 I0.71 J0. 
    N1020 G1 X-0.27082 
    N1030 G2 X-0.13666 Y0.87833 I0. J-0.3 
    N1040 G1 X0.13666 Y0.74167 
    N1050 G3 X0.27082 Y0.71 I0.13416 J0.26833 
    N1060 G1 X0.9 
    N1070 G2 X1.21 Y0.4 I0. J-0.31 
    N1080 G1 Y-0.2 
    N1090 G2 X0.7 Y-0.71 I-0.51 J0. 
    N1100 G1 X-0.9 
    N1110 G2 X-1.21 Y-0.4 I0. J0.31 
    N1120 G1 Y0.2 
    N1130 G2 X-0.7 Y0.71 I0.51 J0. 
    N1140 G1 X-0.27082 
    N1150 G2 X-0.13666 Y0.67833 I0. J-0.3 
    N1160 G1 X0.13666 Y0.54167 
    N1170 G3 X0.27082 Y0.51 I0.13416 J0.26833 
    N1180 G1 X0.9 
    N1190 G2 X1.01 Y0.4 I0. J-0.11 
    N1200 G1 Y-0.2 
    N1210 G2 X0.7 Y-0.51 I-0.31 J0. 
    N1220 G1 X-0.9 
    N1230 G2 X-1.01 Y-0.4 I0. J0.11 
    N1240 G1 Y0.2 
    N1250 G2 X-0.7 Y0.51 I0.31 J0. 
    N1260 G1 X-0.03231 
    N1270 G2 X-0.00806 Y0.50701 I0. J-0.1 
    N1280 G1 X0.00806 Y0.50299 
    N1290 G3 X0.03231 Y0.5 I0.02425 J0.09701 
    N1300 G1 X0.9 
    N1310 G2 X1. Y0.4 I0. J-0.1 
    N1320 G1 Y-0.2 
    N1330 G2 X0.7 Y-0.5 I-0.3 J0. 
    N1340 G1 X-0.9 
    N1350 G2 X-1. Y-0.4 I0. J0.1 
    N1360 G1 Y0.2 
    N1370 G2 X-0.7 Y0.5 I0.3 J0. 
    N1380 G1 X0.05231 
    N1390 G3 X0.10231 Y0.5134 I0. J0.1 
    N1400 G1 
    N1410 X0.18891 Y0.5634 
    N1420 M30 
    %
    Attached Thumbnails Attached Thumbnails test3.jpg  

  15. #15
    Thank you very much for the feedback Andre' B. I really appreciate it.

    Quote Originally Posted by Andre' B View Post
    I have been playing with your program build 517.
    Below is a screen shot of the shape I drew and programmed and the G-code generated.

    The G0 moves between the arc outs and the next arc in is being done at the cutting depth and not at some safe height above the part. If you have something in place to do that I just have not found it yet.
    Yeah, depth output is default on, which it shouldn't really be. You turn it on/off (and other parameters as well) under the Settings tab in the NC-code output window.

    There's also the NC Parameters button to check out. (Where you set the working depth etc)

    Quote Originally Posted by Andre' B View Post
    I had a few problems getting the arc in to happen on the side I wanted, mainly when the geometry is small and there is a lot of other geometry close by. Had to zoom in very close to get it to work, had some similar problems trimming lines.
    Yes, there is a issue with selecting lines/arc. Gonna look into that.
    The Toolpath entry is currently bugged, so is the trim 2 lines.

    Quote Originally Posted by Andre' B View Post
    Would be nice to be able to set the arc in out parameters one time and not have to click thru that stuff every time.
    Maybe think about clicking on the point, clicking on the geometry to arc into and then as the user moves the cursor around the point show a preview of one of the 4 different arc in moves that would be selected with a third click.
    Awesome idea, that's going in
    I was thinking about how I could improve the parameter selection for then entry/exit since it is somewhat diffuse.

    Quote Originally Posted by Andre' B View Post
    You will see in the picture that I have a large circle around the shape in the center, that circle represents the part blank before machining. So I trimmed the path to that circle.
    On some of short paths the arc in out happens on an arc the end of which is not a quadrant that caused some problems with the arc in move so I added a short line tangent to the arc, then the arc in out worked fine.
    The entry/exit is currently only supposed to work against a line. Entry/exit against an arc is on the to-be-done list. If that's what happened that is.

    Quote Originally Posted by Andre' B View Post
    I did have an few errors pop up but I clicked thru them before saving any of the info, will try to get it next time I see them.
    They end up in "errorlog.txt" in the installation directory.

    Quote Originally Posted by Andre' B View Post
    Seems to be something that is not getting closed down properly in the file save in the Save as type box.
    Thanks for the info, gonna look into that.

    Quote Originally Posted by Andre' B View Post
    Last
    You have a really nice simple and useful project going here, I like simple, clean, small, and fast software. I use programs like KeyCreator, SolidWorks, and MasterCAM at work and they have all grown into big bloated pigs, they work great but you need a super computer to get anything done.
    Cheers for the good words! I have to say I agree with you too, and that's the actual reason this program exists.

    Quote Originally Posted by Andre' B View Post
    Let me know what you used to make those demo videos and if I have time I will make some more. Maybe give you some ideas on what operations can be automated to make the tool paths faster to create.
    I used Cam Studio. Some open-source software that I Googled. It's working alrite.
    http://camstudio.org/
    Author of Cnc Code Maker - 2D CAD/CAM
    http://www.cncsimple.com

  16. #16

    Cnc Code Maker - Free 2D CAD/CAM

    Just an update. The software has evolved somewhat in the last 2 weeks.

    Cnc Code Maker now got a User-defined cycle, which can be adjusted (through the post-processor) to work with built-in cycles in the controls. (for example G71, G72 etc in Fanuc Lathes). There's an experimental post-processor supplied.
    There's also a (currently only Milling) contour cycle operation, with automatic entry/exit.

    Here's a link to a few YouTube videos: Videos

    This is the fix-list(s) from the last two weeks:

    Code:
    * Entry/Exit revamped
    * Added a Parameter box for the Entry/Exit 
    * Fixed the mouse pointer jump on Mouse-wheel zoom in.
    * Fixed messages for dimension
    * Added some missing icons to the menu
    * Added the modified menu (not done)
    * Fixed a misspelled XML entry.
    * Fixed a bug where it would soft-crash if the file were missing on open.
    * Major rewrite of tool-path generation/handling. 
    * Added "NC operations"
    * Added "New operation" button, for manual Operations
    * Added "Contour operation" with depth-cuts, automatic entry/exit and automatic Machine cutter compensation.
    * Fixed a bug in Manual Entry
    * Added stuff in the post-processor.
    * Added depth output on tool-path drawing
    * Added Layers
    * Added confirmation on tool-path clear
    * Added Eob in the Post-processor engine ([MACHINE] - EOB )
    * Now the NC text box scrolls to the bottom when new tool-paths are added.
    * Redesigned Layers (Hold Control and click to make active)
    * Fixed missing associations when hovering center-point and mid-point
    * Fixed the circular bug in NC Auto-route
    * Added Offset contour (yet limited, no arc support). See the example here: http://www.cncsimple.com/forum/index.php?topic=5.msg68#msg68
    * Fixed the icon and text for the function move between layers
    * Fixed a bug where the Save menu, icon always asked for a filename.
    * Fixed a bug where the Free block didn't immediately appear in code window
    * Remade Auto-route tool-path to use the new chain select function. It's not 100% working as intended yet (the chain select).
    * Fixed some various stuff in the post-processor engine.
    * Changed some incorrect text in the Contour operation, and offset contour.
    * Fix a bug where the hovered lines/arc didn't highlight when chain-selecting.
    * Added Custom cycle operation.
    * Added a bunch new variables in the postprocessor
    * Added [USERCYCLE] + more in the postprocessor
    * Added User defined messages for the Custom Cycle operation in the postprocessor
    * Remade the Condition check in the post-processor (Was "? VALUE>1, n, Do Stuff", is "IF VALUE > 1 THEN n, Do stuff")
    * Added the user cycle to the file format (Load/save)
    * Added an experimental Fanuc 0T Lathe post (New post-stuff in it, check it out if interested)
    * Added experimental incremental coordinates (iX, iY, iZ)
    * Added a bunch of missing variables comparing in the post-processor engine
    * Added a bunch of missing variables updates in the post-processor engine
    * Fixed a selection bug
    * Added a tolerance in the chain-select function
    * Fixed some DXF Layer errors (still need to overhaul the DXF layers)
    * Fixed Trim 2 Lines to work as intended (line -arc, arc-arc still bugged)
    * Fixed the issue that made Auto-route to spit out doubles.
    * Fixed the issue that made Contour Operation  to spit out doubles.
    * Fixed the issue that made Custom cycle to spit out doubles.
    * Fixed some missing stuff and typos in the Iso mill posts processors.
    * Added file associations in the setup program.
    * Remove the automatic new operation when you make a Custom cycle (allows you to do entry/exits w/o issues)
    * Fixed a bug that the I, J, K & R values weren't assigned their correct value in the custom cycle (in post-processor engine)
    * Fixed a forgotten coordinate in the end block of the custom cycle. It shouldn't really matter, but it looked bad graphics-wise. Save files could still display it the wrong way.
    + more
    If you still haven't tried it out yet, give it a shoot. It's free.

    The first release is getting closer.
    Author of Cnc Code Maker - 2D CAD/CAM
    http://www.cncsimple.com

Similar Threads

  1. I need a very very simple g-code file please.
    By Ranscon in forum G-Code Programing
    Replies: 5
    Last Post: 09-03-2009, 12:13 AM
  2. Anyone know a simple g code generator?
    By Ryan Higdon in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 5
    Last Post: 03-17-2009, 12:19 AM
  3. Need help with simple G code
    By Step by Step in forum Coding
    Replies: 2
    Last Post: 10-25-2008, 02:49 AM
  4. Simple G-Code program?
    By N4NV in forum G-Code Programing
    Replies: 10
    Last Post: 03-25-2006, 01:35 AM
  5. Simple G-code commands...
    By WilliamD in forum G-Code Programing
    Replies: 5
    Last Post: 01-12-2006, 07:27 PM

Posting Permissions

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