Skip to content

feat(ifc): a port is typed by its connector's domain, and an electrical port is SOURCEANDSINK (#828) (RE-197) - #832

Merged
DrunkOnJava merged 9 commits into
mainfrom
feat/828-port-types
Oct 19, 2026
Merged

DrunkOnJava merged 9 commits into
mainfrom
feat/828-port-types

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #828. Each port's PredefinedType is its connector's domain (DUCT, CABLE, PIPE), as Revit's IFC4 export types it, and a connector of a domain Revit's exporter gives no direction, every one but HVAC and piping, is SOURCEANDSINK. RE-197 records the measurement and the negatives: an HVAC or piping connector's direction and a port's SystemType are not in what rvt-rs reads, and Revit's IFC4 Reference View export writes no port property set.

Motivation

rvt-rs wrote every port with FlowDirection .NOTDEFINED. and no PredefinedType. Revit's IFC4 export of the BIM4LCA office writes all 67 of its ports SOURCEANDSINK, 43 CABLE / ELECTRICAL and 24 PIPE / HEATING. A port's PredefinedType also decides which IFC4 port property sets apply to it.

Changes

  • src/native_connectors.rs: symbol_port_indices returns each connector's domain with its index; port_type_of_domain maps HVAC to DUCT, electrical to CABLE, piping to PIPE and an undefined domain to NOTDEFINED (a cable tray or conduit connector has no port, RE-169); port_flow_direction_of_domain gives SOURCEANDSINK for every domain but HVAC and piping, as revit-ifc's ConnectorExporter does.
  • src/ifc/entities.rs, export_content.rs, mod.rs, step_writer.rs: IfcEntity::Port carries predefined_type and flow_direction; a duct's or pipe's two ports are DUCT or PIPE, with no direction; the writer fills FlowDirection and PredefinedType, NOTDEFINED and $ where nothing is read.
  • examples/probe_re197_connector_directions.rs: tallies every field of a family's ConnectorDataCell, and of the FamilyParams object its m_oRelevantParams points to, against the direction of the port in Revit's export.
  • tools/re/ports_vs_ifc.py: compares FlowDirection, PredefinedType and SystemType on the ports both exports hold, only those the schema of Revit's export gives a port (an IFC2X3 port has FlowDirection only).
  • RE-197 report; the ports row of the support matrix, which also drops what B83, B84 and RE-169 made stale (proxies have ports, every port is nested, 73 of 73 and 126 of 126 connections); README; CHANGELOG.

Testing

Measure A/B against main (cdac7e6), run 39261416282, at f5a2216, both sides scored with this PR's ports_vs_ifc:

PredefinedType equal FlowDirection equal
BIM4LCA office, as built (67 ports) 0 → 67 0 → 43
BIM4LCA office, building permit (67 ports) 0 → 67 0 → 43
RE1 Electrical (53 ports, IFC2X3) not in the schema 0 → 53
RE1 Mechanical (150 ports, IFC2X3) not in the schema 0 → 1
RE1 Plumbing (260 ports, IFC2X3) not in the schema 0 → 1
  • No port takes a direction Revit's export does not give it, on any of the five models.
  • Left as before: the office's 24 pipe ends (SOURCEANDSINK in Revit's export, NOTDEFINED here) and RE1's HVAC and piping ports, whose direction is not read; SystemType on all 67 office ports.
  • Ports and connections are unchanged: Mechanical 73 of 73 connections and 150 of 150 ports, Plumbing 126 of 126 with 2 not in Revit's export, every port tied to its element.
  • 29 of the 89 exports change, every one with ports. IfcOpenShell finds nothing on any of the 89.
  • The probe (runs 39253573356, 39255994320, 39256707456): no field of the connector cell or its FamilyParams object separates In from Out ports; every electrical connector's port is SOURCEANDSINK, 98 of 98.

