Closed GoogleCodeExporter closed 8 years ago
I haven't looked at the data yet. I will look at it tomorrow. My guess is
that the endpoints of the separate lines won't actually join within the
'drawing->geometry tolerance' setting in HeeksCAD. By default the geometry
tolerance is 0.000001 and so the X,Y coordinates must match to this many
decimal places for two points to be considered coincident. One workaround is
to change the 'geometry tolerance' setting in the 'drawing' options and then
try reordering the sketch.
I will try this tomorrow to prove the theory. If it's right then I wonder if
another option would be for us to add the concept of a tolerance value for each
graphical object in a similar way that OpenCascade does it. i.e. instead of
having one global setting. The DXF import routine would need to count the
number of decimal places to decide what the tolerance should be set to.
Do you think I'm jumping ahead to a repair before I have diagnosed the problem.
That never happens....
Original comment by David.Ni...@gmail.com
on 16 Jun 2010 at 1:04
I did check the endpoints in the properties, and I did not see extra decimal
places, but maybe they don't show in the display and are internal?
I gave changing the 'drawing->geometry tolerance' a try. Mine was set to 0.
So I changed it to .0001 inches and it was able to reorder. I tried a couple
other DXF's and it worked for me. I am OK with keeping the tolerance up a bit
for my usage. Seems like having a unique tolerance per item would add a lot of
complexity vs the added benefit in my opinion. An alternative might be a
rounding process as the DXF is imported. That way you could change the level
of rounding before you import if there is an issue.
Might make sense to add something to the Wiki under the DXF import page about
playing with the geometry tolerance for pesky DXF's.
Original comment by filipmul...@q.com
on 17 Jun 2010 at 1:43
That suits me for the moment. I have my mind in other areas as the moment (no
comments please). There is no Wiki for DXF import yet and I don't wish to
spend the time adding one. Do you want to leave this issue open until it's
done or is this solution alright as it is?
Original comment by David.Ni...@gmail.com
on 17 Jun 2010 at 8:35
OK to leave as it is. Thanks for your help.
Original comment by filipmul...@q.com
on 18 Jun 2010 at 2:08
Original comment by David.Ni...@gmail.com
on 18 Jun 2010 at 2:55
Original issue reported on code.google.com by
filipmul...@q.com
on 16 Jun 2010 at 2:38Attachments: