tomate44 / CurvesWB

Experiments for a FreeCAD Surface workbench
GNU Lesser General Public License v2.1
105 stars 21 forks source link

Fix mangling of some object strings in GeomInfo #93

Closed Menyadar closed 9 months ago

Menyadar commented 10 months ago

Fix string being cut in GeomInfo if calling str() on it doesn't return <xyz object>

Menyadar commented 10 months ago

Word "Sphere" is cut here in the "BSplineCurve2d on (S)phere" line: fc_curves_mangle_string

This is due to fixed [1:-8] substring slice: fc_curves_mangle_string_debug

With PR applied: fc_curves_mangle_string_fix

luzpaz commented 9 months ago

@tomate44 do you have a moment to review ?

luzpaz commented 9 months ago

Thanks @Menyadar!