Skip to main content

K-Scale's library for programmatically interacting with OnShape

Project description

K-Scale OnShape Library

This library is what we use at K-Scale for interacting with OnShape. It is a wrapper around the OnShape API that allows us to easily import parts from OnShape into our projects.

Getting Started

Install the library using pip:

pip install kscale-onshape-library

Usage

To convert an assembly to a URDF, use the following command:

kol urdf https://cad.onshape.com/documents/DDDDDDDD/w/WWWWWWWW/e/EEEEEEEE

You can visualize the resulting URDF using PyBullet:

pip install pybullet
kol show-urdf robot/<urdf-name>.urdf

Notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kscale-onshape-library-0.0.2.tar.gz (25.9 kB view hashes)

Uploaded Source

Built Distribution

kscale_onshape_library-0.0.2-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page