{"id":23043792,"url":"https://github.com/robincpc/nexmotion-python_api","last_synced_at":"2025-04-03T01:28:57.834Z","repository":{"id":75174212,"uuid":"204794052","full_name":"RobinCPC/NexMotion-Python_API","owner":"RobinCPC","description":"NexCOBOT NexMotion Python API","archived":false,"fork":false,"pushed_at":"2020-04-27T19:01:08.000Z","size":109,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T15:46:34.150Z","etag":null,"topics":["robot-arm"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobinCPC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-27T21:31:45.000Z","updated_at":"2022-02-10T07:18:28.000Z","dependencies_parsed_at":"2023-06-05T15:30:47.548Z","dependency_job_id":null,"html_url":"https://github.com/RobinCPC/NexMotion-Python_API","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinCPC%2FNexMotion-Python_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinCPC%2FNexMotion-Python_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinCPC%2FNexMotion-Python_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinCPC%2FNexMotion-Python_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinCPC","download_url":"https://codeload.github.com/RobinCPC/NexMotion-Python_API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246921075,"owners_count":20855206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["robot-arm"],"created_at":"2024-12-15T20:49:30.392Z","updated_at":"2025-04-03T01:28:57.818Z","avatar_url":"https://github.com/RobinCPC.png","language":"Python","readme":"# NexMotion-Python_API\nNexCOBOT NexMotion Python API  \n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/RobinCPC/NexMotion-Python_API.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/RobinCPC/NexMotion-Python_API/context:python)\n\n## Environment\n* Windows 7/10\n\n## Pre-requirement\n* Install `NexMotion Studio` to get NexMotion C/C++ API and NexMotion.dll\n* Create MiniBOT (or Other six-axis robot arm) Configuration from NexMotion Studio\n* For operating real robot arm, do homing process in NexMotion Studio first.\n* Python2.7 32bit Version (NexMotion.dll is 32bit version).\n\n## Clone Nexmotion Python API (this repo).\nIn windows system, you can install `Git` to run following command in `Git Bash`.\nAfter installing `Git`, click `Windows/start` button (on left down side of the desktop) and find `Git Bash` application.\nIn `Git Bash`, enter following command\n``` bash\n# Go to Documents folder\ncd Documents\n# clone NexMotion Python API\ngit clone https://github.com/RobinCPC/NexMotion-Python_API.git\n```\n\n## Set up python environment using virtualenv\n* Install python 2.7 from python.org or use conda  \nhttps://www.python.org/downloads/release/python-2717/\n\n* Setup virtual environment (In MiniBOT controller)  \nOpen Windows CMD, then\n``` batch\nREM install virtualenv\npip isntall virtualenv\nREM cd to Document or where you store your code\ncd \\Users\\\u003cyour_name\u003e\\Documents\\\nREM create folder \nmkdir python-virtual-env\ncd python-virtual-env\nREM create virtual env\nvirtualenv minibot-env\n```\n* Activate environment and install necessary package for candy picking project  \nStill in Windows CMD\n``` batch\nREM activate python virtual env\ncd Documents\\python-virtual-env\nminibot-env\\Scripts\\activate\npip install -r requirements.txt\n```\n\n* Back to this repo folder and launch jupyter notebook\n``` batch\ncd Document\\NexMotion-Python_API\njupyter notebook\n```\n\n\n## Or, set up python environment using Anaconda.\nPlease install Anaconda3 and follow the below steps to set up python2.7 32bit environment and install necessary library.\nOpen `Anaconda Prompt` and type following command:\n``` batch\n# For 64bit Windos OS, install 32bits Python\nset CONDA_FORCE_32BIT=1\nconda create -n py27_32 python=2.7\n# To activate `py27_32`\nset CONDA_FORCE_32BIT=1\nactivate py27_32\n# Install ctypes (call NexMotion.dll in python)\nconda install -c conda-forge pywin32-ctypes\n# add python 32bits as a kernel for Jupyter Lab/Notebook\nconda install ipykernel\npython -m ipykernel install --user --name py27_32 --display-name=\"Python 2.7 32bits\"\n# For jupyter notebook demo, we can use jupyter in defualt env and use py27_32 as a kernel. \n```\n\nnote: If you need to install extra python package or run python in prompt, `set CONDA_FORCE_32BIT=1` is necessary before activate `py27_32` environment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobincpc%2Fnexmotion-python_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobincpc%2Fnexmotion-python_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobincpc%2Fnexmotion-python_api/lists"}