Jump to content

Hurde

New member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Hurde

  1. Hey everyone,

     

    I thought i'll go on an adventure and create my own plugin.

     

    whilst stumbling through the examples and pretty much no documentation, I came upon an example whereof I don't know how it's mechanics work.

     

    i found the following from https://github.com/fieldOfView/Cura-MeasureTool

     

    // MeasureTool.qml
    
    property var pointA: UM.ActiveTool.properties.getValue("PointA")
    #MeasureTool.py
    
    self.setExposedProperties("PointA", "PointB", "Distance", "ActivePoint", "FromLocked", "SnapVerticesSupported", "SnapVertices")

     

    somehow this is linked together.  But I can't seem to find out how.

     

    Could someone explain how it works?

     

    In the end. All i want to do is to pass a Bool from .QML to the .py

×
×
  • Create New...