Hayakit Calculators

v1.0.1
com.hayakit/calculators Checked 4 days ago Published 13 days ago

Offline Japanese/Taiwan era, craft, booklet imposition, camping, and cassette calculators.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convert_era

Convert between Western years (AD), Japanese eras (Reiwa/Heisei/Showa/Taisho/Meiji including transition dates), Taiwan ROC years (民國), zodiac (干支/生肖), and age.

ParameterTypeDescription
query *stringFree-text date or year expression, e.g. "令和8年", "平成3年5月1日", "S60", "民國87年", "1989", "1998/05/01"
referenceDatestringOptional reference date (YYYY-MM-DD) for age calculation; defaults to today.

calculate_rosette_ribbon

Calculate exact ribbon cutting lengths, pleat counts, finished outer diameter, and purchase yardage for 1/2/3-tier can-badge rosettes.

ParameterTypeDescription
badgeDiameterMmnumberCan-badge diameter in mm (common: 44, 57, 75).
foldModestringFold method: "h" (hand-pleated standard), "t" (tailored/measured test fold), "p" (pre-pleated).
pleatDepthMmnumberPleat fold depth in mm.
pleatPitchMmnumberPleat spacing/pitch in mm.
ribbonWidthsMmarrayRibbon width in mm for each tier (outer to inner).
tailCountintegerNumber of hanging tail ribbons.
tailLengthCmnumberLength of each tail ribbon in cm.
tiersnumberNumber of ribbon tiers (1, 2, or 3).

calculate_paracord_length

Calculate exact paracord cutting length for Cobra, King Cobra, Fishtail, Snake, or custom weaves (1 or 2 colors, cm or inches, buckle deduction).

ParameterTypeDescription
wristOrTargetLength *numberWrist circumference (mode="round") or straight finished length (mode="straight").
buckleLengthCmnumberBuckle length in cm (0 for loop/no buckle).
colorsstringNumber of cord colors ("1" or "2").
fitEaseCmstringComfort ease in cm ("0", "0.5", "1.0").
marginPercentstringSafety margin percentage ("0", "10", "20").
modestring"round" for wrist/collar loop, "straight" for flat strap.
unitstringMeasurement unit: "cm" or "in".
weavestringParacord weave pattern.

calculate_tarp_guyline

Calculate camping tarp guyline cutting lengths, total cordage needed, hardware counts, peg distances, and campsite fit check.

ParameterTypeDescription
guyAngleDegnumberGuyline angle from ground in degrees (35, 45, or 55).
mainPoleCountintegerNumber of main poles.
mainPoleHeightCmnumberMain pole height in cm.
mainPoleTiestringMain pole guyline style: "double" (Y-split) or "single".
sidePoleCountintegerNumber of side poles.
sidePoleHeightCmnumberSide pole height in cm (0 if none).
sitePresetstringCampsite dimensions preset in cm, or "none".
tarpLengthCmnumberTarp ridge length in cm.
tarpTypestringTarp shape: "rect", "hex", or "custom".
tarpWidthCmnumberTarp width in cm.

calculate_booklet_imposition

Calculate exact sheet imposition page order, blank page padding, and printer duplex page sequence for saddle-stitch or multi-signature booklets.

ParameterTypeDescription
pages *integerTotal content page count.
coverModestringWhether cover pages are included in page count or printed separately.
modestring"saddle" (single booklet) or "multi" (multi-signature bookbinding).
readingDirectionstringReading direction: "ltr" (left-to-right) or "rtl" (right-to-left / Japanese manga/vertical).
sheetsPerSignatureintegerSheets per signature (only used when mode="multi").

calculate_doujin_shipping_thickness

Calculate total book stack thickness (mm), weight (g), and Japanese mail shipping eligibility (Click Post, Yu-Packet, Nekopos, Letter Pack).

ParameterTypeDescription
books *arrayList of books in the parcel.
goodsThicknessMmnumberAdditional flat goods thickness in mm.
goodsWeightGnumberAdditional goods weight in grams.
packagingstringPackaging type: "card2" (double cardboard), "card1" (single board), "opp", "cushion" (bubble mailer), "box".
sideBySidestringAllow side-by-side placement for A5/Bunko books ("auto") or force stacking ("stack").

calculate_leather_thread

Calculate waxed thread cutting length for leathercraft saddle-stitching from seam length or hole count, leather thickness, and pricking iron pitch.

ParameterTypeDescription
seams *arrayList of seams to stitch.
backstitchEndintegerBackstitch count at seam end.
backstitchStartintegerBackstitch count at seam start.
pitchMmnumberStitch spacing / pricking iron pitch in mm (e.g. 2.7, 3.0, 3.38, 3.85, 4.0, 5.0).
tailAllowanceCmnumberNeedle & knotting tail allowance per end in cm.

calculate_cassette_split

Plan Side A and Side B track splits, remaining tape time, and minimum cassette length (C10-C120) from a tracklist.

ParameterTypeDescription
tracklist *stringNewline-separated tracks with durations, e.g. "Track 1 3:45\nTrack 2 4:12\nTrack 3 5:01".
customSideSecondsintegerPer-side capacity in seconds when format="custom".
formatstringCassette tape length tier (C10 to C120) or "custom".
gapSecondsintegerSilence gap between tracks in seconds.
modestring"seq" (keep track order) or "opt" (reorder tracks to balance Side A/B).
reserveSecondsintegerLeader/safety reserve seconds per side.