android3dblendermouse | 2 week sprint to create a proof of concept

 by   sketchpunk Python Version: Current License: Apache-2.0

kandi X-RAY | android3dblendermouse Summary

kandi X-RAY | android3dblendermouse Summary

android3dblendermouse is a Python library typically used in Manufacturing, Utilities, Machinery, Process applications.,roid3dblendermouse has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This project was a 2 week sprint to create a proof of concept that you can turn an android device into a 3D mouse that can control a 3d modeling application. Since I'm learning blender and its built in such a way that they make it easy to interface with it, I use that app as the basis of the experiment. This project is solely meant as a submission for the Android Experiements contest. If there is an actual need for this, then I may continue it further but maybe swopping out the serial communications for UDP connection, which should remove the hardware requirements to get android to communicate with windows. Youtube video of this in action -
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              android3dblendermouse has a low active ecosystem.
              It has 31 star(s) with 10 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              android3dblendermouse has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of android3dblendermouse is current.

            kandi-Quality Quality

              android3dblendermouse has 0 bugs and 0 code smells.

            kandi-Security Security

              android3dblendermouse has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              android3dblendermouse code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              android3dblendermouse is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              android3dblendermouse releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              android3dblendermouse saves you 2945 person hours of effort in developing the same functionality from scratch.
              It has 6357 lines of code, 568 functions and 62 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed android3dblendermouse and discovered the below as its top functions. This is intended to give you an instant insight into android3dblendermouse implemented functionality, and help decide if they suit your requirements.
            • Handle a menu key event .
            • Return a list of all the available devices .
            • Configures the serial port .
            • Filter data .
            • Create a serial instance for a given URL .
            • Entry point for the command line interface .
            • Process incoming command .
            • Continuous loop .
            • Get integer property .
            • Get a string property .
            Get all kandi verified functions for this library.

            android3dblendermouse Key Features

            No Key Features are available at this moment for android3dblendermouse.

            android3dblendermouse Examples and Code Snippets

            No Code Snippets are available at this moment for android3dblendermouse.

            Community Discussions

            No Community Discussions are available at this moment for android3dblendermouse.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install android3dblendermouse

            Get blender and setup PySerial. So the first thing is you have to go download blender. From there, look in the blender_files folder, you will find a folder called serial. This is PySerial for python v3, windows x64. If you have X86 machine, google on how to download pyserial. Copy the serial folder to \blender-2.77-windows64\2.77\python\lib\site-packages. Thats all to it. Put together your serial boards together. They're fairly easy to put together. Power -> Power, Gnd -> Gnd, TXD -> RXD, RXD -> TXD. Make sure you set the PL2303 to 3 volt jumper, not 5. The HC-05 board will get power from PL2303, but it only needs 3v. Once plugged in and drivers install (windows10 self installed the drivers). Go to device manager and find what COM port the PL2303 is using. Use Android studio and compile the app. Now you put everything together. Run blender, open up serial_mouse5.blend in the blender_files folder. (5 stands for 5th attempt, pita to figure it all out but fun). In blender, in the Text Editor area, click run script. This will create a new UI Panel that you can access in the Tools panel, SMouse. All you need to do is change the port to COM then a number of what the PL2303 is using. The Baud can be left alone. All you have to do is press connect and it will create a thread that connects and listens for serial data coming for the COM port. It'll also create a timer modal loop that works as a handler for the thread to push back some commands that need to be run in the UI thread because blender has this context thing that the thread can't use. You can see the debug text I'm outputing in the console. Just go to Window Menu, click "toggle system console" to see it. On your android device, Pair up to the HC-05 board. The default code should be 1234. Turn on the 3d mouse app, click on the paired device and it should auto connect. From there you should be in control of blender. I know, this is kind of a complex setup.
            Get blender and setup PySerial. So the first thing is you have to go download blender. From there, look in the blender_files folder, you will find a folder called serial. This is PySerial for python v3, windows x64. If you have X86 machine, google on how to download pyserial. Copy the serial folder to \blender-2.77-windows64\2.77\python\lib\site-packages. Thats all to it.
            Put together your serial boards together. They're fairly easy to put together. Power -> Power, Gnd -> Gnd, TXD -> RXD, RXD -> TXD. Make sure you set the PL2303 to 3 volt jumper, not 5. The HC-05 board will get power from PL2303, but it only needs 3v. Once plugged in and drivers install (windows10 self installed the drivers). Go to device manager and find what COM port the PL2303 is using.
            Use Android studio and compile the app.
            Now you put everything together. Run blender, open up serial_mouse5.blend in the blender_files folder. (5 stands for 5th attempt, pita to figure it all out but fun). In blender, in the Text Editor area, click run script. This will create a new UI Panel that you can access in the Tools panel, SMouse. All you need to do is change the port to COM then a number of what the PL2303 is using. The Baud can be left alone. All you have to do is press connect and it will create a thread that connects and listens for serial data coming for the COM port. It'll also create a timer modal loop that works as a handler for the thread to push back some commands that need to be run in the UI thread because blender has this context thing that the thread can't use. You can see the debug text I'm outputing in the console. Just go to Window Menu, click "toggle system console" to see it
            On your android device, Pair up to the HC-05 board. The default code should be 1234. Turn on the 3d mouse app, click on the paired device and it should auto connect. From there you should be in control of blender.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/sketchpunk/android3dblendermouse.git

          • CLI

            gh repo clone sketchpunk/android3dblendermouse

          • sshUrl

            git@github.com:sketchpunk/android3dblendermouse.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link