Skip to content

Commit

Permalink
Merge pull request #11 from papauorg/feature/new-scales
Browse files Browse the repository at this point in the history
Feature/new scales
  • Loading branch information
papauorg authored Dec 6, 2024
2 parents c57a3d0 + ffa1dd1 commit 8ae6e8a
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 0 deletions.
37 changes: 37 additions & 0 deletions scales/definitions/cylinder_mm_d450_h430_1-65l_i1.json
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": 450,
"height": 430,
"minVolume": 1,
"maxVolume": 65,
"output": "./scales/svgs/{0}.svg",
"description": "Scale for 450mm diameter cylindric container. 1-65 l in 1 l intervals with text every 5 l.",
"sucessfullyAppliedTo": "",
"requiresTransferTape": false,
"graduationMarkSettings": [
{
"interval": 1,
"length": 10,
"height": 1.5,
"indentation": 0,
"textTemplate": ""
},
{
"interval": 5,
"length": 25,
"height": 1.5,
"font": {
"family": "./fonts/BigShoulderStencilText/static/BigShouldersStencilText-ExtraBold.ttf",
"size": 8,
"offsetX": -2,
"offsetY": -5,
"textAlignment": "Right"
}
}
]
}
}
Loading

0 comments on commit 8ae6e8a

Please sign in to comment.