Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

onuralpszr/SWPyMacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SW Python Macros

Code style: black License: MIT made with python

🚧 This code shows how to call and run solidworks-api through python and use python power to make it nicer 🚧

Table of Contents

Installation 📐

  • Requirements : Solidworks API, Python 3.7 (Tested on 3.7.3). Only works on Windows
  1. Method
# Pip Way
pip install -r requirements.txt
  1. Method
# Pipenv Way
pip install pipenv
pipenv install
# Start env 
pipenv shell 

Usage ⚙️

# Make sure you're in virtualenv !
python hello_python_world.py

Macro List 🔥

  • hello_python_world.py (Hello Python World" text and "rotating)
  • gui/sw_gui_basic_slider_control.py (Basic python tkinter gui with creating cube and control D1 dimension via "slider")

Contributing ✔️

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Contributors ✨

License

MIT

About

Solidworks Python Macro List

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages