Add Angle & Length constraint/value, and modal for the details (#54)

* setup UI for getting length and Angle values from user

* enable setLength-angle for angledLines with an exisiting constraining value
This commit is contained in:
Kurt Hutten
2023-03-10 08:48:50 +11:00
committed by GitHub
parent 2bb987b3b5
commit c3ead3b074
8 changed files with 485 additions and 27 deletions

View File

@ -29,7 +29,6 @@ export function addSketchTo(
name = ''
): { modifiedAst: Program; id: string; pathToNode: (string | number)[] } {
const _node = { ...node }
const dumbyStartend = { start: 0, end: 0 }
const _name = name || findUniqueName(node, 'part')
const startSketchAt = createCallExpression('startSketchAt', [