FreeCAD / FreeCAD/FreeCAD

TechDraw: "old-style" bitmap-based Draft hatch patterns are not supported in TD (new Draft Hatch tool does)

Open
#16,413 1 comment 0 reactions 0 assignees View on GitHub
Mod: TechDraw Type: Feature
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Problem description

When user sets hatch pattern in a draft element as an attribute of a planar element, it is not displayed in TechDraw_View or TechDraw_DraftView.

![techdraw-hatch](https://github.com/user-attachments/assets/9cd482fc-7864-46f3-955f-6f2a40a14e40)

Sample file:
[sample-pol-techdraw.zip](https://github.com/user-attachments/files/16947188/sample-pol-techdraw.zip)

Proposed feature:
support patterns created as attribute of planar draft element in TechDraw_DraftView and TechDraw_View.

Relevant forum discussions with confirmation from other users:
https://forum.freecad.org/viewtopic.php?t=90455
https://forum.freecad.org/viewtopic.php?t=90261

### Full version info

```shell
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 1.0.0RC1.38643 (Git)
Build type: Release
Branch: main
Hash: fe40748c10503eed367840239db3e0f81873e359
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
```

### Subproject(s) affected?

TechDraw

### Anything else?

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.