mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 14:09:31 +02:00
Add slack line calc
This commit is contained in:
@@ -2,5 +2,11 @@ import ohmslaw from './ohmsLaw';
|
|||||||
import voltageDropInWire from './voltageDropInWire';
|
import voltageDropInWire from './voltageDropInWire';
|
||||||
import sphereArea from './sphereArea';
|
import sphereArea from './sphereArea';
|
||||||
import sphereVolume from './sphereVolume';
|
import sphereVolume from './sphereVolume';
|
||||||
|
import slackline from './slackline';
|
||||||
export default [ohmslaw, voltageDropInWire, sphereArea, sphereVolume];
|
export default [
|
||||||
|
ohmslaw,
|
||||||
|
voltageDropInWire,
|
||||||
|
sphereArea,
|
||||||
|
sphereVolume,
|
||||||
|
slackline
|
||||||
|
];
|
||||||
|
49
src/pages/tools/number/generic-calc/data/slackline.ts
Normal file
49
src/pages/tools/number/generic-calc/data/slackline.ts
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
import type { GenericCalcType } from './types';
|
||||||
|
|
||||||
|
const slackline: GenericCalcType = {
|
||||||
|
icon: 'mdi:bridge',
|
||||||
|
keywords: [
|
||||||
|
'mechanical',
|
||||||
|
'rope',
|
||||||
|
'webbing',
|
||||||
|
'cord',
|
||||||
|
'string',
|
||||||
|
'tension',
|
||||||
|
'clothesline'
|
||||||
|
],
|
||||||
|
shortDescription:
|
||||||
|
'Calculate the approximate tension of a slackline or clothesline. Do not rely on this for safety.',
|
||||||
|
name: 'Slackline Tension',
|
||||||
|
path: 'slackline-tension',
|
||||||
|
description: 'Calculates tension in a slackline',
|
||||||
|
longDescription: 'This calculator assumes a load in the center of the rope',
|
||||||
|
formula: 'T = (W * sqrt((S**2) + ((L/2)**2)) )/ (2S)',
|
||||||
|
presets: [],
|
||||||
|
variables: [
|
||||||
|
{
|
||||||
|
name: 'L',
|
||||||
|
title: 'Length',
|
||||||
|
unit: 'meter',
|
||||||
|
default: 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'W',
|
||||||
|
title: 'Weight',
|
||||||
|
unit: 'pound',
|
||||||
|
default: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'S',
|
||||||
|
title: 'Sag/Deflection',
|
||||||
|
unit: 'meter',
|
||||||
|
default: 0.05
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'T',
|
||||||
|
title: 'Tension',
|
||||||
|
unit: 'pound-force'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
export default slackline;
|
Reference in New Issue
Block a user