Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Breps coming from Rhino produce RawData value that includes doc-specific garbage, generating different hashes for Breps that are geometrically identical. #294

Open
1 task done
PaulPoinet opened this issue Jan 30, 2020 · 0 comments

Comments

@PaulPoinet
Copy link
Contributor

Step 0:

Expected Behaviour

The RawData value should be the same.

Actual Behaviour

Breps coming from Rhino produce RawData value that includes doc-specific garbage, generating different hashes. This prevents consistent diffing mechanism: e.g. diffing two Streams containing identical Breps coming from two different Rhino docs produces an unexpected response where objects that should be identical are actually different.

image

Affected Projects

SpeckleServer (StreamDiff)

Reproduction Steps & System Config (win, osx, web, etc.)

Rhino 6 & Win 10

Proposed Solution (if any)

As the RawData value can't really be changed for Breps for the moment, the diffing mechanism for Breps should operate on their display value (which will remain identical), and not the RawData value.

@PaulPoinet PaulPoinet changed the title Breps coming from Rhino produce RawData value that includes doc-specific garbage, generating different hashes. Breps coming from Rhino produce RawData value that includes doc-specific garbage, generating different hashes for Breps that are geometrically identical. Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant