Skip to main content

Methodology

How the editor, converters and calculators work

Everything on this page describes what the code running on opencad.studio actually does. Each engineering tool page also lists its exact formulas and a worked example computed by the same functions the calculator uses.

Browser-local by design

The CAD editor, the DWG and DXF conversions, the PDF plotters and all calculators run on your own device. Files you open are read through the browser's file picker and results are saved back as downloads. Nothing is sent to a server unless you choose Save to Projects.

2D drafting and 3D modeling

The editor is the open-source OpenCADStudio application, written in Rust and compiled to WebAssembly. It uses the same drawing core as the desktop builds: typed commands such as LINE, PLINE, OFFSET, TRIM and FILLET, object snaps and polar tracking, layers, dimensions with DIMSTYLE, blocks, hatches and model/paper-space layouts. 3D work uses kernel-backed primitives, extrusion, revolution, sweep, loft and Boolean operations. Geometry is held in double-precision floating point in the drawing's own units.

DWG and DXF conversion

The editor reads and writes DWG and DXF natively, releases R14 through R2018, so a DWG to DXF or DXF to DWG conversion is an open followed by a save in the other format; layers, blocks, layouts and units travel with the drawing. Where a tool needs DXF from a DWG, the page loads the editor in a hidden frame, opens the file there and asks for a DXF snapshot.

The DWG to PDF and DXF to PDF plotters parse ASCII DXF directly: the HEADER ($INSUNITS, $ACADVER), the LAYER table, blocks expanded through INSERT and DIMENSION, and the 2D entities LINE, LWPOLYLINE and POLYLINE (with bulge arcs), CIRCLE, ARC, ELLIPSE, SPLINE, SOLID, 3DFACE, HATCH, TEXT, MTEXT and POINT. Drawing units are converted to PostScript points (72 per inch) so fixed scales from 1:1 to 1:100 plot true to size, and a PDF 1.4 file is written in the browser.

  • DWG: Open, edit and save natively in the browser editor, R14 to R2018.
  • DXF: Open, edit and save in the editor; ASCII DXF also read by the PDF plotter.
  • PDF: Output only: the plotters write PDF 1.4 locally, nothing is uploaded.
  • SVG: Output only, from the cut list optimizer and laser-cut box generator.
  • STEP: Export only (STEP AP203 via STEPOUT); STEP files are not opened.
  • STL: Export only (Export STL); STL mesh files are not opened.

Beam calculator

The beam calculator uses Euler–Bernoulli beam theory for simply supported, cantilever and fixed–fixed spans. A uniform load and a point load at any position are superimposed using the closed-form shear, moment and deflection equations for each support case; for example, a simply supported span under a uniform load has M = wL²/8 and δ = 5wL⁴/(384EI). Everything is solved internally in SI units. Peak bending stress is σ = M/S, compared with the allowable stress of the chosen material, and the maximum deflection is checked against L/360, L/240 and L/180. Section properties come from standard lumber and AISC W-shape tables or from I = bh³/12 for rectangles.

Cut list optimizer

The cut list optimizer is a deterministic guillotine bin-packer. It removes the edge trim from each sheet, charges a saw kerf on every cut, and respects grain-locked parts. It tries four part orders, three fit rules (best short side, best area, best long side) and four split rules, keeps the layout that uses the fewest sheets with the least waste, and reports utilization as placed part area divided by sheet area. Layouts are drawn as SVG and written as R12 DXF.

Laser-cut box generator

The box generator works in millimetres. For each edge it picks an odd number of fingers, at least three, close to your target finger width, so both corners match. Panels are built at nominal size, then each closed outline is offset outward by half the kerf so parts cut to the intended size. Panels, lids and divider slots are written as true-scale SVG and R12 DXF.

Speeds, feeds and spindle speed

The speeds and feeds, feed rate and spindle speed calculators use the standard milling relations RPM = SFM × 12 / (π × D) and feed = RPM × flutes × chip load, raise chip load for light stepovers with the radial chip-thinning factor 1 / (2√(r(1 − r))), and estimate removal rate as MRR = WOC × DOC × feed. Material starting values are conservative reference figures, not machine-specific guarantees.

Limits

The calculators are planning aids built on simplified models: they do not cover lateral-torsional buckling, connection design, load combinations, tool deflection or machine rigidity. Have structural work checked by a qualified engineer and follow your tooling manufacturer's data. See the terms of use, and tell us if a result looks wrong.

Standards and references