CNC program to usable Solid Model


Results 1 to 10 of 10

Thread: CNC program to usable Solid Model

  1. #1
    Member AndersAdapt's Avatar
    Join Date
    Jul 2021
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default CNC program to usable Solid Model

    Hello,
    I am new to this forum but I wanted to see if anyone here had any ideas on how to process Gcode files back to an STL or a STEP file.

    The company I work for is trying to integrate a new acquisition but they're part documentation isn't very up to date. All of they're parts have correct machine code for their Haas mills but the back end solid works is not accurate the most current Machine Code. We need to have a solid model in order to program the parts for our non haas mills. I am looking to see if there is any process someone has figured out to reverse the Gcode files back to a STL or STEP file or any file format that could then be turn back to a solid. This would save a lot of reverse engineering time and guess work.

    Thanks for the help!

    Andy

    Similar Threads:


  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5029
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    The short answer is no.

    There are G code to .STL converters for 3D printing applications, but converting milling tool paths for all but the very simplest geometry would be nearly impossible, this would be especially difficult if using ball end cutters on organic shapes.

    It might be possible to edit the existing G code to make it compatible with your equipment.

    I guess I would take a known good part and compare it to the 3D model and update the model to fit the part. 3D laser scanning also comes to mind. Another possibility is to run a probing routine to create a point cloud, this could be done on a mill if it has that capability, or on a properly equipped CMM.

    I guess another possibility is just buy a Haas mill. Might be the least hassle.

    Jim Dawson
    Sandy, Oregon, USA


  3. #3
    Member
    Join Date
    Dec 2003
    Location
    East Anglia,England
    Posts
    976
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    It might be worth investigating software related to probing operations.It isn't something I have seen for quite a while as digitising hardware has become more common and probing has faded away.



  4. #4
    Member
    Join Date
    Dec 2009
    Location
    Australia
    Posts
    166
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    Mastercam can save the machined part as a stl you can also simulate the maching and then save the toolpaths as geometry if you send me a gcode I would give it a crack
    to see if I can do what you want. Update Hmm I think this won't work I don't think you can import Gcode into mastercam .

    Last edited by squirrel_41; 07-30-2021 at 04:33 AM.


  5. #5
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3401
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    hy a cam simulator uses same input in order to generate code and simulation, but also there are ones that use the code as an input for the simulator ( final result may be a raster solid, not an analitical one )

    in both cases, also a tool library is needed

    what you wish for, is possible, but is not common; idea is good, but ...

    how was generated those existing hass codes ?
    ... if a cam was used, then simply re-post
    ... if code was created on machine, then perhaps part is simple, and you may use a code translator, or create the solid in no-time

    kindly



  6. #6
    Moderator
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1327
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    You can read in G-code in Mecsoft's RhinoCAM and post it for a different machine. It's called Reverse Post Machining.

    Disclaimer: I've never tried it.

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


  7. #7
    Member
    Join Date
    Sep 2012
    Location
    Australia
    Posts
    168
    Downloads
    3
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    Quote Originally Posted by Jim Dawson View Post
    The short answer is no.

    There are G code to .STL converters for 3D printing applications, but converting milling tool paths for all but the very simplest geometry would be nearly impossible, this would be especially difficult if using ball end cutters on organic shapes.

    It might be possible to edit the existing G code to make it compatible with your equipment.

    I guess I would take a known good part and compare it to the 3D model and update the model to fit the part. 3D laser scanning also comes to mind. Another possibility is to run a probing routine to create a point cloud, this could be done on a mill if it has that capability, or on a properly equipped CMM.

    I guess another possibility is just buy a Haas mill. Might be the least hassle.
    Do you know of what software is used to save the poit cloud from a probing routine. I asked this in another post but maybe i worded it wrong. Sorry for hijacking the post

    Regards Bob


  8. #8
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5029
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    Quote Originally Posted by sudsy View Post
    Do you know of what software is used to save the poit cloud from a probing routine. I asked this in another post but maybe i worded it wrong. Sorry for hijacking the post
    That is a good question, Mach3/4 might do it if you can find a macro for it. I'm guessing something like that might be an option on a CMM. It doesn't look like the probing software is readily available I think it would have to be some kind of plugin for your machine CNC software. AutoDesk MeshLab software is their free version of point cloud to mesh software.

    Jim Dawson
    Sandy, Oregon, USA


  9. #9
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    3401
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    hy sudsy, hey jim at least nx is capable of importing raw data, then use a faceting tool, together with some restrictions, in order to transform cloud to solid



  10. #10
    Member
    Join Date
    Dec 2003
    Location
    East Anglia,England
    Posts
    976
    Downloads
    0
    Uploads
    0

    Default Re: CNC program to usable Solid Model

    A very long time ago there was a small program called Grev5 that could turn probing data into a 3D dxf file. It seems to have disappeared.



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

CNC program to usable Solid Model

CNC program to usable Solid Model

CNC program to usable Solid Model