Merge branch 'main' into kurt-bring-back-multi-profile

This commit is contained in:
Jonathan Tran
2025-01-08 21:08:47 -05:00
348 changed files with 127823 additions and 2699 deletions

View File

@ -873,6 +873,14 @@ export function hasExtrudeSketch({
)
}
export function artifactIsPlaneWithPaths(selectionRanges: Selections) {
return (
selectionRanges.graphSelections.length &&
selectionRanges.graphSelections[0].artifact?.type === 'plane' &&
selectionRanges.graphSelections[0].artifact.pathIds.length
)
}
export function isSingleCursorInPipe(
selectionRanges: Selections,
ast: Program