Part Design Transform Messages

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Part Design Transform Messages

Post by TheMarkster »

Shouldn't these be logs instead of messages?

https://github.com/FreeCAD/FreeCAD/blob ... d.cpp#L295

Code: Select all

#ifndef FC_DEBUG
        if (overlapping || overlapMode == "Overlap mode")
            Base::Console().Message("Transformed: Overlapping feature mode (fusing tool shapes)\n");
        else
            Base::Console().Message("Transformed: Non-Overlapping feature mode (compound of tool shapes)\n");
#endif

https://github.com/FreeCAD/FreeCAD/blob ... d.cpp#L338

Code: Select all

#ifndef FC_DEBUG
    Base::Console().Message("Transformed: Elapsed CPU time: %f s\n", (std::clock() - start0  ) / (double)(CLOCKS_PER_SEC));
#endif
IMO, these clutter up the report view unnecessarily.
Post Reply