586,103 active members*
3,859 visitors online*
Register for free
Login
IndustryArena Forum > CAD Software > Rhino 3D > Is it possible to get a gcode into Rhino
Results 1 to 12 of 12
  1. #1
    Join Date
    Oct 2003
    Posts
    593

    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
    Join Date
    Jun 2004
    Posts
    450
    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
    Join Date
    Oct 2003
    Posts
    593
    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
    Join Date
    Jun 2004
    Posts
    450
    MrBean, WordPad works very well for that. 'Find and Replace'.

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

  5. #5
    Join Date
    Oct 2003
    Posts
    593
    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. #6
    Join Date
    Mar 2003
    Posts
    35538
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

  7. #7
    Join Date
    Oct 2003
    Posts
    593
    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. #8
    Join Date
    Mar 2003
    Posts
    35538
    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

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

  9. #9
    Join Date
    Feb 2005
    Posts
    78
    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. #10
    Join Date
    Jun 2004
    Posts
    450
    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. #11
    Join Date
    Jun 2004
    Posts
    450
    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. #12
    Join Date
    Mar 2003
    Posts
    35538
    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. http://www.cnczone.com/forums/showthread.php?t=2092
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.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-13-2008, 03:13 AM
  2. Rhino 3.0 vs AutoCAD
    By JRoque in forum Rhino 3D
    Replies: 8
    Last Post: 02-04-2005, 12:41 PM
  3. gcode to gcode converter
    By july_favre in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 05-25-2004, 12:51 AM
  4. Courtship Kills Rhino
    By WallCrawler in forum Community Club House
    Replies: 1
    Last Post: 05-22-2004, 03:33 AM
  5. Gcode verify autocad plugin
    By balsaman in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 10-31-2003, 06:22 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
  •