rabbit-ear
Version:
origami design library
21 lines (18 loc) • 1.02 kB
JavaScript
/* Rabbit Ear 0.9.4 alpha 2024-04-20 (c) Kraft, GNU GPLv3 License */
const Messages = {
planarize: "graph could not planarize",
manifold: "valid manifold required",
graphCycle: "cycle not allowed",
planarBoundary: "planar boundary detection error, bad graph",
circularEdge: "circular edges not allowed",
replaceModifyParam: "replace() index < value. indices parameter modified",
replaceUndefined: "replace() generated undefined",
flatFoldAngles: "foldAngles cannot be determined from flat-folded faces without an assignment",
noWebGL: "WebGl not Supported",
convexFace: "only convex faces are supported",
window: "window not set; if using node/deno include package @xmldom/xmldom and set ear.window = xmldom",
nonConvexTriangulation: "non-convex triangulation requires vertices_coords",
backendStylesheet: "svgToFold found <style> in <svg>. rendering will be incomplete unless run in a major browser.",
noLayerSolution: "LayerSolver bad input. no solution possible",
};
export { Messages as default };