Sign in to follow this  
Followers 0
moc426

Align Object Plugin - Updated 06/17/2007

211 posts in this topic

Ok here it is, this plugin will align your drawing on the canvas OR to your selection. Let me know of any bugs, comments ... etc.

updated 06/17/2007

v1.5.1

performance tweak. barkbark00, I think you should see the performance issue gone, but let me know.

updated 06/13/2007

v1.5 - the download link should give you the new dll. the source is not latest, will add that later.

Added horizontal, vertical and both options.

New user interface. Default option is Middle Center.

Better Performance???

Preview still doesn't work right but you don't really need a preview, you know what will happen! But maybe one day I can fix that. NOTE: If the preview is messed up, click the same option again, it should fix the preview.

If you find bugs let me know ... I will see what I can do.

alignpluginpreviews.png

Download the Zip file at the bottom of this post (old link: download dll)

edit: added source, this source is old. latest source added on 10/15/2007, forgot to add this a while ago.

download source.

Currently you can align Left, Center, Right, Top, Middle or Bottom.

To do combinations such as Top Left, you need to run the plugin twice, once for each mode.

The preview for Top, Middle and Bottom is screwy, I still get very confused with the way pdn splits the image into rectangles and runs them in parallel so the preview ends up erasing some parts it shouldn't but when you apply it works correctly. Maybe I can get some help from Rick himself on this later or anyone else who may be able to.

Here are some screenshots:

Original

original_1.png

Aligned Left

alignedleft_1.png

Aligned Top Left

alignedlefttop_1.png

Center and Middle

alignedcentermiddle_1.png

AlignPlugin.zip

4

Share this post


Link to post
Share on other sites

Hey I didn't seen it at first sight! Thanks Barkbark for pointing it!

And thank you, moc426 for writing this plugin.

I need to test it a little but I think it can be a must have.

0

Share this post


Link to post
Share on other sites

I added 2 more previews to demonstrate better the use of align to selection.

Glad it will be helpful to you guys, it is very useful for myself.

0

Share this post


Link to post
Share on other sites
Maybe I can get some help from Rick himself

What about sharing the code so people can help you? :)

0

Share this post


Link to post
Share on other sites

The preview is a bit confusing at first. But once you have seen how it all works, it doesn’t matter.

Great plugin. Thank you.

0

Share this post


Link to post
Share on other sites

Source added now.

Maybe I can get some help from Rick himself

What about sharing the code so people can help you? :)

0

Share this post


Link to post
Share on other sites

Yah if I can make it do 2 functions same time then I can change the interface, which it doesn't currently do. That would need another row or column of buttons though, because you may want to just center (left to right) and not middle (top and bottom) or 3 center buttons. meaning center vertically, center horizontally and center both.

How about an interface like this?

Align.png

0

Share this post


Link to post
Share on other sites

aligndj2.png

Just a thought, nothing mandatory.

0

Share this post


Link to post
Share on other sites

Yah until Rick does something like this... (where it really should be, hint hint hint COUGH COUGH HINT)

alignmenu.png

Regardless, it's a well needed plugin :D
0

Share this post


Link to post
Share on other sites

I liked the first GUI better, it made more sense.

0

Share this post


Link to post
Share on other sites

I like that idea bb00. I'm not sure about all of the little PDN symbols though.

0

Share this post


Link to post
Share on other sites
I like that idea bb00. I'm not sure about all of the little PDN symbols though.
Haha firefly. This looks great though. It's not as exciting as the effects but it is much needed tool.

Cheers for making it ;D

0

Share this post


Link to post
Share on other sites

Much better thanks!!

Sometimes still doesn't show where the object is until click OK tho :?

Still very nice :)

0

Share this post


Link to post
Share on other sites

Is it me or there is a problem as soon as we use TOP align...?

0

Share this post


Link to post
Share on other sites

What kind of problem?

Is it me or there is a problem as soon as we use TOP align...?
0

Share this post


Link to post
Share on other sites

No object drawn...Disappeared !

I've retried. It's the rendering that doesn't show properly...

After OK it's correct!

0

Share this post


Link to post
Share on other sites

Yah thats what I meant about the preview not working. Try clicking the same Button again, it should fix the preview. i.e. if you did top, click top again, it will render it correctly the 2nd time in the preview.

No object drawn...Disappeared !

I've retried. It's the rendering that doesn't show properly...

After OK it's correct!

0

Share this post


Link to post
Share on other sites

Cool, its been updated! Ive been waiting for this.

downloads

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0