start of Appearance function (#4743)
* initial commit 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> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix docs 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> * add more samples Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updatres Signed-off-by: Jess Frazelle <github@jessfraz.com> * regenerate docs Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * patterns and appearance samples 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> * fmt Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
		@ -22,3 +22,5 @@ once fixed in engine will just start working here with no language changes.
 | 
			
		||||
 | 
			
		||||
- **Chamfers**: Chamfers cannot intersect, you will get an error. Only simple
 | 
			
		||||
    chamfer cases work currently.
 | 
			
		||||
 | 
			
		||||
- **Appearance**: Changing the appearance on a loft does not work.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										210
									
								
								docs/kcl/appearance.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										210
									
								
								docs/kcl/appearance.md
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@ -19,6 +19,7 @@ layout: manual
 | 
			
		||||
* [`angledLineThatIntersects`](kcl/angledLineThatIntersects)
 | 
			
		||||
* [`angledLineToX`](kcl/angledLineToX)
 | 
			
		||||
* [`angledLineToY`](kcl/angledLineToY)
 | 
			
		||||
* [`appearance`](kcl/appearance)
 | 
			
		||||
* [`arc`](kcl/arc)
 | 
			
		||||
* [`arcTo`](kcl/arcTo)
 | 
			
		||||
* [`asin`](kcl/asin)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2883
									
								
								docs/kcl/std.json
									
									
									
									
									
								
							
							
						
						
									
										2883
									
								
								docs/kcl/std.json
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										23
									
								
								docs/kcl/types/AppearanceData.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								docs/kcl/types/AppearanceData.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
---
 | 
			
		||||
title: "AppearanceData"
 | 
			
		||||
excerpt: "Data for appearance."
 | 
			
		||||
layout: manual
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Data for appearance.
 | 
			
		||||
 | 
			
		||||
**Type:** `object`
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Properties
 | 
			
		||||
 | 
			
		||||
| Property | Type | Description | Required |
 | 
			
		||||
|----------|------|-------------|----------|
 | 
			
		||||
| `color` |`string`| Color of the new material, a hex string like "#ff0000". | No |
 | 
			
		||||
| `metalness` |`number` (**maximum:** 100.0)| Metalness of the new material, a percentage like 95.7. | No |
 | 
			
		||||
| `roughness` |`number` (**maximum:** 100.0)| Roughness of the new material, a percentage like 95.7. | No |
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user