Jump to content

will_barley

Dormant
  • Posts

    1
  • Joined

  • Last visited

Posts posted by will_barley

  1. I want to create a Cura plugin to enable a user to label a model. 

     

    The label would be text on the bed sitting next to the model.

     

    The text might simply be text, or include macros, like:

    "$speed" 

    That, at slice time, is replaced with slice settings, such as the print speed in this case.

     

    I'm trying to figure out what hooks I can get into in Uranium (Cura code).  I have read this page in the examples there: 

    https://github.com/Ultimaker/Cura/wiki/Plugin-Directory

     

    Can anyone tell me, or point me to a link that explains, the set of available hooks? 

     

    Does anyone have an advice on how a plug-in like this should be implemented? 

     

    After reading the Tool plugin example at the link above, I imagine how this could be implemented as a Tool plugin, which receives events when the tools active, and then can work with the items in the Cura Scene. 

     

    Some things I can see that I will have to do:

    - accept user input, (label content)

    - possibly consider selection in the scene, so that a user can apply a specific label to a specific item in the scene

    - replace macros with values at slice time

    - add items to the scene that get sliced by the slicer

     

    Any suggestions?

     

    Will

×
×
  • Create New...