From d920cf419d9ed8274d10597364d92f224ded7b4f Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sun, 19 Mar 2017 11:30:32 +0800 Subject: [PATCH] Path: fixed Command unit test --- src/Mod/Path/App/Command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/App/Command.h b/src/Mod/Path/App/Command.h index 8629ae90fe..199d172a89 100644 --- a/src/Mod/Path/App/Command.h +++ b/src/Mod/Path/App/Command.h @@ -52,7 +52,7 @@ namespace Path Base::Placement getPlacement (void) const; // returns a placement from the x,y,z,a,b,c parameters Base::Vector3d getCenter (void) const; // returns a 3d vector from the i,j,k parameters void setCenter(const Base::Vector3d&, bool clockwise=true); // sets the center coordinates and the command name - std::string toGCode (int precision=5, bool padzero=true) const; // returns a GCode string representation of the command + std::string toGCode (int precision=6, bool padzero=true) const; // returns a GCode string representation of the command void setFromGCode (const std::string&); // sets the parameters from the contents of the given GCode string void setFromPlacement (const Base::Placement&); // sets the parameters from the contents of the given placement bool has(const std::string&) const; // returns true if the given string exists in the parameters