Files
create/src/Mod/Sketcher/Gui/CommandSketcherTools.h
theo-vt eab485656f Sketcher: fix invalid constraint on first dimension (#23024)
* Sketcher: Scale: Reorder operations and delete original modified constraints to ensure validity

* Sketcher: replace boolean parameters for deletion with enum and expose solver override on some deletion functions in the python API

* Use correct flag in ::delGeometry

* Set default value of false to noSolve

* Sketcher: autoscale: use deleteAllGeometry

* Sketcher: Scale: revert to checking constraints for geoId validity and handle horizontal&vertical
2025-09-07 18:03:15 +02:00

18 lines
495 B
C++

#ifndef SKETCHERGUI_CommandSketcherTools_H
#define SKETCHERGUI_CommandSketcherTools_H
#include <Mod/Sketcher/App/SketchObject.h>
namespace SketcherGui
{
// These functions are declared here to promote code reuse from other modules
/// Scale the sketch from the current document in edit around it's origin by a factor
/// and will not abort the current transaction if it fails
void centerScale(double scale_factor);
} // namespace SketcherGui
#endif // SKETCHERGUI_CommandSketcherTools_H