From 337e6bab75608612778e075e090ce0e8ecfd5e2d Mon Sep 17 00:00:00 2001 From: fan-ziqi Date: Wed, 13 Nov 2024 15:50:44 +0800 Subject: [PATCH] v2.4 --- README.md | 14 +++++++------- requirements.txt | 3 --- setup.py | 6 ++++-- .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 156 bytes .../__pycache__/stl_compressor_ui.cpython-38.pyc | Bin 0 -> 4132 bytes stl_compressor/stl_compressor_ui.py | 2 +- 6 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 requirements.txt create mode 100644 stl_compressor/__pycache__/__init__.cpython-38.pyc create mode 100644 stl_compressor/__pycache__/stl_compressor_ui.cpython-38.pyc diff --git a/README.md b/README.md index 39d1d23..525638b 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,18 @@ STL Compressor is a tool designed to compress STL files efficiently. Users can c ## Usage -* Windows users can download [here](https://github.com/fan-ziqi/stl_compressor/releases) +Install with pip -* Python +```bash +pip install --upgrade stl_compressor -i https://www.pypi.org/simple/ +stl_compressor +``` - ```bash - pip install --upgrade stl_compressor -i https://www.pypi.org/simple/ - stl_compressor - ``` +You can also download the Windows exe file [here](https://github.com/fan-ziqi/stl_compressor/releases) ## Packaging -To package the application as a standalone executable, use PyInstaller: +To package the application as a standalone exe file for windows, use PyInstaller: ```bash pyinstaller --onefile --windowed stl_compressor/stl_compressor_ui.py diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index c6d4458..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -trimesh -open3d -fast_simplification \ No newline at end of file diff --git a/setup.py b/setup.py index 1f75f94..4d4d8fc 100644 --- a/setup.py +++ b/setup.py @@ -6,14 +6,16 @@ setup( name="stl_compressor", - version="2.2", + version="2.4", description="STL Compressor", long_description=long_description, long_description_content_type="text/markdown", author="Ziqi Fan", author_email="fanziqi614@gmail.com", url="https://github.com/fan-ziqi/stl_compressor", - install_requires=[], + install_requires=[ + "open3d", + ], license="Apache License 2.0", packages=find_packages(), entry_points={"console_scripts": ["stl_compressor = stl_compressor.stl_compressor_ui:main"]}, diff --git a/stl_compressor/__pycache__/__init__.cpython-38.pyc b/stl_compressor/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..112ce0b2b6c5209b8542af994660927585ecb076 GIT binary patch literal 156 zcmWIL<>g`kf?awh=^*+sh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6vJKO;XkRlhW; zG_RyozdXMvySN}RIki~7xFjb&IX}0cD7CmawFrfqU!)%&pP83g5+AQuPMLjJ)^Kuf!aT3c;Z0CWtNZm9~Hz|DWAa;R^K?{M_jAhCcsSHPP ztjeq0t%0K3qJZ38{>5GPH*nicv+gdN+jEAbV&$elW$?_LnKN@{&V1+LKa@&&4Swav z51MbLHSJ%>oc(2ic?@6J(>0B0jCdN2TS9fjJ)MSk%s3Dj~Y@+2dzx>r67hrCZogZqs!moTKfm$vo zEm!%~;ht3(y~r-XIj^xJ| ze(wXkFC*JpZTS+&Ec#(>hMtDIX;tL*RldnK`Typ5OlbY0>0DcVPr85vOLn|L1etxd>&b@A95ih zvlY00O^=G)m*S{?=&~l4QKsX_{qUnEO1SawSN4N8U+M04ec4?(48%d$aT+{afm78R zLAxV(2%C+t!PjiP>n?YWqGDq|2tr<0H_O59p$$aSE5syaBF3QqGppjYl~os^BeelJ z)s!`FDr=GvYl4-BcGNeOVQN-vl_FS$xq>%jAdUn+mB1h)@Bjjj0v0Yn6Pb8>b@iB( zad0X*c+i!duB`6`9^;|{Gsy+)_yXfF(!jmbAKnNxs0;iE9XK=~>y#W@lJu<)a$QJqq0ErI0V!t@ZV)TL5##ZK9`9YyiR9i&p zQ~kK4)|UFEei6+f%l#ZP&S`ynN&}5$X2$&AG?wXSfm;1C(Cpu{eUsU1TEE;kSZ+;| zV}lCncstk6D33sR<~KzK?(vBsLFD!FuSL*A5In4YCM!L?y3o^a)FM;z_kg8$j@RY2 z@hB5^JXb~rU^2>azuV@*0Z1CbeHQ6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rL+Pb>Z&n>K*u2S8ET&1c+O7}504|Dli_CTa=C#xJq4|AS z-V1z){qQ1BQG~q5XMn7LHQ;YxM63hpO^&{6_1(SYd%fA`{2lk8_+!=GqiWNY``z8g zdyapn=e~8p9}IX#3O?<1+y4JHB05|gxZ~iL8uBWPQ@icBz83_YZ@#OEv;P3O5TT(F z@e*ic*XuZ5uh$-kSs0*Mc>w8^i?{?sQ2}PssD*XweI_pA$S;v#0VUK6VzNO#8G<1`0B!|ge{(9Nt1D0ziCYGxx&uW_PQxfZLt#sN)o_a4g9%nK}j6;`Ra z@nU@k;I5*da(J4Ct~ghxoLU;A3L^q7#!;^xOJ%kpEODBDx%K81-P+uFvY|poWQ1JO zFX=zt1fvHnq$vRkggB^R1fscZ-f^H%3Ph9((=ILU1`wUw_4xeO)2*GIt?wf8JuN}S z6GCy69HZp94emF1da5_Ce)n>RnoZ%d;ltp62=)3mAJbj~bap-d2+O?C1A-Mmk*H9k y+gbR#YA-@103&$_M%cr^RMw}UO85q^&!B`6OF>luefVGntS1v{C9W>(DDz*%aSCYw literal 0 HcmV?d00001 diff --git a/stl_compressor/stl_compressor_ui.py b/stl_compressor/stl_compressor_ui.py index 588c840..239e61a 100644 --- a/stl_compressor/stl_compressor_ui.py +++ b/stl_compressor/stl_compressor_ui.py @@ -151,7 +151,7 @@ def on_compress_finished(): bottom_frame = tk.Frame(window) bottom_frame.pack(side=tk.BOTTOM, fill=tk.X) -version_label = tk.Label(bottom_frame, text="STL Compressor v2.2") +version_label = tk.Label(bottom_frame, text="STL Compressor v2.4") version_label.pack(side=tk.LEFT) licence_label = tk.Label(bottom_frame, text="Developed by github@fan-ziqi")