Skip to content

Commit

Permalink
exclude scene for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Jan 16, 2025
1 parent d34ec0c commit c263895
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 26 deletions.
10 changes: 5 additions & 5 deletions src/compas_masonry/notebook/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .scene import ThreeBlockObject, ThreeModelObject
# from .scene import ThreeBlockObject, ThreeModelObject

__all__ = [
"ThreeBlockObject",
"ThreeModelObject",
]
# __all__ = [
# "ThreeBlockObject",
# "ThreeModelObject",
# ]
12 changes: 6 additions & 6 deletions src/compas_masonry/notebook/scene/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from compas.plugins import plugin
from compas.scene import register
# from compas.plugins import plugin
# from compas.scene import register

from .blockobject import ThreeBlockObject
# from .blockobject import ThreeBlockObject


@plugin(category="factories", requires=["pythreejs"])
def register_scene_objects():
pass
# @plugin(category="factories", requires=["pythreejs"])
# def register_scene_objects():
# pass
7 changes: 3 additions & 4 deletions src/compas_masonry/notebook/scene/blockobject.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import numpy
import pythreejs as three
from compas_notebook.scene import ThreeSceneObject

import compas.datastructures # noqa: F401
import compas.geometry # noqa: F401
import numpy
import pythreejs as three
from compas.geometry import Polygon
from compas.geometry import earclip_polygon
from compas_model.scene import BlockObject
from compas_notebook.scene import ThreeSceneObject


class ThreeBlockObject(ThreeSceneObject, BlockObject):
Expand Down
3 changes: 1 addition & 2 deletions src/compas_masonry/notebook/scene/elementobject.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from compas_notebook.scene import ThreeSceneObject

from compas_model.scene import ElementObject
from compas_notebook.scene import ThreeSceneObject


class ThreeElementObject(ThreeSceneObject, ElementObject):
Expand Down
3 changes: 1 addition & 2 deletions src/compas_masonry/notebook/scene/modelobject.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from compas_notebook.scene import ThreeSceneObject

import compas.datastructures # noqa: F401
import compas.geometry # noqa: F401
from compas_model.scene import ElementObject
from compas_model.scene import ModelObject
from compas_notebook.scene import ThreeSceneObject


class ThreeModelObject(ThreeSceneObject, ModelObject):
Expand Down
14 changes: 7 additions & 7 deletions src/compas_masonry/scene/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from compas.plugins import plugin
from compas.scene import register
# from compas.plugins import plugin
# from compas.scene import register

from .blockobject import BlockObject
# from .blockobject import BlockObject


@plugin(category="factories")
def register_scene_objects():
pass
# @plugin(category="factories")
# def register_scene_objects():
# pass


__all__ = []
# __all__ = []

0 comments on commit c263895

Please sign in to comment.