Skip to content

Customizable the dimension colors of the part workbench.

Jonathan Wiedemann requested to merge github/fork/ageeye/PartColorDim into master

Created by: ageeye

Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:

  • Branch rebased on latest master git pull --rebase upstream master
  • Unit tests confirmed to pass by running ./bin/FreeCAD --run-test 0
  • Commit message is well-written
  • Commit message includes issue #<id> or fixes #<id> where <id> is the [associated MantisBT]

See https://forum.freecadweb.org/viewtopic.php?f=13&p=299228 // Is german, sorry!

To use it:

hPartGrp = FreeCAD.ParamGet('User parameter:BaseApp/Preferences/Mod/Part') hPartGrp.SetString('DimensionConeColor', '1.0/0.0/1.0') hPartGrp.SetString('DimensionLinearColor', '1.0/1.0/0.0') hPartGrp.SetString('DimensionAngularColor', '0.0/1.0/

I know that is not the best solution. But the demand is not high.

And please remember to update the Wiki with the features added or changed once this PR is merged.


Merge request reports