Skip to content

Commit

Permalink
Feature/refactoring (#5)
Browse files Browse the repository at this point in the history
* Add mkdocs-glightbox to dependencies

* Update sensor and output registration in
pyproject.toml

* Update asset browser name

* Remove unused imports in environment.py

* Update output path default value in CLI

* Fix asset library addition to catalog

* Remove Python formatting settings

* Update install_folder parameter in asset_browser.py

* Fix scaling issue and add DisjointSet class

* Update import paths for sensor and output interfaces

* Refactor venv name in docs

* Refactor asset crawling logic and fix formatting in CLI module

* Update react-scripts version in package.json
  • Loading branch information
aelmiger committed Mar 6, 2024
1 parent ad67437 commit 6fdb3dd
Show file tree
Hide file tree
Showing 11 changed files with 7,650 additions and 5,403 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,21 +69,21 @@ To create and activate a new virtual environment named `syclops`:

```bash
# For Linux/macOS
virtualenv syclops
source syclops/bin/activate
virtualenv syclops_venv
source syclops_venv/bin/activate

# For Windows
virtualenv syclops
.\syclops\Scripts\activate
virtualenv syclops_venv
.\syclops_venv\Scripts\activate
```

### Using `conda`

If you use Anaconda or Miniconda, you can create a new environment:

```bash
conda create --name syclops python=3.9
conda activate syclops
conda create --name syclops_venv python=3.9
conda activate syclops_venv
```

### Installing Syclops
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/developement/add_functionality/create_sensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Below is a basic example illustrating how a laser distance sensor can be added t
import logging
import bpy # Blender python API
from syclops_blender import utility # Collection of useful utility functions
from syclops_plugins_core.sensors.sensor_interface import SensorInterface
from syclops.blender.sensors.sensor_interface import SensorInterface


class LaserDistanceSensor(SensorInterface):
Expand Down Expand Up @@ -52,7 +52,7 @@ from pathlib import Path
import bpy
from mathutils import Vector
from syclops_blender import utility
from syclops_plugins_core.sensor_outputs.output_interface import OutputInterface
from syclops.blender.sensor_outputs.output_interface import OutputInterface

META_DESCRIPTION = {
"type": "DISTANCE",
Expand Down
12 changes: 6 additions & 6 deletions docs/docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ We recommend using a virtual environment to avoid potential package conflicts. B

=== "Windows"
```bash
virtualenv syclops
.\syclops\Scripts\activate
virtualenv syclops_venv
.\syclops_venv\Scripts\activate
```
=== "Linux"
```bash
virtualenv syclops
source syclops/bin/activate
virtualenv syclops_venv
source syclops_venv/bin/activate
```

=== "conda"
If you use Anaconda or Miniconda, you can create a new environment:

```bash
conda create --name syclops python=3.9
conda activate syclops
conda create --name syclops_venv python=3.9
conda activate syclops_venv
```


Expand Down
2 changes: 1 addition & 1 deletion syclops/asset_manager/asset_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def setup_and_launch_server():


if __name__ == "__main__":
install_folder = get_or_create_install_folder()
install_folder = get_or_create_install_folder(None)
read_and_process_catalog(install_folder)
setup_and_launch_server()
Loading

0 comments on commit 6fdb3dd

Please sign in to comment.