Script to generate production files (part -> step, dxf, pdf)
Go to file
2023-02-07 14:21:08 +01:00
installFromZeroScript test auto delete install file 2023-02-06 20:20:36 +01:00
sample_parts cleaning 2023-02-06 19:09:29 +01:00
scripts test 2023-02-07 14:21:08 +01:00
.gitignore Initial commit 2023-02-06 11:23:22 +01:00
gui.py fix not retruning terminal 2023-02-06 23:04:56 +01:00
install.ps1 add start automatic at install 2023-02-07 10:13:02 +01:00
README.md up readme 2023-02-06 20:09:18 +01:00
requirements.txt add requirements for python env 2023-02-06 11:31:12 +01:00
run.ps1 test 2023-02-07 14:21:08 +01:00

SldwrksExporter

Script to generate production files (part -> step, dxf, pdf)

Prerequisite:

  • python (to install type python in terminal, it will open the windows store to install it)
  • git (install: winget install --id Git.Git -e --source winget)

Automatic install

will dowwnload the git repo, install everything and launch the program. copy paste this line in a windows terminal curl -o installFrom0.cmd https://git.lurenaud.com/lurenaud/SldwrksExporter/raw/branch/main/installFromZeroScript/installFrom0.cmd; .\installFrom0.cmd

Manual install

  1. Get the code:
  • git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git
  1. Setup python env
  • create venv python -m venv .venv
  • activate environement .venv\Script\Activate.ps1
  • install requirements pip install -r requirements.txt

Common problems:

  • Cannot activate venv, script : in an admin terminal run Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Use:

In terminal: .\gui.py path\toFloderOfFiles will generate step, pdf and dxf in a export folder Double click the gui.py file