Final A/B on main after #829 (7d8e8fd), run 39267434693, at a2a8897: every port figure above is the same, the same 29 exports change, IfcOpenShell finds nothing on any of the 89, and no port takes a direction Revit's export does not give it. The review fixes after it (0070b76: port values only from IFC4's enumerations, and the unread electrical description override stated) change no export, as every value the exporter writes is in those enumerations, and #833, merged since, changes no port.

cargo fmt is clean. No unit tests, by the repository's rule.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content

Based on byte observations of the RE1 models and the BIM4LCA office against Revit's own IFC exports of them, and revit-ifc's ConnectorExporter, ElementFilteringUtil and IFCCertifiedEntitiesAndPSets.json (CLEANROOM.md source 5, read and cited, no code copied).

Breaking changes

ifc::entities::IfcEntity::Port gains the fields predefined_type and flow_direction, so code constructing it names both; native_connectors::symbol_port_indices returns (index, domain) pairs. An export's ports now carry PredefinedType and, where the domain gives one, FlowDirection SOURCEANDSINK.


Note

Medium Risk
Changes IFC MEP port semantics and a public IfcEntity::Port shape; behavior is bounded to match Revit on measured models but HVAC/piping directions remain intentionally incomplete.

Overview
IFC IfcDistributionPort export now follows Revit's connector-domain rules (RE-197 / #828). Each port gets a PredefinedType from its connector domain (DUCT, CABLE, PIPE, or NOTDEFINED), and FlowDirection SOURCEANDSINK for every domain except HVAC and piping, where direction stays NOTDEFINED because the family connector setting is not read. Duct and pipe end ports are typed DUCT / PIPE accordingly.

IfcEntity::Port carries predefined_type and flow_direction; native_connectors adds port_type_of_domain / port_flow_direction_of_domain and returns connector domains with symbol port indices. The STEP writer emits those attributes on IFCDISTRIBUTIONPORT instead of always .NOTDEFINED. and $.

Measurement and docs: tools/re/ports_vs_ifc.py scores FlowDirection, PredefinedType, and SystemType against Revit's export; a new probe and RE-197 report document the rule and limits (SystemType and HVAC/piping direction still unset). Changelog, README, and the support matrix are updated with BIM4LCA / RE1 Electrical parity numbers.

Reviewed by Cursor Bugbot for commit a2a8897. Configure here.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2a8897589

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/native_connectors.rs Resolved
Comment thread src/ifc/step_writer.rs Resolved
…e's by the curve (#828)

