Script to generate production files (part -> step, dxf, pdf)
Go to file
2023-02-06 12:12:43 +01:00
sample part Initial commit 2023-02-06 11:26:05 +01:00
.gitignore Initial commit 2023-02-06 11:23:22 +01:00
export-file.cmd Initial commit 2023-02-06 11:26:05 +01:00
export-file.ps1 Initial commit 2023-02-06 11:26:05 +01:00
export-pdf-dxf.ps1 Initial commit 2023-02-06 11:26:05 +01:00
export-step.ps1 Initial commit 2023-02-06 11:26:05 +01:00
gui.py Initial commit 2023-02-06 11:26:05 +01:00
README.md Update readme 2023-02-06 12:12:43 +01:00
requirements.txt add requirements for python env 2023-02-06 11:31:12 +01:00
run.py Initial commit 2023-02-06 11:26:05 +01:00
runSimple.py show output of runSimple 2023-02-06 11:58:43 +01:00
SolidWorks.Interop.sldworks.dll Initial commit 2023-02-06 11:26:05 +01:00

SldwrksExporter

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

Install:

Prerequisite:

  • python
  • (git)
  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 errors:

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

Use:

.\run.py path\Part1 (without extension) will generate step, pdf and dxf in path

For multiple files, add them in argument