Data & Export
G-code Export Check
What this shows
A rotating mesh supplies geometry to a G-code export call.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const exporter = new EASEL.GCodeExporter();
const gcode = exporter.parse(mesh, {
layerHeight: 0.25,
extrusionPerUnit: 0.04,
});
mesh.userData.exportedLength = gcode.length;