From f9c973caa8edd89c48eb0ff361bcab593d917058 Mon Sep 17 00:00:00 2001 From: SyureOjisan Date: Tue, 16 Jan 2024 07:19:31 +0900 Subject: [PATCH] [issue #17]Refactoring 2024 (daily commit) --- uml/wmsu_class(refactoring_2024).md | 129 ++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 uml/wmsu_class(refactoring_2024).md diff --git a/uml/wmsu_class(refactoring_2024).md b/uml/wmsu_class(refactoring_2024).md new file mode 100644 index 0000000..aa4c233 --- /dev/null +++ b/uml/wmsu_class(refactoring_2024).md @@ -0,0 +1,129 @@ +```mermaid + classDiagram + class RootSourceCollectionList + RootSourceCollectionList: list_of_ACollection member + RootSourceCollectionList: update() RootSourceCollectionList + RootSourceCollectionList: queue() + RootSourceCollectionList: setup() list_of_AReleaseObject + + class ACollection + <> ACollection + ACollection: list_of_ACollection children + ACollection: "bpy.types.Collection" -real + ACollection: SourceObject source_objects + ACollection: setup() AReleaseObject + ACollection: update() ACollection + + class ASourceObject + <> ASourceObject + ASourceObject: "bpy.types.Object" -real + ASourceObject: create_setup_object() SetupObject + + class SetupObject + <> SetupObject + SetupObject: "bpy.types.Object" -real + SetupObject: setup() + + class ISetupCommand + <> ISetupCommand + + class AReleaseObject + <> AReleaseObject + AReleaseObject: "bpy.types.Object" -real + AReleaseObject: delete() + AReleaseObject: register_to_collection() + + class AReleaseCollection + <> AReleaseCollection + AReleaseCollection: "bpy.types.Collection" -real + AReleaseCollection: list_of_AReleaseObject release_objects + AReleaseCollection: update() AReleaseCollection + + class ReleaseCollectionList + ReleaseCollectionList + ReleaseCollectionList: update() ReleaseCollectionList + + class NullSourceCollection + <> NullSourceCollection + + class NullSourceObject + <> NullSourceObject + + class ReleaseObject + <> ReleaseObject + + class SubReleaseObject + <> SubReleaseObject + + class TranslatedObject + <> TranslatedObject + + class DefaultObject + <> DefaultObject + + class ContainerObject + <> ContainerObject + + class TextureImage + <> TextureImage + TextureImage: " bpy.types.Image" -real + + RootSourceCollectionList o--> ACollection + + ACollection o-->"recursively" ACollection + + ACollection <|-- RootSourceCollection + + ACollection <|-- SourceCollection + + ACollection <|-- SubSourceCollection + + ACollection <|-- NullSourceCollection + + ACollection "1"o-->"1..*" ASourceObject + + ACollection ..>"use" SetupObject + + SetupObject "0..*"o-->"1..*" ISetupCommand + + ASourceObject <|-- SourceObject + + ASourceObject <|-- NullSourceObject + + SourceObject ..>"create" SetupObject + + ReleaseCollectionList "1"o-->"1..*" AReleaseCollection + + AReleaseCollection <|-- ReleaseCollection + ReleaseCollection "1"o-->"1..*" ReleaseObject + + AReleaseCollection <|-- SubReleaseCollection + SubReleaseCollection "1"o-->"1..*" SubReleaseObject + + ACollection ..>"use" AReleaseObject + + AReleaseObject <|-- ReleaseObject + AReleaseObject <|-- SubReleaseObject + + Translater o--> ReleaseCollectionList + Translater ..>"create" ACreatedCollection + + MaterialCombiner "1"o-->"1..2" ACreatedCollection + MaterialCombiner ..>"use" ExternalAddonTool + MaterialCombiner "1"..>"1..* create" TextureImage + + class Translater + Translater: translate() + + class MaterialCombiner + MaterialCombiner: combine_materials() + + ACreatedCollection <|-- TranslatedCollection + ACreatedCollection <|-- DefaultCollection + + ACreatedCollection ..>"1..* create" ContainerObject + ACreatedCollection ..>"use" ContainerObject + + TranslatedCollection "1"o-->"1..*" TranslatedObject + DefaultCollection "1"o-->"1..*" DefaultObject +``` \ No newline at end of file