Ridge Pack

v1.3.0
io.github.Nero-Engine/ridge-pack Checked 2 days ago Published 14 hours ago

Live listed building, conservation area, bat and waste carrier checks, weather, take-offs, roofing

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_capabilities What Ridge Pack can do

Lists Ridge Pack's tools, what it covers (nations, roof shapes, coverings, job types) and what it deliberately does not do. Free, needs no input.

roof_takeoff Roof area and materials take-off

Works out a pitched roof's slope area, rafter length, ridge, hips, eaves and verges from the plan size and pitch, then a materials list: tiles or slates, battens, underlay rolls, ridge and hip tiles, hip irons, valleys, nails, eaves trays, ventilation and dry verge units, with waste. Every step of the working is shown. Geometry is exact; quantities resting on product figures are indicative unless you pass the maker's gauge, cover width and headlap. Run complex roofs one section at a time. Typical call: a 10 x 8 m gable roof at 35 degrees in concrete interlocking tiles: {"shape":"gable","plan_l…

ParameterTypeDescription
covering *stringRoof covering. concrete_interlocking: Concrete interlocking tile (large format); clay_interlocking: Clay interlocking tile; clay_pantile: Clay pantile (traditional); plain_tile: Plain tile, clay or co…
pitch_deg *numberRafter pitch in degrees (10 to 75).
plan_length_m *numberWall plate length along the ridge, metres (outside of walls, before overhangs).
plan_width_m *numberSpan from eaves wall to eaves wall, metres (before overhangs). For mono pitch, low wall to high wall.
shape *stringgable (two slopes, ridge along plan_length_m), hipped (four slopes, same pitch all round), mono_pitch (one slope rising across plan_width_m).
cover_width_mmnumberMaker's cover width per unit, mm.
eaves_overhang_mnumberHorizontal eaves overhang, metres. Default 0.3.
extra_hip_lengths_marrayTrue length of any extra hips (for example on an L-shaped roof), metres.
gauge_mmnumberBatten gauge, mm, if already set (otherwise worked out from length and headlap).
headlap_mmnumberHeadlap, mm.
membrane_roll_m2numberUnderlay roll size, m2. Default 50.
rafter_centres_mmnumberRafter or truss centres for batten nails. Default 400.
ridge_tile_cover_mmnumberEffective cover of one ridge or hip tile, mm. Default 400.
tile_length_mmnumberMaker's tile or slate length, mm (overrides the typical figure).
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.
valley_lengths_marrayTrue length of each valley, metres, as measured.
verge_overhang_mnumberVerge overhang at gable ends, metres. Default 0.05.
waste_percentnumberWaste on the covering. Default 5 (gable, mono) or 10 (hips or valleys).

check_pitch_headlap Pitch, headlap and gauge sanity check

Checks a roof covering type against the pitch, the headlap and the batten gauge: is the pitch below the typical minimum for that kind of tile or slate, is the headlap enough for the exposure, does the gauge leave the headlap you want. Returns overall (ok_subject_to_maker_data, check_with_maker or fail), each check with its working, and what to confirm. Indicative: always confirm against the maker's data for the exact product. Pass maker_min_pitch_deg and maker_min_headlap_mm from the data sheet to check against those instead. Typical call: {"covering":"natural_slate","pitch_deg":25,"headlap_mm…

ParameterTypeDescription
covering *stringRoof covering. concrete_interlocking: Concrete interlocking tile (large format); clay_interlocking: Clay interlocking tile; clay_pantile: Clay pantile (traditional); plain_tile: Plain tile, clay or co…
pitch_deg *numberRafter pitch in degrees.
exposurestringExposure to wind-driven rain. Default moderate.
gauge_mmnumberBatten gauge planned, mm.
headlap_mmnumberHeadlap planned, mm.
maker_min_headlap_mmnumberMinimum headlap from the maker's data sheet, if known.
maker_min_pitch_degnumberMinimum pitch from the maker's data sheet, if known.
tile_length_mmnumberUnit length, mm (to check the gauge).
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.

weather_window Weather window for roof work

Gets the hourly forecast for a UK postcode (today and up to 8 days ahead, from MET Norway) and checks each working hour against wind, gusts, rain, frost and the material's limits for the job type (tiling, membranes and sheets, torch-on, liquid coatings, EPDM adhesive, mortar bedding, lead work, inspection). Returns each day as good, caution or no_go with good hours, the best window, max gust in mph and the reasons, plus the limits used. Limits are Ridge Pack's cautious defaults (HSE sets no single wind speed) and can be overridden. Typical call: {"postcode":"BS1 4DJ","job_type":"membrane_or_sh…

ParameterTypeDescription
postcode *stringFull UK postcode of the job.
end_datestringLast day, YYYY-MM-DD, at most 8 days after today. Default start + 6 days.
end_hournumberEnd of the working day, 1 to 23. Default 17.
job_typestringWhat is being done. Default tiling_slating.
limitsobjectOptional overrides.
start_datestringFirst day, YYYY-MM-DD. Default today.
start_hournumberStart of the working day, 0 to 22 (UK time). Default 8.
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.

check_building_regs Building regulations, Part L and planning flags

England and Wales. Says whether a roofing job is notifiable to building control (re-covering 25% or more of a roof, a change of covering, structural work, rooflights, dormers, solar, new roofs), whether Part L wants the whole roof insulated (England: more than 50% of the roof or more than 25% of the whole envelope renovated, target 0.16 W/m2K from Approved Document L; Wales: over 25%), who signs it off (competent person scheme such as CompetentRoofer, or building control), and flags for listed buildings, conservation areas, Article 4, flats, bats and asbestos. Each answer cites the official so…

ParameterTypeDescription
work_type *string
article_4_directionboolean
building_usestringDefault dwelling.
built_before_2000booleanFor the asbestos flag.
changes_external_appearancebooleanWill the roof look noticeably different?
competent_person_scheme_memberbooleanIs the roofer registered with a roofing competent person scheme (for example CompetentRoofer)?
conservation_areaboolean
fire_performance_changesboolean
flat_or_maisonetteboolean
insulationstringWhere the roof insulation is or will be.
listed_buildingboolean
nationstringDefault england.
new_covering_weight_change_percentnumberHow much heavier (+) or lighter (-) the new covering is, percent.
percent_of_roofnumberShare of this roof's area being stripped, re-covered or repaired, 0 to 100. Needed for re-covering and repairs.
percent_of_whole_envelopenumberOptional: share of the whole building envelope (walls, roof, floor) being renovated, for the major renovation test.
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.

work_at_height_plan Working at height checklist and job risk note

Builds the working at height and scaffold checklist for a roofing job (hierarchy of controls, scaffold to TG20 with guardrails, 7-day inspections, ladders only for short work, roof ladders, flat roof edges, fragile surfaces, power lines, highway licences, hot works, asbestos, rescue), the CDM 2015 duties (construction phase plan, domestic client, F10 notification test), a scored risk register (likelihood x severity) and a short risk note ready to print. From the Work at Height Regulations 2005, CDM 2015 and free HSE guidance. Typical call: {"job_type":"re_roof","eaves_height_m":5.5,"pitch_deg"…

ParameterTypeDescription
eaves_height_m *numberHeight to the eaves from the ground, metres.
job_type *string
accessstringPlanned access. Default none_yet.
asbestos_suspectedboolean
client_typestringDefault domestic.
contractor_namestringShown on the risk note.
duration_daysnumberWorking days on site. Default 1.
fragile_surfacesbooleanRooflights, old cement sheets or other fragile materials on or near the work.
hot_worksbooleanTorch-on felt or other hot works.
next_to_public_highwayboolean
occupied_buildingboolean
overhead_power_linesboolean
pitch_degnumberRoof pitch, degrees (0 for flat).
site_addressstringShown on the risk note.
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.
workersnumberMost people on site at once. Default 2.

storm_triage Storm damage and leak triage

Triage for storm damage and roof leaks. Gives an urgency of routine, soon or emergency (the same three speeds as Nero Work) with the reasons, safe first steps for the homeowner (no climbing, electrics, bulging ceilings, gas, falling debris, insurer), the temporary cover the roofer should use for each problem (tarpaulin battened over the ridge, tile clips, tingles, flashing tape, cold patch), what to photograph, and a Nero Work job title. Typical call: {"symptoms":["water_coming_through_ceiling","tiles_or_slates_missing"],"missing_count":12,"more_bad_weather_within_24h":true}.

ParameterTypeDescription
symptoms *arrayWhat the homeowner sees.
missing_countnumberRoughly how many tiles or slates are missing.
more_bad_weather_within_24hboolean
public_path_or_road_belowboolean
raining_nowboolean
smell_gasboolean
tradeobjectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.
vulnerable_people_in_homebooleanElderly, disabled, very young or unwell people living there.

property_check Live planning constraints for a roof postcode

Looks up, live from official open data, what applies at the customer's postcode before a re-roof, a change of roof material, rooflights, dormers or chimney work: listed buildings, conservation areas, Article 4 directions, World Heritage Sites, National Landscapes and scheduled monuments (planning.data.gov.uk, England, councils that publish). Returns each constraint found with its source link, what it means for roof work (listed building consent, matching materials, dormers not permitted development), the council and nation, and the matching check_building_regs flags. A constraint not found is…

ParameterTypeDescription
postcode *stringThe roof's full UK postcode.

bat_check Live bat records near a roof

Searches the NBN Atlas (the UK's biodiversity records) live for bat records since 2000 within a radius of the customer's postcode, with the species and counts, and says what it means for roof work: where bats roost in roofs, the law on disturbing a roost, the signs to look for before stripping, the Bat Conservation Trust helpline, and felt instead of breathable membrane where bats roost. Example: {"postcode":"BA1 2LR","radius_km":2}.

ParameterTypeDescription
postcode *stringThe roof's full UK postcode.
radius_kmnumberSearch radius, 0.5 to 10 km. Default 2.

waste_carrier_check Live check of the Environment Agency waste carrier register

Searches the Environment Agency public register of waste carriers, brokers and dealers (England) live, by registration number (for example CBDU123456) or business name with an optional postcode. Returns each match with its tier (upper tier may carry other people's waste, lower tier only its own), registration and expiry dates, status, address and a link to the register entry, plus links to the Wales, Scotland and Northern Ireland registers, and the rules for roof strip-out waste and asbestos. Example: {"name":"Acme Roofing","postcode":"BS1 4DJ"}.

ParameterTypeDescription
namestringBusiness name, at least 3 letters.
postcodestringNarrows a name search to that postcode or area.
registration_numberstringFor example CBDU123456 or CBDL123456.

trade_profile Check the roofer's business details

Checks the roofer's own business details (Nero Trade Profile v1: trading name, Companies House number, competent person scheme and number, postcode, contact) and returns them cleaned, with a stable `nero_trade_ref` computed from the scheme registration or company number. The same object, given as `trade` to the other tools, prefills their answers. Ridge Pack stores nothing. The same profile and reference can later be used to sign the business into Nero Work, the agent job exchange for trades.

ParameterTypeDescription
trade *objectOptional. The roofer's own business details (Nero Trade Profile v1). Used to put the contractor on risk notes and to give a stable nero_trade_ref. Not stored by Ridge Pack.