[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FA2NA2XR85VW79CB55DXYD":3,"skill-same:01M7FA2NA2XR85VW79CB55DXYD":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7FA2NA2XR85VW79CB55DXYD","blender-impl-operators",null,"Use when implementing complex Blender operators -- modal operators with timer callbacks, file browsers, batch processing, or multi-step workflows. Prevents the common mistake of blocking the UI thread in long operations instead of using modal + timer pattern. Covers modal operators, file browser integration, undo\u002Fredo support, progress reporting, and batch processing operators. Keywords: modal operator, timer callback, file browser, batch processing, progress reporting, undo support, multi-step workflow, INVOKE_DEFAULT, make custom button, add menu item, create toolbar button.","lagzgabrielmuller-dot\u002Fkit-ingenieria-3d","lagzgabrielmuller-dot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F333339260?v=4","01M7F985KYC0XB2XZ97B5YWH4C","01M7F985MHK8N2NVE4VAR5WBWS",0,"MIT","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: blender-impl-operators\ndescription: >\n  Use when implementing complex Blender operators -- modal operators with timer callbacks,\n  file browsers, batch processing, or multi-step workflows. Prevents the common mistake\n  of blocking the UI thread in long operations instead of using modal + timer pattern.\n  Covers modal operators, file browser integration, undo\u002Fredo support, progress reporting,\n  and batch processing operators.\n  Keywords: modal operator, timer callback, file browser, batch processing, progress reporting, undo support, multi-step workflow, INVOKE_DEFAULT, make custom button, add menu item, create toolbar button.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires Blender 3.x\u002F4.x\u002F5.x with Python.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# blender-impl-operators\n\n## Quick Reference\n\n### Critical Warnings\n\n**ALWAYS** clean up timers in BOTH `cancel()` AND the `{'FINISHED'}` path. Leaked timers fire indefinitely and reference deleted operator instances.\n\n**ALWAYS** call `wm.modal_handler_add(self)` BEFORE returning `{'RUNNING_MODAL'}` from `invoke()`. Returning `{'RUNNING_MODAL'}` without a handler registration means events go nowhere.\n\n**ALWAYS** handle ESC and RIGHTMOUSE in `modal()` to allow user cancellation. Without an escape path, the user is locked in the modal state.\n\n**ALWAYS** set `bl_options = {'REGISTER', 'UNDO'}` for operators that modify scene data. `'UNDO'` alone has NO effect — `'REGISTER'` is required for undo to work.\n\n**NEVER** modify `bpy.data` from a background thread. Use `bpy.app.timers.register()` with a `queue.Queue` to marshal work to the main thread.\n\n**NEVER** expect viewport redraws during a synchronous `execute()`. The UI is frozen until `execute()` returns. Use a modal operator with timer for progressive visual updates.\n\n**NEVER** use `threading.Timer` for deferred Blender operations. Use `bpy.app.timers.register()` instead.\n\n### Implementation Decision Tree\n\n```\nNeed to implement a complex Blender operator?\n│\n├─ Long-running operation that must show progress?\n│  └─ Use modal operator with timer (Section 1)\n│     └─ Add wm.progress_begin\u002Fupdate\u002Fend (Section 5)\n│     └─ Process items incrementally per TIMER event\n│\n├─ Need user to select a file?\n│  └─ Use ImportHelper\u002FExportHelper mixins (Section 2)\n│     └─ Or manual fileselect_add for custom file dialogs\n│\n├─ Need to process many objects in batch?\n│  ├─ Fast operation (\u003C 1 second)?\n│  │  └─ Use synchronous execute() with context.temp_override (Section 4)\n│  └─ Slow operation (> 1 second)?\n│     └─ Use modal timer + progress reporting (Section 1 + 5)\n│\n├─ Need multi-step user interaction?\n│  ├─ Sequential clicks\u002Fpoints in viewport?\n│  │  └─ Use state machine in modal() (Section 6)\n│  └─ Parameter dialog before execution?\n│     └─ Use invoke_props_dialog (Section 6)\n│\n├─ Need deferred execution outside an operator?\n│  └─ Use bpy.app.timers.register() (Section 7)\n│     └─ Return None to run once, return float to repeat\n│\n└─ Need undo support?\n   ├─ Single operation?\n   │  └─ bl_options = {'REGISTER', 'UNDO'} (Section 3)\n   └─ Repeated rapid calls (e.g., timer-driven)?\n      └─ bl_options = {'REGISTER', 'UNDO_GROUPED'} (Section 3)\n```\n\n### Version Compatibility Matrix\n\n| Feature | Blender 3.x | Blender 4.0+ | Blender 5.x |\n|---------|-------------|--------------|-------------|\n| `wm.event_timer_add(t, window=w)` | Keyword arg | Keyword arg | Keyword arg |\n| `bpy.app.timers.register()` | Available | Available | Available |\n| `context.temp_override()` | Available from 3.2 | REQUIRED | REQUIRED |\n| Dict context override | Deprecated (3.2+) | REMOVED | REMOVED |\n| `UILayout.progress()` | Not available | Available (4.0+) | Available |\n| `ImportHelper\u002FExportHelper` | Stable | Stable | Stable |\n| `UNDO_GROUPED` bl_option | Available | Available | Available |\n\n---\n\n## Section 1: Modal Operators with Timer Callbacks\n\n### When to Use\n\nUse modal operators with timers when an operation takes more than ~0.5 seconds and must:\n- Show progress to the user\n- Allow cancellation mid-operation\n- Keep Blender's UI responsive during processing\n\n### Implementation Pattern\n\n```python\nimport bpy\n\nclass MYCAT_OT_long_process(bpy.types.Operator):\n    \"\"\"Process objects over multiple frames with progress\"\"\"\n    bl_idname = \"mycat.long_process\"\n    bl_label = \"Long Process\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    _timer = None\n    _items: list = None\n    _index: int = 0\n\n    @classmethod\n    def poll(cls, context):\n        return len(context.selected_objects) > 0\n\n    def invoke(self, context, event):\n        self._items = list(context.selected_objects)\n        self._index = 0\n        wm = context.window_manager\n        wm.progress_begin(0, len(self._items))\n        self._timer = wm.event_timer_add(0.01, window=context.window)\n        wm.modal_handler_add(self)\n        return {'RUNNING_MODAL'}\n\n    def modal(self, context, event):\n        if event.type in {'RIGHTMOUSE', 'ESC'}:\n            self._cleanup(context)\n            self.report({'INFO'}, \"Processing cancelled\")\n            return {'CANCELLED'}\n\n        if event.type == 'TIMER':\n            if self._index >= len(self._items):\n                self._cleanup(context)\n                self.report({'INFO'}, f\"Processed {len(self._items)} items\")\n                return {'FINISHED'}\n\n            obj = self._items[self._index]\n            self._process_item(context, obj)\n            self._index += 1\n            context.window_manager.progress_update(self._index)\n\n        return {'PASS_THROUGH'}\n\n    def _process_item(self, context, obj):\n        # Per-item work here\n        pass\n\n    def _cleanup(self, context):\n        wm = context.window_manager\n        wm.progress_end()\n        if self._timer is not None:\n            wm.event_timer_remove(self._timer)\n            self._timer = None\n\n    def cancel(self, context):\n        self._cleanup(context)\n```\n\n### Rules\n\n- Timer interval is a minimum — actual intervals may be longer due to Blender processing\n- `event_timer_add()` requires `window` as keyword: `event_timer_add(0.1, window=context.window)`\n- Return `{'PASS_THROUGH'}` from TIMER events to let keyboard shortcuts work\n- Return `{'RUNNING_MODAL'}` from TIMER events to block all other input\n- ALWAYS create a shared `_cleanup()` method called from both FINISHED and CANCELLED paths\n\n---\n\n## Section 2: File Browser Integration\n\n### Using ImportHelper \u002F ExportHelper\n\n```python\nimport bpy\nimport os\nfrom bpy_extras.io_utils import ImportHelper, ExportHelper\n\nclass MYCAT_OT_import_data(bpy.types.Operator, ImportHelper):\n    \"\"\"Import data from file\"\"\"\n    bl_idname = \"mycat.import_data\"\n    bl_label = \"Import Data\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    # ImportHelper provides: filepath, invoke()\n    filter_glob: bpy.props.StringProperty(\n        default=\"*.csv;*.json\",\n        options={'HIDDEN'},\n    )\n    # Custom options shown in file browser sidebar\n    skip_header: bpy.props.BoolProperty(name=\"Skip Header\", default=True)\n\n    def execute(self, context):\n        if not os.path.isfile(self.filepath):\n            self.report({'ERROR'}, f\"File not found: {self.filepath}\")\n            return {'CANCELLED'}\n        # Process self.filepath here\n        self.report({'INFO'}, f\"Imported: {self.filepath}\")\n        return {'FINISHED'}\n```\n\n### ExportHelper Requirements\n\n```python\nclass MYCAT_OT_export_data(bpy.types.Operator, ExportHelper):\n    bl_idname = \"mycat.export_data\"\n    bl_label = \"Export Data\"\n\n    filename_ext = \".csv\"  # REQUIRED — ExportHelper.check() uses this\n\n    filter_glob: bpy.props.StringProperty(default=\"*.csv\", options={'HIDDEN'})\n\n    def execute(self, context):\n        with open(self.filepath, 'w') as f:\n            f.write(\"data\")\n        return {'FINISHED'}\n```\n\n### Manual File Browser (without mixins)\n\nUse `filepath: StringProperty(subtype='FILE_PATH')` or `directory: StringProperty(subtype='DIR_PATH')`, call `context.window_manager.fileselect_add(self)` in `invoke()`, return `{'RUNNING_MODAL'}`.\n\n### Menu Registration\n\nRegister import operators to `bpy.types.TOPBAR_MT_file_import.append(menu_func)`. Register export operators to `bpy.types.TOPBAR_MT_file_export.append(menu_func)`. ALWAYS remove in `unregister()` to prevent duplicate entries on addon reload.\n\n---\n\n## Section 3: Undo\u002FRedo Support\n\n### bl_options for Undo\n\n| Option | Effect |\n|--------|--------|\n| `{'REGISTER', 'UNDO'}` | One undo step on `{'FINISHED'}`. ALWAYS use for data-modifying operators. |\n| `{'REGISTER', 'UNDO_GROUPED'}` | Consecutive calls of the same operator produce one undo step. Use for repeated rapid calls. |\n| `{'REGISTER'}` alone | NO undo step. Use only for read-only \u002F reporting operators. |\n\n### Rules\n\n1. `'UNDO'` requires `'REGISTER'` — without `'REGISTER'`, `'UNDO'` has NO effect\n2. Returning `{'CANCELLED'}` NEVER creates an undo step\n3. Modal operators with `{'UNDO'}` push ONE undo step when `{'FINISHED'}` is returned — all intermediate modifications are bundled\n4. If `execute()` modifies data then returns `{'CANCELLED'}`, those changes persist WITHOUT being undoable — ALWAYS restore state before cancelling\n5. `UNDO_GROUPED` consolidates consecutive calls of the SAME operator into one undo step — use for timer-driven modifications\n\n### Cancel-Safe Pattern\n\n```python\ndef execute(self, context):\n    obj = context.active_object\n    original_location = obj.location.copy()\n    try:\n        self._do_work(obj)\n    except Exception as e:\n        obj.location = original_location  # Restore on failure\n        self.report({'ERROR'}, str(e))\n        return {'CANCELLED'}\n    return {'FINISHED'}\n```\n\n---\n\n## Section 4: Batch Processing Operators\n\n### Synchronous Batch (fast operations)\n\n```python\nclass MYCAT_OT_batch_rename(bpy.types.Operator):\n    bl_idname = \"mycat.batch_rename\"\n    bl_label = \"Batch Rename\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    prefix: bpy.props.StringProperty(name=\"Prefix\", default=\"obj_\")\n\n    def execute(self, context):\n        objects = list(context.selected_objects)  # Copy — NEVER iterate and modify\n        for i, obj in enumerate(objects):\n            obj.name = f\"{self.prefix}{i:03d}\"\n        self.report({'INFO'}, f\"Renamed {len(objects)} objects\")\n        return {'FINISHED'}\n```\n\n### Batch with Context Override (Blender 4.0+)\n\n```python\ndef batch_apply_modifiers(objects):\n    \"\"\"Apply all modifiers on multiple objects.\"\"\"\n    for obj in objects:\n        with bpy.context.temp_override(active_object=obj, object=obj):\n            for mod in obj.modifiers[:]:  # Copy list — modifiers removed during iteration\n                try:\n                    bpy.ops.object.modifier_apply(modifier=mod.name)\n                except RuntimeError as e:\n                    print(f\"Cannot apply {mod.name} on {obj.name}: {e}\")\n```\n\n### Rules\n\n- ALWAYS copy collections before iterating if the loop modifies them: `list(context.selected_objects)`\n- ALWAYS copy modifier lists before applying: `obj.modifiers[:]`\n- Use `context.temp_override()` when calling operators that check `context.active_object`\n- For batch operations on 100+ objects, use the modal timer pattern (Section 1) for responsiveness\n\n---\n\n## Section 5: Progress Reporting\n\n### WindowManager Progress API\n\n```python\nwm = context.window_manager\nwm.progress_begin(0, total_count)  # Initialize range\nwm.progress_update(current_index)  # Update cursor indicator\nwm.progress_end()                  # Finish — ALWAYS call, even on error\n```\n\n### Header Text as Progress (alternative)\n\n```python\n# In modal() during processing:\ncontext.area.header_text_set(f\"Processing: {i}\u002F{total} ({i\u002Ftotal*100:.0f}%)\")\n\n# On completion or cancel: ALWAYS restore:\ncontext.area.header_text_set(None)\n```\n\n### UILayout.progress() (Blender 4.0+)\n\n```python\n# In Panel.draw() or Operator.draw() only:\nlayout.progress(factor=0.66, type='BAR', text=\"66%\")\n```\n\n### Known Issue\n\n`wm.progress_end()` does not immediately reset the cursor — it stays as a busy indicator until the user moves the cursor. This is a confirmed Blender bug, not a coding error.\n\n---\n\n## Section 6: Multi-Step Workflows\n\n### Parameter Dialog Before Execution\n\n```python\nclass MYCAT_OT_configured_action(bpy.types.Operator):\n    bl_idname = \"mycat.configured_action\"\n    bl_label = \"Configured Action\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    count: bpy.props.IntProperty(name=\"Count\", default=5, min=1, max=100)\n    mode: bpy.props.EnumProperty(\n        name=\"Mode\",\n        items=[('ADD', \"Add\", \"\"), ('REPLACE', \"Replace\", \"\")],\n    )\n\n    def invoke(self, context, event):\n        return context.window_manager.invoke_props_dialog(self, width=300)\n\n    def check(self, context):\n        return True  # Redraw dialog when properties change\n\n    def draw(self, context):\n        layout = self.layout\n        layout.prop(self, \"mode\", expand=True)\n        layout.prop(self, \"count\")\n\n    def execute(self, context):\n        # Runs when user clicks OK\n        return {'FINISHED'}\n```\n\n### State Machine Modal Operator\n\n```python\nclass MYCAT_OT_two_point_tool(bpy.types.Operator):\n    bl_idname = \"mycat.two_point_tool\"\n    bl_label = \"Two Point Tool\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    _state: str = 'PICK_FIRST'\n    _first_point: tuple = None\n\n    def invoke(self, context, event):\n        self._state = 'PICK_FIRST'\n        self._first_point = None\n        context.window_manager.modal_handler_add(self)\n        context.area.header_text_set(\"Click first point (ESC to cancel)\")\n        return {'RUNNING_MODAL'}\n\n    def modal(self, context, event):\n        if event.type in {'RIGHTMOUSE', 'ESC'}:\n            context.area.header_text_set(None)\n            return {'CANCELLED'}\n\n        if event.type == 'LEFTMOUSE' and event.value == 'PRESS':\n            if self._state == 'PICK_FIRST':\n                self._first_point = (event.mouse_region_x, event.mouse_region_y)\n                self._state = 'PICK_SECOND'\n                context.area.header_text_set(\"Click second point (ESC to cancel)\")\n                return {'RUNNING_MODAL'}\n\n            elif self._state == 'PICK_SECOND':\n                second = (event.mouse_region_x, event.mouse_region_y)\n                self._execute_action(context, self._first_point, second)\n                context.area.header_text_set(None)\n                return {'FINISHED'}\n\n        return {'PASS_THROUGH'}\n\n    def _execute_action(self, context, p1, p2):\n        pass  # Implementation here\n```\n\n### Invocation Methods Reference\n\n| Method | Dialog | Calls execute() | Use Case |\n|--------|--------|-----------------|----------|\n| `invoke_props_dialog(self, width)` | Property form + OK | On OK click | Parameter gathering |\n| `invoke_props_popup(self, event)` | Property popup | Immediately + on change | Interactive adjustment |\n| `invoke_confirm(self, event)` | OK\u002FCancel only | On OK click | Destructive actions |\n| `invoke_popup(self, width)` | Custom draw only | NEVER | Info display |\n| `invoke_search_popup(self)` | Searchable enum | On selection | Enum with many items |\n\n---\n\n## Section 7: Deferred Execution with bpy.app.timers\n\n### When to Use (instead of modal operators)\n\n- Fire-and-forget deferred work (no UI interaction needed)\n- Thread-safe bridge from background threads to main thread\n- Persistent recurring tasks that survive file loads\n\n### API\n\n```python\nbpy.app.timers.register(function, first_interval=0, persistent=False)\nbpy.app.timers.unregister(function)\nbpy.app.timers.is_registered(function) -> bool\n```\n\n### Return Value Semantics\n\n| Return | Effect |\n|--------|--------|\n| `None` | Timer unregistered — function never called again |\n| `float` | Function called again after that many seconds |\n\n### Thread-Safe Queue Pattern\n\n```python\nimport bpy\nimport queue\nimport threading\n\n_queue = queue.Queue()\n\ndef _process_queue():\n    while not _queue.empty():\n        fn = _queue.get()\n        fn()\n    return 1.0  # Check every second\n\ndef run_on_main_thread(fn):\n    \"\"\"Schedule a function to run on Blender's main thread.\"\"\"\n    _queue.put(fn)\n\n# Register in addon register():\nbpy.app.timers.register(_process_queue, persistent=True)\n```\n\n### bpy.app.timers vs wm.event_timer_add\n\n| | `bpy.app.timers` | `wm.event_timer_add` |\n|--|-------------------|----------------------|\n| Requires modal operator | No | Yes |\n| Tied to specific window | No | Yes |\n| Survives file load | Yes (persistent=True) | No |\n| User-cancellable | No (must unregister) | Yes (ESC in modal) |\n| Use case | Background tasks, thread bridge | Interactive modal tools |\n\n---\n\n## Reference Links\n\n- [references\u002Fmethods.md](references\u002Fmethods.md) — Complete API signatures for modal, timer, progress, and file browser APIs\n- [references\u002Fexamples.md](references\u002Fexamples.md) — Full working examples for all implementation patterns\n- [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md) — Implementation mistakes with explanations and fixes\n\n### Official Sources\n- [Operator](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Operator.html), [Timers](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.app.timers.html), [IO Utils](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy_extras.io_utils.html), [WindowManager](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.WindowManager.html)\n\n### Related Skills\n- [blender-syntax-operators](..\u002F..\u002Fsyntax\u002Fblender-syntax-operators\u002FSKILL.md) -- Operator class structure, return values, bl_options\n- [blender-core-api](..\u002F..\u002Fcore\u002Fblender-core-api\u002FSKILL.md) -- bpy module structure, context system\n","# blender-impl-operators\n\n## Quick Reference\n\n### Critical Warnings\n\n**ALWAYS** clean up timers in BOTH `cancel()` AND the `{'FINISHED'}` path. Leaked timers fire indefinitely and reference deleted operator instances.\n\n**ALWAYS** call `wm.modal_handler_add(self)` BEFORE returning `{'RUNNING_MODAL'}` from `invoke()`. Returning `{'RUNNING_MODAL'}` without a handler registration means events go nowhere.\n\n**ALWAYS** handle ESC and RIGHTMOUSE in `modal()` to allow user cancellation. Without an escape path, the user is locked in the modal state.\n\n**ALWAYS** set `bl_options = {'REGISTER', 'UNDO'}` for operators that modify scene data. `'UNDO'` alone has NO effect — `'REGISTER'` is required for undo to work.\n\n**NEVER** modify `bpy.data` from a background thread. Use `bpy.app.timers.register()` with a `queue.Queue` to marshal work to the main thread.\n\n**NEVER** expect viewport redraws during a synchronous `execute()`. The UI is frozen until `execute()` returns. Use a modal operator with timer for progressive visual updates.\n\n**NEVER** use `threading.Timer` for deferred Blender operations. Use `bpy.app.timers.register()` instead.\n\n### Implementation Decision Tree\n\n```\nNeed to implement a complex Blender operator?\n│\n├─ Long-running operation that must show progress?\n│  └─ Use modal operator with timer (Section 1)\n│     └─ Add wm.progress_begin\u002Fupdate\u002Fend (Section 5)\n│     └─ Process items incrementally per TIMER event\n│\n├─ Need user to select a file?\n│  └─ Use ImportHelper\u002FExportHelper mixins (Section 2)\n│     └─ Or manual fileselect_add for custom file dialogs\n│\n├─ Need to process many objects in batch?\n│  ├─ Fast operation (\u003C 1 second)?\n│  │  └─ Use synchronous execute() with context.temp_override (Section 4)\n│  └─ Slow operation (> 1 second)?\n│     └─ Use modal timer + progress reporting (Section 1 + 5)\n│\n├─ Need multi-step user interaction?\n│  ├─ Sequential clicks\u002Fpoints in viewport?\n│  │  └─ Use state machine in modal() (Section 6)\n│  └─ Parameter dialog before execution?\n│     └─ Use invoke_props_dialog (Section 6)\n│\n├─ Need deferred execution outside an operator?\n│  └─ Use bpy.app.timers.register() (Section 7)\n│     └─ Return None to run once, return float to repeat\n│\n└─ Need undo support?\n   ├─ Single operation?\n   │  └─ bl_options = {'REGISTER', 'UNDO'} (Section 3)\n   └─ Repeated rapid calls (e.g., timer-driven)?\n      └─ bl_options = {'REGISTER', 'UNDO_GROUPED'} (Section 3)\n```\n\n### Version Compatibility Matrix\n\n| Feature | Blender 3.x | Blender 4.0+ | Blender 5.x |\n|---------|-------------|--------------|-------------|\n| `wm.event_timer_add(t, window=w)` | Keyword arg | Keyword arg | Keyword arg |\n| `bpy.app.timers.register()` | Available | Available | Available |\n| `context.temp_override()` | Available from 3.2 | REQUIRED | REQUIRED |\n| Dict context override | Deprecated (3.2+) | REMOVED | REMOVED |\n| `UILayout.progress()` | Not available | Available (4.0+) | Available |\n| `ImportHelper\u002FExportHelper` | Stable | Stable | Stable |\n| `UNDO_GROUPED` bl_option | Available | Available | Available |\n\n---\n\n## Section 1: Modal Operators with Timer Callbacks\n\n### When to Use\n\nUse modal operators with timers when an operation takes more than ~0.5 seconds and must:\n- Show progress to the user\n- Allow cancellation mid-operation\n- Keep Blender's UI responsive during processing\n\n### Implementation Pattern\n\n```python\nimport bpy\n\nclass MYCAT_OT_long_process(bpy.types.Operator):\n    \"\"\"Process objects over multiple frames with progress\"\"\"\n    bl_idname = \"mycat.long_process\"\n    bl_label = \"Long Process\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    _timer = None\n    _items: list = None\n    _index: int = 0\n\n    @classmethod\n    def poll(cls, context):\n        return len(context.selected_objects) > 0\n\n    def invoke(self, context, event):\n        self._items = list(context.selected_objects)\n        self._index = 0\n        wm = context.window_manager\n        wm.progress_begin(0, len(self._items))\n        self._timer = wm.event_timer_add(0.01, window=context.window)\n        wm.modal_handler_add(self)\n        return {'RUNNING_MODAL'}\n\n    def modal(self, context, event):\n        if event.type in {'RIGHTMOUSE', 'ESC'}:\n            self._cleanup(context)\n            self.report({'INFO'}, \"Processing cancelled\")\n            return {'CANCELLED'}\n\n        if event.type == 'TIMER':\n            if self._index >= len(self._items):\n                self._cleanup(context)\n                self.report({'INFO'}, f\"Processed {len(self._items)} items\")\n                return {'FINISHED'}\n\n            obj = self._items[self._index]\n            self._process_item(context, obj)\n            self._index += 1\n            context.window_manager.progress_update(self._index)\n\n        return {'PASS_THROUGH'}\n\n    def _process_item(self, context, obj):\n        # Per-item work here\n        pass\n\n    def _cleanup(self, context):\n        wm = context.window_manager\n        wm.progress_end()\n        if self._timer is not None:\n            wm.event_timer_remove(self._timer)\n            self._timer = None\n\n    def cancel(self, context):\n        self._cleanup(context)\n```\n\n### Rules\n\n- Timer interval is a minimum — actual intervals may be longer due to Blender processing\n- `event_timer_add()` requires `window` as keyword: `event_timer_add(0.1, window=context.window)`\n- Return `{'PASS_THROUGH'}` from TIMER events to let keyboard shortcuts work\n- Return `{'RUNNING_MODAL'}` from TIMER events to block all other input\n- ALWAYS create a shared `_cleanup()` method called from both FINISHED and CANCELLED paths\n\n---\n\n## Section 2: File Browser Integration\n\n### Using ImportHelper \u002F ExportHelper\n\n```python\nimport bpy\nimport os\nfrom bpy_extras.io_utils import ImportHelper, ExportHelper\n\nclass MYCAT_OT_import_data(bpy.types.Operator, ImportHelper):\n    \"\"\"Import data from file\"\"\"\n    bl_idname = \"mycat.import_data\"\n    bl_label = \"Import Data\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    # ImportHelper provides: filepath, invoke()\n    filter_glob: bpy.props.StringProperty(\n        default=\"*.csv;*.json\",\n        options={'HIDDEN'},\n    )\n    # Custom options shown in file browser sidebar\n    skip_header: bpy.props.BoolProperty(name=\"Skip Header\", default=True)\n\n    def execute(self, context):\n        if not os.path.isfile(self.filepath):\n            self.report({'ERROR'}, f\"File not found: {self.filepath}\")\n            return {'CANCELLED'}\n        # Process self.filepath here\n        self.report({'INFO'}, f\"Imported: {self.filepath}\")\n        return {'FINISHED'}\n```\n\n### ExportHelper Requirements\n\n```python\nclass MYCAT_OT_export_data(bpy.types.Operator, ExportHelper):\n    bl_idname = \"mycat.export_data\"\n    bl_label = \"Export Data\"\n\n    filename_ext = \".csv\"  # REQUIRED — ExportHelper.check() uses this\n\n    filter_glob: bpy.props.StringProperty(default=\"*.csv\", options={'HIDDEN'})\n\n    def execute(self, context):\n        with open(self.filepath, 'w') as f:\n            f.write(\"data\")\n        return {'FINISHED'}\n```\n\n### Manual File Browser (without mixins)\n\nUse `filepath: StringProperty(subtype='FILE_PATH')` or `directory: StringProperty(subtype='DIR_PATH')`, call `context.window_manager.fileselect_add(self)` in `invoke()`, return `{'RUNNING_MODAL'}`.\n\n### Menu Registration\n\nRegister import operators to `bpy.types.TOPBAR_MT_file_import.append(menu_func)`. Register export operators to `bpy.types.TOPBAR_MT_file_export.append(menu_func)`. ALWAYS remove in `unregister()` to prevent duplicate entries on addon reload.\n\n---\n\n## Section 3: Undo\u002FRedo Support\n\n### bl_options for Undo\n\n| Option | Effect |\n|--------|--------|\n| `{'REGISTER', 'UNDO'}` | One undo step on `{'FINISHED'}`. ALWAYS use for data-modifying operators. |\n| `{'REGISTER', 'UNDO_GROUPED'}` | Consecutive calls of the same operator produce one undo step. Use for repeated rapid calls. |\n| `{'REGISTER'}` alone | NO undo step. Use only for read-only \u002F reporting operators. |\n\n### Rules\n\n1. `'UNDO'` requires `'REGISTER'` — without `'REGISTER'`, `'UNDO'` has NO effect\n2. Returning `{'CANCELLED'}` NEVER creates an undo step\n3. Modal operators with `{'UNDO'}` push ONE undo step when `{'FINISHED'}` is returned — all intermediate modifications are bundled\n4. If `execute()` modifies data then returns `{'CANCELLED'}`, those changes persist WITHOUT being undoable — ALWAYS restore state before cancelling\n5. `UNDO_GROUPED` consolidates consecutive calls of the SAME operator into one undo step — use for timer-driven modifications\n\n### Cancel-Safe Pattern\n\n```python\ndef execute(self, context):\n    obj = context.active_object\n    original_location = obj.location.copy()\n    try:\n        self._do_work(obj)\n    except Exception as e:\n        obj.location = original_location  # Restore on failure\n        self.report({'ERROR'}, str(e))\n        return {'CANCELLED'}\n    return {'FINISHED'}\n```\n\n---\n\n## Section 4: Batch Processing Operators\n\n### Synchronous Batch (fast operations)\n\n```python\nclass MYCAT_OT_batch_rename(bpy.types.Operator):\n    bl_idname = \"mycat.batch_rename\"\n    bl_label = \"Batch Rename\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    prefix: bpy.props.StringProperty(name=\"Prefix\", default=\"obj_\")\n\n    def execute(self, context):\n        objects = list(context.selected_objects)  # Copy — NEVER iterate and modify\n        for i, obj in enumerate(objects):\n            obj.name = f\"{self.prefix}{i:03d}\"\n        self.report({'INFO'}, f\"Renamed {len(objects)} objects\")\n        return {'FINISHED'}\n```\n\n### Batch with Context Override (Blender 4.0+)\n\n```python\ndef batch_apply_modifiers(objects):\n    \"\"\"Apply all modifiers on multiple objects.\"\"\"\n    for obj in objects:\n        with bpy.context.temp_override(active_object=obj, object=obj):\n            for mod in obj.modifiers[:]:  # Copy list — modifiers removed during iteration\n                try:\n                    bpy.ops.object.modifier_apply(modifier=mod.name)\n                except RuntimeError as e:\n                    print(f\"Cannot apply {mod.name} on {obj.name}: {e}\")\n```\n\n### Rules\n\n- ALWAYS copy collections before iterating if the loop modifies them: `list(context.selected_objects)`\n- ALWAYS copy modifier lists before applying: `obj.modifiers[:]`\n- Use `context.temp_override()` when calling operators that check `context.active_object`\n- For batch operations on 100+ objects, use the modal timer pattern (Section 1) for responsiveness\n\n---\n\n## Section 5: Progress Reporting\n\n### WindowManager Progress API\n\n```python\nwm = context.window_manager\nwm.progress_begin(0, total_count)  # Initialize range\nwm.progress_update(current_index)  # Update cursor indicator\nwm.progress_end()                  # Finish — ALWAYS call, even on error\n```\n\n### Header Text as Progress (alternative)\n\n```python\n# In modal() during processing:\ncontext.area.header_text_set(f\"Processing: {i}\u002F{total} ({i\u002Ftotal*100:.0f}%)\")\n\n# On completion or cancel: ALWAYS restore:\ncontext.area.header_text_set(None)\n```\n\n### UILayout.progress() (Blender 4.0+)\n\n```python\n# In Panel.draw() or Operator.draw() only:\nlayout.progress(factor=0.66, type='BAR', text=\"66%\")\n```\n\n### Known Issue\n\n`wm.progress_end()` does not immediately reset the cursor — it stays as a busy indicator until the user moves the cursor. This is a confirmed Blender bug, not a coding error.\n\n---\n\n## Section 6: Multi-Step Workflows\n\n### Parameter Dialog Before Execution\n\n```python\nclass MYCAT_OT_configured_action(bpy.types.Operator):\n    bl_idname = \"mycat.configured_action\"\n    bl_label = \"Configured Action\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    count: bpy.props.IntProperty(name=\"Count\", default=5, min=1, max=100)\n    mode: bpy.props.EnumProperty(\n        name=\"Mode\",\n        items=[('ADD', \"Add\", \"\"), ('REPLACE', \"Replace\", \"\")],\n    )\n\n    def invoke(self, context, event):\n        return context.window_manager.invoke_props_dialog(self, width=300)\n\n    def check(self, context):\n        return True  # Redraw dialog when properties change\n\n    def draw(self, context):\n        layout = self.layout\n        layout.prop(self, \"mode\", expand=True)\n        layout.prop(self, \"count\")\n\n    def execute(self, context):\n        # Runs when user clicks OK\n        return {'FINISHED'}\n```\n\n### State Machine Modal Operator\n\n```python\nclass MYCAT_OT_two_point_tool(bpy.types.Operator):\n    bl_idname = \"mycat.two_point_tool\"\n    bl_label = \"Two Point Tool\"\n    bl_options = {'REGISTER', 'UNDO'}\n\n    _state: str = 'PICK_FIRST'\n    _first_point: tuple = None\n\n    def invoke(self, context, event):\n        self._state = 'PICK_FIRST'\n        self._first_point = None\n        context.window_manager.modal_handler_add(self)\n        context.area.header_text_set(\"Click first point (ESC to cancel)\")\n        return {'RUNNING_MODAL'}\n\n    def modal(self, context, event):\n        if event.type in {'RIGHTMOUSE', 'ESC'}:\n            context.area.header_text_set(None)\n            return {'CANCELLED'}\n\n        if event.type == 'LEFTMOUSE' and event.value == 'PRESS':\n            if self._state == 'PICK_FIRST':\n                self._first_point = (event.mouse_region_x, event.mouse_region_y)\n                self._state = 'PICK_SECOND'\n                context.area.header_text_set(\"Click second point (ESC to cancel)\")\n                return {'RUNNING_MODAL'}\n\n            elif self._state == 'PICK_SECOND':\n                second = (event.mouse_region_x, event.mouse_region_y)\n                self._execute_action(context, self._first_point, second)\n                context.area.header_text_set(None)\n                return {'FINISHED'}\n\n        return {'PASS_THROUGH'}\n\n    def _execute_action(self, context, p1, p2):\n        pass  # Implementation here\n```\n\n### Invocation Methods Reference\n\n| Method | Dialog | Calls execute() | Use Case |\n|--------|--------|-----------------|----------|\n| `invoke_props_dialog(self, width)` | Property form + OK | On OK click | Parameter gathering |\n| `invoke_props_popup(self, event)` | Property popup | Immediately + on change | Interactive adjustment |\n| `invoke_confirm(self, event)` | OK\u002FCancel only | On OK click | Destructive actions |\n| `invoke_popup(self, width)` | Custom draw only | NEVER | Info display |\n| `invoke_search_popup(self)` | Searchable enum | On selection | Enum with many items |\n\n---\n\n## Section 7: Deferred Execution with bpy.app.timers\n\n### When to Use (instead of modal operators)\n\n- Fire-and-forget deferred work (no UI interaction needed)\n- Thread-safe bridge from background threads to main thread\n- Persistent recurring tasks that survive file loads\n\n### API\n\n```python\nbpy.app.timers.register(function, first_interval=0, persistent=False)\nbpy.app.timers.unregister(function)\nbpy.app.timers.is_registered(function) -> bool\n```\n\n### Return Value Semantics\n\n| Return | Effect |\n|--------|--------|\n| `None` | Timer unregistered — function never called again |\n| `float` | Function called again after that many seconds |\n\n### Thread-Safe Queue Pattern\n\n```python\nimport bpy\nimport queue\nimport threading\n\n_queue = queue.Queue()\n\ndef _process_queue():\n    while not _queue.empty():\n        fn = _queue.get()\n        fn()\n    return 1.0  # Check every second\n\ndef run_on_main_thread(fn):\n    \"\"\"Schedule a function to run on Blender's main thread.\"\"\"\n    _queue.put(fn)\n\n# Register in addon register():\nbpy.app.timers.register(_process_queue, persistent=True)\n```\n\n### bpy.app.timers vs wm.event_timer_add\n\n| | `bpy.app.timers` | `wm.event_timer_add` |\n|--|-------------------|----------------------|\n| Requires modal operator | No | Yes |\n| Tied to specific window | No | Yes |\n| Survives file load | Yes (persistent=True) | No |\n| User-cancellable | No (must unregister) | Yes (ESC in modal) |\n| Use case | Background tasks, thread bridge | Interactive modal tools |\n\n---\n\n## Reference Links\n\n- [references\u002Fmethods.md](references\u002Fmethods.md) — Complete API signatures for modal, timer, progress, and file browser APIs\n- [references\u002Fexamples.md](references\u002Fexamples.md) — Full working examples for all implementation patterns\n- [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md) — Implementation mistakes with explanations and fixes\n\n### Official Sources\n- [Operator](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Operator.html), [Timers](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.app.timers.html), [IO Utils](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy_extras.io_utils.html), [WindowManager](https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.WindowManager.html)\n\n### Related Skills\n- [blender-syntax-operators](..\u002F..\u002Fsyntax\u002Fblender-syntax-operators\u002FSKILL.md) -- Operator class structure, return values, bl_options\n- [blender-core-api](..\u002F..\u002Fcore\u002Fblender-core-api\u002FSKILL.md) -- bpy module structure, context system\n",{"name":5,"license":14,"metadata":23,"description":26,"compatibility":27},{"author":24,"version":25},"OpenAEC-Foundation","1.0","Use when implementing complex Blender operators -- modal operators with timer callbacks, file browsers, batch processing, or multi-step workflows. Prevents the common mistake of blocking the UI thread in long operations instead of using modal + timer pattern. Covers modal operators, file browser integration, undo\u002Fredo support, progress reporting, and batch processing operators. Keywords: modal operator, timer callback, file browser, batch processing, progress reporting, undo support, multi-step workflow, INVOKE_DEFAULT, make custom button, add menu item, create toolbar button.\n","Designed for Claude Code. Requires Blender 3.x\u002F4.x\u002F5.x with Python.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot","2026-11-09 13:26:47",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-impl-operators",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-impl-operators",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-impl-operators","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",12999,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",17852,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",8518,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fimpl\u002Fblender-impl-operators\u002Freferences\u002Fmethods.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7FBFSZ93YM463CGS91D0TZG","manimce-best-practices","Trigger when: (1) User mentions \"manim\" or \"Manim Community\" or \"ManimCE\", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes.\n\nBest practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX\u002FMathTex, 3D with ThreeDScene, camera control, styling, and CLI usage.\n\nNOT for ManimGL\u002F3b1b version (which uses `manimlib` imports and `manimgl` CLI).","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7FB2K59HNNXS9WKHAMWHC3C","drawio","Create, edit, replicate, import, and export draw.io diagrams with an offline YAML-first workflow: architecture, network topologies, flowcharts, UML\u002FER, org charts, Mermaid\u002FCSV conversion, existing .drawio bundles, style presets, themes, and non-publication formula diagrams. For publication figures (paper, thesis, IEEE, camera-ready) use drawio-academic-skills instead.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7FB2BWX7GWK9H2X8BGCYDDD","drawio-academic-skills","Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE\u002FACM submission, manuscript, camera-ready, Word\u002FLaTeX figure, or other publication. Applies venue, figure-type, color, caption\u002Flegend, formula, and paper-readability gates for architecture, workflow, roadmap, network-topology, and replicated paper figures.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio-academic-skills\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7FB22JESEAV8T15DJT3D444","uncertainty-and-units","Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on \"is this number physically reasonable\", \"sanity check these units\", \"what regime is this flow in\", or a result that looks off by orders of magnitude.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Funcertainty-and-units\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7FB1ANRSG28R335FDY9SA3R","statistical-analysis","Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers t-tests, ANOVA, chi-square, correlation, regression, non-parametric and Bayesian methods. For low-level model APIs, see the statsmodels and pymc skills.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fstatistical-analysis\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7FB15KRA9D7JCPH4P9T6XJY","simpy","Builds, inspects, tests, and analyzes bounded process-based discrete-event simulations with SimPy. Use for event scheduling, resource queues, interrupts, monitoring, independent replications, warm-up, and reproducible output analysis.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fsimpy\u002FSKILL.md",[],[]]