2D unclosed sketch Mirror (#3851)
* start of mirror Signed-off-by: Jess Frazelle <github@jessfraz.com> fmt Signed-off-by: Jess Frazelle <github@jessfraz.com> fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> cleanup Signed-off-by: Jess Frazelle <github@jessfraz.com> fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> add mirror 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> fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> fixes 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> * fix export tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix export tests Signed-off-by: Jess Frazelle <github@jessfraz.com> * Look at this (photo)Graph *in the voice of Nickelback* * empty --------- 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:
		@ -7,6 +7,7 @@ layout: manual
 | 
			
		||||
Rotate a sketch around some provided axis, creating a solid from its extent.
 | 
			
		||||
 | 
			
		||||
This, like extrude, is able to create a 3-dimensional solid from a 2-dimensional sketch. However, unlike extrude, this creates a solid by using the extent of the sketch as its revolved around an axis rather than using the extent of the sketch linearly translated through a third dimension.
 | 
			
		||||
Revolve occurs around a local sketch axis rather than a global axis.
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
revolve(data: RevolveData, sketch_group: SketchGroup) -> ExtrudeGroup
 | 
			
		||||
@ -143,10 +144,7 @@ const sketch001 = startSketchOn('XY')
 | 
			
		||||
 | 
			
		||||
const part001 = revolve({
 | 
			
		||||
  axis: {
 | 
			
		||||
    custom: {
 | 
			
		||||
      axis: [0.0, 1.0, 0.0],
 | 
			
		||||
      origin: [0.0, 0.0, 0.0]
 | 
			
		||||
    }
 | 
			
		||||
    custom: { axis: [0.0, 1.0], origin: [0.0, 0.0] }
 | 
			
		||||
  }
 | 
			
		||||
}, sketch001)
 | 
			
		||||
```
 | 
			
		||||
@ -163,16 +161,14 @@ const part001 = revolve({
 | 
			
		||||
	// Axis of revolution.
 | 
			
		||||
	axis: "X" |
 | 
			
		||||
"Y" |
 | 
			
		||||
"Z" |
 | 
			
		||||
"-X" |
 | 
			
		||||
"-Y" |
 | 
			
		||||
"-Z" |
 | 
			
		||||
{
 | 
			
		||||
	custom: {
 | 
			
		||||
	// The axis.
 | 
			
		||||
	axis: [number, number, number],
 | 
			
		||||
	axis: [number, number],
 | 
			
		||||
	// The origin.
 | 
			
		||||
	origin: [number, number, number],
 | 
			
		||||
	origin: [number, number],
 | 
			
		||||
},
 | 
			
		||||
} |
 | 
			
		||||
uuid |
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user