Jump to content
newdesign

Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Recommended Posts

Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Hi, looking to get up and running using the cura software for my 3d printer. Its a uv resin curing printer so uses a laser to cure the solution as it rises from the vat.

My problem is that when i generate g-code its creates it as to think there is Extrusion happening, but what i need to do is replace this with my laser function (M126 on) and (M127 off) through out the entire code. how would this be achieved?

I have read about people creating a plugin for it or writing a script for it but i would not know how to do that. Any advise or where to go would be great.

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Hi Nallath, thanks for the reply im using cura 15.04.4. this is were i lack knowledge on script writing, i am not sure how i would go about doing this?

Is there anything out there to help me do this?

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

I've never written a script for 15.04, but there should be some guides floating on the wiki somewhere.

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

any links? It seems simple seen as other people have to be doing but i just cant figure out how to go about doing it. So all information i get is new to me

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Would anyone be able to point me in the right direction?

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Thanks for the reply, had a look at this but this is for etching. What i need to be able to do is is cure Uv resin with a 402nm laser. Just need to be able to turn the laser on and off at the right time through out the code instead of having the extrusion process happening.

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

That sounds like an interesting project! I suppose you should dig in the examples that @nallath linked.

Share this post


Link to post
Share on other sites
Posted (edited) · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

 

@xisle maybe able to help you out if you ask him nicely. He has written gcode modifiers for me in the passed that worked really well.

Edited by Guest

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

thanks for the reply guys. i think the problem here is the lack of open socure software to do this, and that my knowledge is limited has its restrictions. Thank you labern, i will massage him and see can he help me out. this project is draging out on me and would really like to get it finished.

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Cool. I have actually made a plugin for CURA to control a laser also

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

Perhaps you could use the Post-Processing Search/Replace function in Cura 2.6?

Share this post


Link to post
Share on other sites
Posted · Plugin to replace the extrusion g-code with my laser on/off function M126,M127)

You can but you also need to add some more bits.

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

×
×
  • 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!