20 Nov 2023 |
jernd | Yeah, totally understand and agree with your complaint about dependencies. If you want to fork my CQ-editor I can probably show you how to disable the dark mode stuff (that was the original reason I created my fork, but then it expanded to include better build123d support).
Side note: if you are just using CQ-editor as a viewer then can't you just adjust the color scheme of the viewer window? Are you needing to use other panes of CQ-editor for your use-case? | 15:51:22 |
qlum | It was mostly an ask, yea that has been my workaround for now, though some other things are still useful such as enabling / disabling objects, in it. It's really not that big a deal, original question was mostly just wondering if it was somewhat easy. | 15:59:43 |
| scottwr joined the room. | 18:43:10 |
21 Nov 2023 |
| michelpas joined the room. | 13:05:35 |
| tapadar joined the room. | 15:15:24 |
| lightlyskewed joined the room. | 16:40:15 |
22 Nov 2023 |
medicationforall | Download obelisk_01.png | 12:58:50 |
medicationforall | Butting in a bit. Thanks to this conversation I installed OCP CAD Viewer which was pretty painless to get running! All in all it's pretty cool.
qlum to your point about making a threejs viewer. I made one in a streamlit app as a proof of concept. https://obeliskterrain.streamlit.app/ code is available under Apache 2.0 license https://github.com/medicationforall/obeliskterrainapp You might be interested in the viewer code https://github.com/medicationforall/obeliskterrainapp/blob/main/js/stl-viewer.js
I cheat and export the cadquery model as an stl and import that into three.js. I set up the javascript canvas viewer as an iframe on the streamlit page. That avoids some of the ui interaction repainting shenanigans that streamlit has because the iframe is isolated from streamlit proper.
It's not perfect and can definitely be improved upon. Let me know when you make something better! | 12:58:51 |
qlum | Not that productive in my spare time, could just as well end up with something relying on a simple step export. | 14:14:44 |
23 Nov 2023 |
| matt2110m joined the room. | 15:37:24 |
24 Nov 2023 |
| apostolos. joined the room. | 13:53:25 |
25 Nov 2023 |
| lebleu0848 joined the room. | 19:35:30 |
| cridez joined the room. | 20:52:45 |
26 Nov 2023 |
| trayracing. joined the room. | 16:55:59 |
| coedo joined the room. | 19:24:45 |
27 Nov 2023 |
| dickhead1612 joined the room. | 12:54:16 |
| pete_85256 joined the room. | 12:58:23 |
| philon joined the room. | 14:24:46 |
28 Nov 2023 |
| limepod joined the room. | 19:15:49 |
| an11 joined the room. | 19:54:18 |
29 Nov 2023 |
| trafopajka joined the room. | 18:25:12 |
30 Nov 2023 |
| shitron | 07:17:58 |
1 Dec 2023 |
markymark_hh | Can confirm OCP CAD Viewer 2.0.6 running on Win10 and startup is as expected. But there is a strange (?) issue:
show(test, measure_tools=False, grid=False)
Called without additional parameters does not show the grid (as this is the default, right?). But this combination actually switches the grid ON without the ability even to switch the grid OFF manually in the viewer. Can somebody please try to confirm. bernhard42 | 08:41:56 |
| obsoleszenz joined the room. | 10:17:03 |
bernhard42 | Yes, this is a bug. What actually works is show(test, measure_tools=False, grid=(True, False, True))
grid=False should expand to grid=(False,False,False) , but obviously doesn't | 16:42:24 |
roger_maitland | tuplify to the rescue! | 17:10:38 |
markymark_hh | OK, thanks for confirming. Glad that is no crazy thing happening only on my side. Grüße m. | 17:13:05 |
3 Dec 2023 |
| sporewoh joined the room. | 02:41:01 |
| mfritz joined the room. | 10:47:09 |
5 Dec 2023 |
| deanzyne joined the room. | 18:09:50 |