Category

Linkage Program

Linkage Program

New Mechanism to Simulate

Modified Freemantle Linkage or Evans Linkage The linkage above cannot be simulated in the Linkage program (See Linkage 2.0). This appears to be a valid mechanism because there are three anchors all used to position link 1 (in dark blue). I am trying to decide how to handle…

Continue reading
Linkage Program

Menus With Icons in CMfcRibbonBar

I searched high and low for information about icons in menus. The only thing I found was a lot of people discussing how to use SetMenuItemBitmaps(). Unfortunately, SetMenuItemBitmaps() is for setting the check mark bitmaps, the checked and unchecked image, of the menu item. I tried this in…

Continue reading
Linkage Program

To Blog or Not To Blog

… or How I added something rather unimportant to the Linkage program but had to blog about it just to make a blog entry today. The Microsoft Ribbon Bar, which is just a toolbar designed to completely replace the program menu and toolbars, has an interesting feature that…

Continue reading
Linkage Program

Ribbon Changes and Positioning Feature

I went ahead and separated the View pane in the ribbon bar from the new Dimensions pane in the Linkage program. I am not sure how to label the “show dimensions” check box. Since it is in the Dimensions pane, I can’t really call it “dimensions.” What I…

Continue reading
Linkage Program

Solid Links

I threw in a quick little feature to make the display of solid links more interesting. Solid Links The links with three connectors are drawn a little larger than the two-connector links. It would have been cool if I could figure out how the links all connected and…

Continue reading
Linkage Program

Real World Units

Even though I could have used arbitrary units of measurement for displaying dimensions of parts, that would not have allowed the user the ability to switch units without then enlarging or shrinking their mechanism to get that change. For instance, the user makes something that is 10.000 units…

Continue reading
Linkage Program

Latest Measurement Progress

I am making good progress on the measurement/dimensions code for the Linkage program. All Things Measured The measurement feature is fully automatic. Enabling this by checking the Dimensions check box in the toolbar shows the measurements. Things that are noteworthy at the moment Anchor measurements are based on…

Continue reading
Linkage Program

New Video Frame Feature

I was bored and added a fixed size video capture area. The area is centered in the window, even if the window is smaller than the video resolution, and the user can opt to show or hide a box around the area. Video Area The video is only…

Continue reading
Linkage Program

Dimensions of Parts in the Linkage Program

Jansen Mechanism with Measurements I have added a simple “show all” dimensioning, or measurement, feature to the Linkage program. This was interesting because I wanted to automatically decide how to show measurements for links with three or more connectors. For a link with three or more connectors, the…

Continue reading