Merge branch 'main' into kurt-bring-back-multi-profile
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user