{"action":"created","comment":{"url":"https://api.github.com/repos/aachman98/Sorcar/pulls/comments/360651700","pull_request_review_id":335607015,"id":360651700,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MDY1MTcwMA==","diff_hunk":"@@ -0,0 +1,89 @@\n+import bpy\n+import bmesh\n+from bpy.props import IntProperty, BoolProperty\n+from bpy.types import Node\n+from .._base.node_base import ScNode\n+from .._base.node_selection import ScSelectionNode\n+\n+\n+class ScSelectVertexByConnections(Node, ScSelectionNode):\n+    bl_idname = \"ScSelectVertexByConnections\"\n+    bl_label = \"Select Vertex By Connections\"\n+\n+    in_connections: IntProperty(default=1, min=0, update=ScNode.update_value)\n+    in_extend: BoolProperty(default=True, update=ScNode.update_value)\n+\n+    def init(self, context):\n+        super().init(context)\n+        self.inputs.new(\"ScNodeSocketNumber\", \"Connections\").init(\"in_connections\", True)\n+        self.inputs.new(\"ScNodeSocketBool\", \"Extend\").init(\"in_extend\")\n+        # work in vertex mode:\n+        # With this it is not necessary to manually force the mode to vertices mode:\n+        self.in_selection_type = {'VERT'}\n+        self.in_extend = False\n+\n+    def error_condition(self):\n+        return (\n+                super().error_condition()\n+                or int(self.inputs[\"Connections\"].default_value) < 0\n+                # prevent other modes:\n+                or self.in_selection_type != {'VERT'}\n+        )\n+\n+    def functionality(self):\n+        print(self)\n+        connections = int(self.inputs[\"Connections\"].default_value)\n+        obj = self.inputs[\"Object\"].default_value","path":"nodes/selection/ScSelectVertexByConnections.py","position":36,"original_position":36,"commit_id":"020f56e74a36b6dd989937785ce3744cdda3c536","original_commit_id":"020f56e74a36b6dd989937785ce3744cdda3c536","user":{"login":"aachman98","id":26548023,"node_id":"MDQ6VXNlcjI2NTQ4MDIz","avatar_url":"https://avatars2.githubusercontent.com/u/26548023?v=4","gravatar_id":"","url":"https://api.github.com/users/aachman98","html_url":"https://github.com/aachman98","followers_url":"https://api.github.com/users/aachman98/followers","following_url":"https://api.github.com/users/aachman98/following{/other_user}","gists_url":"https://api.github.com/users/aachman98/gists{/gist_id}","starred_url":"https://api.github.com/users/aachman98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aachman98/subscriptions","organizations_url":"https://api.github.com/users/aachman98/orgs","repos_url":"https://api.github.com/users/aachman98/repos","events_url":"https://api.github.com/users/aachman98/events{/privacy}","received_events_url":"https://api.github.com/users/aachman98/received_events","type":"User","site_admin":false},"body":"Same goes for this","created_at":"2019-12-21T14:26:20Z","updated_at":"2019-12-21T15:00:02Z","html_url":"https://github.com/aachman98/Sorcar/pull/88#discussion_r360651700","pull_request_url":"https://api.github.com/repos/aachman98/Sorcar/pulls/88","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/comments/360651700"},"html":{"href":"https://github.com/aachman98/Sorcar/pull/88#discussion_r360651700"},"pull_request":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/aachman98/Sorcar/pulls/88","id":355994187,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU1OTk0MTg3","html_url":"https://github.com/aachman98/Sorcar/pull/88","diff_url":"https://github.com/aachman98/Sorcar/pull/88.diff","patch_url":"https://github.com/aachman98/Sorcar/pull/88.patch","issue_url":"https://api.github.com/repos/aachman98/Sorcar/issues/88","number":88,"state":"open","locked":false,"title":"add new node ScSelectVertexByConnections","user":{"login":"zebus3d","id":48990185,"node_id":"MDQ6VXNlcjQ4OTkwMTg1","avatar_url":"https://avatars2.githubusercontent.com/u/48990185?v=4","gravatar_id":"","url":"https://api.github.com/users/zebus3d","html_url":"https://github.com/zebus3d","followers_url":"https://api.github.com/users/zebus3d/followers","following_url":"https://api.github.com/users/zebus3d/following{/other_user}","gists_url":"https://api.github.com/users/zebus3d/gists{/gist_id}","starred_url":"https://api.github.com/users/zebus3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebus3d/subscriptions","organizations_url":"https://api.github.com/users/zebus3d/orgs","repos_url":"https://api.github.com/users/zebus3d/repos","events_url":"https://api.github.com/users/zebus3d/events{/privacy}","received_events_url":"https://api.github.com/users/zebus3d/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-21T11:38:51Z","updated_at":"2019-12-21T15:00:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ae6e2a67306f68ff65a56f22a7b17660b04ce51","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aachman98/Sorcar/pulls/88/commits","review_comments_url":"https://api.github.com/repos/aachman98/Sorcar/pulls/88/comments","review_comment_url":"https://api.github.com/repos/aachman98/Sorcar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aachman98/Sorcar/issues/88/comments","statuses_url":"https://api.github.com/repos/aachman98/Sorcar/statuses/020f56e74a36b6dd989937785ce3744cdda3c536","head":{"label":"zebus3d:development","ref":"development","sha":"020f56e74a36b6dd989937785ce3744cdda3c536","user":{"login":"zebus3d","id":48990185,"node_id":"MDQ6VXNlcjQ4OTkwMTg1","avatar_url":"https://avatars2.githubusercontent.com/u/48990185?v=4","gravatar_id":"","url":"https://api.github.com/users/zebus3d","html_url":"https://github.com/zebus3d","followers_url":"https://api.github.com/users/zebus3d/followers","following_url":"https://api.github.com/users/zebus3d/following{/other_user}","gists_url":"https://api.github.com/users/zebus3d/gists{/gist_id}","starred_url":"https://api.github.com/users/zebus3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebus3d/subscriptions","organizations_url":"https://api.github.com/users/zebus3d/orgs","repos_url":"https://api.github.com/users/zebus3d/repos","events_url":"https://api.github.com/users/zebus3d/events{/privacy}","received_events_url":"https://api.github.com/users/zebus3d/received_events","type":"User","site_admin":false},"repo":{"id":229418285,"node_id":"MDEwOlJlcG9zaXRvcnkyMjk0MTgyODU=","name":"Sorcar","full_name":"zebus3d/Sorcar","private":false,"owner":{"login":"zebus3d","id":48990185,"node_id":"MDQ6VXNlcjQ4OTkwMTg1","avatar_url":"https://avatars2.githubusercontent.com/u/48990185?v=4","gravatar_id":"","url":"https://api.github.com/users/zebus3d","html_url":"https://github.com/zebus3d","followers_url":"https://api.github.com/users/zebus3d/followers","following_url":"https://api.github.com/users/zebus3d/following{/other_user}","gists_url":"https://api.github.com/users/zebus3d/gists{/gist_id}","starred_url":"https://api.github.com/users/zebus3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zebus3d/subscriptions","organizations_url":"https://api.github.com/users/zebus3d/orgs","repos_url":"https://api.github.com/users/zebus3d/repos","events_url":"https://api.github.com/users/zebus3d/events{/privacy}","received_events_url":"https://api.github.com/users/zebus3d/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zebus3d/Sorcar","description":"Procedural modeling in Blender using Node Editor","fork":true,"url":"https://api.github.com/repos/zebus3d/Sorcar","forks_url":"https://api.github.com/repos/zebus3d/Sorcar/forks","keys_url":"https://api.github.com/repos/zebus3d/Sorcar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zebus3d/Sorcar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zebus3d/Sorcar/teams","hooks_url":"https://api.github.com/repos/zebus3d/Sorcar/hooks","issue_events_url":"https://api.github.com/repos/zebus3d/Sorcar/issues/events{/number}","events_url":"https://api.github.com/repos/zebus3d/Sorcar/events","assignees_url":"https://api.github.com/repos/zebus3d/Sorcar/assignees{/user}","branches_url":"https://api.github.com/repos/zebus3d/Sorcar/branches{/branch}","tags_url":"https://api.github.com/repos/zebus3d/Sorcar/tags","blobs_url":"https://api.github.com/repos/zebus3d/Sorcar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zebus3d/Sorcar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zebus3d/Sorcar/git/refs{/sha}","trees_url":"https://api.github.com/repos/zebus3d/Sorcar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zebus3d/Sorcar/statuses/{sha}","languages_url":"https://api.github.com/repos/zebus3d/Sorcar/languages","stargazers_url":"https://api.github.com/repos/zebus3d/Sorcar/stargazers","contributors_url":"https://api.github.com/repos/zebus3d/Sorcar/contributors","subscribers_url":"https://api.github.com/repos/zebus3d/Sorcar/subscribers","subscription_url":"https://api.github.com/repos/zebus3d/Sorcar/subscription","commits_url":"https://api.github.com/repos/zebus3d/Sorcar/commits{/sha}","git_commits_url":"https://api.github.com/repos/zebus3d/Sorcar/git/commits{/sha}","comments_url":"https://api.github.com/repos/zebus3d/Sorcar/comments{/number}","issue_comment_url":"https://api.github.com/repos/zebus3d/Sorcar/issues/comments{/number}","contents_url":"https://api.github.com/repos/zebus3d/Sorcar/contents/{+path}","compare_url":"https://api.github.com/repos/zebus3d/Sorcar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zebus3d/Sorcar/merges","archive_url":"https://api.github.com/repos/zebus3d/Sorcar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zebus3d/Sorcar/downloads","issues_url":"https://api.github.com/repos/zebus3d/Sorcar/issues{/number}","pulls_url":"https://api.github.com/repos/zebus3d/Sorcar/pulls{/number}","milestones_url":"https://api.github.com/repos/zebus3d/Sorcar/milestones{/number}","notifications_url":"https://api.github.com/repos/zebus3d/Sorcar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zebus3d/Sorcar/labels{/name}","releases_url":"https://api.github.com/repos/zebus3d/Sorcar/releases{/id}","deployments_url":"https://api.github.com/repos/zebus3d/Sorcar/deployments","created_at":"2019-12-21T11:32:02Z","updated_at":"2019-12-21T11:32:04Z","pushed_at":"2019-12-21T11:35:07Z","git_url":"git://github.com/zebus3d/Sorcar.git","ssh_url":"git@github.com:zebus3d/Sorcar.git","clone_url":"https://github.com/zebus3d/Sorcar.git","svn_url":"https://github.com/zebus3d/Sorcar","homepage":"https://aachman98.itch.io/sorcar","size":12153,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aachman98:master","ref":"master","sha":"ba728a0602fbef6593a716847c47227629cf10c7","user":{"login":"aachman98","id":26548023,"node_id":"MDQ6VXNlcjI2NTQ4MDIz","avatar_url":"https://avatars2.githubusercontent.com/u/26548023?v=4","gravatar_id":"","url":"https://api.github.com/users/aachman98","html_url":"https://github.com/aachman98","followers_url":"https://api.github.com/users/aachman98/followers","following_url":"https://api.github.com/users/aachman98/following{/other_user}","gists_url":"https://api.github.com/users/aachman98/gists{/gist_id}","starred_url":"https://api.github.com/users/aachman98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aachman98/subscriptions","organizations_url":"https://api.github.com/users/aachman98/orgs","repos_url":"https://api.github.com/users/aachman98/repos","events_url":"https://api.github.com/users/aachman98/events{/privacy}","received_events_url":"https://api.github.com/users/aachman98/received_events","type":"User","site_admin":false},"repo":{"id":179439054,"node_id":"MDEwOlJlcG9zaXRvcnkxNzk0MzkwNTQ=","name":"Sorcar","full_name":"aachman98/Sorcar","private":false,"owner":{"login":"aachman98","id":26548023,"node_id":"MDQ6VXNlcjI2NTQ4MDIz","avatar_url":"https://avatars2.githubusercontent.com/u/26548023?v=4","gravatar_id":"","url":"https://api.github.com/users/aachman98","html_url":"https://github.com/aachman98","followers_url":"https://api.github.com/users/aachman98/followers","following_url":"https://api.github.com/users/aachman98/following{/other_user}","gists_url":"https://api.github.com/users/aachman98/gists{/gist_id}","starred_url":"https://api.github.com/users/aachman98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aachman98/subscriptions","organizations_url":"https://api.github.com/users/aachman98/orgs","repos_url":"https://api.github.com/users/aachman98/repos","events_url":"https://api.github.com/users/aachman98/events{/privacy}","received_events_url":"https://api.github.com/users/aachman98/received_events","type":"User","site_admin":false},"html_url":"https://github.com/aachman98/Sorcar","description":"Procedural modeling in Blender using Node Editor","fork":false,"url":"https://api.github.com/repos/aachman98/Sorcar","forks_url":"https://api.github.com/repos/aachman98/Sorcar/forks","keys_url":"https://api.github.com/repos/aachman98/Sorcar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aachman98/Sorcar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aachman98/Sorcar/teams","hooks_url":"https://api.github.com/repos/aachman98/Sorcar/hooks","issue_events_url":"https://api.github.com/repos/aachman98/Sorcar/issues/events{/number}","events_url":"https://api.github.com/repos/aachman98/Sorcar/events","assignees_url":"https://api.github.com/repos/aachman98/Sorcar/assignees{/user}","branches_url":"https://api.github.com/repos/aachman98/Sorcar/branches{/branch}","tags_url":"https://api.github.com/repos/aachman98/Sorcar/tags","blobs_url":"https://api.github.com/repos/aachman98/Sorcar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aachman98/Sorcar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aachman98/Sorcar/git/refs{/sha}","trees_url":"https://api.github.com/repos/aachman98/Sorcar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aachman98/Sorcar/statuses/{sha}","languages_url":"https://api.github.com/repos/aachman98/Sorcar/languages","stargazers_url":"https://api.github.com/repos/aachman98/Sorcar/stargazers","contributors_url":"https://api.github.com/repos/aachman98/Sorcar/contributors","subscribers_url":"https://api.github.com/repos/aachman98/Sorcar/subscribers","subscription_url":"https://api.github.com/repos/aachman98/Sorcar/subscription","commits_url":"https://api.github.com/repos/aachman98/Sorcar/commits{/sha}","git_commits_url":"https://api.github.com/repos/aachman98/Sorcar/git/commits{/sha}","comments_url":"https://api.github.com/repos/aachman98/Sorcar/comments{/number}","issue_comment_url":"https://api.github.com/repos/aachman98/Sorcar/issues/comments{/number}","contents_url":"https://api.github.com/repos/aachman98/Sorcar/contents/{+path}","compare_url":"https://api.github.com/repos/aachman98/Sorcar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aachman98/Sorcar/merges","archive_url":"https://api.github.com/repos/aachman98/Sorcar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aachman98/Sorcar/downloads","issues_url":"https://api.github.com/repos/aachman98/Sorcar/issues{/number}","pulls_url":"https://api.github.com/repos/aachman98/Sorcar/pulls{/number}","milestones_url":"https://api.github.com/repos/aachman98/Sorcar/milestones{/number}","notifications_url":"https://api.github.com/repos/aachman98/Sorcar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aachman98/Sorcar/labels{/name}","releases_url":"https://api.github.com/repos/aachman98/Sorcar/releases{/id}","deployments_url":"https://api.github.com/repos/aachman98/Sorcar/deployments","created_at":"2019-04-04T06:52:37Z","updated_at":"2019-12-20T21:21:06Z","pushed_at":"2019-12-21T11:38:52Z","git_url":"git://github.com/aachman98/Sorcar.git","ssh_url":"git@github.com:aachman98/Sorcar.git","clone_url":"https://github.com/aachman98/Sorcar.git","svn_url":"https://github.com/aachman98/Sorcar","homepage":"https://aachman98.itch.io/sorcar","size":12150,"stargazers_count":237,"watchers_count":237,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":18,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":25,"open_issues":18,"watchers":237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/88"},"html":{"href":"https://github.com/aachman98/Sorcar/pull/88"},"issue":{"href":"https://api.github.com/repos/aachman98/Sorcar/issues/88"},"comments":{"href":"https://api.github.com/repos/aachman98/Sorcar/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aachman98/Sorcar/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/aachman98/Sorcar/statuses/020f56e74a36b6dd989937785ce3744cdda3c536"}},"author_association":"NONE"}}
{"actor":{"display_login":"aachman98"}}