File tree Expand file tree Collapse file tree
src/compas/geometry/shapes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,10 +347,11 @@ def to_brep(self):
347347 def transform (self , transformation ):
348348 """Transform the shape.
349349
350- Transformations of a shape are performed by applying the transformation to the frame of the shape.
351- Transformations of the shape with respect to its local coordinate system are not supported.
352- For this reason, only (combinations of) translations and rotations are supported.
353- To scale a shape, use the :meth:`Shape.scale` method.
350+ Transformations of a shape are performed by applying the transformation to the frame of the shape,
351+ and by extracting and applying any scale component to the shape's dimensional parameters.
352+
353+ The base implementation in the Shape class only transforms the frame.
354+ Subclasses override this method to also handle scale components appropriately for their geometry.
354355
355356 Parameters
356357 ----------
You can’t perform that action at this time.
0 commit comments