FreeCAD / FreeCAD/FreeCAD

TechDraw: GeometricHatch does not enable scale smaller than 0.1 during hatch creation

Open
#20,968 6 comments 1 reaction 0 assignees View on GitHub
Mod: TechDraw Status: Confirmed Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

Steps to reproduce:

- open file (remove the .zip extension)

[FC-scale-testing .FCStd.zip](https://github.com/user-attachments/files/19895718/FC-scale-testing.FCStd.zip)

- select the face on the page
- start T`echDraw_GeometricHatch`
- set `Scale` to 0.01
- the Scale gets set back to 1. It is not possible to set the value lower than 0.1

See behavior in the video:

https://github.com/user-attachments/assets/8c7ad71a-d819-421d-8c79-91906083b7e3

**Expected behavior:**
The Scale value should be possible to be set to the smallest decimal value available in the dialogue

### Full version info

```shell
OS: Windows 10 build 19045
Architecture: x86_64
Version: 1.1.0dev.41365 (Git)
Build date: 2025/04/22 11:42:50
Build type: Release
Branch: main
Hash: 84b57d67b50ac64be2246418fb4b49406904f3a9
Python 3.11.12, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide
shiboken , xerces-c 3.2.5, IfcOpenShell 0.8.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/92.6073/1
Installed mods:
* Reporting
* Telemetry 1.0.0
```

### Subproject(s) affected?

TechDraw

### Anything else?

There is a possible workaround: create the hatch with Scale set to 1 and than change the `Scale` value in the properties of the hatch.

### 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.