Research-Stack/5-Applications/text-to-cad/viewer/lib/workbench/constants.js

38 lines
654 B
JavaScript

export const ASSET_STATUS = {
PENDING: "pending",
LOADING: "loading",
READY: "ready",
ERROR: "error"
};
export const REFERENCE_STATUS = {
IDLE: "idle",
DISABLED: "disabled",
LOADING: "loading",
READY: "ready",
ERROR: "error"
};
export const RENDER_FORMAT = {
STEP: "step",
STL: "stl",
DXF: "dxf",
URDF: "urdf"
};
export const TAB_TOOL_MODE = {
REFERENCES: "references",
DRAW: "draw"
};
export const DRAWING_TOOL = {
FREEHAND: "freehand",
LINE: "line",
SURFACE_LINE: "surface-line",
ARROW: "arrow",
DOUBLE_ARROW: "double-arrow",
RECTANGLE: "rectangle",
CIRCLE: "circle",
FILL: "fill",
ERASE: "erase"
};