FreeCAD-Gridfinity-Workbench icon indicating copy to clipboard operation
FreeCAD-Gridfinity-Workbench copied to clipboard

Feature Request: Define custom Height Unit size

Open 63427083 opened this issue 4 months ago • 1 comments

Right now we can define a Custom Height altogether, but for workflow reason i'd find it much more compelling to be able to define a custom Z or Unit height. i.e. use increments of 10mm instead of 7mm.

Given current options, i'd put it somewhere in the zz Expert Only region.

Image

63427083 avatar Aug 20 '25 19:08 63427083

The property you are looking for is HeightUnitValue, it's true that it is currently read only. For a workaround, you can execute FreeCAD.getDocument(<youre document name>).getObject(<your object name>).HeightUnitValue = 10. We allow for adjusting x and y size, so I see no reason why we shouldn't allow adjusting height. If you feel like it, you can find where is the property created in code and create a PR with the fix, should be a quick one liner.

greg19 avatar Aug 21 '25 14:08 greg19