Understanding the TsgCADHatch-Entity
Posted: 19 Jul 2019, 12:57
Hi there,
I'm searching for a simple way to read/iterate and finally display TsgCADHatch-entities like these marked with the red quad:
I looked at the source-code of the SimpleImport- and Viewer-Demos but they just can display them. I did not found how they are drawn.
What I found out is that an Entity with a hatch is marked as a TsgCADCurvePolygon respectivly TsgCADHatch. I also found in the help about the properties "ParsedLines" and "HatchPatternData". From my understanding regarding line hatches the "ParsedLines"-Properties seems the way to go. Can you point me in the right direction as how hatches work?
Thanks in advance,
Kevin
PS: If you need the original dxf-file I can send it to you by e-mail.
I'm searching for a simple way to read/iterate and finally display TsgCADHatch-entities like these marked with the red quad:
I looked at the source-code of the SimpleImport- and Viewer-Demos but they just can display them. I did not found how they are drawn.
What I found out is that an Entity with a hatch is marked as a TsgCADCurvePolygon respectivly TsgCADHatch. I also found in the help about the properties "ParsedLines" and "HatchPatternData". From my understanding regarding line hatches the "ParsedLines"-Properties seems the way to go. Can you point me in the right direction as how hatches work?
Thanks in advance,
Kevin
PS: If you need the original dxf-file I can send it to you by e-mail.