I am working on python and dash framework based Web application.
I deployed speckle server in my local machine and integrated the viewer using the embedded viewer URL within my web app.
I am working on adding a button in web app which can show color filtering based on renderMatrial.name property. Color Filtering is working in speckle-server but I want to increase opacity in the model. Currently its showing solid colors in the server using Filtering extension while I want to increase its transparency with default colors.
Can we increase the opacity when filtering specific category?
Also, how to extract viewer embedded URL with specific filters and color options. I went through this post but when I add filtering in my local server, it doesn’t change the URL.
The operation of the older legacy web application and what we have now differs for the embedded viewer.
We used to stuff the URL with thousands of properties, but with greater capability, now the URL is inefficient.
If you are building a web application directly, these settings can be sent using the API of Viewer 2.0, but this isn’t yet available for using the embedded viewer. Instead, we are working on a different means of handling “saved views.” Perhaps we will enable you to address this view (speculation) in the URL.
Is it possible, if I can control the opacity in the speckle server itself instead of web app?
Let say, if I choose specific property in the left Filtering Panel, and click on Toggle Coloring, it should show the transparent colors instead of solid colors. Overall I want to increase the opacity of the model.
Also, you mentioned about sending these settings using the API of Viewer 2.0.
How can I achieve this? Can I call this API within my python app?
Or can I just call this within speckle server and adjust the opacity?