Revit's IFC4 export of the BIM4LCA office types each IfcDistributionPort: .PIPE. on its pipes' 24, .CABLE. on its 43 electrical connectors. rvt-rs wrote no PredefinedType. A family instance's port now takes the type of its connector's domain (RE-169's m_domain: HVAC DUCT, electrical CABLE, piping PIPE), a duct's or pipe's ends DUCT or PIPE. ports_vs_ifc compares FlowDirection, PredefinedType and SystemType on the ports both exports hold.
…RCEANDSINK, and one of another domain NOTDEFINED (#828) (RE-197)

Revit's exporter gives a connector a flow direction only in the HVAC and piping domains; every other connector is bidirectional, SOURCEANDSINK (revit-ifc ConnectorExporter), as are all 98 electrical ports of RE1 and the BIM4LCA office. An HVAC or piping connector's direction is the family's and is not read, so its port, and a duct's or pipe's, keeps NOTDEFINED. A connector of a domain other than HVAC, electrical or piping is typed NOTDEFINED, as Revit's exporter types it.
…ence's schema has (#828)

An IFC2X3 port, as in Revit's exports of the RE1 models, has FlowDirection only, so PredefinedType and SystemType are compared only against an IFC4 reference.
…rter does and what is measured (#828)

A cable tray or conduit connector, which revit-ifc types CABLECARRIER, has no port (RE-169), so NOTDEFINED is claimed only for an undefined domain; SOURCEANDSINK is measured on electrical connectors and rests on revit-ifc's rule for the others.
… exports, in the report, support matrix, README and CHANGELOG (#828)

The ports row also drops what B83, B84 and RE-169 made stale: proxies have their ports, every port is nested in its element, and all 73 and 126 of RE1 Mechanical's and Plumbing's connections are written (Measure run 39261416282).
…ation values, and the unread electrical override is stated (#828)

The writer takes a port's FlowDirection only from IfcFlowDirectionEnum and its PredefinedType only from IfcDistributionPortTypeEnum (USERDEFINED aside, which needs an ObjectType), so a caller's value cannot corrupt the record or the schema; NOTDEFINED and $ otherwise. Every value the exporter produces is in them. An electrical connector whose description sets Flow=Source or Flow=Sink is exported with that direction by Revit; the description is not read (#834), as the code, CHANGELOG, RE-197 and support matrix now say.
@DrunkOnJava
DrunkOnJava merged commit 23a9d76 into main Oct 19, 2026
26 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/828-port-types branch October 19, 2026 14:54
@DrunkOnJava DrunkOnJava mentioned this pull request Oct 19, 2026
6 tasks done
DrunkOnJava added a commit that referenced this pull request Oct 19, 2026
## Summary

Prepare v0.6.0. Merging this is not the release: the release is the signed `v0.6.0` tag on the merged commit, after the maintainer's go-ahead. This stays a draft until then.

## Motivation

Since 0.5.1, `main` has:

- **IFC4's own property sets (#822):** the IFC2X3 sets 0.5 took from Revit's exports of the RE1 models are gone or moved to where IFC4 and Revit's own IFC4 export put them (#825, #829, #833), and Measure checks every export's standard property sets against buildingSMART's published IFC4 property set definitions (#826). That is rvt-rs's own check: buildingSMART's Validation Service has not been run on the exports, and quantity sets are not checked.
- **More of what Revit's exporter writes:** parameters named for an IFC4 property set's property (RE-194, #815, #817/#821), each element's `IsExternal` (RE-193, #814), a type's Fire Rating (#830), a door's overall size (#788), Revit 2024 Areas as spaces (#811), port types and electrical flow directions (#832), rooms with no number (#818), pieces' property sets (#819), a room's floor finish in IFC4's set (#820).
- **Older and newer releases, experimentally:** Revit 2015 to 2022 (#742) and 2027 (#740) element records.
- **Fixes:** Export to IFC As on fixtures, stairs, doors, curtain walls and wall sweeps (#796, #804, #812, #813), the latest copy of an element's or type's data (#803, #809), declared ElementIds (#797), diagnostics naming the file, not its folders (#785), the browser viewer's wasm32 string-length panic (#835), and `rvt-inspect`, `rvt-corpus doctor` and the viewer's File Status taking Revit 2015 and 2027 as releases rvt-rs reads (#838).
- **CI and release:** IfcOpenShell 0.9.0.post1 (#795), Rust installed with rustup (#793), a tag publishes nothing until the maintainer approves it (#786, #787), and Measure's office, R2025, paired-probe and per-sample hashing (#790, #799, #805, #806).

## Changes

- **Versions 0.5.1 → 0.6.0** in the nine files that carry them: `rvt`, `rvt-py` and its pin, `rvt-wasm`, the `stream_evidence` pin, `CITATION.cff` (with `date-released`), `.release-please-manifest.json`, `viewer/package.json` and both lockfiles' workspace entries.
- **CHANGELOG:** `[0.6.0] — 2026-10-19`, with an introduction, **Upgrading from 0.5** (the property sets that moved, the public API changes, the releases that now export elements) and the outside contributors credited: puzzbobb (#740, #742, #798), Erry91 (#788) and MadsHolten (#835). The section's headings were already single; its 41 entries are all kept, with #835's and #838's added. Its introduction says the property sets match buildingSMART's published IFC4 definitions by rvt-rs's own check, as does the README's release summary.
- **README:** "Release 0.6.0 and main" names v0.6.0 and summarises what it added. The lines that said `main` reads Revit 2015 to 2022 and 2027 now say experimental (since 0.6.0). The opening and "Not yet" lines name those releases, and so does the capability table. The bullet list of what 0.5.0 added is gone; #832 had put 0.6.0's port types in it. As Codex found, the IFC4 export row, the viewer paragraph and the decoder-work paragraph also said 2022 and earlier export only the scaffold, and the by-input table skipped 2014; they name 2015 to 2022, 2026 and 2027 now.
- **Witnesses:** the IFC header carries the version, so both Core Interior `rvt-rs.json` observations and their verdicts are refreshed from this pull request's CI run.

## Testing

- CI on this pull request, the witness replays included.
- Measure on `main` at 23a9d76, which is everything in this release but #835's wasm32-only fix and #838's CLI and viewer version range, neither of which changes an export: run [39273188597](https://github.com/DrunkOnJava/rvt-rs/actions/runs/39273188597). All 89 exports (the reference models, both BIM4LCA office files, Autodesk's 58 sample projects and the 23 R2025 models) have no finding in Measure's IFC4 property set check (#826, against buildingSMART's published definitions), and IfcOpenShell's schema validation finds nothing on any of the 89; none was too large to validate.
- Witnesses: both Core Interior observations and verdicts are taken from this pull request's CI run 39275014518; only `witness_version` and the verdict hashes differ, and CI's replay on b82c0c3 passes.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
- [x] Commit messages describe what changed and why
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in committed files

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0
- [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content

## Breaking changes

See **Upgrading from 0.5** in the CHANGELOG: standard property sets moved to IFC4's, and five public API changes.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Version and documentation-only release prep with no runtime code changes in this PR.
> 
> **Overview**
> **Bumps the workspace from 0.5.1 to 0.6.0** across `Cargo.toml`, `rvt-py` / `rvt-wasm` / `stream_evidence` pins, lockfiles, `viewer/package.json`, `.release-please-manifest.json`, and `CITATION.cff` (release date 2026-10-19).
> 
> **Documents the release:** adds the `[0.6.0]` section to `CHANGELOG.md` (IFC4 property sets, broader Revit export parity, experimental 2015–2022/2027 element export, wasm viewer fix, and **Upgrading from 0.5** breaking notes). **README** now treats v0.6.0 as the current release—updates the support matrix and “Release 0.6.0 and main” to describe shipped capabilities instead of the old 0.5.1 bullet list.
> 
> No application or library source changes in this diff; it packages and narrates work already on `main`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c8826b82982270fd4f47b8da656f2e3e6021c76b. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
DrunkOnJava added a commit that referenced this pull request Oct 19, 2026
… alone, and stops repeating work (#843)

## Summary

Measure's Measure step runs its models, families and samples concurrently, one per CPU, longest first, and stops repeating work. On each runner CPU with a serial run to compare, a full run's Measure step takes 2.2 to 2.8 times less time: on the AMD EPYC 7763, 15.5 minutes, even with a probe on every file and the families added, against 33.4 to 36.3 for six serial runs without them; on the EPYC 9V45, 8.2 against 22.8. Every score, hash and report is the same file for file. Exports still run alone, before the items, so the export times the summary compares are as reliable as before. Probes still run alone, after the items, so their 20-minute limit means what it did. Each step's wall time and the runner's CPU and memory are recorded, so a run says where its time went.

## Motivation

A full Measure run (the reference models, the BIM4LCA office, Autodesk's samples and the R2025 models) took 36 to 38 minutes, 95% of it the Measure step, which ran its 89 exports and their 27 scorers one after another. The runner has 4 vCPUs, and `vmstat` during a serial run shows them 70.2% idle. Of the scorers, `door_bodies_vs_ifc` alone took 211 s on each office model, and 192.7 s of that was IfcOpenShell building every polygon of Revit's door bodies as a B-rep face to mesh it, for a box. The office's 222 face-set doors hold 934,846 faces.

## Changes

- `tools/ci/measure-reference-models.sh`:
  - every rvt-rs export runs first, alone, one at a time, with its time in `rvt-ifc.log` as before;
  - then each model, family and sample is an item, run in its own result folder, `MEASURE_JOBS` at once (`nproc` by default): the models scored against Revit's export first, then the rest, each by file size;
  - then every probe, its pair run and its probe scorer, alone, one at a time;
  - each step's wall time goes to the item's `timings.log`, which the compare job's diff leaves out.
- `tools/ci/ifc4_property_sets.py`: the IFC4 definitions are fetched once before the items start, written whole and then renamed, so no item reads a partial file.
- `tools/ci/ifc_validate_summary.py` writes the validator's findings to `validation.jsonl`, and `tools/re/ports_vs_ifc.py --validation` reads them instead of validating the export again. It prints the same lines.
- `tools/ci/ifc_schema_arity.py`: its checks share one parse of the file instead of three.
- `tools/re/door_bodies_vs_ifc.py`:
  - a door whose one representation is a Body of mapped `IfcPolygonalFaceSet`s, and which no opening voids, has its box read from the points its faces index, through `ifcopenshell.util.placement`'s mapping and placement matrices;
  - every other door, and every host wall, is meshed with IfcOpenShell's iterator;
  - each host wall is meshed once, before its openings are cut, since only its extent is read.
- `.github/workflows/measure.yml`: `vmstat` samples the runner every 10 s into `vmstat.log`.

## Testing

Every run is the Measure workflow itself, dispatched from this branch with `-f nordic=true -f samples=true -f r2025=true`, on `main` at 2b5ba2f (before #832) or 23a9d76.

| Run | Script | Measured | Runner CPU | Measure step | Mean CPU idle |
|---|---|---|---|---:|---:|
| 39271973525 | serial (before) | 2b5ba2f | EPYC 7763 | 34.6 min | |
| 39272361465 | serial (before) | 2b5ba2f | EPYC 7763 | 36.2 min | 70.2% |
| 39281929849 | concurrent, exports beside the items | 2b5ba2f | EPYC 7763 | 15.4 min | 0.8% |
| 39295886058 | + exports alone first | 2b5ba2f | EPYC 7763 | 17.7 min | 15.8% |
| 39297484598 | final: + door face-set boxes, probes alone last | 2b5ba2f | EPYC 9V45 | 8.2 min | 18.4% |
| 39297489200 | final | 23a9d76 | EPYC 9V74 | 10.3 min | 18.8% |
| 39302262069 | final | 2b5ba2f | Xeon 6973P-C | 10.0 min | 24.4% |
| 39302265725 | final | 2b5ba2f | EPYC 9V74 | 13.0 min | 18.8% |
| 39297493132 | final, + families and a probe on every file | 23a9d76 | EPYC 7763 | 15.5 min | 17.9% |
| 39297497513 | serial (`main`), + families and the same probe | 23a9d76 | EPYC 9V74 | 33.3 min | |

The serial runs of the same day on other branches, a few commits from 2b5ba2f, took 33.4, 35.2, 35.6 and 36.3 minutes on the EPYC 7763 (39254274438, 39261416282, 39263341670, 39259646397) and 22.8 on the EPYC 9V45 (39253035097).

The runner's CPU is GitHub's choice and moves a run's time by up to about 1.7x, and two runs on the same CPU type here differ by 26% (10.3 and 13.0 on the EPYC 9V74). The comparisons below pair runs on the same CPU, or the same commit.

- **Results.** All six runs of the final script give the same results. The runs on 23a9d76 are identical to `main`'s serial run of the same commit (39273188597) in all 1,439 files: scores, IFC hashes, schema reports, `rvt-info` output and witness observations. The runs on 2b5ba2f are identical to the serial runs in 1,410 files. The other 29 are `ports_vs_ifc.txt`, which carry the attribute comparison #832 added to that scorer since, and are identical once those lines are removed. All 29 `door_bodies_vs_ifc.txt` files are identical, among them the R2025, RE1 and Core Interior ones, whose doors the iterator still meshes. Only timings differ.
- **Export times.** Of the 58 exports that take at least half a second, on the EPYC 7763:
  - the second serial run is within 1.01x to 1.09x of the first (median 1.05);
  - with exports beside the items they were 1.49x to 2.43x (median 1.58), which would have made the summary's base-to-head export list unusable;
  - with exports alone first they are 0.98x to 1.01x (median 1.00).

  Running them alone costs about 2.3 minutes of the Measure step (17.7 against 15.4).
- **Probes.** With `-f families=true -f probe=probe_re135_undeclared_records` (the probe on `main` with the most per-id scanning) on 23a9d76, this branch (39297493132) and `main`'s serial script (39297497513) give identical results in all 1,576 files, the 101 probe outputs among them, each ending `exit 0`. That probe peaks at 1.9 s on a file, so this checks the order, not a slow probe. A probe now runs as it did under the serial script, with nothing beside it, so its 20-minute limit means the same. The Measure step was 15.5 minutes on an EPYC 7763 against 33.3 on the faster EPYC 9V74.
- **Door boxes.** The direct box equals IfcOpenShell's mesh box to 1.1e-13 ft on ten of the office's doors, the three of 12,896 faces among them. On each office model the scorer takes 17 s on an EPYC 7763 with three items beside it (10 to 15 s on the other CPUs), against 211 s alone before.
- **Memory.** In every final run at least 12.8 GB of the runner's 16 GB stayed free or reclaimable throughout, with no swap.
- **Lanes.** Four items on four vCPUs take each step about 1.6 times as long as alone on the EPYC 7763 (the exports' median, 1.58), since the vCPUs are two cores' hyperthreads. With the CPU 1 to 4% idle during the items, more lanes would not help.

`bash -n` and `shellcheck` pass on the script with no notes. Main's two SC2086 notes on `RVT_IFC_FLAGS` are gone too, because the directive now sits on the command. Smoke runs with stub binaries checked the order: the exports one after another, then the items, then the probes, with a model's probe scorer after its probe and a sample's release pair. No unit tests, by the repository's rule.

- [x] Verified end to end through the Measure workflow on the reference models, the BIM4LCA office, Autodesk's sample projects and the R2025 models, fetched for each run and never committed
- [x] Performance change: before and after are the runs above. `tools/bench.sh` times the decoder, which this does not change.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
- [x] Commit messages describe what changed and why
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in committed files
- N/A: not a reverse-engineering finding

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0 (see `CONTRIBUTING.md`)
- [x] This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see `CLEANROOM.md`)
- [x] No new test fixtures

## Breaking changes

None to the crate. Measure's result folders gain `timings.log` (and `vmstat.log` at the top), which the compare job's diff leaves out; a run's log groups appear when each item ends rather than in a fixed order.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Changes are limited to CI measurement scripts and research scorers; export/score outputs are intended to stay identical, with only new timing/vmstat artifacts and log ordering differences.
> 
> **Overview**
> **Measure CI runs much faster** by restructuring `measure-reference-models.sh`: IFC exports still run **serially first** (so `rvt-ifc.log` wall times stay comparable), then models/families/samples run **in parallel** (`MEASURE_JOBS`, default `nproc`, longest/scored-first ordering), and probes run **serially last** (20‑minute timeouts unchanged). Each step records wall time in per-item `timings.log`; the workflow also captures **`vmstat` every 10s** into `results/vmstat.log`.
> 
> **Duplicate IFC work is removed**: `ifc_schema_arity` shares one parsed model across checks; `ifc_validate_summary` can emit `validation.jsonl`, which `ports_vs_ifc --validation` reuses instead of re-validating; IFC4 pset definitions are prefetched once with an **atomic rename** so concurrent readers never see a partial CSV.
> 
> **`door_bodies_vs_ifc`** is optimized for Revit polygonal-face-set doors (box from indexed face points + placement) and batches wall/door meshing via IfcOpenShell’s iterator, with host walls meshed once without opening subtractions.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a01c277. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ports carry no PredefinedType or SystemType: Revit's IFC4 export gives PIPE/CABLE by connector domain (BIM4LCA office, 67 ports)

1 participant