From 9aad679cead15cf77f6a2928930adf91f9f2bced Mon Sep 17 00:00:00 2001 From: Tomer Nahshon <33577556+Z30G0D@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:44:29 +0300 Subject: [PATCH 1/3] Update example_streamlit_pythonocc.py --- example_streamlit_pythonocc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example_streamlit_pythonocc.py b/example_streamlit_pythonocc.py index 7fa5c94..c1c3edc 100644 --- a/example_streamlit_pythonocc.py +++ b/example_streamlit_pythonocc.py @@ -15,7 +15,7 @@ class app(): def __init__(self): - self.my_renderer = threejs_renderer_st.ThreejsRenderer() + self.my_renderer = threejs_renderer_st.ThreejsRenderer(path='.') self.queue = Queue() self.setup_streamlit() @@ -74,3 +74,4 @@ def render_thread(self, q): # streamlit run path_to_your_file/example_streamlit_pythonocc.py + From e6f7693f1a27ff606bf7414f470dd24152a5c353 Mon Sep 17 00:00:00 2001 From: Tomer Nahshon <33577556+Z30G0D@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:53:01 +0300 Subject: [PATCH 2/3] Update example_streamlit_pythonocc.py --- example_streamlit_pythonocc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example_streamlit_pythonocc.py b/example_streamlit_pythonocc.py index c1c3edc..5eb87b1 100644 --- a/example_streamlit_pythonocc.py +++ b/example_streamlit_pythonocc.py @@ -15,7 +15,7 @@ class app(): def __init__(self): - self.my_renderer = threejs_renderer_st.ThreejsRenderer(path='.') + self.my_renderer = threejs_renderer_st.ThreejsRenderer() self.queue = Queue() self.setup_streamlit() @@ -75,3 +75,4 @@ def render_thread(self, q): # streamlit run path_to_your_file/example_streamlit_pythonocc.py + From 3fe4cb8593584f3f23d5eb4fb88d6e10d7f5ce08 Mon Sep 17 00:00:00 2001 From: Tomer Nahshon <33577556+Z30G0D@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:54:05 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4816edb..3078a07 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ pip install streamlit In your terminal, with your conda env activated, just type: ``` -streamlit run path_to_your_file/example_streamlit_pythonocc.py +streamlit run /example_streamlit_pythonocc.py ``` ### Examples