Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bonsai/bonsai/bim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"gis": None,
"covetool": None,
"augin": None,
"cadsketcher": None,
"debug": None,
"ifcgit": None,
"covering": None,
Expand Down
45 changes: 45 additions & 0 deletions src/bonsai/bonsai/bim/module/cadsketcher/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Bonsai - OpenBIM Blender Add-on
# Copyright (C) 2024 Bonsai Contributors
#
# This file is part of Bonsai.
#
# Bonsai is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Bonsai is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.

import bpy

Check failure on line 19 in src/bonsai/bonsai/bim/module/cadsketcher/__init__.py

View workflow job for this annotation

GitHub Actions / lint-formatting

ruff (F401)

src/bonsai/bonsai/bim/module/cadsketcher/__init__.py:19:8: F401 `bpy` imported but unused help: Remove unused import: `bpy`

from . import operator

classes = (
operator.CADSketcherWallTypeItem,
operator.CADSketcherSlabTypeItem,
operator.CADSketcherCoveringItem,
operator.CADSketcherPlateItem,
operator.CADSketcherOpeningItem,
operator.CADSketcherWindowItem,
operator.CADSketcherDoorItem,
operator.CADSketcherBeamItem,
operator.CADSketcherMemberItem,
operator.CADSketcherFootingItem,
operator.CADSketcherColumnItem,
operator.CADSketcherPileItem,
operator.FetchCADSketcher,
)


def register():
pass


def unregister():
pass
Loading
Loading