File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ export default class TestParts extends SVGComponent<TestPartsProps> {
1515 pathstr += `L ${ material * 3 } 0`
1616 pathstr += `L ${ material * 3 } ${ thickness } `
1717 pathstr += `L ${ material * 2 } ${ thickness } `
18- pathstr += `L ${ material * 2 } ${ thickness / 2 } `
19- pathstr += `L ${ material } ${ thickness / 2 } `
18+ pathstr += `L ${ material * 2 } ${ ( thickness / 2 ) - ( thickness / 50 ) } `
19+ pathstr += `L ${ material } ${ ( thickness / 2 ) - ( thickness / 50 ) } `
2020 pathstr += `L ${ material } ${ thickness } `
2121 pathstr += `L 0 ${ thickness } `
2222 pathstr += 'z'
2323
2424 pathstr += `M ${ material * 3.5 } 0`
2525 pathstr += `L ${ material * 4.5 } 0`
26- pathstr += `L ${ material * 4.5 } ${ thickness / 2 } `
27- pathstr += `L ${ material * 5.5 } ${ thickness / 2 } `
26+ pathstr += `L ${ material * 4.5 } ${ ( thickness / 2 ) + ( thickness / 50 ) } `
27+ pathstr += `L ${ material * 5.5 } ${ ( thickness / 2 ) + ( thickness / 50 ) } `
2828 pathstr += `L ${ material * 5.5 } 0`
2929 pathstr += `L ${ material * 6.5 } 0`
3030 pathstr += `L ${ material * 6.5 } ${ thickness } `
@@ -33,4 +33,4 @@ export default class TestParts extends SVGComponent<TestPartsProps> {
3333
3434 return SVG ( ) . path ( pathstr ) . fill ( "none" ) . attr ( 'vector-effect' , 'non-scaling-stroke' ) ;
3535 }
36- }
36+ }
Original file line number Diff line number Diff line change @@ -20,11 +20,10 @@ export default class XSpar extends SVGComponent<XSparProps> {
2020 const overhang = this . props . table . overhang ;
2121 const yGap = this . props . table . ySparGap ;
2222
23-
2423 let pathstr = '' ;
2524 const start = flatBuffer + flatOutsideBuffer + overhang - ( xShrink / 2 ) ;
2625 if ( start == 0 ) {
27- pathstr += `M 0 ${ thickness / 2 } ` ;
26+ pathstr += `M 0 ${ ( thickness / 2 ) + ( thickness / 50 ) } ` ;
2827 } else {
2928 pathstr += `M 0 0` ;
3029 }
@@ -34,8 +33,8 @@ export default class XSpar extends SVGComponent<XSparProps> {
3433 if ( x != 0 ) {
3534 pathstr += `L ${ x } 0` ;
3635 }
37- pathstr += `L ${ x } ${ thickness / 2 } ` ;
38- pathstr += `L ${ x + material } ${ thickness / 2 } ` ;
36+ pathstr += `L ${ x } ${ ( thickness / 2 ) + ( thickness / 50 ) } ` ;
37+ pathstr += `L ${ x + material } ${ ( thickness / 2 ) + ( thickness / 50 ) } ` ;
3938
4039 if ( x + material != xCut ) {
4140 pathstr += `L ${ x + material } 0` ;
@@ -52,4 +51,4 @@ export default class XSpar extends SVGComponent<XSparProps> {
5251
5352 return SVG ( ) . path ( pathstr ) . fill ( "none" ) . attr ( 'vector-effect' , 'non-scaling-stroke' ) ;
5453 }
55- }
54+ }
Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ export default class YSpar extends SVGComponent<YSparProps> {
1616 const xGap = this . props . table . xSparGap ;
1717
1818 let pathstr = `M 0 0`
19- pathstr += `L 0 ${ thickness / 2 } ` ;
19+ pathstr += `L 0 ${ ( thickness / 2 ) - ( thickness / 50 ) } ` ;
2020 for ( let mortise = 0 ; mortise < xMortises ; mortise ++ ) {
2121 const x = ( mortise * xGap ) ;
22- pathstr += `L ${ x + material } ${ thickness / 2 } ` ;
22+ pathstr += `L ${ x + material } ${ ( thickness / 2 ) - ( thickness / 50 ) } ` ;
2323 pathstr += `L ${ x + material } ${ thickness } ` ;
2424 pathstr += `L ${ x + xGap } ${ thickness } ` ;
25- pathstr += `L ${ x + xGap } ${ thickness / 2 } ` ;
25+ pathstr += `L ${ x + xGap } ${ ( thickness / 2 ) - ( thickness / 50 ) } ` ;
2626 }
27- pathstr += `L ${ yCut } ${ thickness / 2 } `
27+ pathstr += `L ${ yCut } ${ ( thickness / 2 ) - ( thickness / 50 ) } `
2828 pathstr += `L ${ yCut } 0`
2929 pathstr += 'z'
3030
3131 return SVG ( ) . path ( pathstr ) . fill ( "none" ) . attr ( 'vector-effect' , 'non-scaling-stroke' ) ;
3232 }
33- }
33+ }
You can’t perform that action at this time.
0 commit comments