Comments (6)
Solved in PR #745
from uranium.
In the meantime, I'd appreciate if anyone thinks of a workaround that can be implemented through a plugin instead of waiting for a future version of Uranium&Cura.
from uranium.
Ah, yes, now I remember. See fb8bde4 for a related change. It seems that we only enabled this for tools, so sorry for the confusion that I generated on the forums!
I think we just never updated this to also work with views as well.
from uranium.
No worries, I appreciate all the help I've been getting from you and the complexity of developing for Cura.
we only enabled this for tools
As in, multiple tools per plugin are supported, but multiple views were never officially supported? If so, I guess I should use only one View per plugin for now.
From my end I've only encountered this one error related to multiple views. Maybe we should consider PR'ing the solution above and adding official support for multiple views?
from uranium.
As in, multiple tools per plugin are supported, but multiple views were never officially supported?
Correct. We should have just enabled both while we were at it. I consider this to be an ovesight on our side.
From my end I've only encountered this one error related to multiple views. Maybe we should consider PR'ing the solution above and adding official support for multiple views?
Please do! A PR would save us time :)
from uranium.
Sure, I'll get on it. Just one detail:
...
view_meta_data = list(filter(lambda view: view['name'] == view_name , view_meta_data))[0] #Filter for specific View
For this filtering to work, these two items...
- 'name' in the metadata dictionary from the plugin's
__init__()
- self._name in the View's instance (this is what's used for PluginName_ViewName nomenclature in PluginObject.getId())
... must be manually set with the same string value by the developer.
I'm studying the plugin registering process, to see if I can take advantage of the order in which Views are loaded, rather than filtering by name.
from uranium.
Related Issues (20)
- Segmentation fault on tests/TaskManagement/TestHttpRequestManager.py::test_getBasicAuthSuccess HOT 9
- test_init_bad fails with Python 3.8 HOT 4
- UM/Settings/InstanceContainer.py SyntaxWarning: "is" with a literal. HOT 1
- TestSettingFunction fails on Py 3.8, 'a_a'[1] no longer rejected
- OBJ file with "negative vertex reference numbers" does not load HOT 2
- Link of STL is not auto resolved HOT 3
- Profiling performance of rendering HOT 16
- A proper way to translate Cura plugins HOT 4
- Action Required: Fix WhiteSource Configuration File - .whitesource
- UM/PluginRegistry.py:4: DeprecationWarning: the imp module is deprecated... HOT 3
- Conditional is always false in MeshData.approximateConvexHull(...) HOT 3
- QtQuick Controls 2 UM.MenuItem HOT 11
- `DefinitionContainerUnpickler` is Bypassable HOT 1
- ModuleNotFoundError: No module named 'pyArcus' HOT 1
- QoL: uniqueName function always returns a name with count starting from 2 HOT 1
- Error loading conanfile when install Uranium HOT 2
- Environment Initialization problem HOT 2
- Uranium failure with (Py)Qt6 6.5.x HOT 1
- UraniumTranslationTools HOT 7
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 uranium.