Results 1 to 12 of 12

Thread: Is it possible to get a gcode into Rhino

  1. #1
    Gold Member MrBean's Avatar
    Join Date
    Oct 2003
    Location
    UK
    Posts
    593
    Downloads
    0
    Uploads
    0

    Is it possible to get a gcode into Rhino

    I have a gcode made from a photograph. I want to engrave the photo code onto a curved surface that I made in Rhino. Is there any way to import the gcode into Rhino so I can map it onto the curved surface?

    Or is there another way to accomplish this?

    Basicly I want to convert a gcode to a pointcloud or 3D model.

    Thanks.
    Regards Terry.....


  2. #2
    Registered
    Join Date
    Jun 2004
    Location
    United States
    Posts
    450
    Downloads
    0
    Uploads
    0
    I would think that if you could take out everything except X, Y and Z values seperated by a comma, it could work. I don't think there's a way to get arcs or any G-code specific commands.

    But I think it would have a value for all three axis.

    0.00(X), 0.00(Y), 0.00(Z)

    With a little effort, it could work. And maybe with a lot of effort, you could get everything (arcs) to import.


  3. #3
    Gold Member MrBean's Avatar
    Join Date
    Oct 2003
    Location
    UK
    Posts
    593
    Downloads
    0
    Uploads
    0
    Yep. There's no arcs in the code. Just std X,Y,Z moves. Maybe I'll try importing it into a spreadsheet. I don't fancy deleting all the un-needed charaters in notepad.

    Cheers..


  4. #4
    Registered
    Join Date
    Jun 2004
    Location
    United States
    Posts
    450
    Downloads
    0
    Uploads
    0
    MrBean, WordPad works very well for that. 'Find and Replace'.

    If you want to post/send it, I'll give it a shot.


  • #5
    Gold Member MrBean's Avatar
    Join Date
    Oct 2003
    Location
    UK
    Posts
    593
    Downloads
    0
    Uploads
    0
    The photo code is 250,000 lines. It's mostly X,Z moves, as it's done raster fashion. Rhino will need X,Y,Z co-ords for each point in the cloud? That's a lot of Y values need adding.

    Gcode is attached if anyone fancies a bash at it.

    Cheers Terry...
    Attached Files Attached Files


  • #6
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22211
    Downloads
    0
    Uploads
    0
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #7
    Gold Member MrBean's Avatar
    Join Date
    Oct 2003
    Location
    UK
    Posts
    593
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by ger21

    Whoa. Thats very cool. Any chance of letting the group know how it was done.
    I'll have a play around with it later. See if I can wrap it onto a surface.

    Cheers Ger21 Helpfull as always.

    Regards Terry.....


  • #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22211
    Downloads
    0
    Uploads
    0
    There is a program in the AutoCAD forum called GcodeIn. It converts Gcode to lines and arcs in AutoCAD. Thank Bill for writing it. It took a few minutes for it to draw the lines. Then a few more minutes to save the .dxf. (60+ MB) And another minute or 2 to .zip it. I need a faster computer, I guess.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #9
    Registered oldjohn's Avatar
    Join Date
    Feb 2005
    Location
    Sydney Australia
    Posts
    71
    Downloads
    0
    Uploads
    0
    G'day
    Check if you have a function to project a geomerty file or an .nc or .nci file onto a surface, as Mastercam has.
    Good luck


  • #10
    Registered
    Join Date
    Jun 2004
    Location
    United States
    Posts
    450
    Downloads
    0
    Uploads
    0
    oldjohn is correct. Build the surface you want to engrave the image on. Then use the 'project' command. It would probably be best to group all the curves together, that way you don't have too hard of a time selecting them all.

    Gerry, is there any place that us common folk can get that program?


  • #11
    Registered
    Join Date
    Jun 2004
    Location
    United States
    Posts
    450
    Downloads
    0
    Uploads
    0
    Actually, after thinking about it for a minute, project will not work. All that will do is give you straight, horizontal lines along your surface. You'll have to get creative on this one.


  • #12
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22211
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by DAB_Design
    Gerry, is there any place that us common folk can get that program?
    You need AutoCAD to use it. Gcodein - lisp program to read cnc files into autocad
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • Similar Threads

    1. Rhino to Gcode?
      By Fred in NC in forum Rhino 3D
      Replies: 20
      Last Post: 05-12-2008, 10:13 PM
    2. Rhino 3.0 vs AutoCAD
      By JRoque in forum Rhino 3D
      Replies: 8
      Last Post: 02-04-2005, 06:41 AM
    3. gcode to gcode converter
      By july_favre in forum General CAM Discussion
      Replies: 4
      Last Post: 05-24-2004, 07:51 PM
    4. Courtship Kills Rhino
      By WallCrawler in forum CNCzone Club House
      Replies: 1
      Last Post: 05-21-2004, 10:33 PM
    5. Gcode verify autocad plugin
      By balsaman in forum General CAM Discussion
      Replies: 1
      Last Post: 10-31-2003, 12:22 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.