From 5f7ed33c40cb8c756ad724ce075abb1a2a7c187c Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 2 Mar 2014 13:12:23 +0100 Subject: [PATCH] + improve doc string (for bug 1257) --- src/Mod/Part/App/TopoShapePy.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Mod/Part/App/TopoShapePy.xml b/src/Mod/Part/App/TopoShapePy.xml index 93a21ab4b..7c09e4104 100644 --- a/src/Mod/Part/App/TopoShapePy.xml +++ b/src/Mod/Part/App/TopoShapePy.xml @@ -166,7 +166,8 @@ The plane is given with its base point and its normal direction. - Apply geometric transformation on a copy of the shape. + Apply geometric transformation on this or a copy the shape. +This method returns a new shape. The transformation to be applied is defined as a 4x4 matrix. The underlying geometry of the following shapes may change: - a curve which supports an edge of the shape, or @@ -182,6 +183,8 @@ The transformation is applied to: Note: If you want to transform a shape without changing the underlying geometry then use the methods translate or rotate. + +transformGeometry(Matrix) -> Shape @@ -189,7 +192,7 @@ underlying geometry then use the methods translate or rotate. Apply transformation on a shape without changing the underlying geometry. -transformShape(Matrix,[boolean copy=False]) +transformShape(Matrix,[boolean copy=False]) -> None