Replies: 2 comments 1 reply
-
You need to create smaller test files, I don't understand the problem. Please be careful not to waste other people's time. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The HATCH
All the arcs are in the HATCH
from typing import cast
from pathlib import Path
import ezdxf
from ezdxf.entities import Hatch
DIR = Path("~/Desktop/Now/ezdxf").expanduser()
doc = ezdxf.readfile(DIR / "chibai07.dxf")
msp = doc.modelspace()
for hatch in msp.query("HATCH"):
hatch = cast(Hatch, hatch)
print(str(hatch))
print(f"has {len(hatch.paths)} paths")
for path in hatch.paths:
print(str(path.type))
print("\n") |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This question is a little bit complicated~
circle_hatch_problem.zip
I'm trying to draw circle hatches with the dxf file
But I found some circle hatches are hidden in some way, but I don't know which flag indicates that
code result

ezdxf drawing result, also same result in AutoCad

My question is, where is the right top part of red circle, whiy they are hidden
I didn't see any useful flags in Hatch, EdgePath or ArcEdge
Beta Was this translation helpful? Give feedback.
All reactions