Jump to content

Align and distribute toolkit


Recommended Posts

Align Distribute objects v1.2.0

Copyright © 2010, Ton Plomp

All rights reserved.

Author: Ton Plomp

LAVA Name: Ton Plomp

Contact Info: Contact via PM on lavag.org

LabVIEW Versions:

LabVIEW 2009 and up

Dependencies:

No dependencies, demo VI needs the OpenG time library

Description:

A set of VIs to align or distribute a set of points or objects, they behave similar to the align and distribute functions in the LabVIEW IDE. These tools are usefull when dealing with objects that needs to be rearranged.

The set of VIs is bundled in one polymorphic VI (align_distribute.vi) that has the following tree layout

-Align

-Top

-point

-rectangle

-Left

-point

-rectangle

-Bottom

-point

-rectangle

-Right

-point

-rectangle

-Vertical center

-point

-rectangle

-Horizontal center

-point

-rectangle

-Vertical center

-point

-rectangle

-Distribute

-Top

-Left

-Bottom

-Right

-Vertical Centers

-Vertical Gaps

-Vertical Compress

-Horizontal Centers

-Horizontal Gaps

-Horizontal Compress

Installation and instructions:

Use the VI whereever you want, or install it into your user.lib with VI Package manage (http://www.jki-soft.com/vipm)

Examples:

The zip-file includes one DemoVI that moves front panel controls around

Known Issues:

Acknowledgements:

Icons are supplied by National Instruments in the LabVIEW IDE

Version History:

AlignDistribute - 1.2.0 (Released 2010-06-28)

=============================================

- 0000021: [bug] The palette shows Align Distribute.vi as name.

v1.1.0: Initial public release of the code.

License:

This code licensed under the BSD license

==============Start of license==================

Copyright © 2010, Ton Plomp

All rights reserved.

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright

notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright

notice, this list of conditions and the following disclaimer in the

documentation and/or other materials provided with the distribution.

3. All advertising materials mentioning features or use of this software

must display the following acknowledgement:

This product includes software developed by the <organization>.

4. Neither the name of the <organization> nor the

names of its contributors may be used to endorse or promote products

derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ''AS IS'' AND ANY

EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY

DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES

(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;

LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

==============End of license==================

Support:

If you have any problems with this code or want to suggest features:

please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and

search for the "Distribute objects" support page.

Distribution:

This code was downloaded from the LAVA Code Repository found at lavag.org

AlignDistributeV1.2LV2009.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.