Public
Edited
Apr 10, 2023
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
profileCurveInsts.flat()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Inputs.button("Dispatch SBP code", {
reduce: (_) => {
sendSbpCodesToMachine(["MX,0"]);
}
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
sendParamsToOverlay()
Insert cell
sendInstsToOverlay(profileCurveInsts.flat())
Insert cell
sendEnvelopeDimsToOverlay()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
stemWidth = 1.115
Insert cell
baseWidth = 9
Insert cell
baseHeight = 4
Insert cell
function makeMenorahBase(ps) {
const eps = 0.0;
let originPt = new ps.Point(0, 0);
let compensatedHeight = baseHeight + toolDiameter;
let compensatedWidth = baseWidth + toolDiameter;
let endPt = new ps.Point(
compensatedWidth * UPSCALE,
compensatedHeight * UPSCALE
);
let holeCompWidth = stemWidth - toolDiameter + eps;
let holeCompHeight = thickness - toolDiameter + eps;
let holeStart = new ps.Point(
(compensatedWidth / 2 - holeCompWidth / 2) * UPSCALE,
(compensatedHeight / 2 - holeCompHeight / 2) * UPSCALE
);
let holeEnd = new ps.Point(
(compensatedWidth / 2 + holeCompWidth / 2) * UPSCALE,
(compensatedHeight / 2 + holeCompHeight / 2) * UPSCALE
);
let holePath = new ps.Path.Rectangle(holeStart, holeEnd);
holePath.strokeColor = "white";
holePath.strokeWidth = 1;
holePath.name = "profileCurve";
let rectPath = new ps.Path.Rectangle(originPt, endPt);
rectPath.strokeColor = "white";
rectPath.strokeWidth = 1;
rectPath.name = "profileCurve";
mutable newProfileDrawnIndicator = Date.now();
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more