Update readme
This commit is contained in:
parent
3c1ad67e36
commit
7fc4b93bb6
20
README.md
20
README.md
@ -2,6 +2,26 @@
|
|||||||
|
|
||||||
Script to export parts and drawings to production files (part -> step, dxf, pdf)
|
Script to export parts and drawings to production files (part -> step, dxf, pdf)
|
||||||
|
|
||||||
|
## Install:
|
||||||
|
|
||||||
|
### Prerequisite:
|
||||||
|
- python
|
||||||
|
- (git)
|
||||||
|
|
||||||
|
1. Get the code:
|
||||||
|
|
||||||
|
- `git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git`
|
||||||
|
|
||||||
|
2. 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:
|
## Use:
|
||||||
|
|
||||||
`.\run.py path\Part1` (without extension) will generate step, pdf and dxf in path
|
`.\run.py path\Part1` (without extension) will generate step, pdf and dxf in path
|
||||||
|
Loading…
Reference in New Issue
Block a user