PlaceShape

PlaceShape[shape, mx, s]
transforms shape Graphics3D primitives with mx homogeneous transformation matrix and scale it with s.
PlaceShape[shape, mx, {sx, sy, sz}]
transforms shape Graphics3D primitives with mx homogeneous transformation matrix and scale it with {sx, sy, sz} scales.
PlaceShape[shape, mx]
transforms shape Graphics3D primitives with mx homogeneous transformation matrix without scaling.
  • PlaceShape converts Cuboid primitives into a list of Polygons and applies the transformation on the polygons.
  • PlaceShape transform Cuboid, Line, Polygon, Point, and Text primitives.
Load the LinkageDesigner package
In[1]:=
Click for copyable input
This defines a unit cube
In[2]:=
Click for copyable input
Out[2]=
This translates the cube along z axis with 1 unit and rotates along y axis with 45°.
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=