.loft file says what a thing is; the standard says how it draws.
Graphics are defined by a set of JSON files:
loft-standard.colors.jsonloft-standard.pens.jsonloft-standard.line-patterns.jsonloft-standard.fill-patterns.jsonloft-standard.styles.jsonloft-standard.category-styles.json
loft-standard.scale-1.jsonloft-standard.scale-1-2.jsonloft-standard.scale-1-4.jsonloft-standard.scale-1-16.jsonloft-standard.scale-1-32.json
Pens
Pens have a base width in millimeters, see the table below with bold as the departure from the base for each scale. Define a scale between follow the next scale up: 3/4” → 1”, 3/8” → 1/2”, 3/16” → 1/4”, 3/32” → 1/8”.
How it’s written in the JSON:
Line styles
What a category style’s slot names: a pen, a dash pattern or none, and a color. The pen gives the width at the view’s scale. Every dash pattern is drawn in Line Patterns.Fill styles
What a category style’s fill slot names: what the region is filled with, and the line style a hatch draws with. Every hatch is drawn in Fill Patterns.Category styles
A line slot is named for where a thing sits against the view’s cut plane — a level plane through the plan, looking down:- Cut — the plane passes through it.
- Projection — below the plane, in view.
- Above — above the plane, out of view; drawn so you know it is there.
- Behind — below the plane, with something nearer in the way.
Lines
Fills
The file format
Beyond colors and plain numbers, the files hold six kinds of value a drawing needs:- Paper lengths in
mm,inorpt— pens in millimeters, dashes and hatches in points. - Hatch — line families, each one line of a
.patpattern, field for field: angle, origin, offset and the signed dash list. An optional square tile is added for painters that repeat one; when a file gives none, the loader finds the smallest that repeats seamlessly. - Dash — mark, gap, mark, gap.
- Line style — a color, a pen, an optional dash.
- Fill style — a solid, a hatch, a hatch picked by the layer’s material, or none; and the line style its hatch draws with.
- Scale — paper inches per model foot.