Comments (3)
@5axes I think perhaps there are some changes happening to this plugin that weren't fully committed.
You can temporarily bypass the issue with missing MeasureToolHandle import by commenting out line 13 of plugin, however for me it crashes cura when I attempt to use it.
diff --git a/MeasureTool.py b/MeasureTool.py
index 4d721f6..36e09ad 100644
--- a/MeasureTool.py
+++ b/MeasureTool.py
@@ -10,7 +10,7 @@ from UM.i18n import i18nCatalog
from cura.CuraApplication import CuraApplication
from cura.Scene.CuraSceneNode import CuraSceneNode
from .MeasurePass import MeasurePass
-from .MeasureToolHandle import MeasureToolHandle
+# from .MeasureToolHandle import MeasureToolHandle
from PyQt5.QtCore import QObject
from PyQt5.QtGui import QVector3D
EDIT: I was able to take a measurement on my second try by selecting the model first, so maybe it's okay.
from cura-measuretool.
Like I have said before, this plugin is not ready for prime-time. I do not recommend using it.
Having said that, I unintentionally included the aforementioned import in an unrelated commit. I have now added the missing class, though it is only a stub; it adds no functionality yet.
from cura-measuretool.
I get same on both Cura 4.7.1 and Cura 4.8.0 on Windows 10 (running curacli.exe --debug
):
2021-01-24 17:04:36,423 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin MachineSettingsAction
2021-01-24 17:04:36,443 - ERROR - [MainThread] UM.Logger.logException [106]: Exception: Import error loading module MeasureTool
2021-01-24 17:04:36,460 - ERROR - [MainThread] UM.Logger.logException [110]: Traceback (most recent call last):
2021-01-24 17:04:36,464 - ERROR - [MainThread] UM.Logger.logException [110]: File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\PluginRegistry.py", line 667, in _findPlugin
2021-01-24 17:04:36,468 - ERROR - [MainThread] UM.Logger.logException [110]: File "imp.py", line 245, in load_module
2021-01-24 17:04:36,472 - ERROR - [MainThread] UM.Logger.logException [110]: File "imp.py", line 217, in load_package
2021-01-24 17:04:36,476 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 693, in _load
2021-01-24 17:04:36,480 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
2021-01-24 17:04:36,485 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap_external>", line 697, in exec_module
2021-01-24 17:04:36,489 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
2021-01-24 17:04:36,495 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\MeasureTool\__init__.py", line 4, in <module>
2021-01-24 17:04:36,499 - ERROR - [MainThread] UM.Logger.logException [110]: from . import MeasureTool
2021-01-24 17:04:36,506 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\MeasureTool\MeasureTool.py", line 13, in <module>
2021-01-24 17:04:36,511 - ERROR - [MainThread] UM.Logger.logException [110]: from .MeasureToolHandle import MeasureToolHandle
2021-01-24 17:04:36,516 - ERROR - [MainThread] UM.Logger.logException [110]: ImportError: No module named 'MeasureTool.MeasureToolHandle'
2021-01-24 17:04:36,524 - WARNING - [MainThread] UM.PluginRegistry._populateMetaData [739]: Could not find plugin MeasureTool
2021-01-24 17:04:36,531 - ERROR - [MainThread] UM.Logger.logException [106]: Exception: Import error loading module MeasureTool
2021-01-24 17:04:36,536 - ERROR - [MainThread] UM.Logger.logException [110]: Traceback (most recent call last):
2021-01-24 17:04:36,542 - ERROR - [MainThread] UM.Logger.logException [110]: File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\PluginRegistry.py", line 667, in _findPlugin
2021-01-24 17:04:36,546 - ERROR - [MainThread] UM.Logger.logException [110]: File "imp.py", line 245, in load_module
2021-01-24 17:04:36,551 - ERROR - [MainThread] UM.Logger.logException [110]: File "imp.py", line 217, in load_package
2021-01-24 17:04:36,557 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 693, in _load
2021-01-24 17:04:36,561 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
2021-01-24 17:04:36,566 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap_external>", line 697, in exec_module
2021-01-24 17:04:36,572 - ERROR - [MainThread] UM.Logger.logException [110]: File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
2021-01-24 17:04:36,576 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\MeasureTool\__init__.py", line 4, in <module>
2021-01-24 17:04:36,582 - ERROR - [MainThread] UM.Logger.logException [110]: from . import MeasureTool
2021-01-24 17:04:36,586 - ERROR - [MainThread] UM.Logger.logException [110]: File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\MeasureTool\MeasureTool.py", line 13, in <module>
2021-01-24 17:04:36,592 - ERROR - [MainThread] UM.Logger.logException [110]: from .MeasureToolHandle import MeasureToolHandle
2021-01-24 17:04:36,600 - ERROR - [MainThread] UM.Logger.logException [110]: ImportError: No module named 'MeasureTool.MeasureToolHandle'
2021-01-24 17:04:36,615 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin ModelChecker
@fieldOfView I know you've said you don't believe this plugin is marketplace worthy, but can I can convince you to reconsider? In the absense of anything else, having this available (even if it was labeled Alpha / dev help wanted) would be very helpful. thx
from cura-measuretool.
Related Issues (20)
- [Question] Which measure units does the tool use? (i.e how does the measuring works?) HOT 2
- How do I install it HOT 3
- Shouldn't the README.md contain installation instructions? HOT 3
- Measuring an empty buildplate does not work (Sidebar GUI)
- Configurable grid
- Cura 5.0 with Dark Theme HOT 1
- Use of multiple i18n_catalog in this plugin
- Use of multiple i18n_catalog in this plugin
- Attribute check ShiftModifier HOT 2
- Do you still support SDK 5.0 HOT 1
- [V1.1.0] Dimension in Micron are not correct HOT 4
- [cura 4] UM.Label is not a type HOT 4
- Plugin does not work in Preview mode HOT 8
- Not working in Cura 5.1 HOT 22
- Plugin Translation HOT 1
- Disabled in Cura 4.4.1 on Ubuntu 18 HOT 2
- Broken in 5.7.0? HOT 1
- Ultimaker Cura v5.6.0 HOT 1
- Measure Angles
- How to install it manually because i can't login from the software HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cura-measuretool.