* Parse an unparse type decls (and refactor impl attributes slightly) Signed-off-by: Nick Cameron <nrc@ncameron.org> * Remove special treatment of geometric types from parser and executor Signed-off-by: Nick Cameron <nrc@ncameron.org> * Generate docs for std types Signed-off-by: Nick Cameron <nrc@ncameron.org> * Hover tool-tips for types and fixup the frontend Signed-off-by: Nick Cameron <nrc@ncameron.org> * Fixes Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
		
			
				
	
	
		
			46 lines
		
	
	
		
			85 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			85 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: "getNextAdjacentEdge"
 | 
						|
excerpt: "Get the next adjacent edge to the edge given."
 | 
						|
layout: manual
 | 
						|
---
 | 
						|
 | 
						|
Get the next adjacent edge to the edge given.
 | 
						|
 | 
						|
 | 
						|
 | 
						|
```js
 | 
						|
getNextAdjacentEdge(tag: TagIdentifier): Uuid
 | 
						|
```
 | 
						|
 | 
						|
 | 
						|
### Arguments
 | 
						|
 | 
						|
| Name | Type | Description | Required |
 | 
						|
|----------|------|-------------|----------|
 | 
						|
| [`tag`](/docs/kcl/types/tag) | [`TagIdentifier`](/docs/kcl/types#tag-identifier) |  | Yes |
 | 
						|
 | 
						|
### Returns
 | 
						|
 | 
						|
`Uuid`
 | 
						|
 | 
						|
 | 
						|
### Examples
 | 
						|
 | 
						|
```js
 | 
						|
exampleSketch = startSketchOn('XZ')
 | 
						|
  |> startProfileAt([0, 0], %)
 | 
						|
  |> line(end = [10, 0])
 | 
						|
  |> angledLine({ angle = 60, length = 10 }, %)
 | 
						|
  |> angledLine({ angle = 120, length = 10 }, %)
 | 
						|
  |> line(end = [-10, 0])
 | 
						|
  |> angledLine({ angle = 240, length = 10 }, %, $referenceEdge)
 | 
						|
  |> close()
 | 
						|
 | 
						|
example = extrude(exampleSketch, length = 5)
 | 
						|
  |> fillet(radius = 3, tags = [getNextAdjacentEdge(referenceEdge)])
 | 
						|
```
 | 
						|
 | 
						|

 | 
						|
 | 
						|
 |