1. #1
    Senior Member Follow User Gallery
    Join Date
    Jul 2014
    Posts
    111

    Question Sub-object Rotation Transform Scale - copy and paste

    Is it possible using ZScript to copy the rotation, scale and transformation properties of a sub-object and effectively paste them onto another (similar) object?

    I have a symmetrical sub-object that I'm working on, but I want to see it in situ (which is offset from the origin) and it would be very useful to swap back and forth from the two.

    Is this possible as a ZScript/plugin?

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    Scale and transform, yes. You can simply use the values in the Tool>Geometry>Position and Size sections. Rotation is more tricky because a 3D object doesn't have a rotation as far as the position of its vertices are concerned, so you'd need to record the amount the mesh is rotated using the Tool>Deformation>Rotate slider and then set/reset accordingly.

    Incidentally, the Set Pivot/Clear Pivot buttons in the Transform palette will move a subtool to the origin and back again.

    HTH,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •