https://github.com/bernhard-42/orbitcontrol-patch
https://github.com/bernhard-42/orbitcontrol-patch
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bernhard-42/orbitcontrol-patch
- Owner: bernhard-42
- Created: 2021-05-18T06:05:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-18T06:07:54.000Z (over 4 years ago)
- Last Synced: 2025-02-23T17:38:31.766Z (8 months ago)
- Language: Python
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
orbitcontrol-patch
==================A patch for pythreejs Orbitcontrol to update at init
Installation
------------To install use pip:
$ pip install orbitcontrol_patch
For a development installation (requires [Node.js](https://nodejs.org) and [Yarn version 1](https://classic.yarnpkg.com/)),
$ git clone https://github.com/bernhard-42/orbitcontrol-patch.git
$ cd orbitcontrol-patch
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix orbitcontrol_patch
$ jupyter nbextension enable --py --sys-prefix orbitcontrol_patchWhen actively developing your extension for JupyterLab, run the command:
$ jupyter labextension develop --overwrite orbitcontrol_patch
Then you need to rebuild the JS when you make a code change:
$ cd js
$ yarn run buildYou then need to refresh the JupyterLab page when your javascript changes.