-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve DIMASSOC object #1029
base: master
Are you sure you want to change the base?
Improve DIMASSOC object #1029
Conversation
a41e040
to
e64aaef
Compare
As |
test unknowns see DIMASSOC.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesnt parse. see the unit-tests and the pi logs
I am trying to test, but I was blocked by #1032 |
Ad test/test-data/example_2018.dwg:
It need to end before last block. |
I fixed the unit-test now. branch work/dimassoc-pr1029 |
First, in this branch, the commit 3b55ce3 is wrong. There is 3BD, not 2BD. Or do you have some information that I don't have? Second. The main problem with the activity to fix DIMASSOC is how to count |
As you in see in the current code, the count is computed from a number of bits |
@rurban
I wrote it. |
Yes, this wrong. See my current code which loops on the bits |
Ach, I rewrited your code to my, because I had issues with it. Ok, maybe it isn't wrong. |
I have examples: File |
Here the popcounts do match
Here only 3 of 5 match, hmm |
@rurban This is definitely #1031 (comment) |
lots of coverage
e64aaef
to
a4ca4a6
Compare
a4ca4a6
to
812ff03
Compare
@rurban I improved PR. Nice example output from this PR code (index 0, 1, 4, 5, 6):
|
@rurban In the case of your code:
This is not working.
|
No description provided.