Jump to content
Ultimaker Community of 3D Printing Experts
alanbaird

Profile from GCode option missing from File menu?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

@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.

Share this post


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

    • Architect Design Contest | People
      The goal of this contest is to design a set of people figurines that could be used in such a project to make an area, office or mall seem populated. 
      Think of different types of people in different environments, like walking people, people standing still, working people, and both men and women.
       
      • 31 replies
    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!