Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete geometry.py module: handling sphere and cylinder #7

Merged
merged 51 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7baf0d3
add protocol for general blender mesh interface
skim0119 May 31, 2024
1e7400d
doc: sphere object
skim0119 May 31, 2024
10fc242
Merge branch 'main' into wip/geometry
skim0119 Jun 4, 2024
d32710a
Merge branch 'main' into wip/geometry
skim0119 Jun 5, 2024
f295da7
Merge branch 'main' into wip/geometry
skim0119 Jun 5, 2024
8e8b879
test: add test template for geometry module
skim0119 Jun 5, 2024
2e86b58
fix: scale and radius relation for mesh tranformation
skim0119 Jun 7, 2024
9780e54
Merge branch 'main' into wip/geometry
skim0119 Jun 7, 2024
07c183d
test: add geometry shape checker
skim0119 Jun 7, 2024
7d8b062
removed: blender mesh interface state getter
skim0119 Jun 7, 2024
61e7d41
Completed Cylinder class. Would like review on depth parameter
Rohar10 Jun 8, 2024
ed4d809
Finished Cylinder class; will start writing test cases
Rohar10 Jun 8, 2024
ea5277e
Removed depth from Cylinder parameters
Rohar10 Jun 8, 2024
4eea83b
refactor: protocol defined in separate file
skim0119 Jun 8, 2024
5d6be80
rename
skim0119 Jun 8, 2024
99cf8af
feat: keyframe manipulator mixin
skim0119 Jun 9, 2024
3def8a9
formatting
skim0119 Jun 9, 2024
170350d
test: fix utility import
skim0119 Jun 9, 2024
a2fb430
Update src/bsr/geometry.py
skim0119 Jun 9, 2024
bcfe9d2
fix: correct naming for internal usage of geometry object
skim0119 Jun 9, 2024
c3b95e0
Merge pull request #18 from GazzolaLab/wip/geometry-group
skim0119 Jun 10, 2024
c65d379
Working on test cases
Rohar10 Jun 10, 2024
b51b921
Update tests/test_blender_mesh_interface.py
Rohar10 Jun 11, 2024
a0a2514
Update tests/test_blender_mesh_interface.py
Rohar10 Jun 11, 2024
6b4671f
Merge branch 'main' into wip/geometry
skim0119 Jun 12, 2024
75e9f7b
init: typing alias collection
skim0119 Jun 11, 2024
6566751
update: stacking type
skim0119 Jun 11, 2024
17cb7a2
update npz2blend operator to match updated implementation
skim0119 Jun 11, 2024
b88dd2e
test: stacking base
skim0119 Jun 11, 2024
54a38e6
update stacking protocol
skim0119 Jun 11, 2024
6a90611
test: add property test for stack module
skim0119 Jun 11, 2024
2e7e498
mypy: pass test for stack module
skim0119 Jun 11, 2024
125519c
doc: api for collective geometry
skim0119 Jun 11, 2024
b3e2ee2
test: add frustum in primitive testing
skim0119 Jun 12, 2024
3cc7e35
refactor: single-implementation for cylinder orientation function
skim0119 Jun 12, 2024
426a4d4
Written initial test cases; will test later. Please review if possibl…
Rohar10 Jun 12, 2024
5013095
postpone frustum to be future task
skim0119 Jun 12, 2024
9935295
Merge branch 'wip/geometry' of https://github.com/GazzolaLab/Blender_…
skim0119 Jun 12, 2024
9598fc3
test: extend geometry unittests
skim0119 Jun 12, 2024
a541f13
test: finalize geometry test cases
skim0119 Jun 12, 2024
0e3601c
added poetry.lock
Rohar10 Jun 12, 2024
7472b8c
small changes in geometry.py file
Rohar10 Jun 14, 2024
326ea89
Was passing 197/199 Test Cases; Now having errors when running make t…
Rohar10 Jun 17, 2024
84f0fd2
passed all test cases; awaiting documentation
Rohar10 Jun 17, 2024
b4cd0b3
Completed function docstrings, passed all test cases
Rohar10 Jun 18, 2024
f78b16b
Completed function docstrings, passed all test cases
Rohar10 Jun 18, 2024
dd5ab9c
Delete .vscode/settings.json
skim0119 Jun 18, 2024
20792eb
update geometry
skim0119 Jun 18, 2024
d4fbf09
Merge branch 'wip/geometry' of https://github.com/GazzolaLab/Blender_…
skim0119 Jun 18, 2024
100fd5e
pass mypy
skim0119 Jun 18, 2024
c817f2b
fix test segfault
skim0119 Jun 18, 2024
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
14 changes: 14 additions & 0 deletions docs/api/collective.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Collective Geometry
===================

Rod-like geometry
-----------------

.. automodule:: bsr.rod
:members:

Stacked geometry
----------------

.. automodule:: bsr.stack
:members:
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"sphinx.ext.viewcode",
"sphinx.ext.mathjax",
"sphinx.ext.autosectionlabel",
"sphinx.ext.viewcode",
"sphinx_autodoc_typehints",
"sphinx_click",
"numpydoc",
Expand All @@ -38,6 +39,7 @@
"undoc-members",
"private-members",
"special-members",
"inherited-members",
]
source_suffix = [".rst", ".md"]

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ TODO: Description of the project.

api/file
api/geometry
api/collective

.. toctree::
:maxdepth: 2
Expand Down
65 changes: 38 additions & 27 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bsr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import sys
from importlib import metadata as importlib_metadata

from .collections import *
from .file import *
from .macros import *
from .rod import *
from .stack import *


def get_version() -> str:
Expand Down
66 changes: 0 additions & 66 deletions src/bsr/collections.py

This file was deleted.

Loading
Loading