Add START and END constants to std (#6270)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
		@ -18,7 +18,7 @@ export fn bolt() {
 | 
			
		||||
    |> fillet(radius = 0.020, tags = [topEdge, getOppositeEdge(topEdge)])
 | 
			
		||||
 | 
			
		||||
  // Define the sketch of the hex pattern on the screw head
 | 
			
		||||
  hexPatternSketch = startSketchOn(boltHead, 'start')
 | 
			
		||||
  hexPatternSketch = startSketchOn(boltHead, START)
 | 
			
		||||
    |> startProfileAt([
 | 
			
		||||
         boltHexDrive / 2,
 | 
			
		||||
         boltHexFlatLength / 2
 | 
			
		||||
@ -31,7 +31,7 @@ export fn bolt() {
 | 
			
		||||
    |> close()
 | 
			
		||||
    |> extrude(length = -boltHeadLength * 0.75)
 | 
			
		||||
 | 
			
		||||
  boltBody = startSketchOn(boltHead, 'end')
 | 
			
		||||
  boltBody = startSketchOn(boltHead, END)
 | 
			
		||||
    |> circle(center = [0, 0], radius = boltDiameter / 2, tag = $filletEdge)
 | 
			
		||||
    |> extrude(length = boltLength)
 | 
			
		||||
    |> fillet(radius = .020, tags = [getOppositeEdge(filletEdge)])
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user