"Apply" transformations made on layer to points

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Raaskot
Posts: 39
Joined: Mon Aug 04, 2014 11:15 am
Location: Copenhagen, Denmark

"Apply" transformations made on layer to points

Post by Raaskot »

Is there a way or trick to "apply" transformations made on the layer to the very points? I need the layer bounding box to appear reset-ish, non-rotated but with the points now placed correctly.
Kindly, Mikael

Image
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: "Apply" transformations made on layer to points

Post by Greenlaw »

I don't think you can reset the rotation of the layer the points are in. However, if you right-click on the layer and select Group With Selection, the Group will have the orientation you want. Will that work?

If you really need to re-orientate the layer, make a duplicate of the layer, reset the rotation of the duplicate, then select all the points in the duplicate and use Translate Points to rotate and re-align the art to the original layer. This might be easier to do if you set the Display to show wires only. When you're done, you can delete the original layer.

Hope this helps.
Last edited by Greenlaw on Wed Apr 07, 2021 5:28 am, edited 1 time in total.
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: "Apply" transformations made on layer to points

Post by Greenlaw »

BTW, there's a tool mod somewhere in the forums that let's you temporarily set the pivot point with the Translate Points tool. If you use this to set the pivot at one of the bottom corners our your artwork, this will make it easier to align the artwork quickly and precisely to the original.

Sorry, I don't have the link handy but it should be easy to find.

Edit: Found it...

http://www.lostmarble.com/forum/viewtop ... 12&t=30487

I sometimes find this mod very useful and sometimes kinda annoying. I keep a 'disabled' folder in the Custom Content Folder's Scripts:Tool folder, and I just move the mod in there when I don't want its behavior.
User avatar
Raaskot
Posts: 39
Joined: Mon Aug 04, 2014 11:15 am
Location: Copenhagen, Denmark

Re: "Apply" transformations made on layer to points

Post by Raaskot »

Hello Greenlaw,
both your contributions are very useful for me:)
The "manual way", you suggest, will do fine and the scripts (with regards to dkwroot) are just great -- thank you!

Having achived a quite fluent workflow with the Moho-drawing tools (for vector artwork dedicated animation these appears actually enormously more efficient opposed to ie. Adobe IllustratorI!), I just missed this "apply transformation/reset" feature.

Kind regards,
Mikael
User avatar
hayasidist
Posts: 3526
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: "Apply" transformations made on layer to points

Post by hayasidist »

some while back I created a "bake" script which took all the bone influence / point motion / layer motion on a vector layer and created a new vector layer with all those transforms baked in. It hasn't been touched since AS11... so be wary should you use it, but it's here:
http://www.lostmarble.com/forum/viewtop ... 70#p180070 (the kelleytown links are, sadly, defunct)
User avatar
Raaskot
Posts: 39
Joined: Mon Aug 04, 2014 11:15 am
Location: Copenhagen, Denmark

Re: "Apply" transformations made on layer to points

Post by Raaskot »

@hayasidist
Cool, thanks. I'll check it out
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: "Apply" transformations made on layer to points

Post by Greenlaw »

Oooo...I somehow missed that one Paul. I'll download and try it out today. Thanks for re-posting the link.
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: "Apply" transformations made on layer to points

Post by Greenlaw »

I must have been really tired when I posted because I overlooked one obvious thing:

1. Create an empty layer above the layer.
2. Copy the shape into the empty layer. The orientation will be incorrect.
3. Click on the original layer and select the Transform Layer tool. Copy the Angle value.
4. Click on the second layer and select the Translate Points tool.
5. Click in the Translate Points Angle field, and paste the Angle value you copied from the Transform Layer tool.

This should get you correct rotation of the points. You'll probably still need to reposition the points manually.

BTW, you can nudge with almost any tool using Ctrl-Arrow (Direction). So, with the Translate Points tool selected, you can nudge the shapes to align with the lower layer shapes to visual accuracy.

But definitely try Paul's tool. If it works, it should be quicker and more precise.
User avatar
Raaskot
Posts: 39
Joined: Mon Aug 04, 2014 11:15 am
Location: Copenhagen, Denmark

Re: "Apply" transformations made on layer to points

Post by Raaskot »

@Greenlaw
Thanks! Good point and indeed useful: The procedure also goes for resizing.
Transferring centerpoint of the "providing" layers to the "receiver" (by copy/pasting values with "O-tool") I figured out retaining the position of the points also.
User avatar
Greenlaw
Posts: 9269
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: "Apply" transformations made on layer to points

Post by Greenlaw »

Cool! Good to know and thanks for sharing the info.
Post Reply