Thursday, 12 July 2012

Rack Planner Update

I haven't had much time for coding this evening, but I did make some progress with the module selection routines. You can now select Add - Format - Manufacturer - Module as shown below:

Tuesday, 10 July 2012

Rack Planner Update 1.14

Today I started development of the module chooser interface. This is based on a hierarchical arrangement of module files line FORMAT - MANUFACTURER - MODULE. The Doepfer list is working nicely and is shown below:


I decided not to use the standard windows file chooser as a) it is slow and b) in Processing it remembers the last folder and you can't specify the new folder in code so you have to click around to get to where you want to be every time. More work for me, but at least it'll be quick and unique. 

Monday, 9 July 2012

Rack Planner Update 1.13 + Video #2

Today I fixed a few bugs and added button functionality for the Add, Load and Save menus and toggle buttons for the Debug and FreeDrop options. These look alot neater:


I also made a second YouTube video:

Sunday, 8 July 2012

Rack Planner Update - Video #1

Here's a video overview of the features implemented to date.

Rack Planner Update

I've added hole size, hole position, number of holes per unit width (Buchla has 2, the others so far have one) and mounting rail thickness definitions to the rack class. The results can be seen in the image below which shows one of each format I've implemented so far - Euro, Frac, Dotcom and Buchla.

Saturday, 7 July 2012

Rack Planner Update 1.12

Today was a big day in my rack planner's development. A very big day. Today's the day we went multi-format. The planner can now handle Buchla and Synthesizers.com modules as well as Eurorack - in the same plan. Other formats should present few challenges - just a matter of inputting the dimensions of a standard width panel for each. I'm really pleased with how well this has worked out.


Please ignore the nonsense patch - it's purely a test to make sure that all the previously coded functionality works with the new rack sizes.

Also added today were proper load and save routines (before it just loaded and saved a single hard-coded file as a proof of concept) and autoloading of a default rack (rack.xml  as per Doug's planner) if found.

Thursday, 5 July 2012

Rack Planner Update 1.11

Code has been completed to link the patch cables to the modules they are drawn on. This means that when a module is moved either within a rack, or across to another rack, the cables stay attached. There's no point showing a picture to illustrate this as it needs a video to do it justice (although in the pic below you can see that the Choices joystick is being moved and its connection to the left Plague Bearer is being maintained). I'll make a short vid at the weekend to show all progress to date.

I've added to the dropzone code to show not only how wide a module is, but also how big the gap you are failing to drop it into is.

Tuesday, 3 July 2012

Rack Planner Update

It is now possibleto draw patch leads onto the racks by holding down CTRL and dragging the mouse between the two points you want the lead to join. The patch leads' ends are currently linked to a rack, meaning if you move the rack, the leads move with it. I'll be doing further coding to make the leads module- rather than rack-based so when you move a module its leads stay with it, wherever you drag it to.


Today I also added some code to only spend time drawing modules that are actually visible (ie. not those outside the bounds of the window - remember, we can zoom in as shown above). This should speed things up as racks become more complex.

Sunday, 1 July 2012

Rack Planner Update 1.10

Z-ordering implemented to decide which module to pick up if an overlap occurs. Graphics tidy-ups with improvements to the HP Rulers (they now show the selected module's hp width as well as the space either side - see pic below).


Right-click to select modules - they turn blue - pressing 'D' deletes them. This will also eventually be used to drag a group of modules around rather than single ones, and allow any selected modules to be moved by cursor keys as well as the mouse.


Anybody notice the screws? When a module's in the rack it gets bolted in. When it's being dragged around the screws don't show. This makes me smile!

There are currently no bugs so I'm ready to move onto new features tomorrow. I'm leaving the 'housekeeping'-type tasks for now (add rack, delete rack, cut, copy, paste etc.) in order to rejig the XML files and prepare for mixed-format plans.

Thursday, 28 June 2012

Rack Planner Update 1.09



This is starting to come togethr really nicely now. The hardest part of today's coding was freeing each module from the confines of the rack it was originally dropped into (you select a rack then click 'Add Module' and the module drops into the top of the selected rack). But hey, it's done, and it works, and I'm pleased! You can now drag a module from one rack to another. Once dropped into place it sticks with that rack while you move it around in relation to other racks. The patch cables stay hooked-up as you drag things around too.

As mentioned earlier, you can zoom out...


And right in...