Hub and rim information can be saved in data files.
Data files are opened in the calculator and the hub and rims can be loaded into the data entry form.
You can create as many data files as you want.
If the Calculation data dialog is open, it will update the data in real time, so no need to keep closing and opening it, which is useful if you are adding a batch of hub or rim data.
Here is a very basic data file. Save this to your local drive, then open the file in the calculator.
You can then edit this file and add formatting tags.
In the calculator select Menu->Data and click the button on the right, then select the data file and it will open up in the calculator.
You can add as many data files as you want. To remove a data file click the X at the bottom right of the file. To hide the data files, just click Menu->Data in the menu, and to show them click Data again (no need to keep reloading them).
If you reload the calculator page then all the data files will be removed. So do not use your browsers forward and back buttons because that will cause a page reload and your data files will need adding again.
Clicking a hub or rim will load it into the calculator. If there's sufficient data already in the form, then a calculation is attempted and if succesful you'll get a spoke length table. On a desktop pc/laptop the spoke lengths will also be shown below the data entry form which is useful when you are clicking hubs and rims without the need to scroll down to see the spoke length table, although the full table will show any calculation warnings.
Every line in the file starts with a tag. Tags are optional, but you must have at least some [d] data tags.
Spaces before and after the tag are ignored, so the following are identical:
[t]This is my title
[t] This is my title
[t] This is my title
| [filename] | Shows the file name loaded. |
|---|---|
| [t] | Title. Large font bold underlined. Typically used as the first entry in the data file to describe what it contains. [t] This is my title |
| [h] | Heading. Medium font bold.
[h] Heading text |
| [c] | Comment. Type everything on one line and the calcultor will wrap the display. If you need a line break, start another comment.
[c] This comment will be shown in the calculator. |
| [d] | A data item copied and pasted from the calculator. You cannot edit the data line, but you can edit the descriptive comment that it comes with. See "Red lines" later. |
| [detail] | [detail] on From this point forwards (until detail off or end of file) the hub dimensions will be shown. The data line will now show the Flange offsets, Flange diameters, Spoke hole diameter and Spoke offsets (for straight pull hubs). The detail is useful for checking your data. [detail] off |
| [config] | A lacing configuration, clicking it will load the spoke count, cross and diameter into the calculator. The value of cross and diameter will be used for both the left and right side. The spokes value will not update the spoke count for triplet wheels. [config] Config name, spokes, cross, spokeDiameter For example: [config] My default lacing, 28, 3, 1.8 [config] Lightweight radial, 24, 0, 1.5 |
| [link] | A link to an external web page. It must be a full link (https:// etc), and the best way to get it is to copy it from your web browser location.
[link] https://www.dtswiss.com/en/components/rims-mtb/free-ride This will display as... www.dtswiss.com/en/components/rims-mtb/free-ride If clicked it will open up in a new tab. |
| [link-short] | Same as above, but only the host name will be displayed, but the full link is there. Useful if the url is very long.
[link-short] https://www.dtswiss.com/en/components/rims-mtb/free-ride This will display as... www.dtswiss.com |
| [border] | An outside border around the entire data file. [border] color size Where color is a html color code (search for a html color picker, the code starts with a #). The size is the border width in pixels (leave it off and it defaults to 1). [border] #c0392b [border] #c0392b 8 |
| [background] | Background color (html color codes). [background] color |
| [date] | [date] on From this point forwards (until date off or end of file) a date will be shown at the end of each data item. The date is embedded in the data string, and is the date when the calculator created the data item. [date] off |
| [sticky] | Adding another data file pushes any existing files down, with the new file inserted at the top. If you want a file to always remain at the top when new files are added, then place the [sticky] tag in the file. |
| # | To prevent a line from displaying in the calculator, put # at the beginning. For example, to prevent this rim from being displayed... # [d]j=563&r=DT+EX+511+27.5&y=r&v=-1194934239&w=1729272555989 |
To add your own internal comments (not displayed in the calculator) just enter text without any starting tag. | |
| Blank lines are ignored, so don't use blank lines thinking that they will space out the display in the calculator. Putting blank lines in the data file can make the file easier to read. |
Component data lines must come from the calculator. If you manually edit a data line in the data file, the line will display in red when loaded into the calculator.
This is a security feature, so that if you obtain a data file from somewhere else it will alert you that it has been manually altered or exported from another database. If you do get a red line, try loading it into the calculator, if it loads some data then check it and replace the offending line in the data file with a fresh one. Red lines can't break the calculator (other than the possibility of bad data giving wrong spoke lengths). If the calculator cannnot identify what the item is, then the line is shown as 'Bad item'.