{"id":30727952,"url":"https://github.com/bblanimation/custom-sculpt-mode-interface","last_synced_at":"2025-09-03T14:52:51.217Z","repository":{"id":150374287,"uuid":"178237765","full_name":"bblanimation/custom-sculpt-mode-interface","owner":"bblanimation","description":"Forces sculpt mode with Cookie Cutter interface","archived":false,"fork":false,"pushed_at":"2019-08-24T18:58:05.000Z","size":247,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T12:15:41.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bblanimation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-28T16:02:13.000Z","updated_at":"2023-03-17T18:04:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffb5ca36-c992-4020-84f7-27f33d518e2e","html_url":"https://github.com/bblanimation/custom-sculpt-mode-interface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bblanimation/custom-sculpt-mode-interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fcustom-sculpt-mode-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fcustom-sculpt-mode-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fcustom-sculpt-mode-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fcustom-sculpt-mode-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblanimation","download_url":"https://codeload.github.com/bblanimation/custom-sculpt-mode-interface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fcustom-sculpt-mode-interface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273460595,"owners_count":25109761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-03T14:52:48.376Z","updated_at":"2025-09-03T14:52:51.204Z","avatar_url":"https://github.com/bblanimation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 'Sculpt Mode Interface':\n\nForces sculpt mode with Cookie Cutter interface\n\n# Instructions for Use:\n\n* ...\n\n# Instructions for Use as Submodule:\n\n* The following functions can be rewritten in a subclass:\n\n    * `self.can_start(context)`\n        * returns `True` if Custom Sculpt Mode's ui and data structures can be initialized, else `False`\n        * by default, this function checks the following, where `ob` is `bpy.context.active_object`: `return ob is not None and ob.type == \"MESH\" and bpy.context.mode == \"OBJECT\"`\n        * must be rewritten with the `@classmethod` decorator\n    * `self.ui_setup_post()`\n        * called after ui elements have been declared\n        * create your own ui panels and elements\n        * add/edit buttons, frames, properties, etc. in the existing structure:\n        ```\n            self.info_panel\n                self.inst_paragraphs\n            self.tools_panel\n                self.commit_button\n                self.cancel_button\n        ```\n        * hide existing ui elements with the following code (replace `self.info_panel` with any ui element above): `self.info_panel.visible = False`\n    * `self.start_post()`\n        * called after ui and data structures have been initialized\n    * `self.add_point_pre(loc)`\n        * called before new point added at current mouse position\n        * `loc` argument will be 2D Vector with new point's location\n        * use to evaluate the existing points using the `self.b_pts` list or check custom conditions for adding new point\n        * returns `True` if point can be added, else `False`\n    * `self.add_point_post(new_point)`\n        * called after new point added at current mouse position\n        * `new_point` argument will D3Point object with the following attributes:\n            * `new_point.label` = label string for point\n            * `new_point.location` = 3D location Vector for point\n            * `new_point.surface_normal` = 3D surface normal Vector of the object at this point's location\n            * `new_point.view_direction` = 3D view direction Vector of the viewport at the time this point was placed\n    * `self.move_point_post(moved_point)`\n        * called after grabbed point has been placed\n        * `moved_point` argument will D3Point object with the following attributes:\n            * `new_point.label` = label string for point\n            * `new_point.location` = 3D location Vector for point\n            * `new_point.surface_normal` = 3D surface normal Vector of the object at this point's location\n            * `new_point.view_direction` = 3D view direction Vector of the viewport at the time this point was placed\n    * `self.end_commit()`\n        * called when Points Picker is committed\n        * by default, this function switches to object mode\n        * must end with the following line of code: `self.end_commit_post()`\n    * `self.end_commit_post()`\n        * called when Points Picker is committed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblanimation%2Fcustom-sculpt-mode-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblanimation%2Fcustom-sculpt-mode-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblanimation%2Fcustom-sculpt-mode-interface/lists"}