Skip to content

classes

Aodaruma edited this page Sep 28, 2023 · 3 revisions

here's a list of classes in COATools2

Preferences

COATools2's preference class, written in coa_tools2/__init__.py

sample image of preference

  • COATools2Preferences

outliner

COATools2's outliner, which includes Properties for coa_tools and UIList, written in coa_tools2/outliner.py

sample image of outliner

  • COAOutliner
  • COATOOLS2_UL_Outliner

properties

unique properties for COATools2. written in coa_tools2/properties.py

  • UVData
  • SlotData
  • Event
  • TimelineEvent
  • AnimationCollections
  • ObjectProperties
  • SceneProperties
  • MeshProperties
  • BoneProperties
  • WindowManagerProperties

operator

Creating/Defining Sprite

operators in coa_tools2/operators/create_sprite_object.py

  • COATOOLS2_OT_CreateSpriteObject
    • operator that creates a sprite object
  • COATOOLS2_OT_DefineSpriteObject
    • operator that defines an object already created as a sprite object

Importing Sprite

operators in coa_tools2/operators/import_sprite.py

  • JsonImportData
    • property group that stores data for importing json
  • COATOOLS2_OT_CreateMaterialGroup
    • Creates the default COA Tools Node Group
    • sample image of COA Tools Node Group
    • node group contents
  • COATOOLS2_OT_ImportSprite
    • imports images as a sprite (object), and load json data if json data is selected
  • COATOOLS2_OT_ImportSprites
    • Multiple sprite import
    • using COATOOLS2_OT_LoadJsonData if json file is selected, otherwise using COATOOLS2_OT_ImportSprite
    • "Re/Import Sprites" that you usually use in the UI panel is this operator
  • COATOOLS2_OT_LoadJsonData
    • loading json data, change properties and store data for each sprites
  • COATOOLS2_UL_JsonImport
    • UIList for COATOOLS2_OT_LoadJsonData
  • COATOOLS2_OT_ReImportSprite
    • re-importing sprite
    • used in COATOOLS2_OT_LoadJsonData and COATOOLS2_OT_ImportSprites

User Interfaces

operators in coa_tools2/operators/user_interface.py

  • COATOOLS2_OT_ChangeShadingMode
  • COATOOLS2_PT_Info
  • COATOOLS2_PT_ObjectProperties
  • COATOOLS2_PT_Tools
  • COATOOLS2_UL_AnimationCollections
  • COATOOLS2_UL_EventCollection
  • COATOOLS2_OT_SelectChild
  • COATOOLS2_PT_Collections

View Sprites

operators in coa_tools2/operators/view_sprites.py

  • COATOOLS2_OT_ChangeZOrdering
  • COATOOLS2_OT_ViewSprite

Advanced Settings

operators in coa_tools2/operators/advanced_settings.py

  • COATOOLS2_OT_AdvancedSettings

Edit Mesh

operators in coa_tools2/operators/edit_mesh.py

  • COATOOLS2_OT_ReprojectSpriteTexture
  • COATOOLS2_OT_GenerateMeshFromEdgesAndVerts
  • COATOOLS2_OT_DrawContour
  • COATOOLS2_OT_PickEdgeLength

Edit Armature

operators in coa_tools2/operators/edit_armature.py

  • COATOOLS2_OT_TooglePoseMode
  • COATOOLS2_OT_BindMeshToBones
  • COATOOLS2_OT_QuickArmature
  • COATOOLS2_OT_SetStretchBone
  • COATOOLS2_OT_RemoveIK
  • COATOOLS2_OT_SetIK
  • COATOOLS2_OT_CreateStretchIK
  • COATOOLS2_OT_RemoveStretchIK

Edit Shapekey

operators in coa_tools2/operators/edit_shapekey.py

  • COATOOLS2_OT_LeaveSculptmode
  • COATOOLS2_OT_ShapekeyAdd
  • COATOOLS2_OT_ShapekeyRemove
  • COATOOLS2_OT_ShapekeyRename
  • COATOOLS2_OT_EditShapekeyMode

Edit Weights

operators in coa_tools2/operators/edit_weights.py

  • COATOOLS2_OT_EditWeights

Materials

operators in coa_tools2/operators/materials.py

  • COATOOLS2_OT_ExtractSlots
  • COATOOLS2_OT_CreateSlotObject
  • COATOOLS2_OT_MoveSlotItem
  • COATOOLS2_OT_RemoveFromSlot

animation handling

operators in coa_tools2/operators/animation_handling.py

  • COATOOLS2_OT_AddKeyframe
  • COATOOLS2_OT_DuplicateAnimationCollection
  • COATOOLS2_OT_AddAnimationCollection
  • COATOOLS2_OT_RemoveAnimationCollection
  • COATOOLS2_OT_CreateNlaTrack
  • COATOOLS2_OT_BatchRender
  • COATOOLS2_OT_AddEvent
  • COATOOLS2_OT_RemoveEvent
  • COATOOLS2_OT_AddTimelineEvent
  • COATOOLS2_OT_RemoveTimelineEvent

Camera

operators in coa_tools2/operators/create_ortho_cam.py

  • COATOOLS2_OT_CreateOrtpographicCamera
  • COATOOLS2_OT_AlignCamera

Pie menu

operators in coa_tools2/operators/pie_menu.py

  • COATOOLS2_MT_menu
  • COATOOLS2_MT_keyframe_menu_01
  • COATOOLS2_MT_keyframe_menu_add
  • COATOOLS2_MT_keyframe_menu_remove

others

  • create_spritesheet_preview.COATOOLS2_OT_SelectFrameThumb
  • help_display.COATOOLS2_OT_ShowHelp
  • draw_bone_shape.COATOOLS2_OT_DrawBoneShape
  • toggle_animation_area.COATOOLS2_OT_ToggleAnimationArea
  • version_converter.COATOOLS2_OT_VersionConverter
  • convert_from_old.COATOOLS2_OT_ConvertOldVersionCoatools
  • change_alpha_mode.COATOOLS2_OT_ChangeAlphaMode
  • change_alpha_mode.COATOOLS2_OT_ChangeTextureInterpolationMode

exporter

  • export_dragonbones.COATOOLS2_OT_DragonBonesExport
  • export_dragonbones.COATOOLS2_PT_ExportPanel
  • export_creature.COATOOLS2_OT_CreatureExport