Modern Next.js TypeScript migration of the original standalone Pnevma Tools HTML calculators.
Owner: Pnevma.
npm install
npm run dev
Open the local URL printed by Next.js, usually http://localhost:3000.
npm run build
npm run start
npm run test
POST /api/spot/calculate: accepts SpotInputs, validates the payload, calls calculateSpot, and returns SpotResult.POST /api/axis/calculate: accepts AxisInputs, validates the payload, calls calculateAxis, and returns AxisResult.GET /api/config: returns static UI config, defaults, source presets, lens/mirror/finish presets, labels, options, and notices.The API routes are thin wrappers. Calculator math lives in lib/calculators.
index.html, co2-spot-calculator.html, and axis-line-interval-calculator.html.lib/data.postMessage workspace was replaced with direct React routes and shared settings context.These calculators are workshop planning aids. They are not certified metrology, safety, medical, legal, or compliance tools. Validate important machine settings with real measurements, test cuts, burn tests, manufacturer documentation, and normal laser safety procedures.
Pnevma provides the tools without warranty.