Giter Club home page Giter Club logo

swpymacros's Introduction

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

swpymacros's People

Contributors

emilien-etadam avatar onuralpszr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swpymacros's Issues

SW 2022

Is this still working with solidworks 2022 ?
It didn't run with python 3.8.

Couldn't run the demo

Hi,

I tried to follow the steps and run the example but it didn't work

image

And pywin32 is already installed

======

Also, tried to debug the script and received: 'NoneType' object has no attribute 'Extension'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.