-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from papaseppo/main
Added Scales and Units
- Loading branch information
Showing
10 changed files
with
259 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,9 @@ body: | |
options: | ||
- "l" | ||
- "gal (U.S.)" | ||
- "ml" | ||
- "cl" | ||
- "dl" | ||
default: 0 | ||
- type: input | ||
id: diameter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "./schemas/scale-config", | ||
"scale-config": { | ||
"containerForm": "cylinder", | ||
"lengthUnit": "mm", | ||
"volumeUnit": "ml", | ||
"diameter": 70, | ||
"height": 82, | ||
"minVolume": 10, | ||
"maxVolume": 200, | ||
"output": "./scales/svgs/{0}.svg", | ||
"description": "Scale for 70 mm diameter cylindric container. 1-200 ml in 20 ml intervals with text every 100 ml.", | ||
"sucessfullyAppliedTo": "Steel Mug", | ||
"requiresTransferTape": false, | ||
"graduationMarkSettings": [ | ||
{ | ||
"interval": 20, | ||
"length": 8, | ||
"height": 1.3, | ||
"indentation": 0, | ||
"textTemplate": "" | ||
}, | ||
{ | ||
"interval": 100, | ||
"length": 30, | ||
"height": 1.3, | ||
"font": { | ||
"family": "./fonts/BigShoulderStencilText/static/BigShouldersStencilText-ExtraBold.ttf", | ||
"size": 8, | ||
"offsetX": -2, | ||
"offsetY": -5, | ||
"textAlignment": "Right" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "./schemas/scale-config", | ||
"scale-config": { | ||
"containerForm": "cylinder", | ||
"lengthUnit": "mm", | ||
"volumeUnit": "dl", | ||
"diameter": 138, | ||
"height": 110, | ||
"minVolume": 2, | ||
"maxVolume": 15, | ||
"output": "./scales/svgs/{0}.svg", | ||
"description": "Scale for 138 mm diameter cylindric container. 1-15 dl in 1 dl intervals with text every 5 dl.", | ||
"sucessfullyAppliedTo": "Wenco Milkpot", | ||
"requiresTransferTape": false, | ||
"graduationMarkSettings": [ | ||
{ | ||
"interval": 1, | ||
"length": 10, | ||
"height": 1.5, | ||
"indentation": 0, | ||
"textTemplate": "" | ||
}, | ||
{ | ||
"interval": 5, | ||
"length": 30, | ||
"height": 1.5, | ||
"font": { | ||
"family": "./fonts/BigShoulderStencilText/static/BigShouldersStencilText-ExtraBold.ttf", | ||
"size": 8, | ||
"offsetX": -2, | ||
"offsetY": -5, | ||
"textAlignment": "Right" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "./schemas/scale-config", | ||
"scale-config": { | ||
"containerForm": "cylinder", | ||
"lengthUnit": "mm", | ||
"volumeUnit": "l", | ||
"diameter": 281, | ||
"height": 180, | ||
"minVolume": 1, | ||
"maxVolume": 10, | ||
"output": "./scales/svgs/{0}.svg", | ||
"description": "Scale for 281 diameter cylindric container. 1-10 l in 1 l intervals with text every 2 l.", | ||
"sucessfullyAppliedTo": "10 liter non-induction Ikea pot", | ||
"requiresTransferTape": false, | ||
"graduationMarkSettings": [ | ||
{ | ||
"interval": 1, | ||
"length": 10, | ||
"height": 1.5, | ||
"indentation": 0, | ||
"textTemplate": "" | ||
}, | ||
{ | ||
"interval": 2, | ||
"length": 27, | ||
"height": 1.5, | ||
"font": { | ||
"family": "./fonts/BigShoulderStencilText/static/BigShouldersStencilText-ExtraBold.ttf", | ||
"size": 8, | ||
"offsetX": -2, | ||
"offsetY": -5, | ||
"textAlignment": "Right" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "./schemas/scale-config", | ||
"scale-config": { | ||
"containerForm": "cylinder", | ||
"lengthUnit": "mm", | ||
"volumeUnit": "l", | ||
"diameter": 370, | ||
"height": 330, | ||
"minVolume": 2, | ||
"maxVolume": 30, | ||
"output": "./scales/svgs/{0}.svg", | ||
"description": "Scale for 370 mm diameter cylindric container. 1-30 l in 1 l intervals with text every 5 l.", | ||
"sucessfullyAppliedTo": "Sansone Edelstahlbehälter 18/10 30 Liter", | ||
"requiresTransferTape": false, | ||
"graduationMarkSettings": [ | ||
{ | ||
"interval": 1, | ||
"length": 10, | ||
"height": 1.5, | ||
"indentation": 0, | ||
"textTemplate": "" | ||
}, | ||
{ | ||
"interval": 5, | ||
"length": 30, | ||
"height": 1.5, | ||
"font": { | ||
"family": "./fonts/BigShoulderStencilText/static/BigShouldersStencilText-ExtraBold.ttf", | ||
"size": 8, | ||
"offsetX": -2, | ||
"offsetY": -5, | ||
"textAlignment": "Right" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.