Drawings and profile exports#
OpenOHL draws every route of a line as plan and profile: the profile (ground, side ground, required-clearance line, structures, wires by phase, violation markers) and above it the plan, straightened along the route so that it lines up with the profile. The same drawings are written as SVG, DXF, PDF and PNG; the profile's numbers as CSV and XML.

Profile first, sheets on top. The profile is one continuous view
along the route: the desktop app's Profile page works on it, with no sheet
breaks, and an export without --page writes it as one continuous
drawing. Sheets are a separate, optional layer on top of it, for
exports: the sheet format, the scales and where the sheets break belong
to the export settings only (ohl drawing … --page, ohl line --drawings … --page, Plans & sheets › Profile sheets… in the app) and never change the
profile view or any computed number. The app can show them over its views
(the sheet preview, off by default).
From the command line#
ohl drawing solves the line exactly like ohl line (it takes all of its
options: weather cases, terrain, LiDAR, rules…) and then writes the drawings
asked for:
ohl drawing examples/synthetic-line/synthetic-line.ohl.json \
--terrain examples/synthetic-line/synthetic-survey.csv \
--weather examples/synthetic-line/weather-cases.ohlwc --clearance 7 \
--route main --format pdf,dxf,csv --page A3 \
--hscale 1:2000 --vscale 1:500 --from 0+100 --to 1+000 --out drawings
| Option | Meaning |
|---|---|
--format |
svg, dxf, pdf, png, csv, xml (comma-separated or repeated; default svg) |
--route ID |
the route to draw (repeatable; default every route) |
--from, --to |
station range, in metres (250) or km+m (0+250); default the whole route |
--hscale, --vscale |
horizontal and vertical scale, 1:2000 or 2000 (defaults 1:2000 and 1:200); the exaggeration is their ratio |
--plan-scale |
the plan across the line (default the horizontal scale) |
--page |
sheets of a standard paper size (landscape): ISO A0–A4, the long A sizes A3x3 …, B1–B4, "ANSI A"–"ANSI E", "ARCH A"–"ARCH E"; WIDTHxHEIGHT in mm; or optimised (Paper size and orientation); without it one continuous drawing |
--paper-sizes, --mixed-sizes, --same-paper |
with --page optimised: the sizes it may choose from (comma-separated, default A0,A1,A2,A3,A4), different sizes of one standard on a route's sheets, the same paper on every route |
--break-clearance MM |
clearance on paper between a sheet break and what is drawn of every other structure, 0 to 20 mm (default 2; see Sheets) |
--plan-width M |
the line width (also --line-width): half width of the plan (default 40 m), what is drawn along the line (see Line width) |
--profile-only |
the profile alone, without the plan |
--side-offset, --clearance, --logo |
as for ohl line --drawings |
--dpi |
resolution of PNG images (default 150) |
--elevations |
the structures' elevations on the plan: off (default), above or below the line (Elevations) |
--elevation-offset |
from the line to the elevations' base, mm on paper (default 10) |
--elevation-rotation |
angle between the line and the elevations' height, degrees (default 90: standing perpendicular to the line) |
--elevation-scale |
the elevations' own scale (default the horizontal one) |
--elevation-labels |
written at each elevation: number, type, height, string_length (vertical strings), dimensions (base → arms → top), arm_heights (comma-separated) |
--elevation-stick |
the elevations as schematic stick figures (mast, arms, strings) even where the full structure exists |
--sheet-template NAME |
the sheet template: default, a .ohlsheet file, the project's or the library folder's by name, or PLUGIN/PRESET (with --plugin DIR); its page unless --page |
--field KEY=VALUE, --fields FILE, --revision "A;DATE;TEXT;BY;CHECKED" |
the template's values and the revision table |
--orientation |
landscape or portrait (with --page optimised: the only one allowed; default both) |
--version LINE=ROLE[:LABEL] |
another version of the line drawn with it in a role (a project line of a project file, or a line file; repeatable) |
--role ROLE |
the role of the line itself (its style) |
--corridor-width M |
the corridor's edges at ± M in the plan and the key map, the ground along them in the profile |
--profile-lines corridor|distance|lowest_arm |
where the profile's two side terrain lines run (default: the template's [corridor] profile_lines): the corridor's edges, --profile-distance either side of the axis, or under the outermost conductors of the lowest arm in still air; other than corridor, the plan draws the two lines too — Where the profile's side lines run |
--profile-distance M |
the side lines' distance from the axis, m (alone: as with --profile-lines distance; default the template's profile_distance) |
--profile-circuits NAME,NAME |
with lowest_arm: the circuits whose wires count (default the template's profile_circuits, else every circuit with a system); a name that is no circuit of the line is refused |
--sheet-lidar-classes 2,3,5 |
LiDAR classes drawn as dots where the template draws them ([lidar]), from --lidar or --pointcloud, within the corridor (Sheet templates) |
--conductor-clearance |
lines below the lowest conductor from the ground rules (--rules, --clearance) |
--plan-drawings [NAMES], --plan-orthophoto [LAYERS] |
the project's drawings (DXF) and orthophotos under the plan, straightened along the line (alone: the template's names, else every one; or the names, comma-separated); --no-plan-backgrounds neither, --plan-background-dpi the photo's resolution, --backgrounds FILE.ohl the project file holding them (default: the line's) — Drawings and orthophotos under the plan |
--key-map-drawings, --key-map-orthophoto |
the project's drawings and orthophotos under the sheets' key map, north up (default: the template's [key_map] drawings, orthophoto), from the same project file as --backgrounds |
--no-bands |
without the template's band rows |
--out DIR |
output folder (created) |
The first weather case is drawn solid, the others dashed (each its own dash pattern, named in the title block). The elevation options default to the sheet template's.
ohl line --drawings DIR still writes what it always did: an SVG (or SVG
sheets with --page) and the profile CSV of every route.
Structures#
A structure whose type is at level 1 (a stick figure,
detail levels) is drawn with its
symbol: a shaft line from its foot to its highest attachment point in
the profile, a small square in the plan, and its stick drawing (shaft and
arms) as before. A structure whose type is at level 2 or 3 (members,
or a separate .ohlfe model) is drawn with its members instead of the
symbol, placed as the line places the type (position, orientation,
extension, height adjustment), as lines at the sheet scale on their own
layer OHL_MEMBERS:
- in the profile, the members projected on the profile plane: the structure's silhouette along the route;
- in the plan, the members seen from above: the footprint and the crossarms;
- in the plan in model space (
R-plan-model.dxf), the same in project coordinates.
A pole at level 2 or 3 (a [pole] outline with diameters at two
heights at least, or a named .ohlp file) is drawn with its outline
instead of the symbol, on the same layer OHL_MEMBERS (the members'
layer: the outline is the pole's body, as the members are a lattice tower's):
- in the profile, its silhouette by height: at each height of its outline the outline's extent along the route, up one side and down the other (a closed line; between the heights the taper is straight);
- in the plan, its outline at the ground line and at its top (round as a 16-sided polygon, a polygon with its sides), seen from above;
- in
R-plan-model.dxf, the same two outlines in project coordinates.
The pole is drawn from the ground line up (the part in the ground left
out), at the structure's position, orientation and height adjustment,
raised by its extension. Its stick drawing (the shaft line and the arms
to the attachment points) stays on OHL_STRUCTURES, as before.
The name, station and attachment points stay on OHL_STRUCTURES (the
name above the highest member or the pole's top). In SVG the members and
poles carry class="OHL_MEMBERS". The members' profiles (their sections) are not
drawn on the sheets: at the usual scales they are thinner than the pen.
ohl drawing reads the cross-section library from --sections or the
Sections folder next to the line (only for a type with a separate
model, whose members it needs to read).
Line width#
The line width (± m from the alignment, default 40 m) decides what is drawn along the line, in the plan and in the profile:
- the plan shows the band of the line width each side of the alignment;
- the line itself is always drawn: every structure of the run along the alignment and every span between them;
- every other structure of the line within the line width is drawn too: a structure of the route beside the line (a connection or termination away from the alignment, more than 5 m beside it and not on one of its points), a structure of another circuit or line standing under a span (near the alignment, not on one of its points, with the span passing over it and none of its own spans along the alignment: it does not break the line's span, its length or its height steps), and any other structure of the line there;
- wires are drawn within it: the line's own, and every other span or jumper passing within the line width (a crossing, an outgoing or ongoing connection), cut where it leaves the line width (the crossing interpolated between the wire's points);
- violation markers within it.
The profile CSV and XML keep every number (they are not cut at the line
width). In the desktop app the line width is one setting for the
drawings and the Profile page: Line width in the export window and
line width ± on the Profile page are the same value (kept with the
project line, see In the desktop app); on the
Profile page it also decides how far left and right the ground, the
survey and LiDAR points and the 3D drawings are shown. On the command
line it is --plan-width (or --line-width). The line width does not
decide where sheets end (below). The LiDAR corridor of the analyses
(--corridor, the points read for the terrain surface and the clearance
checks) is a separate setting and is not changed by it.
Elevations#
On request (--elevations above|below, or Elevations in the
app's Profile sheets window; off by default) the plan carries each
structure's elevation beside the line, so its shape can be read on
the sheet next to where it stands:
- each structure drawn along the line (every one of the run along the
alignment, one beside the line only within the line width;
of the sheet's station range on a sheet; those of the other
versions in
their role's pen) is drawn seen along the line: its members (levels 2 and 3), its pole's
silhouette across the line, else its stick drawing (level 1: the shaft
and the arms to its attachment points), true shape at the
horizontal scale (a 30 m structure is 15 mm tall at 1:2000) or at
--elevation-scale; - as a stick figure on request (
--elevation-stick, the template'sstick = true, elevations as stick figures in the export window): a schematic figure — the mast from its base to its top, an arm out to each of its points, its strings — even where its members, a pole's outline or a stick drawing holding a whole lattice exist; easier to read at a small scale; - on request its labels (
--elevation-labels, the template'slabels): its number, type and height above its top (number,type,height); a chain of heights on one side, base → first arm → between the arms → top, with a tick at each level (dimensions); and on the other side one line per arm: its height above the base (arm_heights) followed by the length of the vertical (suspension) strings hanging from it (string_length; strain strings, lying along the line, are not written; lengths within 5 cm of each other as one range,string 4.41–4.42 m). The arms are the levels of the structure's own points. The texts of a column are never closer than 1.2 × their size: one that would be is moved down, joined to its level by a thin leader; the chain and the arm lines stand clear of the figure (2.5 and 1.5 mm out). Their words come from the template ([legend.labels]elevation_dimension,elevation_arm,elevation_string); - its base stands at the structure's station,
--elevation-offsetmm on paper (default 10 mm) above or below the line (the route's centreline in the plan); - its height makes
--elevation-rotationdegrees with the line (default 90°: standing perpendicular to the line), pointing away from it: above the line the top points up the sheet, below the line the elevation is turned half a turn, its top pointing down the sheet; 0° lays it along the line; - a thin dashed leader joins where the structure stands in the plan to the elevation's base;
- elevations and leaders are on their own layer
OHL_ELEVATIONS(SVGclass="OHL_ELEVATIONS", each elevation titledID elevation), in every format (SVG, DXF sheets, PDF, PNG); they are not clipped to the plan panel. Not in the model-space files.
The plan panel grows to hold the elevations and their labels (above or below the axis), so they never reach into the profile and are never hidden by a match line (they are drawn after the match lines). Elevations are never moved: when two of the line's own would overlap, both are drawn as they are and the export reports a warning naming them (a continuous drawing as well as sheets, and the sheet preview); draw them on the other side or at another scale.
Reading of the request, to be confirmed: "rotated 90°" is read as the elevation standing perpendicular to the line on the sheet (its height across the line), seen along the line (the crossarms across); the rotation is the angle between the line and the elevation's height.
Drawings and orthophotos under the plan#
The project's DXF drawings and orthophotos (Line › Terrain › Backgrounds) can
lie under the sheets' plan, straightened along the line like the
wires and the structures: the drawings' lines on the layer
OHL_BACKGROUND_DRAWINGS, the orthophoto resampled into each sheet's
plan panel under a white veil on OHL_BACKGROUND_PHOTO (SVG, PDF, PNG;
DXF R12 has no images and leaves it out, with a warning). The sheet
template switches them on ([plan_background], e.g. a plugin's preset);
the export window's ticks and --plan-drawings, --plan-orthophoto
switch them on or off over it. Display only: nothing computed and no
sheet break depends on them. Every key, the resolution and what happens
at bends: Sheet templates.
Isoclearance lines#
--isoclearance-interval 5 draws on the plan the ground's isoclearance
lines: where its clearance to the nearest wire's surface — over the
weather cases drawn, a windy one blown left and right
(--isoclearance-swing-arc: and anywhere along each span's swing between
them) — is 0, 5, 10 … m, up to --isoclearance-max (40 m), on a
--isoclearance-spacing grid (1 m), over the line width. Each line is
coloured by its clearance (red at 0 to green at the top line) and titled
isoclearance 10 m, on its own layer OHL_ISOCLEARANCE (SVG
class="OHL_ISOCLEARANCE"), in the sheets and the plan's model space. It
needs the ground (--terrain, --lidar or --pointcloud). In the
desktop application the export draws the lines of the last
Checks › Vegetation run that computed them. See Vegetation and danger
trees.
Sheets#
With --page (or a sheet template giving a page),
each route (or its station range) is split at structures: as many
whole spans as fit at the horizontal scale, the structure that ends a
sheet starting the next one (match lines). A station range starts the
first sheet and ends the last one at its stations. The sheet template
draws the frame, title block and the rest around the panels (the
built-in one: logos, line, weather cases, route, sheet n/N, station range
and structures, scales, format). A span longer than the sheet is drawn
anyway and reported as a warning: change the scales or the format.
- The profile panel takes the whole height left above the station
labels (and the band rows). Its height range fits the ground, the
clearance line and the wires' lowest points; when the structures' tops
do not fit too they are cut at the panel's top (a break mark, warned);
when not even the ground and the wires' lowest points fit, the datum
is stepped at a structure (a double line across the panel, its own
height labels, warned:
datum stepped at T4 (+5 m)). Under a span over a deep valley that still does not fit, the wires are kept and the ground is cut at the bottom (a break mark, its lowest height written, warned). The vertical scale is never changed (how the height range is chosen). In mountains, a larger vertical scale (1:500 rather than 1:200) and different sizes allowed give the valleys a larger sheet with few datum steps. - The height labels and grid stay inside the panel.
- The panels end at the match lines: what lies beyond belongs to the
next sheet (the template may show it faded,
beyond_match = "faded"). A short station range gives short panels. - A structure at a sheet's end is drawn whole on both sheets (its drawing reaches past the match line), its name inside the panel.
Paper size and orientation#
--page optimised (the export window's optimised from the ticked
sizes; a template's format = "optimised") chooses the paper size and
orientation per route. Every allowed size in each allowed orientation is
laid out exactly as the export would (the scales are never changed), and
the layout kept is the one with
- the fewest warnings (a span longer than the sheet, a datum step or structure tops cut, elevations overlapping, a sheet that runs on),
- then the least empty paper: the panels' width past the route drawn (a sheet ending early, at the last structure that fits) and the profile panel's height above the profile, summed over the sheets (since 2026-10-28; the furniture the template places — title block, legend, key map — is not counted),
- then the least paper (the sum of the sheets' areas),
- then the fewest sheets, then the smallest sheet.
With both orientations allowed (no --orientation, the window's
landscape or portrait), one more layout turns each sheet as suits
it: landscape where the profile is low, portrait (a taller profile
panel) where a valley or a slope needs the height, so the datum does not
step; the breaks and the pages are chosen together, in the same order
(warnings, then empty paper). With different sizes allowed
(--mixed-sizes), a route's sheets may also take different sizes of one
standard (ISO A with its long sizes, ISO B, ANSI, ARCH) — a short last
sheet on a smaller size, a larger one over a deep valley. With the
same paper on every route (--same-paper), one size (or one standard,
mixed, or one size or standard with the sheets turned) is chosen for all
routes together. The export reports the choice per route
(optimised layout A2 landscape (A2 ×4; 0 warning(s), 1.00 m² of paper, 86 % filled)); in the export window Compare sizes lists every
candidate for the first route, best first, with its empty paper.
The sizes offered — and those the optimiser may choose from — are ticked
in the window's Paper sizes list (ISO A0–A4 by default; the long A
sizes A3x3 … A0x3, ISO B1–B4, ANSI A–E, ARCH A–E1). The ISO A and B
sizes are those of ISO 216, the long A sizes as listed for ISO 5457 /
IS 10711, the ANSI and ARCH sizes from their inch sizes.
Where a sheet may end. A match line never falls at, or cuts through, a structure drawn on the sheet:
- by default a sheet ends at a structure standing on the line: one of the run along the alignment (on one of its points, such as an angle structure, or standing on the alignment between them);
- a structure beside the line never ends a sheet, however near it stands — a connection or termination of the route away from the alignment (more than 5 m beside it and not on one of its points, see Desktop app), within the line width or not: a match line there would cut through the span of the line passing it;
- the only other place a sheet may end is an alignment point without a structure (an alignment point without a structure); the alignment's first and last points are no breaks of their own (the sheets start at the first structure and end at the last);
- breaks never fall in the middle of a span;
- the place where a sheet ends must be at least the break clearance on
paper — 2 mm by default (4 m at 1:2000, 1 m at 1:500), set with
--break-clearance(0 to 20 mm) or Sheet breaks in the export window — from what is drawn of every other structure — its station, its attachment points and its stick drawing, along the route; a structure beside the line counts when it is drawn (within the line width); - when the place where the sheet would end is not free, the break moves back to the last free one that still fits on the sheet;
- when no free place fits, the sheet runs on to the next free one. It is
drawn anyway (longer than the paper, like a span that is too long) and
the warning names the places it could not end at and why:
no free sheet break within the 526 m the sheet holds at 1:2000 (T2 is within 4.0 m of C1 (0+312.0); C1 stands beside the line, 20.0 m right of the alignment (not on it)): the sheet runs on to T3 (640 m), drawn anyway.
The title block names where each sheet starts and ends: a structure, an
alignment point (its id, e.g. P9), or the station where a station range
starts or ends. The ends of a station range are kept as given. Lines
without structures beside the line, free alignment points or structures
close to one another are split as before.
The export settings — formats, scales, sheet format, line width, break clearance, the options and the sheet preview on or off — are kept in the project in the app (per project line, see In the desktop app); on the command line they are the options given.
Files#
For route R (R-profile… with --profile-only):
| Format | One continuous drawing | Sheets |
|---|---|---|
| SVG, PNG, DXF | R.svg, R.png, R.dxf |
R-sheet-01.svg … |
R.pdf (one page) |
R.pdf, a page per sheet |
|
| DXF model space | R-plan-model.dxf, R-profile-model.dxf |
the same |
| CSV, XML | R-profile.csv, R-profile.xml |
the same |
- SVG: true size in mm; wires and ground carry their names as tooltips.
- PDF: vector, true size, one page per sheet; texts in the standard
Helvetica fonts (no fonts embedded; characters outside Windows-1252 show
as
?); logos embedded as images, cropped to what they cover; only what can be seen is written (lines cut to the page or their panel). - PNG: the SVG rendered at
--dpi, with the computer's fonts. Images are limited to 40 million pixels: larger ones are drawn at a lower resolution (reported). - DXF (release 12,
AC1009, ASCII): a format most CAD programs read; not tried in a given program yet (no DWG file is written). Entities are LINE, POLYLINE, TEXT and CIRCLE on layersOHL_GROUND,OHL_WIRES,OHL_STRUCTURES,OHL_MEMBERS,OHL_ELEVATIONS,OHL_ISOCLEARANCE,OHL_CLEARANCE,OHL_GRID,OHL_TITLE… Colours are the nearest of DXF's indexed colours; dashes are line typesOHL_DASH1… R12 has no line weights, true colours or images, so pens become colours only; SVG logos are written as their outlines (OHL_TITLE_IMAGE), PNG and JPEG logos are left out with a warning. Texts other than ASCII use R12's own codes (%%d°,%%p±,%%c⌀,%%nnna Windows-1252 character). The template's parts have their layers (Sheet templates). Three kinds of file:- the sheets in mm, as printed (what lies outside the panels is cut away);
R-plan-model.dxf: the plan in project coordinates, metres — centreline, structures (a square and the name; the members at levels 2 and 3), wires and markers;R-profile-model.dxf: the profile in model space, x = station, y = height × exaggeration, metres, with its grid and labels. Line type scale and text heights follow the horizontal scale.
Profile CSV#
kind,label,station_m,offset_m,z_m, a row per point, within the station
range (lines cut at its ends):
| kind | label | (no heading) |
|---|---|---|
ground |
centreline |
ground along the centreline |
ground_side |
the offset, e.g. -10.0 |
side ground profiles |
clearance |
+7 |
ground plus the required clearance |
structure |
its name | its position, z = its base |
attachment |
the structure's name | its attachment points |
wire |
section and span (and weather case) | wire points |
OHL profile XML#
A simple, open format for the same numbers (version 1):
<?xml version="1.0" encoding="UTF-8"?>
<ohlProfile version="1" route="main" name="Main route" length="1260.000"
from="100.000" to="1000.000" units="m">
<scales horizontal="2000" vertical="500"/>
<ground offset="0">
<run><p s="100.000" z="503.120"/><p s="104.381" z="503.240"/>…</run>
</ground>
<ground offset="-10">…</ground>
<clearance height="7"><run>…</run></clearance>
<structure id="T2" s="310.000" o="0.000" base="505.000" top="532.000"
x="…" y="…">
<attachment s="310.000" o="-3.000" z="531.000"/>
</structure>
<wire label="S1 span 0 (C1 L1)" color="#e6194b"><p s="…" o="…" z="…"/>…</wire>
<wire label="S1 span 0 (C1 L1) — max temperature" color="#e6194b" dash="3 1.5">…</wire>
<marker label="…" s="…" o="…" z="…"/>
</ohlProfile>
sstation along the route's centreline,ooffset from it (right positive),zheight,x/yproject coordinates; all in metres.<ground>and<clearance>hold runs: a run ends where there is no terrain surface.- A
<wire>is one span or jumper of one weather case;dashis set for the cases drawn dashed. A wire leaving the station range is cut at its ends (it may then appear as more than one<wire>).
In the desktop app#
The window step by step, every setting in its order with its default and its effect: Profile sheets.
Plans & sheets › Profile sheets… opens a window: the sheet template
(Built-in, Project, Library or a plugin's; Load file… keeps a
.ohlsheet in the project, Save as file… writes the one chosen),
route (or every route), formats, sheets (one continuous drawing, the
template's format, optimised from the ticked sizes — with the
orientations allowed, different sizes allowed, same paper on every
route and Compare sizes — or a ticked size split at structures;
portrait; the Paper sizes list, see Paper size and
orientation),
horizontal and vertical scale, line width (± m, the plan's half
width: the same setting as the Profile page's line width ±, see
Line width), sheet breaks (the break clearance, mm on
paper), station range, clearance line (typed, or from the ground
rule of the project: Checks › Ground clearances, else the rule file
chosen; which ground rule — by default for each circuit the largest
of its voltage, or one of the project's chosen by name, which the lines
below the lowest conductor take too, kept with the project's drawing
settings; 2026-10-24), side profiles, the plan's own scale across the line,
logos, the structures' elevations (off, above or
below; base offset in mm; rotation), PNG resolution; then the template's
values (required ones marked *, per-sheet values), the
revisions (rows added, deleted, or the last version commit), the
versions of the line (other project lines in their roles, the line's
own role), more of the template (corridor, profile side lines — where
the profile's two side terrain lines run: as the template says, the
corridor's edges, at a distance from the axis (its metres next to it), or
under the lowest arm, then with Circuits: n of m, a tick menu that
stays open listing every circuit of the line, the phase circuits ticked and
the earthed ones — marked so — unticked, with search, All, None, Invert and
Default; unticking the circuit that holds the outermost conductor moves the
line to the next one; the still-air case it needs is solved when it is not
yet, see Where the profile's side lines
run —, LiDAR classes, the project's
drawings and orthophotos under the plan, lines below the lowest
conductor, band rows, elevation scale and labels), Weather cases per
circuit (each circuit's case drawn and stringing case over the
template's [cases], see Weather cases;
a case not solved yet is solved, the sheets wait for it), Preview sheet (one
sheet drawn by the export in a window of its own, with its warnings; its
number chosen before or after ticking, the route and the sheet chosen
in the preview window too, ◀ ▶; drawn in the background, the window
usable meanwhile, and again only once the settings have stayed unchanged
for half a second — typing a value draws once, not at every key), the
violations of the last clearance check as markers, the profile alone,
every other weather case (dashed, each from its own solution; each
solved first, the export waiting for them), and
the output folder. A window taller than the screen scrolls.
Export writes the files in the background with a progress window; the
views stay usable and the window stays open for the next export. It draws
the weather case shown (solid). The sheet format and scales chosen here
are for the export only: the Profile page stays one continuous view along
the route, without sheet breaks.
The settings are kept in the project, per project line: formats, sheet format, scales, line width, break clearance, station range, clearance line, the elevations, PNG resolution, the profile alone, the other cases, side profiles, plan scale, logos (their files), the sheet template chosen with its values, revisions and versions, the ticks of more of the template (the backgrounds under the plan among them), and the sheet preview on or off (not the route chosen nor the output folder, which belongs to the computer). They are written as they change (not while a value is being dragged or typed) and are there when the project is opened again; a project without them (an older one) opens with the defaults (A3 at 1:2000 / 1:200, PDF, ±40 m, 2 mm, the preview off). Each project line has its own: switching lines takes that line's. Like the project's other settings (the surface of the checks) they are not undone with Edit › Undo, a designer changes them, and on a server they follow everyone (another user's change is read at once); a viewer's changes stay for the session.
Sheet preview#
Show the export's sheets over the profile and the plan — a tick in the export window, in View › Sheet preview and in the Profile page's Sheets menu (a menu of ticks: it stays open; off by default) — shows the sheets the export would write now, over the continuous views:
- Profile: a dashed match line across the view at each end of every sheet, the sheets in a strip along the bottom with their numbers (the alignment's id first when the profile shows several), and the export's warnings above the view (a box that scrolls when they are many): a sheet that runs on because no free break fits, a span longer than the sheet, a profile taller than it. A warned sheet is amber, and the part of a sheet beyond what its paper holds darker amber. The lines below the lowest conductor, when asked for, are drawn over the profile as the sheets draw them.
- Plan: each sheet's band along its alignment (the line width each side, as the sheets' plan shows it), its match lines across the band and its number; the structures' elevations and their leaders when they are on, as the sheets draw them; when the export draws the profile alone, the plan says so and shows no sheets.
The preview is laid out by the export's own code with the window's settings (format, scales, line width, break clearance, station range, the profile alone, the other cases): nothing is computed a second way, and it follows the settings as they change. Without a sheet format it says that the export writes one continuous drawing.
Plans: route plan, situation plans, phase plan#
The route plan's window step by step, with its automatic paper: Route plan.
Beside the profile sheets (requested 2026-10-24, roadmap O14; built, in active development (not approved yet)), three plans, each with its own menu item and its own window (2026-11-08): Plans & sheets › Route plan…, Situation plans… and Phase plan…, and Plan set… for a plugin's set of drawings. Each is written for every route or the one chosen in its own Route (2026-11-13), with the weather cases of Plans & sheets › Profile sheets…, on the paper chosen, in PDF, SVG, PNG or DXF, with its own sheet template and its values (2026-11-08: apart from the profile sheets' and from each other's, chosen the same way — the template list, Load file…, Save as file…, and Values of the template for the title block and the revisions —, kept in the project for the line worked on). A plan set's drawing takes its plan's template (the profile sheets the Profile sheets window's), the set's when it names one. The template sets their page as the sheets' (2026-11-07): frame, title block, revision and stringing tables, key map, notes, legend, scale bar and north arrow, pens; Which drawing uses what shows each plan and what it takes from the template.
Every plan window is laid out as the Profile sheets window, and as wide:
a line saying what it makes, then the same rows in the same order —
Template (its own; the plan set: each drawing its plan's) and
Route (each plan window its own since 2026-11-13: every route or
one, each route a plan of its own in its own files; the plan set takes
the Profile sheets window's), Paper (the plan set: Plan
set; the route plan's default Automatic: per route the smallest
paper that holds it on one sheet, see Route plan), Scale, the plan's own rows (Under it: the project's
drawings, orthophotos, the corridor) and Formats — then its own
sections (the plan set's drawings, the phase plan's alignments drawn
together) and, last (since 2026-11-11, in the Profile sheets window
too), Name and Folder (none chosen: the sheets' folder), with
Export at the bottom. Name is what the files are called in
place of the application's names: Submission 2026 gives
Submission_2026.pdf instead of <route>-route-plan.pdf. Written for
several routes or plans at once, each one's own name follows yours
(Submission_2026-<route>.pdf), so no file overwrites another; the
sheets' numbers and the formats' endings stay. A plan set puts the name
before each drawing's kind (<name>-sheets…, <name>-route…) and
names its one PDF after it. Empty: the application's names, as before. Each window keeps its own settings (paper, scale, formats,
folder, template and values), so the route plan and the situation plans
can be on different papers with different title blocks.
-
Route plan — the whole route north up at a small scale (1:5000 to 1:25 000, 1:10 000 by default), over the project's drawings (e.g. municipal boundaries) and orthophotos: the line's axis, its wires, its structures numbered, the corridor (the template's width, else the drawings' line width), a north arrow, a scale bar and a legend, in the template's page. The sheets follow the route, each taking what fits.
-
Situation plans — the same at a large scale (1:500 to 1:2000, 1:1000 by default), the sheets overlapping (a tenth of their width), over the cadastral survey loaded as a drawing (its lines and its texts, the parcel numbers) and the orthophotos (under a white veil).
-
Phase plan (2026-10-25, after a utility's phase plan) — every wire a track along the page at its place across the line, in its wire's colour as the line draws it (its circuit's colour, since 2026-11-03; before: red, green, blue by phase) and its circuit's dashes. Each run of structures whose wires leaving ahead have the same arrangement (compared by level and place, not by height; each wire placed where its strings hang on the structure — the top of its chain of strings, a V's arm, not its clamp, 2026-10-25) is one column, headed by its structure or "first–last", with the structure seen from above: the earth at its foot, an arm per level across the tracks, a dot where each wire hangs. Where the phases change places the tracks cross between the columns; a circuit leaving or joining the line turns away with an arrow and its name; at the line's ends each track ends in an arrow with its phase, its circuit's name and its conductors (phases × subconductors × cable, as its first section gives them). A sheet starts where the one before ended: its tracks enter at the places they left, crossing on the new sheet where the phases change there. Under the tracks the table of the circuits on that sheet: line type, name, conductors, and the owner and number of their electrical systems (Tables › Systems, columns
ownerandnumber) when any is given. Nothing typed twice: taken from the line. A schematic: drawn in the weather case shown, whatever the cases the sheets take; jumpers are not tracks.Alignments in one plan (2026-11-03; built, in active development, not approved yet): by default each route's alignment gets its own phase plan. In Plans & sheets › Phase plan…, Add a plan of several gives a plan its name and the routes and alignments drawn in it, ticked (a route's tick takes all its alignments): they are drawn one after the other in the line's order, a structure ending one and starting the next drawn once, in one plan (files
<name>-phase-plan…). The alignments in no such plan get their own as before. The plans are kept in the project for the line worked on (app.phase_plans).
The route and situation plans draw the wires in the sheets' cases; those not solved yet are solved while the window is open, and an Export asked meanwhile starts once they are.
The drawings come within 1 km of the line in full detail (5 cm), north up; the orthophotos are read at the template's background resolution.
From the command line: ohl drawing … --plans route,situation,phase
(--route-plan-scale, --situation-scale; the paper of --page, else the
template's, else A3) writes <route>-route-plan, -situation-plan, -phase-plan beside
the sheets (the project's drawings and orthophotos read for them).
Plan sets#
Plans & sheets › Plan set… (2026-10-24) writes several drawings in one
go, as a plan set lists them — a plugin's (its manifest's
[[plan-set]], beside its sheet templates; e.g. a code's plan
submission). Each drawing of the set is made with the Drawings window's
settings and the set's own over them: its sheet template (by name, the
plugin's first), paper and scales; the window lists them before Export.
format = "ohl-plan-set"
version = 1
name = "Plan submission"
description = "The sheets, the route plan, the situation plans, the phase plan"
[[drawing]]
kind = "sheets" # sheets, route, situation or phase
template = "a1-sheet" # a sheet template's name (optional)
page = "A1" # optional (the plans: A3)
scale = 2000 # the sheets' horizontal, the plans' own
vertical_scale = 200 # the sheets only
[[drawing]]
kind = "situation"
page = "A1"
scale = 1000 # 1:500 to 1:2000 (route plan: 1:5000 to 1:25 000)
| Key | Values | Default | What it does |
|---|---|---|---|
format, version |
"ohl-plan-set", 1 |
Required | The file's kind |
name |
Text | Required | Its name, and the one PDF's |
description |
Text | Empty | What it is for, shown in the window |
[[drawing]] |
At least one | A drawing to write, in this order | |
kind |
"sheets", "route", "situation", "phase" |
Required | Which drawing |
template |
A sheet template's name | The one chosen for the drawings | Its template, the plugin's own first |
page |
A standard paper size | The one chosen; the plans: A3 | Its paper |
scale |
1:… | The one chosen, or the plan's usual | Sheets: horizontal, 1:10 to 1:100 000. Route plan: 1:5000 to 1:25 000. Situation plans: 1:500 to 1:2000. Phase plan: none |
vertical_scale |
1:… | The one chosen | Sheets only, up to 1:100 000; refused on a plan |
Each drawing is written as before (the sheets as <route>-sheet-NN,
the plans as <route>-situation-plan …), in the formats ticked. A set
with two drawings of one kind (e.g. situation plans at 1:1000 and
1:500) names the second apart with -2 after the route's name, the
third -3 … (<route>-2-sheet-01.svg, <route>-2.pdf,
<route>-situation-plan-2.pdf); the first keeps its usual names, so a
set with each kind once writes the files a single export would.
One PDF of the set (2026-10-25): tick also as one PDF in the
Plan set window (it works with no format ticked too). Every sheet of
the set's drawings — the profile sheets of every route, then
the plans, in the set's order, each drawing for every route — goes into
one PDF named after the set, <set name>.pdf in the output folder,
besides the files written as above. Only sheets go into it: a
plan-and-profile drawing without paper (one continuous drawing) is left
out, and the result says so. The sheets are kept in memory until the
PDF is written (with their orthophotos), only when the tick is on.
From the command line:
ohl drawing line.ohl.json --terrain survey.csv --format pdf \
--set submission.ohlset --set-pdf --out plans/
ohl drawing project.ohl --plugin plugins/utility \
--set utility/plan-submission --out plans/
--set takes a .ohlset file, or PLUGIN/NAME — a set of a plugin of
--plugin. The line is solved once; then each drawing of the set is
written in order with its own template (the set's plugin's first, else
another plugin's of that name, else as --sheet-template reads it),
paper and scales over --sheet-template, --page, --hscale,
--vscale, --route-plan-scale and --situation-scale; the set's
plans write no profile sheets of their own. --set replaces
--plans; --set-pdf writes the one PDF.
Not there yet: links to public map services, the corridor's land use.
What is not there yet#
- No DWG files (DXF only); DXF has no line weights, true colours or raster logos.
- No title block editor in the app (the template file is edited).
- PDF fonts are not embedded (the standard Helvetica of every PDF reader).