Jump to content
KarlWKirchhofer

Strip out commenting in output code

Recommended Posts

Posted · Strip out commenting in output code

Hi,

I have put together a 3d printer that is operating off of CNC based software. The code that Cura puts out begins commenting with a ";". In the software I am using to run the machine the commenting starts with a "(" and ends with a ")". Is there a setting in CUra where I can change this? It looks like all the post processors comment similarly.

 

Thanks!

Karl

Share this post


Link to post
Share on other sites
Posted · Strip out commenting in output code

The only way to fix that would be to write a post processing script for the post processing plugin

Share this post


Link to post
Share on other sites
Posted · Strip out commenting in output code

Unfortunately, executing a postprocessing script adds... a comment to the gcode file to indicate that it has been postprocessed

Share this post


Link to post
Share on other sites
Posted · Strip out commenting in output code

Perhaps there is a setting that I missed when picking the flavor of gcode I am running that will eliminate the comments? Maybe being over optimistic but worth the time to ask. Thanks for the replies regardless!

 

Karl

Share this post


Link to post
Share on other sites
Posted · Strip out commenting in output code

No, there is no setting for this.

 

It would be fairly trivial (for someone who knows how to create plugins) to make a plugin that strips all comments before saving, but quite frankly I am starting to become a bit weary of writing plugins that I will never use myself and only benefit a handful of people. So, try to convince me it is worth my effort.

Share this post


Link to post
Share on other sites
Posted · Strip out commenting in output code

Thx. Ahoeben but no need! This  translator seems to work:

http://www.dynomotion.com/wiki/index.php?title=How_to_convert_a_milling_machine_to_a_3D_printer_in_3_easy_steps#GCode_Converter_Program_.28PostProccessExtruder.29

 

scroll down the page a little to the link for the converter.

 

I am using this motion control software.

 

thanks!

Karl

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

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!