From ed063646edb2803b035b800e645e0bfa5384d980 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 9 Dec 2020 16:59:34 +0100 Subject: [PATCH] PD: [skip ci] fix invalid strings --- src/Mod/PartDesign/WizardShaft/Shaft.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/PartDesign/WizardShaft/Shaft.py b/src/Mod/PartDesign/WizardShaft/Shaft.py index bcae55df69..b8f3a1841e 100644 --- a/src/Mod/PartDesign/WizardShaft/Shaft.py +++ b/src/Mod/PartDesign/WizardShaft/Shaft.py @@ -53,12 +53,12 @@ class Shaft: wstrings = (("", "", "", "", ""), ("Translation [y]", "x", "mm", "w_y", "mm"), ("Translation [z]", "x", "mm", "w_z", "mm")) - sigmaNstrings = (("Normal stress [x]", "x", "mm", "\sigma_x", u"N/mm²"), - ("Shear stress [y]", "x", "mm", "\sigma_y", u"N/mm²"), - ("Shear stress [z]", "x", "mm", "\sigma_z", u"N/mm²")) - sigmaBstrings = (("Torque stress [x]", "x", "mm", "\tau_t", u"N/mm²"), - ("Bending stress [z]", "x", "mm", "\sigma_{b,z}", u"N/mm²"), - ("Bending stress [y]", "x", "mm", "\sigma_{b,y}", u"N/mm²")) + sigmaNstrings = (("Normal stress [x]", "x", "mm", "\\sigma_x", u"N/mm²"), + ("Shear stress [y]", "x", "mm", "\\sigma_y", u"N/mm²"), + ("Shear stress [z]", "x", "mm", "\\sigma_z", u"N/mm²")) + sigmaBstrings = (("Torque stress [x]", "x", "mm", "\\tau_t", u"N/mm²"), + ("Bending stress [z]", "x", "mm", "\\sigma_{b,z}", u"N/mm²"), + ("Bending stress [y]", "x", "mm", "\\sigma_{b,y}", u"N/mm²")) def __init__(self, parent): self.parent = parent