WillTools 2026-09-09 -- clean snapshot of the development repo for review
ci / test (push) Successful in 6m14s
ci / test (push) Successful in 6m14s
History-free snapshot of the private development repository at 77a82eb. Code, docs and the public catalogue only: no plant or job knowledge layers, no client, job or producer names (tools/scrub.py clean against the widened term list; a second word-level grep clean). The intro deck is left out because its slide images cannot be checked for job drawings.
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
title: Reinf QC
|
||||
# DEV. A fresh IronPython engine for every press: `lib/vibe` is re-imported
|
||||
# on each click, so an edit to a module this button uses (it shares
|
||||
# `lib/vibe/ticketqc_run.py` and `ticketchecks.py` with Ticket QC) is
|
||||
# visible without a Revit restart. See TicketQC.pushbutton/bundle.yaml for
|
||||
# the full explanation; this one carries the same key for the same reason.
|
||||
#
|
||||
# REMOVE IT PER BUTTON as that button stabilises: delete the two lines below.
|
||||
engine:
|
||||
clean: true
|
||||
# No tooltip and no author on purpose. pyRevit renders both on hover;
|
||||
# the owner wants nothing there. Guarded by
|
||||
# WillTools.extension/tests/test_button_tooltips.py -- do not add them back.
|
||||
#
|
||||
# Added 2026-09-05, on the owner's own instruction: a cut-down TicketQC for
|
||||
# a panel whose reinforcing is finished (the model already has everything it
|
||||
# should have) but whose ticketing has not started. Shares its engine with
|
||||
# TicketQC -- both call into `lib/vibe/ticketqc_run.py`, which takes a
|
||||
# `mode` of 'ticket' or 'reinforcing' -- and reads the same evidence one
|
||||
# stage earlier: no ticket sheet is required, and any check whose evidence
|
||||
# is a ticket artefact (a hatch, a callout, a BOM table, a sheet name...)
|
||||
# does not run here. See `lib/vibe/ticketchecks.REINFORCING_CHECKS` for
|
||||
# exactly which of the 41 checks that is, and why, one by one.
|
||||
#
|
||||
# One line: this button is a row in a `.pulldown`, and a pulldown row renders
|
||||
# as text beside a 16px icon. A `\n` in it has nowhere to go. The dropdown
|
||||
# grows to fit the longest row, so the title may say what it means -- kept
|
||||
# short anyway so it reads at a glance beside "Ticket QC".
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
+29
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Check a panel's MODELLED reinforcing against its design spec -- for a
|
||||
# piece whose reinforcing is finished (the model already has everything it
|
||||
# should have) but whose ticketing has not started yet.
|
||||
#
|
||||
# A cut-down Ticket QC: same engine, same evidence-first discipline, but
|
||||
# only the checks whose evidence is the panel's modelled content run here
|
||||
# (connectors/embeds, lifters, strands, bars, WWF, solid zones as modelled,
|
||||
# member interference, weight, cast extras, release ratio, the handling
|
||||
# result, lift positions/points). Anything that needs a ticket artefact --
|
||||
# a sheet, a placed view, a printed call-out, a hatch pattern, a BOM table,
|
||||
# a bed-plan note -- does not run here; it is listed, with its reason, in
|
||||
# the report's own "Not checked at this stage" section rather than left
|
||||
# silent. See `lib/vibe/ticketchecks.REINFORCING_CHECKS` /
|
||||
# `REINFORCING_EXCLUDED` for the check-by-check classification, and
|
||||
# `lib/vibe/ticketqc_run.py` for the shared engine this and Ticket QC both
|
||||
# call.
|
||||
#
|
||||
# Read-only. Nothing here opens a transaction.
|
||||
|
||||
# pylint: disable=import-error,invalid-name,broad-except
|
||||
__title__ = 'Reinf QC'
|
||||
|
||||
from pyrevit import revit
|
||||
|
||||
from vibe import ticketqc_run
|
||||
|
||||
ticketqc_run.run(revit.doc, revit.uidoc, mode='reinforcing')
|
||||
Reference in New Issue
Block a user