Code Monkey home page Code Monkey logo

hyegibang / mouseremote Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 473.99 MB

CAD Buddy provides an app that functions as an additional input device that interacts with solid works. The app allows the orientation of the phone to rotate the view of the CAD Module. It also includes dynamic shortcuts that change based on the state of solidworks in order to only display the most relevant shortcuts.

Home Page: https://hyegibang.github.io/MouseRemote/

License: Other

Python 4.16% Java 15.55% HTML 16.63% CSS 57.26% JavaScript 6.41%

mouseremote's Introduction

CAD Buddy

Softdes Final Project, Spring 2018

This project explores the use of a smart phone as an advanced form of input for laptop computers. Rather than using a mouse with relatively few sensors, buttons, and methods for feedback, we decided to try to leverage the many sensors and features of smart phones in order to create a cheap and effective tool for interacting with computers. Fsm Our current project uses gyroscope data streaming from a smart phone in order to intuitively interact the a CAD model in SolidWorks. Changes to the pitch and roll of the phone directly correlate to changes of the CAD model's orientation.

Authors

Main Developers

Other software used

  • pynput v 1.3.10: This library is being used to parse simulated keystrokes as to interact with SolidWorks. The current version is compatible with Python version 3.6
  • win32gui v 221.6: This library is being used to monitor the current screens, as to make the app dynamic and prevent interference with programs other than Solidworks. The current version is compatible with Python version 3.6

Getting started (Quick Start)

This section will go over how to install the app if you simply just want to use it. We tried to make installing this app as quick and easy as possible. First, ensure that both your android device and computer are on the same wi-fi network. Secondly, install our SolidWorks shortcut package: ...\MouseRemote\solidworks\CAD_BUDDY.sldreg This can be easily done by opening "Copy Settings Wizard", and loading the appropriate sldreg file. Then, run the following file: ...\MouseRemote\dist\main.exe Once running, choose a port number, an integer between 5000 and 65535. Next, run ipconfig within the windows command prompt and find your computers IPv4 address. Then, use android studio to install the Android Studio project, SwitchScreen to your android device. Once the app is running, input the correct IPv4 Address and Port number, and you're ready to open SolidWorks and start CADing!

Getting started (Advanced)

This section will go over how to install the app if you intention is to develop it. In order to use the app, you must be in windows, as SolidWorks doesn't operate in ubuntu. To download the required python packages run: sudo pip install -r requirements.txt It should install the necessary packages, as well as their respective dependencies.

From here, the process should be about the same. However, once the dependencies have been installed, the following python script ...\MouseRemote\solidworks> python main.py can be used to run the computer side of the project, rather than the original executable.

How to use:

Within SolidWorks, when you move your phone, your SolidWorks part will also rotate. You will also be able to press buttons on the phone that correspond to shortcuts in SolidWorks. This is not really meant to replace your mouse, but rather is just something that is cool that can complement your mouse and hopefully make you CAD faster.

Next Steps:

There is a lot that we could do to improve our project, notably with making it easier to install and distribute. As it is now, the user has to do a lot of work to get the app to work.

In the future, we wish to implement the ability to cast customized buttons within the app, such that a sldreg file that overwrite native short cuts doesn't need to be used.

In addition, we believe that it would be better if we could tie the project to a SolidWorks API, which would allow a more smooth change in the orientation of the part, and robust select feature tools without having to emulate keyboard shortcuts.

Notable Files:

Project Poster

Project poster can be found here

mouseremote's People

Contributors

hyegibang avatar

Watchers

James Cloos avatar

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.