Author Topic: Interactive Phasor (Vector) Visio Shapes  (Read 16149 times)

0 Members and 1 Guest are viewing this topic.

jamtart

  • Jr. Member
  • **
  • Posts: 67
Interactive Phasor (Vector) Visio Shapes
« on: March 12, 2009, 12:35:49 PM »
Another project that I need someone to get me started on. I am just a casual user and doing some dabbling in shapesheets but I have no idea how to get this little project started.
What I visualize is:
phasor A always at 0 degrees and at a certain magnitude
phasor B anywhere from 180 degrees to 100 degrees at a certain magnitude
Phasor C is the addition of these A and B put together, magnitude and angle

This is go be used to show students how various electrical components add together to get a result. Of course there is a lot more than this but this is my starting point.
I have a few pictures attached to better explain what I mean.
Any help on this project is greatly appreciated and the learning I muster from this one will be used for other projects that I think will l work alone the same lines as well.

Thanks
« Last Edit: March 14, 2009, 02:03:52 PM by Visio Guy »

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #1 on: March 12, 2009, 01:11:36 PM »
There are several ways to go about this.  But, 1st, do you want to be able to control vector A and vector B, i.e., magnitude & angle?  If so, you could either create custom properties (shape data) and enter the desired values for the two controlling vectors, or, alternatively, add control points to drag the vector "heads" around.

Next, I think I'd make a single shape, otherwise, make it a group.  Single shape requires drawing vector A, open its shapesheet, insert two more geometry sections -- one for each of the other vectors.  You can then use the above mentioned approaches to control vector A and B.  The end point of vector C will be based upon alegbraic / trig functions derived from A and B properties.  This can all be done in the Geometry section of the shapesheet.  The nice thing about the single shape approach is that everything is slaved off a single width/height parameter.  Anyway, that's my initial thought on this.

HTH
Wapperdude
« Last Edit: March 14, 2009, 02:04:03 PM by Visio Guy »
Visio 2019 Pro

jamtart

  • Jr. Member
  • **
  • Posts: 67
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #2 on: March 12, 2009, 03:22:26 PM »
THanks for the reply. Vector A will only change in Magnitude and not the angle, at least not for this project. Vector B will change both.
Not a shapesheet expert but have done some things with it in the past. THanks for the input and I will start working on this one if I can get my students to leave me alone. LOL
« Last Edit: March 14, 2009, 02:04:10 PM by Visio Guy »

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #3 on: March 12, 2009, 05:48:00 PM »
Here's a good shapesheet reference:  http://msdn.microsoft.com/en-us/library/ms427031.aspx

One of the things that helps is have both the drawing window and shapesheet open and tiled (menu bar) > Window > Tile.  That way you can watch both windows.  You can make changes in the shapesheet window and see the immediate impact in the drawing window.  For example, you draw vector A, with it selected, open the shape sheet (Window > Show shapesheet).  There are a variety of sections, but scroll down to the Geometry1 section.  The first row probably says "Move to".  Click the X "cell".  In the drawing window, you should see a black square at the beginning of your vector.  Back to the shapesheet, this cell is referred to as Geometry1.X1:  Geometry1 is name of section, X is name of the column, "1", is the 1st row, pretty much like Excel, except columns and rows. 

If you right click in the shape sheet, choose Insert Section & select Geometry.  Now in the shapesheet, there will be a Geometry2 section.  You can use this to draw your 2nd vector.  Add a 3rd geometry section and that'll be your 3rd section.  The single shape approach is simpler to implement, but all three vectors are forced to have the same properties:  color, thickness.

Using the group method, each vector may have its own unique properties, but the construction is a little more involved.

The other thing to note about Visio is that it is "width" based.  Dimensions and coordinates are given in factors of the shape width and shape height.  Lower left corner is (0,0).

I hope this gives you a running start.  Ask questions if you get stumped.  There a lot of knowledgeable contributors on this forum who can help. 


« Last Edit: March 14, 2009, 02:04:17 PM by Visio Guy »
Visio 2019 Pro

