Author Topic: KnotMaker  (Read 38842 times)

DaveRoot

  • Exp. Member
  • ****
  • Posts: 145
    • The Most Useful Rope Knots....
KnotMaker
« on: April 19, 2009, 02:28:23 PM »
In the "Another Step Forward" thread there was a discussion of Derek's knot-drawing tool called "FCB" (see http://igkt.net/sm/index.php?topic=1079.0).

Derek and I have been modifying the program, and we're now calling it "KnotMaker."  The program and some sample drawings can be downloaded at http://www.Layhands.com/KnotMaker.

Please share your thoughts, enhancement ideas, bug reports, drawings (*.KM), etc., to help us refine and improve the tool!

Dave

SS369

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2031
Re: KnotMaker
« Reply #1 on: April 19, 2009, 02:45:39 PM »
Thank you from at least me for continuing to pursue this !

Scott

squarerigger

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 729
  • IGKTPAB Immediate Past President
    • The Knot Guy
Re: KnotMaker
« Reply #2 on: April 19, 2009, 04:50:58 PM »
Me also - the site is very clean and well laid-out - thanks for sticking with it! ;D

SR

Sweeney

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 998
Re: KnotMaker
« Reply #3 on: April 19, 2009, 06:09:12 PM »
I do really like this program and have had a quick (well all afternoon!) go at a drawing. This was in the discussion at http://igkt.net/sm/index.php?topic=1128.0 and is Ashley #1064 which draws up into a Carrick bend. There are 2 KM files - one shows the start point and the other the finish before drawing up. I think I've got this right but glad of any comments.

Barry


DerekSmith

  • IGKT Member
  • Sr. Member
  • *****
  • Posts: 1573
  • Knot Botherer
    • ALbion Alliance
Re: KnotMaker
« Reply #4 on: April 20, 2009, 08:46:20 AM »
Although I am not able to spend much time on knotting at the moment, I really must commend Dave for the stunning improvements he has brought to this little drawing tool.

It is still tiny in terms of memory usage and does not require any tedious installation, I have saved my copy to a USB pen which I carry with me, so I can use it wherever I happen to need it, and of course, it is still free.

Dave has not only added a lot if serious usability improvement like drag-n-drop and file insert, but he has also created a whole raft of diagonal drawing tiles which allow us to get away from the boxy and artificial layout of just having vertical crossings.  We can now draw diagrams which actually look like the knot we are trying to describe.

Hopefully, now it is so easy to diagram the knot or moves you are trying to describe, folks will simply create a diagram and save it as little KM file, then attach it to their post for everyone else to see what they are getting at.

To this end, if drawing knot diagrams is not for you, but you just want to see what the KM file looks like, then again, download the utility and open the file with it and bingo, there is the diagram for you to inspect and comment upon.  You never know, you might even be tempted to have a twiddle and modify the diagram to explain some point or simply to see - what if??  (see the attached KM file - if you cannot see all of the diagram use the Zoom tool Ctrl + F1 or Ctrl + F2 etc to see more of it on your screen )

Have fun and thank you Dave for taking FCB and making such a useful utility for the knotting community to use.

Sweeney

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 998
Re: KnotMaker
« Reply #5 on: April 20, 2009, 06:04:52 PM »
Nice to hear from you again Derek and thanks for improving the drawing.  You're spot on - Dave has produced a really useful program in a very small space and it works (lessons for Microsoft here!). The only enhancement which I can suggest at present is the option to draw with solid lines (this may have been tried and doesn't look so good perhaps??). I attach my latest effort - the Zeppelin Bend in 3 drawings in one file so viewers will need to zoom to see it all. I'm fairly sure that this works but equally sure that the layout could be improved (I thought I could build it by starting from the Alpine Butterfly Bend but I should have known better - they are markedly different). I can see a real danger here that drawing knots will become as addictive as tying them - fortunately my laptop won't fit into my pocket like a length of cord does.

Barry

DerekSmith

  • IGKT Member
  • Sr. Member
  • *****
  • Posts: 1573
  • Knot Botherer
    • ALbion Alliance
Re: KnotMaker
« Reply #6 on: April 21, 2009, 07:43:10 AM »
Or alternatively...

Derek

Sweeney

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 998
Re: KnotMaker
« Reply #7 on: April 21, 2009, 09:13:38 AM »
That's better! I think in future I'll sketch the knot diagram on paper first and then try to draw it.

Barry

DaveRoot

  • Exp. Member
  • ****
  • Posts: 145
    • The Most Useful Rope Knots....
Re: KnotMaker
« Reply #8 on: April 21, 2009, 11:31:34 AM »
Derek had a great idea when he wrote this program, and I have had fun adding some new features!  :D  It's not always easy (or possible) to take pictures of knots and post them to forums, so the KnotMaker tool is a handy way to create pictures which enhance the written descriptions of how to tie knots. 

BTW, KnotMaker can also save drawings as .BMP files, or it can copy drawings to the Clipboard.  Programs such as MS Paint can convert the pictures to .JPG files which can be attached to forum posts.

Dave

TheTreeSpyder

  • Exp. Member
  • ****
  • Posts: 152
Re: KnotMaker
« Reply #9 on: April 22, 2009, 12:55:37 PM »
Very great contribution fellas!  i'm thinking the indivual pix could be maid into a slide show, or even converted to gif, to then animate etc.

DaveRoot

  • Exp. Member
  • ****
  • Posts: 145
    • The Most Useful Rope Knots....
