UltiMaker uses functional, analytical and tracking cookies. Tracking cookies enhance your experience on our website and may also collect your personal data outside of Ultimaker websites. If you agree with the use of tracking cookies, click “I agree, continue browsing”. You can withdraw your consent at any time. If you do not consent with the use of tracking cookies, click “Refuse”. You can find more information about cookies on our Privacy and Cookie Policy page.
Plugin help for QML > .PY communication
in Software Plug-ins
Posted
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