[Feature Request] TechDraw black mode

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
jango
Posts: 17
Joined: Sun Aug 26, 2018 9:43 pm

[Feature Request] TechDraw black mode

Post by jango »

Technical drawing is a time consuming task, bright colors prolonged exposure fatigue our eyes, it will be helpful a color inverter in TechDraw that turns whites into dark and vice versa, including other colors scales. My aunt have a chronic disease that impede retina to adapt easily to light changes it will be very convenient for him and others. Currently it only could be accomplish inserting a black image in the format, that's not practical managing a lot of drafts. What do you think?
example
example
techDraw.jpg (254.26 KiB) Viewed 1664 times
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: [Feature Request] TechDraw black mode

Post by mario52 »

Hi @jango

this is possible with one little attention,

create your page and reverse the black in white and the white in black (and configuration preference of TechDraw)

here example image and template Black


the model template (background black , texte and lines white) :
A3_Landscape_EN_m52_Black_Fond_Black.svg
(67.81 KiB) Downloaded 24 times

the model template Blue
A3_Landscape_EN_m52_Blue_BackGround.svg
(67.8 KiB) Downloaded 23 times

Black_And_White00.FCStd
(28.46 KiB) Downloaded 26 times

Black_And_White00.png
Black_And_White00.png (86.65 KiB) Viewed 1498 times

enjoy

EDIT 17/12/2022 16:44 Paris : adding the template A3_Landscape_EN_m52_Black_Fond_Black.svg forgotten !!
EDIT 19/12/2022 11h45 Paris : adding the template A3_Landscape_EN_m52_Blue_BackGround.svg as NewJoker suggested

mario
Last edited by mario52 on Mon Dec 19, 2022 10:50 am, edited 2 times in total.
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Feature Request] TechDraw black mode

Post by wandererfan »

jango wrote: Tue Dec 06, 2022 10:46 pm Technical drawing is a time consuming task, bright colors prolonged exposure fatigue our eyes, it will be helpful a color inverter in TechDraw that turns whites into dark and vice versa, including other colors scales.
We could add a preferences for page colour. With that and changing the preference for normal colour to white, we could get close to this.

One obstacle is that we have no control over the colours used in the template svg file. We would need versions where the stroke and fill attributes are set to something other than the default black. So we'd need template pairs - A4Landscape.svg and A4LandscapeReversed.svg. Then we would need to use the black on white template and change the pen colour back to black for printing.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature Request] TechDraw black mode

Post by NewJoker »

Classic blueprint mode (blue background and white drawing lines) could also be useful.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Feature Request] TechDraw black mode

Post by wandererfan »

Feature request created here: issue #8062
No schedule yet.


Edit fixed issue tag.
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: [Feature Request] TechDraw black mode

Post by mario52 »

Hi
wandererfan wrote: Sat Dec 17, 2022 1:23 pm One obstacle is that we have no control over the colours used in the template svg file.
for the background coloured you must create one rectangle and coloured it (black, blue ...) see my 2 templates above

other way , in FreeCAD give the background white (i have try page black, transparent ...)

mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Feature Request] TechDraw black mode

Post by adrianinsaval »

wandererfan wrote: Mon Dec 19, 2022 1:45 pm Feature request created here: git commit 8062
wrong forum tag ;) should be issue #8062
User avatar
silopolis
Posts: 74
Joined: Thu Oct 20, 2016 10:06 pm

Re: [Feature Request] TechDraw black mode

Post by silopolis »

Yes ! Please :)
Being able to match TD display (vs print) stylesheet with UI theme and highlights would further polish and beautify FC UX.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Feature Request] TechDraw black mode

Post by Kunda1 »

Would this be done through the stylesheet as suggested in issue #6862 for color blindness (accessibility). Aside: this is also related to issue #7623
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [Feature Request] TechDraw black mode

Post by adrianinsaval »

I don't think stylesheet is the right place for this, probably would be as parameters that can then be included in a preference pack
Post Reply