Fix various typos

This commit is contained in:
luz paz
2022-08-27 07:53:17 -04:00
committed by Thomas Krijnen
parent 74d730f368
commit 33199b4bb6
12 changed files with 366 additions and 204 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ Dependencies
* [Boost](http://www.boost.org/)
* [Open Cascade](https://dev.opencascade.org/) - *optional*, but required for building IfcGeom
([official](https://dev.opencascade.org/release), "OCCT", or [community edition](https://github.com/tpaviot/oce), "OCE")
For converting IFC representation items into BRep solids and tesselated meshes
For converting IFC representation items into BRep solids and tessellated meshes
* [OpenCOLLADA](https://github.com/khronosGroup/OpenCOLLADA/) - *optional*
For IfcConvert to be able to write tessellated Collada (.dae) files
* [SWIG](http://www.swig.org/) and [Python](https://www.python.org/) - *optional*
@@ -89,7 +89,7 @@ The following instructions are for Ubuntu, modify as required for other operatin
can be experimented with and studied for pointers for other operating systems, but note that this script is not currently
meant to be used for a typical IfcOpenShell workspace setup.
Note 1: It is recommeded to use OCCT for IfcOpenShell. You could use OCE as well, but sometimes it may lag behind OCCT and
Note 1: It is recommended to use OCCT for IfcOpenShell. You could use OCE as well, but sometimes it may lag behind OCCT and
therefore not compile with the latest IfcOpenShell.
Note 2: where `make -j` is written, add a number roughly equal to the amount of CPU cores + 1.
@@ -980,7 +980,7 @@
"POSITIVE": "Direction defined to be positive."
},
"IfcMechanicalFastenerTypeEnum": {
"ANCHORBOLT": "A special bolt which is anchored into conrete, stone, or brickwork.",
"ANCHORBOLT": "A special bolt which is anchored into concrete, stone, or brickwork.",
"BOLT": "A threaded cylindrical rod that engages with a similarly threaded hole in a nut or any other part to form a fastener. The mechanical fastener often also includes one or more washers and one or more nuts.",
"DOWEL": "A cylindrical rod that is driven into holes of the connected pieces.",
"NAIL": "A thin pointed piece of metal that is hammered into materials as a fastener.",
+1 -1
View File
@@ -108,7 +108,7 @@ int main() {
setSurfaceColour(file, building_shape, 0.75, 0.73, 0.68);
// For the ground mesh of the IfcSite we will use a Nurbs surface created in Open Cascade. Only
// in IFC4 the surface can be directly serialized. In IFC2X3 the it will have to be tesselated.
// in IFC4 the surface can be directly serialized. In IFC2X3 the it will have to be tessellated.
TopoDS_Shape shape;
createGroundShape(shape);
+1 -1
View File
@@ -264,7 +264,7 @@ int main() {
// Up until now we have only used simple extrusions for the creation of the geometry. For the
// ground mesh of the IfcSite we will use a Nurbs surface created in Open Cascade. The surface
// will be tesselated using the deflection specified.
// will be tessellated using the deflection specified.
TopoDS_Shape shape;
createGroundShape(shape);
IfcSchema::IfcProductDefinitionShape* ground_representation = IfcGeom::tesselate(STRINGIFY(IfcSchema), shape, 100.)->as<IfcSchema::IfcProductDefinitionShape>();
+2 -2
View File
@@ -19,10 +19,10 @@
/********************************************************************************
* *
* This started as a brief example of how IfcOpenShell can be interfaced from *
* This started as a brief example of how IfcOpenShell can be interfaced from *
* within a C++ context, it has since then evolved into a fullfledged command *
* line application that is able to convert geometry in an IFC files into *
* several tesselated and topological output formats. *
* several tessellated and topological output formats. *
* *
********************************************************************************/
@@ -715,7 +715,7 @@ bool IfcGeom::util::boolean_subtraction_2d_using_builder(const TopoDS_Shape & a_
// have already guaranteed they do not intersect. So they are
// either fully in or out. Selecting with complete_within=true
// will filter out some unnecessary cases. It also means we need
// that due this assymetry we need to process all pairs of wire
// that due this asymmetry we need to process all pairs of wire
// indices and not just the pairs where the first element is less
// than the second element.
for (auto& other_index : wire_tree.select_box(b, true)) {
File diff suppressed because it is too large Load Diff
@@ -278,7 +278,7 @@ DATA;
#270= IFCRELASSOCIATESLIBRARY('3GSGt6n1DDgQcJ6cyOT85E',$,$,$,(#264),#269);
#271= IFCLIBRARYREFERENCE($,$,'\X2\8A08753B30CD30C330C897627A4D\X0\','\X2\8A08753B3055308C305F30CD30C330C897627A4D30025EFA72698A08753B306B969B306B4F7F75283002FF08901A5E38306F300167F1578B7B493092629C3044305F97627A4D3068306A308BFF09\X0\','ja-JP',$);
#272= IFCRELASSOCIATESLIBRARY('2QS2jDRjrAuQwiL06nUkjI',$,$,$,(#264),#271);
#273= IFCSIMPLEPROPERTYTEMPLATE('0TQDw0qSKHuO00025QrE$V',$,'NumberOfStoreys','The number of storeys within a building.\X\0ACaptured for those cases where the IfcBuildingStorey entity is not used. Note that if IfcBuilingStorey is asserted and the number of storeys in a building can be determined from it, then this approach should be used in preference to setting a property for the number of storeys.',.P_SINGLEVALUE.,'IfcInteger','',$,$,$,$,.READWRITE.);
#273= IFCSIMPLEPROPERTYTEMPLATE('0TQDw0qSKHuO00025QrE$V',$,'NumberOfStoreys','The number of storeys within a building.\X\0ACaptured for those cases where the IfcBuildingStorey entity is not used. Note that if IfcBuildingStorey is asserted and the number of storeys in a building can be determined from it, then this approach should be used in preference to setting a property for the number of storeys.',.P_SINGLEVALUE.,'IfcInteger','',$,$,$,$,.READWRITE.);
#274= IFCLIBRARYREFERENCE($,$,'Geschossanzahl','Anzahl der Vollgeschosse des Geb\S\dudes. \X\0A\X\0ADieses Attribute soll nur dann eingef\S\|gt werden, wenn keine Geschosse als Objekte, IfcBuildingStorey, beinhaltet sind. Bei Unstimmigkeiten hat die Anzahl der IfcBuildingStorey Objekte Priorit\S\dt.','de-DE',$);
#275= IFCRELASSOCIATESLIBRARY('3J5Wq_uyDDDh9V$QuAvaIK',$,$,$,(#273),#274);
#276= IFCLIBRARYREFERENCE($,$,'Number Of Storeys',$,'en',$);
@@ -307,7 +307,7 @@ DATA;
#299= IFCRELASSOCIATESLIBRARY('2FGXwV5Sv8LeNv11sQJbhA',$,$,$,(#295),#298);
#300= IFCLIBRARYREFERENCE($,$,'Ann\S\ie de la derni\S\hre r\S\inovation','Ann\S\ie de la derni\S\hre r\S\inovation majeure ou de la reconstruction du b\S\btiment.','fr-FR',$);
#301= IFCRELASSOCIATESLIBRARY('04ddmBIG1AORk8neJKUy1g',$,$,$,(#295),#300);
#302= IFCSIMPLEPROPERTYTEMPLATE('0gXSs0qSKHuO00025QrE$V',$,'IsLandmarked','This builing is listed as a historic building (TRUE), or not (FALSE), or unknown.',.P_SINGLEVALUE.,'IfcLogical','',$,$,$,$,.READWRITE.);
#302= IFCSIMPLEPROPERTYTEMPLATE('0gXSs0qSKHuO00025QrE$V',$,'IsLandmarked','This building is listed as a historic building (TRUE), or not (FALSE), or unknown.',.P_SINGLEVALUE.,'IfcLogical','',$,$,$,$,.READWRITE.);
#303= IFCLIBRARYREFERENCE($,$,'Denkmalschutz','Angabe, ob das Geb\S\dude dem Denkmalschutz unterliegt (WAHR) oder nicht (FALSCH).','de-DE',$);
#304= IFCRELASSOCIATESLIBRARY('2toNd84UT2g82W7HGKVc6n',$,$,$,(#302),#303);
#305= IFCLIBRARYREFERENCE($,$,'Is Landmarked',$,'en',$);
@@ -2786,7 +2786,7 @@ DATA;
#2780= IFCRELASSOCIATESLIBRARY('1s53ouzXP368AUz2XkqCa8',$,$,$,(#2759),#2779);
#2781= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#2782= IFCRELASSOCIATESLIBRARY('3jWXlavBv8Ef5z6oKgkagL',$,$,$,(#2759),#2781);
#2783= IFCSIMPLEPROPERTYTEMPLATE('0kQnq0qT0HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is giving according to the national building code. It indicates the sound transmission resistance of this object by an index ration (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#2783= IFCSIMPLEPROPERTYTEMPLATE('0kQnq0qT0HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is giving according to the national building code. It indicates the sound transmission resistance of this object by an index ration (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#2784= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#2785= IFCRELASSOCIATESLIBRARY('2Qp3w6QTzB_9ZEmPDMihmd',$,$,$,(#2783),#2784);
#2786= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -2946,7 +2946,7 @@ DATA;
#2940= IFCRELASSOCIATESLIBRARY('3WKx6aclP9LP7INI0NfFtt',$,$,$,(#2919),#2939);
#2941= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#2942= IFCRELASSOCIATESLIBRARY('1AIqDPRz14i8Sk3Xm9vXYi',$,$,$,(#2919),#2941);
#2943= IFCSIMPLEPROPERTYTEMPLATE('2BPjC0qT0HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#2943= IFCSIMPLEPROPERTYTEMPLATE('2BPjC0qT0HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#2944= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#2945= IFCRELASSOCIATESLIBRARY('0oj23XEBv7NuXDhVNEvLr8',$,$,$,(#2943),#2944);
#2946= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -3065,7 +3065,7 @@ DATA;
#3059= IFCRELASSOCIATESLIBRARY('3BmjtZXHP6ehV1hd58fs4U',$,$,$,(#3051),#3058);
#3060= IFCLIBRARYREFERENCE($,$,'\X2\9632706B7B497EA7\X0\','\X2\8BE567844EF676849632706B7B497EA73002\X0\\X\0A\X2\8BE55C5E602776844F9D636E4E3A56FD5BB69632706B5B89516852067EA73002\X0\','zh-CN',$);
#3061= IFCRELASSOCIATESLIBRARY('3dvY_TSdrDmgnrmwbtCdid',$,$,$,(#3051),#3060);
#3062= IFCSIMPLEPROPERTYTEMPLATE('2LGWE0qTiHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3062= IFCSIMPLEPROPERTYTEMPLATE('2LGWE0qTiHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3063= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Richtlinie die als Mindestanforderung f\S\|r die Schalld\S\dmmung der T\S\|r gew\S\dhrleistet sein muss.','de-DE',$);
#3064= IFCRELASSOCIATESLIBRARY('2kyvKRtWvCExdFGGX66Rvu',$,$,$,(#3062),#3063);
#3065= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -3568,7 +3568,7 @@ DATA;
#3562= IFCRELASSOCIATESLIBRARY('1PKiteaM56zfFFiASM4FT4',$,$,$,(#3541),#3561);
#3563= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#3564= IFCRELASSOCIATESLIBRARY('27ruVFqvz7fAg0jhYzyjTm',$,$,$,(#3541),#3563);
#3565= IFCSIMPLEPROPERTYTEMPLATE('0aywm0qVGHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3565= IFCSIMPLEPROPERTYTEMPLATE('0aywm0qVGHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3566= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#3567= IFCRELASSOCIATESLIBRARY('0kIe$1Z_f0yQpbrTge4Iil',$,$,$,(#3565),#3566);
#3568= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -3955,7 +3955,7 @@ DATA;
#3949= IFCRELASSOCIATESLIBRARY('0SQ6S49_LCngaZZU0VmFP$',$,$,$,(#3928),#3948);
#3950= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#3951= IFCRELASSOCIATESLIBRARY('06_oqMXuvDAQdxfkdNd81X',$,$,$,(#3928),#3950);
#3952= IFCSIMPLEPROPERTYTEMPLATE('2jnHI0qW4HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3952= IFCSIMPLEPROPERTYTEMPLATE('2jnHI0qW4HuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#3953= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#3954= IFCRELASSOCIATESLIBRARY('1qVN_GQTL1$wbB$XO0DmeU',$,$,$,(#3952),#3953);
#3955= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -4179,7 +4179,7 @@ DATA;
#4173= IFCRELASSOCIATESLIBRARY('3oFK3tzh12feMTKUwiBk5n',$,$,$,(#4152),#4172);
#4174= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#4175= IFCRELASSOCIATESLIBRARY('3oP0pPpjzFt9RvQbRgf9eP',$,$,$,(#4152),#4174);
#4176= IFCSIMPLEPROPERTYTEMPLATE('0D9YC0qWWHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4176= IFCSIMPLEPROPERTYTEMPLATE('0D9YC0qWWHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4177= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#4178= IFCRELASSOCIATESLIBRARY('2UtATI2I90vhJew_TG1JkR',$,$,$,(#4176),#4177);
#4179= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -4641,7 +4641,7 @@ DATA;
#4635= IFCRELASSOCIATESLIBRARY('1ct72wKpr1W8a2D7je5gwt',$,$,$,(#4614),#4634);
#4636= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#4637= IFCRELASSOCIATESLIBRARY('2tjZKMqM5AfAkM7xTY1xmd',$,$,$,(#4614),#4636);
#4638= IFCSIMPLEPROPERTYTEMPLATE('31UdO0qXKHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4638= IFCSIMPLEPROPERTYTEMPLATE('31UdO0qXKHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4639= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#4640= IFCRELASSOCIATESLIBRARY('1mOJB2XHX0gAI6souTj6sS',$,$,$,(#4638),#4639);
#4641= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -4774,7 +4774,7 @@ DATA;
#4768= IFCRELASSOCIATESLIBRARY('1HsyRI8zP1YACHJqsas0RJ',$,$,$,(#4747),#4767);
#4769= IFCLIBRARYREFERENCE($,'UNSET','(unset)','Value has not been specified.','en',$);
#4770= IFCRELASSOCIATESLIBRARY('3Woj06evD4aREmCimaRfzQ',$,$,$,(#4747),#4769);
#4771= IFCSIMPLEPROPERTYTEMPLATE('2vS0M0qXWHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorbtion values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4771= IFCSIMPLEPROPERTYTEMPLATE('2vS0M0qXWHuO00025QrE$V',$,'AcousticRating','Acoustic rating for this object.\X\0AIt is provided according to the national building code. It indicates the sound transmission resistance of this object by an index ratio (instead of providing full sound absorption values).',.P_SINGLEVALUE.,'IfcLabel','',$,$,$,$,.READWRITE.);
#4772= IFCLIBRARYREFERENCE($,$,'Schallschutzklasse','Schallschutzklasse gem\S\d\S\_ der nationalen oder regionalen Schallschutzverordnung.','de-DE',$);
#4773= IFCRELASSOCIATESLIBRARY('1vZ7R5I_XCrAyn3fMc6_SM',$,$,$,(#4771),#4772);
#4774= IFCLIBRARYREFERENCE($,$,'Acoustic Rating',$,'en',$);
@@ -71,7 +71,7 @@ class Patcher:
# Purge axis representations from walls. Revit will draw the axis (a
# line through the wall) but doesn't give you control over its
# visibilty, resulting in very ugly walls and lines typically cutting
# visibility, resulting in very ugly walls and lines typically cutting
# across door openings.
#
# See bug https://github.com/Autodesk/revit-ifc/issues/360
@@ -89,7 +89,7 @@ class Patcher:
#
# 1. 3D IfcDoors with IfcDoorType import as Revit doors
# 2. 2D IfcBuildingElementProxy with no type import as Revit generic model
# 3. The Revit user turns off the visibilty of the door category.
# 3. The Revit user turns off the visibility of the door category.
# 4. The user is shocked to see that generic models are now invisible,
# even though it is clearly a separate category to doors.
#
@@ -200,7 +200,7 @@ def update_snippet(project_id, topic_id):
if (project["project_id"]) == project_id:
for topic in jdata["Topics"]:
if (topic["guid"]) == topic_id:
return jsonify("PUT Request Sucessfull")
return jsonify("PUT Request Successful")
return invalid_project()
return invalid_user()
@@ -223,7 +223,7 @@ def get_files(project_id, topic_id):
if (project["project_id"]) == project_id:
for topic in jdata["Topics"]:
if (topic["guid"]) == topic_id:
return jsonify("Get request for files successfull")
return jsonify("Get request for files successful")
return invalid_project()
return invalid_user()
@@ -1 +1 @@
Your request was successfull
Your request was successful
+1 -1
View File
@@ -181,7 +181,7 @@ set PY_VER_MAJOR_MINOR=%PYTHON_VERSION:~0,3%
set PY_VER_MAJOR_MINOR=%PY_VER_MAJOR_MINOR:.=%
set PYTHONHOME=%INSTALL_DIR%\Python%PY_VER_MAJOR_MINOR%
:: Cache last used CMake generator and configurable depedency dirs for other scripts to use
:: Cache last used CMake generator and configurable dependency dirs for other scripts to use
:: This is consolidated at the beginning of the script so that the script can be partially
:: executed by jumping (using goto) to different labels.
if defined GEN_SHORTHAND echo GEN_SHORTHAND=%GEN_SHORTHAND%>"%~dp0\%BUILD_DEPS_CACHE_PATH%"