News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Centre of gravity of several shapes

Started by Paul Herber, November 03, 2008, 12:58:05 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Paul Herber

Imagine 3 shapes, each has a weight value, where is the 2D centre of gravity or balance point for these shapes?

Each of the 3 squares has a custom property called "Weight", this value is also displayed in a field as the shape's text. Don't edit the text, change the Weight value.
If you move the square shapes around the page the the Cross will move to indicate the balance point of the other shapes.

(Edited 06/Jan/2018 to add attachment as original file that was pointed to no longer exists)
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Visio Guy

For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

wapperdude

Nifty Paul!   ;)

P.S.:  To change the weight, right click the shape > select Shape on the pop-up menu > Custom Properties.  At least, that's how it shows up for me.
Visio 2019 Pro

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 191 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1082KB.
Tokens: post-login.
Cache hits: 13: 0.00149s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 17.

[Show Queries]