I made a AR calculator
View previous topic | View next topic >
Post new topic Reply to topic
M.A.I.L. Forum Index -> Knitting Circle
   
Author Message

Joined: October 21, 2012
Posts: 12
Submissions: 0
Location: Texas

I made a AR calculator
Reply with quote
Posted on Sun Oct 21, 2012 11:04 pm
Link to Post: Link to Post

I didn't see one on the web anywhere so I made a AR calculator. I am sharing this around for the chainmail community. If anyone has any recommendations that would be great.

http://www.weigandfamily.com/Jacob/chainmailAR

Joined: August 30, 2008
Posts: 3065
Submissions: 20
Location: Burlington, ON, Canada

Re: I made a AR calculator
Reply with quote
Posted on Sun Oct 21, 2012 11:54 pm
Link to Post: Link to Post

abnoba12 wrote:
I didn't see one on the web anywhere so I made a AR calculator. I am sharing this around for the chainmail community. If anyone has any recommendations that would be great.

http://www.weigandfamily.com/Jacob/chainmailAR


There's a couple on our downloads section you might want to check out for ideas Smile

MAIL technically has one built in (that does the AR popups)... Containing oodles of formulae and spreadsheets... I've just never given it a front-end... Maybe one day.

I like it though, straight and to the point Very Happy Nees an SWG option though...



Joined: October 21, 2012
Posts: 12
Submissions: 0
Location: Texas

Reply with quote
Posted on Mon Oct 22, 2012 7:08 pm
Link to Post: Link to Post

I added SWG to my calculator. I couldn't find a mathematical formula to convert SWG to a standard measurement. I had to use a conversion table so it was a pain to add.

Joined: August 30, 2008
Posts: 3065
Submissions: 20
Location: Burlington, ON, Canada

Reply with quote
Posted on Mon Oct 22, 2012 7:12 pm
Link to Post: Link to Post

abnoba12 wrote:
I added SWG to my calculator. I couldn't find a mathematical formula to convert SWG to a standard measurement. I had to use a conversion table so it was a pain to add.


You'll want to use a nominal conversion table for AWG as well, I suspect.



Joined: May 07, 2008
Posts: 3615
Submissions: 149
Location: Germany, Herxheim

Reply with quote
Posted on Tue Oct 23, 2012 1:23 am
Link to Post: Link to Post

Well if there's already a table solution embedded, it makes sense to use it also for AWG - despite the fact that AWG is a (slightly complicated) logarithmic function that can be solved numerically. Who knows the Aspect Ratio Calculator - Next Generation, may have noticed already, that AWG looks linear and evenly spaced, drawn on a logarithmic scale...

(I know: I need to edit the article to match the new article format, but who can read HTML, knows where to find the files)

-ZiLi-


Maille Code V2.0 T7.1 R5.6 Ep Fper MAl Ws$ Cpbsw$ G0.3-6.4 I1.0-30.0 N28.25 Ps Dacdejst Xagtw S08 Hip

Human societies are like chain mail.
A single link will be worth nothing.
A chain is of use, but will break at the weakest link.
A weak weave will have the need to replace weak links.
A strong weave will survive even with weak links included.
-'me

Joined: October 21, 2012
Posts: 12
Submissions: 0
Location: Texas

Reply with quote
Posted on Tue Oct 23, 2012 12:49 pm
Link to Post: Link to Post

I convert everything to mm before I calculate the AR. It is just easier to do a complex formula than a lookup in a table. I use this formula to convert AWG to mm pow(M_E, (2.1104-(0.11594*$awg)))

I also just downloaded the Ultimate Maille Calculator and wow that has a lot packed into it. I am going to play with it more, but it is a bit confusing to use.

So much fun making little tools and gadgets . Razz

Joined: August 30, 2008
Posts: 3065
Submissions: 20
Location: Burlington, ON, Canada

Reply with quote
Posted on Tue Oct 23, 2012 8:26 pm
Link to Post: Link to Post

abnoba12 wrote:
I convert everything to mm before I calculate the AR. It is just easier to do a complex formula than a lookup in a table. I use this formula to convert AWG to mm pow(M_E, (2.1104-(0.11594*$awg)))

I also just downloaded the Ultimate Maille Calculator and wow that has a lot packed into it. I am going to play with it more, but it is a bit confusing to use.

So much fun making little tools and gadgets . Razz


That's where Custom Functions come in handy Smile
You do the lookup prior to to math.

IE: function wg_to_wd($wg,$gauge_sys)
Function does the lookup for AWG or SWG, and returns the WD.

Then just use an IF...ELSE to insert that into your main process tree, depending on if it's needed.

The code is streamlined, the Function isn't processed unless needed, and you're home free. Very Happy



Joined: October 21, 2012
Posts: 12
Submissions: 0
Location: Texas

Reply with quote
Posted on Sat Oct 27, 2012 3:38 am
Link to Post: Link to Post

I am having fun being nerdy here. I updated my AR calculator with the ability to tell you the approximate weight of each ring. I found a table of metals and their densities, but I don’t know my metals very well. I have way more metals then needed, but I don’t want to inadvertently remove a valid metal. I highly doubt anyone will be making chainmail out of uranium, so I felt safe in removing that one. but if anyone knows metals better than me please respond with a list of the metals I can remove from my list. Cutters

Post new topic Reply to topic
Jump to:  
Page 1 of 1
All times are GMT. The time now is Mon Oct 14, 2019 8:56 am
M.A.I.L. Forum Index -> Knitting Circle
Display posts from previous: