Moult
May 25, 2021, 12:31am
1
There are references to non-existent entities, such as step ID 161.
Hm, the same sample from Github looks fixed to me. It is 4.0 sample file though, before WallElementedCase deprecation. 4.0.2.1 folder is nowhere to be found on GitHub. Wondering if resource files such as examples should be synchronized between site & github
1 Like
Moult
May 25, 2021, 10:23pm
3
Thanks for checking @claimred ! Yes, agreed it would be good to sync them such that no broken example files are published on the IFC docs.
The 4.3 documentation server just pulls the repo and constructs pages from that on the fly
RUN curl --location --silent --show-error --retry 5 'https://archive.apache.org/dist/lucene/solr/8.6.3/solr-8.6.3.tgz' -o - | tar zxf -
RUN ls /
RUN chmod +x /solr-8.6.3/bin/*
RUN curl --silent --show-error --retry 5 -o /tmp/ifcopenshell_python.zip https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-`python3 -c 'import sys;print("".join(map(str, sys.version_info[0:2])))'`-v0.6.0-c15fdc7-linux64.zip
RUN mkdir -p `python3 -c 'import site; print(site.getusersitepackages())'`
RUN unzip -d `python3 -c 'import site; print(site.getusersitepackages())'` /tmp/ifcopenshell_python.zip
ADD https://api.github.com/repos/opensourceBIM/python-mvdxml/git/refs/heads/master /tmp/mvdxml_parser_version.json
RUN git clone https://github.com/opensourceBIM/python-mvdxml/ `python3 -c 'import site; print(site.getusersitepackages())'`/ifcopenshell/mvd
RUN git clone https://github.com/buildingSMART/Sample-Test-Files /examples
ADD https://api.github.com/repos/buildingSMART/IFC4.3.x-development/git/refs/heads/master /tmp/data_version.json
RUN git clone https://github.com/buildingSMART/IFC4.3.x-development /ifc43
ADD wsgi.py main.py parse_xmi.py transform_to_xml.py parse_mvd.py poller.py /ifc43/server/
ADD templates/* /ifc43/server/templates/
WORKDIR /ifc43/server
RUN mkdir svgs
RUN python3 parse_xmi.py
http://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/annex_e/Georeferencing-1.html
2 Likes
Moult
May 28, 2021, 11:05pm
5
Great! So future git-based documentation will stay in sync! Love it!