{"id":30727943,"url":"https://github.com/bblanimation/points-picker","last_synced_at":"2025-09-03T14:52:46.727Z","repository":{"id":237408906,"uuid":"168847793","full_name":"bblanimation/points-picker","owner":"bblanimation","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-04T13:48:39.000Z","size":4024,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T12:15:41.983Z","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-02T15:49:47.000Z","updated_at":"2024-05-01T12:15:51.699Z","dependencies_parsed_at":"2024-05-01T12:15:44.483Z","dependency_job_id":"71b4ec53-11b6-4f71-b05b-1dd287c232a9","html_url":"https://github.com/bblanimation/points-picker","commit_stats":null,"previous_names":["bblanimation/points-picker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bblanimation/points-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fpoints-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fpoints-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fpoints-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fpoints-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblanimation","download_url":"https://codeload.github.com/bblanimation/points-picker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblanimation%2Fpoints-picker/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:37.010Z","updated_at":"2025-09-03T14:52:46.711Z","avatar_url":"https://github.com/bblanimation.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 'Points Picker':\n\n...\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 Points Picker 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\"`\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 creates new empty objects at each point location\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    * `self.can_commit()`\n        * called when the user attempts to commit Points Picker\n        * by default, this function returns True\n    * `self.can_cancel()`\n        * called when the user attempts to cancel Points Picker\n        * by default, this function returns True\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblanimation%2Fpoints-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblanimation%2Fpoints-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblanimation%2Fpoints-picker/lists"}