-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.html
93 lines (83 loc) · 4.46 KB
/
install.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML>
<!--
Massively by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>How to Install and Use | CAD Buddy</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-loading">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<a href="index.html" class="logo">CAD Buddy</a>
</header>
<!-- Nav -->
<nav id="nav">
<ul class="links">
<li><a href="index.html">Introduction</a></li>
<li class="active"><a href="install.html">How to Install and Use</a></li>
<li><a href="implementation.html">Implementation</a></li>
<li><a href="attribution.html">Attribution</a></li>
</ul>
<ul class="icons">
<li><a href="https://github.com/hyegibang/MouseRemote" class="icon fa-github"><span class="label">GitHub</span></a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<!-- Post -->
<section class="post">
<header class="major">
<h1>How to Install and Use</h1>
<h3>Getting started (Quick Start)</h3>
<p> 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 wifi network. Secondly, install our solidworks shortcut package:
<pre><code>...\MouseRemote\solidworks\CAD_BUDDY.sldreg</code></pre>
This can be easily done by opening "Copy Settings Wizard", and loading the appropriate sldreg file. Then, run the following file:
<pre><code>...\MouseRemote\dist\main.exe</code></pre>
Once running, choose a port number, an integer between 5000 and 65535. Next, run <code>ipconfig</code> within the windows command prompt and find your computers IPv4 address. Then, use android studio to install the Android Studio project, <code>SwitchScreen</code> 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!</p>
<br>
<br>
<h3>Getting started (Advanced)</h3>
<p>This sectin 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:
<pre><code>sudo pip install -r requirements.txt</code></pre>
It should install the necessary packages, as well as their respective dependencies.</p>
<p>From here, the process should be about the same. However, once the dependencies have been installed, the following python script
<pre><code>...\Mouseremote\Solidworks> python main.py</code></pre>
can be used to run the computer side of the project, rather than the original executable.</p>
<br>
<br>
<h3>How to use:</h3>
<p>Within solidwoks, 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.</p>
</header>
</section>
<footer>
<div class="pagination">
<!--<a href="#" class="previous">Prev</a>-->
<a href="index.html" class="page"> Introduction </a>
<a href="#" class="page active"> How to Install and Use </a>
<a href="implementation.html" class="page"> Implementation </a>
<a href="attribution.html" class="page"> Attribution </a>
</div>
</footer>
</div>
<div id="copyright">
<ul><li>Olin Software Design</li><li>Spring 2018</li></ul>
</div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>