Re: KnotMaker
« Reply #10 on: April 27, 2009, 02:57:06 AM »
There is a new version of KnotMaker at http://www.Layhands.com/KnotMaker.

Here are the new features:

1. When you hold down the Alt key and right-click a "crossing" tile in the drawing grid, that tile's "Main" and "Behind" colors will be swapped.

2. The "Individual Ropes" panel (under the "Tools" menu) has a new checkbox called "Show All Spars/Poles."  Selecting this checkbox will show all of the spar/pole tiles, and unselecting this checkbox will remove all of the spar/pole tiles.

3. Under the "Tools" menu there is a new menu item called "View With KnotTyer3D."  KnotTyer3D is a free program which animates a knot and enables you to drag the knot to view it from any angle (see http://www.abbott.demon.co.uk/knottyer3d.html).  The "View With KnotTyer3D" menu item will pop up a window which allows you to specify the location of KnotTyer3D.exe on your machine, and lets you choose a filename for exporting your drawing to the KnotTyer3D format.  When you click the "Run KnotTyer3D" button then your drawing will be exported to the .KT3 filename that you specified, and KnotTyer3D will be executed to animate your knot.  Keep in mind that KnotTyer3D can't display more than three ropes, and it won't recognize your spar/pole tiles, and it won't recognize the colors in your drawing.  To tie a knot around a "pole" in KnotTyer3D, simply draw the knot so that it is tied around another rope (instead of using spar/pole tiles).

4. On the Tool Panel there is a new checkbox called "Direct Draw."  Selecting this checkbox allows you to directly draw sections of rope simply by clicking the beginning and ending points in a grid cell.  For example, click the top left corner of a grid cell, and a black square will appear to show where you clicked.  If you click the bottom right corner of the same grid cell then a diagonal section of rope will be drawn from the top left corner to the bottom right corner.  All of the tiles can be drawn in this way except for the Working End tiles, the Standing Part tiles, and the solid Spar/Pole tiles.


Very great contribution fellas!  i'm thinking the indivual pix could be maid into a slide show, or even converted to gif, to then animate etc.

Check out the KnotTyer3D animation described above!


Dave

DaveRoot

  • Exp. Member
  • ****
  • Posts: 145
    • The Most Useful Rope Knots....
Re: KnotMaker
« Reply #11 on: May 01, 2009, 11:46:06 PM »
I went through my page of single-loop knots (http://www.Layhands.com/Knots/Knots_SingleLoops.htm) and made diagrams of the knots on that page.  The new diagrams (dated May 1, 2009) can be downloaded at: http://www.Layhands.com/KnotMaker/DownloadByDate.htm#Drawings.

Let me know if you find any errors!

Dave

SS369

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2031
Re: KnotMaker
« Reply #12 on: May 03, 2009, 12:23:33 PM »
This is so great! I am looking forward to the ability to scroll the drawing if that is still on the to do list.
Thanks for this great piece of work from you both!

Scott

DaveRoot

  • Exp. Member
  • ****
  • Posts: 145
    • The Most Useful Rope Knots....
Re: KnotMaker
« Reply #13 on: May 31, 2009, 08:08:18 PM »
There is a new version of KnotMaker at http://www.layhands.com/KnotMaker.  Here are the latest modifications:

-- New feature: Scrollbars.

-- Enhancement: The "Direct Draw" feature will anticipate your next click, making it easy to draw a continuous rope using single clicks.

-- Bug fix: The "File/Save As BMP" menu item will now prompt you to overwrite the file if it already exists.

-- Bug fix: When you click "File/New" followed by "File/Insert" then the "File/Save As BMP" and "Edit/Copy To Clipboard" and "Tools" menu items will be enabled.


Dave


Michael Ohene

  • Jr. Member
  • **
  • Posts: 11
Re: KnotMaker
« Reply #14 on: September 27, 2009, 09:46:26 PM »
Thoughts on automating the graphics based on your knot notation:

2. Another graphical knot program is KnotMaker (http://www.Layhands.com/KnotMaker), which Derek Smith and I wrote.  KnotMaker is tile-based, meaning that the user draws a knot by placing pre-defined 2D tiles onto a drawing grid....  (if you can figure out the appropriate conversion steps)....  Edit: The attached KnotMakerTiles.jpg file shows all of the pre-defined KnotMaker tiles and their tile numbers, in case you want to make an attempt to figure out how to convert your notation to the appropiate KnotMaker tiles.

Hello Dave, I think I have discovered a slight limitation with KnotMaker. KnotMaker doesn't seem to have a method for making angles other than +/- 45,90,0,180  o. For instance, ABoK#1693, if you have a rope on a bar/object that has two ropes cross at approximately -40o and 50 o.

On the same note, I see your tile set can be generated by permutations of two x,y coordinates pairs of (0/0.5),(0/0.5/1) and (0.5/1), (0/.05/1)  on a unit square. For example:
Tile  # : x1,y1          x2,y2
=====================
Tile 39: 0.5, 0.5 and  1,1
Tile 11: 0.5,0 and 1,0.5

But these permutations used in KnotMaker limit the angles that can be formed to +/- 45,90,0,180 o. Therefore, I was thinking about a recommendation of:
Having the tiles be generated by a continuous set of numbers (0 through 1) to allow weirder angles to be formed (e.g. 32 o) as opposed to only using 0, 0.5, and 1.

-Michael
« Last Edit: September 28, 2009, 05:33:00 AM by Michael Ohene »