Hatching polygons
Moderators: SDS, support, admin
Hatching polygons
I am importing DXF and generating shapes in a drawing program from the entities. I have a problem with Hatching though. It may just be the file I am using to test, but hatched areas which have only one Boundary work fine, but in those that have more, it seems that the last Point position is messed up. It's difficult to explain - a screenshot would be best but a simple rectangle forming part of a complex hatch area:
1-----2 1-----2
| | appears as \ |
| | | \
4-----3 3-----4
(A similar, simple rectangle with only one Boundary works fine)
Is this just me? Is there something about the way boundaries work that I am missing?
The DXF displays fine in 'real' DXF viewers, it's just my code that messes it up!
1-----2 1-----2
| | appears as \ |
| | | \
4-----3 3-----4
(A similar, simple rectangle with only one Boundary works fine)
Is this just me? Is there something about the way boundaries work that I am missing?
The DXF displays fine in 'real' DXF viewers, it's just my code that messes it up!
Ohhhh.... The forum is striping out spaces
Maybe this will work?

Code: Select all
1-----2 1-----2
| | appears as \ |
| | | \
4-----3 3-----4
Hello!
Thank you for the interesting question. This is the first time when we come across such problem. If possible, please send us your file for testing with a reference to this topic.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
Thank you for the interesting question. This is the first time when we come across such problem. If possible, please send us your file for testing with a reference to this topic.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
Hello David,
<br />Thank you for the letter and for the files. The reason of the problem is non solid border of the hatch in your file. It has several breaches. If you change properties of this hatch using <b>AutoCAD</b> (angle = 0, scale = 0.0003, spacing = 0.0003 for instance) this bug arises in <b>AutoCAD</b> too.
<br />Currently we develop another way of generating the hatches which will solve such problems. The task is very difficult and unfortunately its solution can't be quick.
<br />We will inform you when we have finished.
Sergey.
please post questions to the forum or write to support@cadsofttools.com
<br />Thank you for the letter and for the files. The reason of the problem is non solid border of the hatch in your file. It has several breaches. If you change properties of this hatch using <b>AutoCAD</b> (angle = 0, scale = 0.0003, spacing = 0.0003 for instance) this bug arises in <b>AutoCAD</b> too.
<br />Currently we develop another way of generating the hatches which will solve such problems. The task is very difficult and unfortunately its solution can't be quick.
<br />We will inform you when we have finished.
Sergey.
please post questions to the forum or write to support@cadsofttools.com