gilbo/cork

Bug of Cork?

Closed this issue · 2 comments

Dear Dr. Gilbert Bernstein,

Thank you very much for your so powerful polyhedron boolean operation software. I am trying to study it. I have successfully built the wincork.exe on Windows 7 64bit system. However, I failed to get correct result when union two objects by
wincork cyl1.off slot2.off out.off

Do I miss anything? Could you please help me to take a look at it?

Thanks,
Tang Laoya

PS: Two OFF files are as follow:

cyl1.off
OFF
56 108 0

-0.0586835 -0.0125 -0.5
-0.0519615 -0.03 -0.5
-0.0401671 -0.0445714 -0.5
-0.03 -0.0519615 -0.5
-0.0185164 -0.0570714 -0.5
3.67394e-018 -0.06 -0.5
0.0185164 -0.0570714 -0.5
0.03 -0.0519615 -0.5
0.0401671 -0.0445714 -0.5
0.0519615 -0.03 -0.5
0.0586835 -0.0125 -0.5
0.06 0 -0.5
0.0586835 0.0125 -0.5
0.0519615 0.03 -0.5
0.0401671 0.0445714 -0.5
0.03 0.0519615 -0.5
0.0185164 0.0570714 -0.5
3.67394e-018 0.06 -0.5
-0.0185164 0.0570714 -0.5
-0.03 0.0519615 -0.5
-0.0401671 0.0445714 -0.5
-0.0519615 0.03 -0.5
-0.0586835 0.0125 -0.5
-0.06 7.34788e-018 -0.5
-0.0586835 -0.0125 -0.16
-0.0519615 -0.03 -0.16
-0.0401671 -0.0445714 -0.16
-0.03 -0.0519615 -0.16
-0.0185164 -0.0570714 -0.16
3.67394e-018 -0.06 -0.16
0.0185164 -0.0570714 -0.16
0.03 -0.0519615 -0.16
0.0401671 -0.0445714 -0.16
0.0519615 -0.03 -0.16
0.0586835 -0.0125 -0.16
0.06 0 -0.16
0.0586835 0.0125 -0.16
0.0519615 0.03 -0.16
0.0401671 0.0445714 -0.16
0.03 0.0519615 -0.16
0.0185164 0.0570714 -0.16
3.67394e-018 0.06 -0.16
-0.0185164 0.0570714 -0.16
-0.0519615 0.03 -0.16
-0.0586835 0.0125 -0.16
-0.06 7.34788e-018 -0.16
-0.0333253 0.0327211 -0.45
-0.0116747 0.0452211 -0.45
-0.0401671 0.0445714 -0.16
-0.0185164 0.0570714 -0.16
-0.0401671 0.0445714 -0.45
-0.03 0.0519615 -0.45
-0.0401671 0.0445714 -0.45
-0.0185164 0.0570714 -0.45
-0.0333253 0.0327211 -0.16
-0.0116747 0.0452211 -0.16
3 23 22 0
3 0 22 21
3 0 21 20
3 0 20 19
3 0 19 18
3 0 18 17
3 0 17 16
3 0 16 15
3 0 15 14
3 0 14 13
3 0 13 12
3 0 12 11
3 0 11 10
3 0 10 9
3 0 9 8
3 0 8 7
3 0 7 6
3 0 6 5
3 0 5 4
3 0 4 3
3 0 3 2
3 0 2 1
3 23 45 22
3 22 45 44
3 23 0 45
3 45 0 24
3 0 1 24
3 24 1 25
3 1 2 25
3 25 2 26
3 26 2 3
3 27 26 3
3 27 3 4
3 28 27 4
3 28 4 5
3 29 28 5
3 29 5 6
3 30 29 6
3 30 6 7
3 31 30 7
3 31 7 8
3 32 31 8
3 32 8 9
3 33 32 9
3 33 9 10
3 34 33 10
3 34 10 11
3 35 34 11
3 11 12 36
3 35 11 36
3 12 13 37
3 36 12 37
3 13 14 38
3 37 13 38
3 15 39 14
3 14 39 38
3 16 40 15
3 15 40 39
3 17 41 16
3 16 41 40
3 18 42 17
3 17 42 41
3 19 51 18
3 18 51 53
3 18 53 49
3 18 49 42
3 20 50 19
3 19 50 51
3 21 43 20
3 52 43 48
3 20 43 52
3 50 20 52
3 22 44 21
3 21 44 43
3 44 45 24
3 26 44 25
3 25 44 24
3 27 44 26
3 28 44 27
3 29 44 28
3 30 44 29
3 31 44 30
3 32 44 31
3 33 44 32
3 34 44 33
3 35 44 34
3 36 44 35
3 37 44 36
3 38 44 37
3 39 44 38
3 40 44 39
3 55 44 40
3 41 55 40
3 54 44 55
3 54 48 44
3 43 44 48
3 49 41 42
3 49 55 41
3 55 49 47
3 47 49 53
3 46 47 53
3 50 46 51
3 51 46 53
3 52 46 50
3 48 54 46
3 52 48 46
3 55 47 54
3 54 47 46

slot2.off
OFF
10 16 0

-0.0333253 0.0327211 -0.341483
-0.0274507 0.022546 -0.332158
-0.00580007 0.035046 -0.332158
-0.0116747 0.0452211 -0.341483
-0.135113 0.209022 -0.0849846
-0.129238 0.198847 -0.0756596
-0.107588 0.211347 -0.0756596
-0.113462 0.221522 -0.0849846
-0.0195627 0.0338836 -0.336821
-0.12135 0.210185 -0.0803221
3 0 1 5
3 0 5 4
3 1 2 6
3 1 6 5
3 2 3 7
3 2 7 6
3 3 0 4
3 3 4 7
3 3 2 8
3 2 1 8
3 1 0 8
3 0 3 8
3 4 5 9
3 5 6 9
3 6 7 9
3 7 4 9

After speaking to TangLaoya I determined which parts of this bug should be addressed. A diagnosis and repair plan has been made in Issue #12

Dear Dr. Gilbert Bernstein,

Sorry to bother you again. What's the progress of your Cork?

Thanks,
Tang Laoya

On Fri, Apr 12, 2013 at 3:38 AM, gilbo notifications@github.com wrote:

After speaking to TangLaoya I determined which parts of this bug should be
addressed. A diagnosis and repair plan has been made in Issue #12#12


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-16256445
.