jamtart

  • Jr. Member
  • **
  • Posts: 67
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #4 on: March 13, 2009, 03:43:54 PM »
Maybe my brain is tired from a long session with this group of students but I just can not get this one to work. I am such a newbie today. I have done other projects that I thought were more complex... :(
« Last Edit: March 14, 2009, 02:04:22 PM by Visio Guy »

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #5 on: March 13, 2009, 03:53:02 PM »
Not a problem.  Attached has both solutions.  ;D

Right click either shape, then bring up the shape data.  Has enties for magnitude both vectors, and angle for vector B.
« Last Edit: March 14, 2009, 02:04:29 PM by Visio Guy »
Visio 2019 Pro

jamtart

  • Jr. Member
  • **
  • Posts: 67
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #6 on: March 14, 2009, 10:05:54 AM »
 ;D this is great wapperdude! This will get my project off to great start. Today I will attempt to add another phasor that will always be at 90 degrees to the resultant phasor and have a magnitude based upon another external value ( ie 0.006 ohms) and the value of the resultant phasor so the formula I use in class looks something like this: resultant divided by Ohms. Then too I want to be able to add angles and magnitudes to the various phasors that change accordingly. But this gives me a very good start to this one that I suspect will take me some time to get just as I want, but up to learning new things. FYI the class content is about synchronous motors and alternators theory.

Wish me luck, I'm going in.... ::)
« Last Edit: March 14, 2009, 02:04:34 PM by Visio Guy »

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #7 on: March 14, 2009, 02:08:42 PM »
Hi Folks,

Have you seen the "Microsoft Office Visio 2007 Chemistry, Mathematics, and Physics" over on Visio Toolbox? There are lots of math-related shapes. I believe that I saw a lot of vector shapes when I browsed them a few months ago. But I can't remember if they are interactive in any way.

You can get them here: http://visiotoolbox.com/academicshapes/Default.aspx

Great to see you guys working on this! I've been wanting to make a set of physics shapes since forever. I used to write physics lecture notes when I was at university. Students would subscribe to them so they could stay home and sleep (then just read my notes later...) If I had five cents for every inclined plane with normal, friction, theta and resultant forces that I have drawn, I'd be rich!
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #8 on: March 14, 2009, 02:25:29 PM »
 :o  You didn't live on Elm Street did you?   :-\
Visio 2019 Pro

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #9 on: March 14, 2009, 02:43:17 PM »
Elm street - as in Nightmare on?

Brain is slow, just got back to Munich from Seattle... j e t  l a g...
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

jamtart

  • Jr. Member
  • **
  • Posts: 67
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #10 on: March 14, 2009, 03:46:42 PM »
 ??? hey Visio Guy, i have downloaded many of those educational shapes but all I get is a blank sheet every time. What am I doing wrong. Seems simple enough. I am using Visio 2007 on a Vista laptop.
Back to my little project in the mean time, aurgh......

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2947
    • Paul Herber's website
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #11 on: March 14, 2009, 03:59:07 PM »
Download the zip file instead, unzip them into the "My Shapes" folder.


Electronic and Electrical engineering, business and software stencils and applications for Visio -

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

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #12 on: March 14, 2009, 04:40:23 PM »
Nightmare on Elm Street it is.   :P  As in those physics problems, especially friction, gave me nightmares!

Don't think I noticed any vector related items in the Educational download.  May have missed it.
Visio 2019 Pro

jamtart

  • Jr. Member
  • **
  • Posts: 67
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #13 on: March 14, 2009, 04:57:05 PM »
I did not see any vector ones either, also dont see where any zip files are either.
Still plugging away on my original project, trying to expand on wapperdudes work (the colored ones he made) with no success. I may have to give this old brain a rest here soon... ::)

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2947
    • Paul Herber's website
Re: Interactive Phasor (Vector) Visio Shapes
« Reply #14 on: March 14, 2009, 05:05:03 PM »
I did not see any vector ones either, also dont see where any zip files are either.
The 2nd link, "All Shapes.zip"
Electronic and Electrical engineering, business and software stencils and applications for Visio -

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