Script to generate production files (part -> step, dxf, pdf)
Go to file
2023-02-06 17:59:03 +01:00
sample_parts change folder name 2023-02-06 16:28:25 +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 working ! 2023-02-06 17:59:03 +01:00
export-step.ps1 working ! 2023-02-06 17:59:03 +01:00
gui.py Initial commit 2023-02-06 11:26:05 +01:00
README.md working ! 2023-02-06 17:59:03 +01:00
requirements.txt add requirements for python env 2023-02-06 11:31:12 +01:00
run.py working ! 2023-02-06 17:59:03 +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)

Prerequisite:

  • python
  • (git)

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 errors:

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

Use:

.\run.py path\toFloderOfFiles will generate step, pdf and dxf in a export folder