- You select an existing object containing faces, click the tool, and the faces get filled with a hatch pattern. If the base object changes, so does the hatching.
- It produces a standard Part shape, so it works everywhere (TechDraw, DXF export,booleans,...)
- It uses the TechDraw patterns code. By default it uses the included PAT file of TD, but I would recommend googling for an acad.pat out there and use that instead
Changing the default PAT file in TD preferences will affect both TD and this tool.
- The PAT file used by this tool is recorded in the object, so you can have several objects using different PAT files. Opening that file on a computer without the appropriate PAT files will open fine, but the hatch objects won't be modifiable. The PAT file itself is not included in the saved file.
- The TD system doesn't handle well dashed patterns yet. So for now stick with patterns that have continuous lines (anyone up to trying to solve this?
I guess in https://github.com/FreeCAD/FreeCAD/blob ... chLine.cpp
- The TD algo only works in the XY plane. So the Draft Hatch code translates all faces to the XY plane, calculates the hatch, and moves the hatch back to the face location. This is still buggy sometimes, so there is a Translate property that can be turned off, so it doesn't perform this relocation. If your base faces are in the XY plane, that option can be safely turned off. Here too, if someone wants to help me to look into the relocatin bug... https://github.com/FreeCAD/FreeCAD/blob ... ch.py#L103
Tell me what you think!
There is now a new Hatch tool in the Draft WB for you to test! ( I still need to iron out some bugs, and need to write the doc once it's "stabilized" ). But basically: