* 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
18 lines
495 B
C++
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
|