[{"id":"36797053944","type":"IssueCommentEvent","actor":{"id":35639879,"login":"Fliens","display_login":"Fliens","gravatar_id":"","url":"https://api.github.com/users/Fliens","avatar_url":"https://avatars.githubusercontent.com/u/35639879?"},"repo":{"id":514553345,"name":"SoftFever/OrcaSlicer","url":"https://api.github.com/repos/SoftFever/OrcaSlicer"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091","repository_url":"https://api.github.com/repos/SoftFever/OrcaSlicer","labels_url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091/labels{/name}","comments_url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091/comments","events_url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091/events","html_url":"https://github.com/SoftFever/OrcaSlicer/issues/4091","id":2134293893,"node_id":"I_kwDOHqt2Ac5_Nr2F","number":4091,"title":"Filament shrinkage is mixing an objects' coloring","user":{"login":"Gil80","id":8454919,"node_id":"MDQ6VXNlcjg0NTQ5MTk=","avatar_url":"https://avatars.githubusercontent.com/u/8454919?v=4","gravatar_id":"","url":"https://api.github.com/users/Gil80","html_url":"https://github.com/Gil80","followers_url":"https://api.github.com/users/Gil80/followers","following_url":"https://api.github.com/users/Gil80/following{/other_user}","gists_url":"https://api.github.com/users/Gil80/gists{/gist_id}","starred_url":"https://api.github.com/users/Gil80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gil80/subscriptions","organizations_url":"https://api.github.com/users/Gil80/orgs","repos_url":"https://api.github.com/users/Gil80/repos","events_url":"https://api.github.com/users/Gil80/events{/privacy}","received_events_url":"https://api.github.com/users/Gil80/received_events","type":"User","site_admin":false},"labels":[{"id":4333296503,"node_id":"LA_kwDOHqt2Ac8AAAABAkjbdw","url":"https://api.github.com/repos/SoftFever/OrcaSlicer/labels/bug","name":"bug","color":"d73a4a","default":true,"description":"Something isn't working"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-02-14T12:55:31Z","updated_at":"2024-03-22T13:01:15Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### OrcaSlicer Version\n\n1.9.0\n\n### OS version\n\nWindows 11\n\n### Additional system information\n\n_No response_\n\n### Printer\n\nBambu Lab X1C\n\n### How to reproduce\n\n1. Open an object that is suitable for multi color\r\n2. Color with two colors (black and red for example)\r\n3. Slice the object and verify all looks well\r\n4. Enter to one of the selected colors filament settings\r\n5. Set the shrinkage value, in my case 99.97% for PLA\r\n6. Slice the object again\n\n### Actual results\n\nThe slicer mixes the coloring.\r\n\r\n![image](https://github.com/SoftFever/OrcaSlicer/assets/8454919/3ae81787-f77f-43b3-be31-017cf45e1679)\r\n\n\n### Expected results\n\nFilament shrinkage should not affect the object multi-coloring\r\n\r\n![image](https://github.com/SoftFever/OrcaSlicer/assets/8454919/dca89724-3da1-40f0-9cf8-66f3cf6b7949)\r\n\n\n### Project file & Debug log uploads\n\n[two-faced-sturdy-infinity-cube-20.zip](https://github.com/SoftFever/OrcaSlicer/files/14279627/two-faced-sturdy-infinity-cube-20.zip)\r\n\n\n### Checklist of files to include\n\n- [ ] Log file\n- [X] Project file","reactions":{"url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091/reactions","total_count":1,"+1":1,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/comments/2015057213","html_url":"https://github.com/SoftFever/OrcaSlicer/issues/4091#issuecomment-2015057213","issue_url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/4091","id":2015057213,"node_id":"IC_kwDOHqt2Ac54G1U9","user":{"login":"Fliens","id":35639879,"node_id":"MDQ6VXNlcjM1NjM5ODc5","avatar_url":"https://avatars.githubusercontent.com/u/35639879?v=4","gravatar_id":"","url":"https://api.github.com/users/Fliens","html_url":"https://github.com/Fliens","followers_url":"https://api.github.com/users/Fliens/followers","following_url":"https://api.github.com/users/Fliens/following{/other_user}","gists_url":"https://api.github.com/users/Fliens/gists{/gist_id}","starred_url":"https://api.github.com/users/Fliens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fliens/subscriptions","organizations_url":"https://api.github.com/users/Fliens/orgs","repos_url":"https://api.github.com/users/Fliens/repos","events_url":"https://api.github.com/users/Fliens/events{/privacy}","received_events_url":"https://api.github.com/users/Fliens/received_events","type":"User","site_admin":false},"created_at":"2024-03-22T13:01:15Z","updated_at":"2024-03-22T13:01:15Z","author_association":"NONE","body":"I have the same issue\r\n\r\nWithout shrinkage:\r\n\r\n\r\nWith shrinkage:\r\n\r\n\r\n","reactions":{"url":"https://api.github.com/repos/SoftFever/OrcaSlicer/issues/comments/2015057213/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-22T13:01:16Z"},{"id":"36175182603","type":"IssueCommentEvent","actor":{"id":35639879,"login":"Fliens","display_login":"Fliens","gravatar_id":"","url":"https://api.github.com/users/Fliens","avatar_url":"https://avatars.githubusercontent.com/u/35639879?"},"repo":{"id":143260613,"name":"FreeOpcUa/opcua-asyncio","url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592","repository_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio","labels_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/labels{/name}","comments_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/comments","events_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/events","html_url":"https://github.com/FreeOpcUa/opcua-asyncio/issues/1592","id":2156748088,"node_id":"I_kwDOCIn7xc6AjV04","number":1592,"title":"Intendet way for comparing values of two nodes","user":{"login":"Fliens","id":35639879,"node_id":"MDQ6VXNlcjM1NjM5ODc5","avatar_url":"https://avatars.githubusercontent.com/u/35639879?v=4","gravatar_id":"","url":"https://api.github.com/users/Fliens","html_url":"https://github.com/Fliens","followers_url":"https://api.github.com/users/Fliens/followers","following_url":"https://api.github.com/users/Fliens/following{/other_user}","gists_url":"https://api.github.com/users/Fliens/gists{/gist_id}","starred_url":"https://api.github.com/users/Fliens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fliens/subscriptions","organizations_url":"https://api.github.com/users/Fliens/orgs","repos_url":"https://api.github.com/users/Fliens/repos","events_url":"https://api.github.com/users/Fliens/events{/privacy}","received_events_url":"https://api.github.com/users/Fliens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-02-27T14:31:11Z","updated_at":"2024-03-01T21:14:52Z","closed_at":"2024-03-01T21:14:52Z","author_association":"NONE","active_lock_reason":null,"body":"Hi as the title says, I want to compare the values of two nodes.\r\n\r\nI want to make sure that python does nothing unintendet in the background with the node datatypes.\r\nFor example when comparing nodes with different types of int: int16, int32, int64, Uint16, Uint32, Uint64.\r\n\r\nI'm worried that the python \"==\" could create false positive or general negative results when comparing plain values of nodes\r\n\r\nExample\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(value1 == value2)\r\n\r\nvalue1 = node1.get_value()\r\nvalue2 = node2.get_value()\r\nprint(value1 == value2)\r\n```\r\n\r\nIs there a better way to compare two ua.DataValue() or ua.Variant() that keeps the datatype of the value in mind?\r\nInstances of these classes can't be compared directly since they also have a timestamp that might not be important for comparing their values.\r\n\r\nSth like this:\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(ua.uatypes.compare_variants(value1, value2)).\r\n# Returns True if both values are the same when cast to the same datatype\r\n```","reactions":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/timeline","performed_via_github_app":null,"state_reason":"completed"},"comment":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/comments/1973927663","html_url":"https://github.com/FreeOpcUa/opcua-asyncio/issues/1592#issuecomment-1973927663","issue_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592","id":1973927663,"node_id":"IC_kwDOCIn7xc51p77v","user":{"login":"Fliens","id":35639879,"node_id":"MDQ6VXNlcjM1NjM5ODc5","avatar_url":"https://avatars.githubusercontent.com/u/35639879?v=4","gravatar_id":"","url":"https://api.github.com/users/Fliens","html_url":"https://github.com/Fliens","followers_url":"https://api.github.com/users/Fliens/followers","following_url":"https://api.github.com/users/Fliens/following{/other_user}","gists_url":"https://api.github.com/users/Fliens/gists{/gist_id}","starred_url":"https://api.github.com/users/Fliens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fliens/subscriptions","organizations_url":"https://api.github.com/users/Fliens/orgs","repos_url":"https://api.github.com/users/Fliens/repos","events_url":"https://api.github.com/users/Fliens/events{/privacy}","received_events_url":"https://api.github.com/users/Fliens/received_events","type":"User","site_admin":false},"created_at":"2024-03-01T21:14:52Z","updated_at":"2024-03-01T21:14:52Z","author_association":"NONE","body":"Ahh great thank you for the response this answers my question :)","reactions":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/comments/1973927663/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-01T21:14:54Z","org":{"id":7480453,"login":"FreeOpcUa","gravatar_id":"","url":"https://api.github.com/orgs/FreeOpcUa","avatar_url":"https://avatars.githubusercontent.com/u/7480453?"}},{"id":"36175182096","type":"IssuesEvent","actor":{"id":35639879,"login":"Fliens","display_login":"Fliens","gravatar_id":"","url":"https://api.github.com/users/Fliens","avatar_url":"https://avatars.githubusercontent.com/u/35639879?"},"repo":{"id":143260613,"name":"FreeOpcUa/opcua-asyncio","url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio"},"payload":{"action":"closed","issue":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592","repository_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio","labels_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/labels{/name}","comments_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/comments","events_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/events","html_url":"https://github.com/FreeOpcUa/opcua-asyncio/issues/1592","id":2156748088,"node_id":"I_kwDOCIn7xc6AjV04","number":1592,"title":"Intendet way for comparing values of two nodes","user":{"login":"Fliens","id":35639879,"node_id":"MDQ6VXNlcjM1NjM5ODc5","avatar_url":"https://avatars.githubusercontent.com/u/35639879?v=4","gravatar_id":"","url":"https://api.github.com/users/Fliens","html_url":"https://github.com/Fliens","followers_url":"https://api.github.com/users/Fliens/followers","following_url":"https://api.github.com/users/Fliens/following{/other_user}","gists_url":"https://api.github.com/users/Fliens/gists{/gist_id}","starred_url":"https://api.github.com/users/Fliens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fliens/subscriptions","organizations_url":"https://api.github.com/users/Fliens/orgs","repos_url":"https://api.github.com/users/Fliens/repos","events_url":"https://api.github.com/users/Fliens/events{/privacy}","received_events_url":"https://api.github.com/users/Fliens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-02-27T14:31:11Z","updated_at":"2024-03-01T21:14:52Z","closed_at":"2024-03-01T21:14:52Z","author_association":"NONE","active_lock_reason":null,"body":"Hi as the title says, I want to compare the values of two nodes.\r\n\r\nI want to make sure that python does nothing unintendet in the background with the node datatypes.\r\nFor example when comparing nodes with different types of int: int16, int32, int64, Uint16, Uint32, Uint64.\r\n\r\nI'm worried that the python \"==\" could create false positive or general negative results when comparing plain values of nodes\r\n\r\nExample\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(value1 == value2)\r\n\r\nvalue1 = node1.get_value()\r\nvalue2 = node2.get_value()\r\nprint(value1 == value2)\r\n```\r\n\r\nIs there a better way to compare two ua.DataValue() or ua.Variant() that keeps the datatype of the value in mind?\r\nInstances of these classes can't be compared directly since they also have a timestamp that might not be important for comparing their values.\r\n\r\nSth like this:\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(ua.uatypes.compare_variants(value1, value2)).\r\n# Returns True if both values are the same when cast to the same datatype\r\n```","reactions":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/timeline","performed_via_github_app":null,"state_reason":"completed"}},"public":true,"created_at":"2024-03-01T21:14:53Z","org":{"id":7480453,"login":"FreeOpcUa","gravatar_id":"","url":"https://api.github.com/orgs/FreeOpcUa","avatar_url":"https://avatars.githubusercontent.com/u/7480453?"}},{"id":"36052797709","type":"IssuesEvent","actor":{"id":35639879,"login":"Fliens","display_login":"Fliens","gravatar_id":"","url":"https://api.github.com/users/Fliens","avatar_url":"https://avatars.githubusercontent.com/u/35639879?"},"repo":{"id":143260613,"name":"FreeOpcUa/opcua-asyncio","url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592","repository_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio","labels_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/labels{/name}","comments_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/comments","events_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/events","html_url":"https://github.com/FreeOpcUa/opcua-asyncio/issues/1592","id":2156748088,"node_id":"I_kwDOCIn7xc6AjV04","number":1592,"title":"Intendet way for comparing values of two nodes","user":{"login":"Fliens","id":35639879,"node_id":"MDQ6VXNlcjM1NjM5ODc5","avatar_url":"https://avatars.githubusercontent.com/u/35639879?v=4","gravatar_id":"","url":"https://api.github.com/users/Fliens","html_url":"https://github.com/Fliens","followers_url":"https://api.github.com/users/Fliens/followers","following_url":"https://api.github.com/users/Fliens/following{/other_user}","gists_url":"https://api.github.com/users/Fliens/gists{/gist_id}","starred_url":"https://api.github.com/users/Fliens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fliens/subscriptions","organizations_url":"https://api.github.com/users/Fliens/orgs","repos_url":"https://api.github.com/users/Fliens/repos","events_url":"https://api.github.com/users/Fliens/events{/privacy}","received_events_url":"https://api.github.com/users/Fliens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-02-27T14:31:11Z","updated_at":"2024-02-27T14:31:11Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"Hi as the title says, I want to compare the values of two nodes.\r\n\r\nI want to make sure that python does nothing unintendet in the background with the node datatypes.\r\nFor example when comparing nodes with different types of int: int16, int32, int64, Uint16, Uint32, Uint64.\r\n\r\nI'm worried that the python \"==\" could create false positive or general negative results when comparing plain values of nodes\r\n\r\nExample\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(value1 == value2)\r\n\r\nvalue1 = node1.get_value()\r\nvalue2 = node2.get_value()\r\nprint(value1 == value2)\r\n```\r\n\r\nIs there a better way to compare two ua.DataValue() or ua.Variant() that keeps the datatype of the value in mind?\r\nInstances of these classes can't be compared directly since they also have a timestamp that might not be important for comparing their values.\r\n\r\nSth like this:\r\n```\r\nvalue1 = node1.read_data_value().Value.Value\r\nvalue2 = node2.read_data_value().Value.Value\r\nprint(ua.uatypes.compare_variants(value1, value2)).\r\n# Returns True if both values are the same when cast to the same datatype\r\n```","reactions":{"url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio/issues/1592/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-02-27T14:31:13Z","org":{"id":7480453,"login":"FreeOpcUa","gravatar_id":"","url":"https://api.github.com/orgs/FreeOpcUa","avatar_url":"https://avatars.githubusercontent.com/u/7480453?"}},{"id":"35443688562","type":"WatchEvent","actor":{"id":35639879,"login":"Fliens","display_login":"Fliens","gravatar_id":"","url":"https://api.github.com/users/Fliens","avatar_url":"https://avatars.githubusercontent.com/u/35639879?"},"repo":{"id":143260613,"name":"FreeOpcUa/opcua-asyncio","url":"https://api.github.com/repos/FreeOpcUa/opcua-asyncio"},"payload":{"action":"started"},"public":true,"created_at":"2024-02-06T12:52:30Z","org":{"id":7480453,"login":"FreeOpcUa","gravatar_id":"","url":"https://api.github.com/orgs/FreeOpcUa","avatar_url":"https://avatars.githubusercontent.com/u/7480453?"}}]