circle moved to kw args (#5560)
* rust side of circle args Signed-off-by: Jess Frazelle <github@jessfraz.com> * change circle in all test js files Signed-off-by: Jess Frazelle <github@jessfraz.com> * more js side Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix Signed-off-by: Jess Frazelle <github@jessfraz.com> * ud[ates Signed-off-by: Jess Frazelle <github@jessfraz.com> * ud[ates Signed-off-by: Jess Frazelle <github@jessfraz.com> * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
		@ -50,13 +50,13 @@ const FEATURE_TREE_SKETCH_CODE = `sketch001 = startSketchOn('XZ')
 | 
			
		||||
  |> close(%)
 | 
			
		||||
extrude001 = extrude(sketch001, length = 10)
 | 
			
		||||
sketch002 = startSketchOn(extrude001, rectangleSegmentB001)
 | 
			
		||||
  |> circle({
 | 
			
		||||
  |> circle(
 | 
			
		||||
       center = [-1, 2],
 | 
			
		||||
       radius = .5
 | 
			
		||||
     }, %)
 | 
			
		||||
     )
 | 
			
		||||
plane001 = offsetPlane('XZ', offset = -5)
 | 
			
		||||
sketch003 = startSketchOn(plane001)
 | 
			
		||||
  |> circle({ center = [0, 0], radius = 5 }, %)
 | 
			
		||||
  |> circle(center = [0, 0], radius = 5)
 | 
			
		||||
`
 | 
			
		||||
 | 
			
		||||
test.describe('Feature Tree pane', () => {
 | 
			
		||||
@ -228,11 +228,11 @@ test.describe('Feature Tree pane', () => {
 | 
			
		||||
  }) => {
 | 
			
		||||
    const initialInput = '23'
 | 
			
		||||
    const initialCode = `sketch001 = startSketchOn('XZ')
 | 
			
		||||
      |> circle({ center = [0, 0], radius = 5 }, %)
 | 
			
		||||
      |> circle(center = [0, 0], radius = 5)
 | 
			
		||||
      renamedExtrude = extrude(sketch001, length = ${initialInput})`
 | 
			
		||||
    const newConstantName = 'distance001'
 | 
			
		||||
    const expectedCode = `sketch001 = startSketchOn('XZ')
 | 
			
		||||
      |> circle({ center = [0, 0], radius = 5 }, %)
 | 
			
		||||
      |> circle(center = [0, 0], radius = 5)
 | 
			
		||||
      ${newConstantName} = 23
 | 
			
		||||
      renamedExtrude = extrude(sketch001, length = ${newConstantName})`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user