Jump to content
UltiMaker Community of 3D Printing Experts

Profile from GCode option missing from File menu?


alanbaird

Recommended Posts

Posted · Profile from GCode option missing from File menu?

Hi -

I'm new to 3d printing and just downloaded Cura for Mac (v 2.3.1). I want to view the settings associated with a .gcode file that came with my printer. Elsewhere in the formus it says I should be able to do this by going to File > Profile from Gcode, but this option does not appear in my version of Cura. It seems like there is an expert mode I need to be able to display but I can't figure out how to do this. Can someone please help me out?

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    How can I tell if the file has been sliced by Cura?

     

    So, I looked at the .gcode file that I'm using (see it here: http://3dprinterwiki.info/wp-content/uploads/2016/03/Butterfly.gcode). It ends with a string that starts:

    ;CURA_PROFILE_STRING:eNrtWltv2zYUfhWC/Qg+tljjSbLdJDX0sHZJX9qiWDKs....

    That seems like an indication that Cura was used to slice the file right? If so, why don't I get the "profile from gcode" option?

  • Link to post
    Share on other sites

    Posted (edited) · Profile from GCode option missing from File menu?

    For anyone else that comes across this that wants to decode the string and has the same problem, here's how to decode it:

    1) get the base64 string out of the gcode file I referenced earlier

    2) in Ruby's irb:

     

    require 'base64'require 'zlib'a = "Zlib::Inflate.inflate(Base64.decode64(a)).split(/[\t\n\f\b]/).each{|l| puts l}

     

    or in Python:

     

    options = ""options = base64.b64decode(options)options = zlib.decompress(options)

     

    (don't know about Python - based on this: https://github.com/daid/LegacyCura/blob/master/Cura/util/profile.py#L256-L257

    Edited by Guest
  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    Those are settings from the old cura. You can import them there.

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    The "File > Profile from Gcode" is referring to the old Cura (Cura 15.04 and before).

    In the new Cura (Cura 2.1 and newer), the functionality is in the Profiles pane of the preferences. Press the import button and from the types dropdown (where it says Cura Profile (*.curaprofile)), select gcode.

    In Cura 2.4, the latter should no longer be necessary; it will show both curaprofiles, gcode and legacy ini files by default. That is, if my pull request gets merged.

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    @ahoeben -

    Wow, I never would have thought to select the file type. Seems like it should be able to figure that out when I click on the file. Oh well...

    When I do that, select my .gcode file (the one linked to above), I get the error: "Failed to import profile from (my gcode file): Expecting value: line 1 column 1 (char 0)". The first line in the file is "M190 S50.000000"

    I'm using Cura 2.3.1.

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    Seems like it should be able to figure that out when I click on the file. Oh well...

     

    It should. It will. Cura 2.4

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    What version of Cura was this gcode sliced with?

    The import gcode as profile functionality in Cura 2.x does not support importing gcode from legacy Cura (yet); only gcode produced by Cura 2.x is supported.

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

     

    @ahoeben - I can't tell what version it's sliced with. I looked through the file and there aren't any hints that I can find. Since I am only in possession of the GCode (this is a sample file that came with my printer), I don't think I'll be able to figure this out.

  • Link to post
    Share on other sites

    Posted · Profile from GCode option missing from File menu?

    Ok, then let me put it this way; unfortunately this specific gcode file can not currently be imported as a profile, because it was written by an older version of Cura.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 24 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    ×
    ×
    • Create New...