Category

Computers & Programming

Linkage Program

Ribbon Bar Working in Linkage 2.0

I now have the linkage program working with the new ribbon bar. I’m not sure if it’s much better than the old-style toolbar but it’s prettier. I wanted to use an image gallery in the ribbon bar to select sample mechanisms but even with 128×128 pixel images, it’s…

Continue reading
Linkage Program

Solid Links and Thick Lines

I am still stumped on how to simulate the link/slider/slider mechanism I described in an earlier post. I think that there is just no way to do this with math since the curve I need to intersect can only be described with an equation that includes a time…

Continue reading
Linkage Program

Another Special Case!

And another and another. I found another case that requires special code to deal with the geometry that is different from all other cases. the thing to notice in this situation is the fact that connector C controls the location of link 1 horizontally in this case but…

Continue reading
Linkage Program

More Special Cases

I was back at work last night writing code to handle special cases in the linkage simulator. It turns out that every type of connection is a special case, almost. Here is what I have working: There is one case I can see that is missing but the…

Continue reading
Computers & Programming

Policy-based Design in C++

I have a programming problem at work and a possible solution. The only thing wrong with the solution is that it is too big. “Too big” will make sense once I’ve described the problem and the solution. The solution comes from the book Modern C++ Design by Andrei…

Continue reading
Linkage Program

How the Simulator Works

I thought I might write down some points about how the simulator works for future reference and to help me think about it and make improvements. The linkage program is a bit experimental so I try to get something working and then worry about making it better later….

Continue reading