1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Solved G-Code of SolidWorks files

Discussion in 'General Questions' started by Michele Beyer, Nov 27, 2015.

  1. Michele Beyer

    Michele Beyer Member

    Joined:
    Nov 16, 2015
    Messages:
    62
    Likes Received:
    7
    Hello,

    I'm trying to use a job cost calculator for a 3D print job, and I need to determine the length of filament used. I know I can find this data in the G-code of my model, however I don't know how to find the g-code of a SolidWorks file - do I need some kind of software? Or can I find it on Matter Control somehow?

    Thank you!
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
  3. Michele Beyer

    Michele Beyer Member

    Joined:
    Nov 16, 2015
    Messages:
    62
    Likes Received:
    7
    Yes, I know SolidWorks, I use it every day :) I guess I thought a .stl file was full of G-code or something, which is why I asked if I needed software, aka Matter Control to read it. Do you know where I can find the filament length for a model on Matter Control? I looked through everything and nothing pops out at me.
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    Sorry, I can't help you with MatterControl. I use SolidWorks and Simplify3D. Simplify3D plainly shows you on the screen how much the estimated filament use is before you start.
     
  5. Michele Beyer

    Michele Beyer Member

    Joined:
    Nov 16, 2015
    Messages:
    62
    Likes Received:
    7
    Gotcha, yeah I've been meaning to get Simplify3D, we use it at work. I just haven't had any issues with Matter Control, so for now I'll probably stick with it. Thank you again for all of your help this past week!!
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,915
    Likes Received:
    7,338
    Good luck. If the free stuff works, stick with it. I often say that as you grow with the printer you will eventually outgrow the free ones :)
     
    Printed Solid likes this.
  7. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,277
    You can use solidworks to find the volume of the part. With the volume you can find the mass using the density of your filament. With the mass you can figure out the length.
     
  8. c. West

    c. West Member

    Joined:
    Sep 19, 2015
    Messages:
    32
    Likes Received:
    2
    Or you can get S3D :)

    Sent from my SM-N910T using Tapatalk
     
  9. Printed Solid

    Printed Solid Volunteer Admin
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    1,605
    Likes Received:
    1,003
    What is the gcode of a solid works file? Does solid works have a built in slicer now? If it does, it should give you length of filament used like all other decent slicers. At the very least, you can open up the code and look towards the end to see how much filament has been extruded in length and back calculate.

    If I'm misunderstanding and you're just asking how to slice a solidworks file with another slicer, you need to export to stl. Then you can go into something like Cura for slicing to get your estimates. Cura lets you put in parameters for filament density and cost, so it outputs cost of materials used and weight of filament. This will be completely accurate if you have entered things correctly. There are a lot of benefits to using a slicer directly rather than going through a third party interface like mattercontrol or repetier host, least of which is that you are able to keep current on your version to take advantage of improvements.
     

Share This Page