diff --git a/nix/build-all.py b/nix/build-all.py index 205d74e3fd..dd41f20e18 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -592,7 +592,7 @@ if "python" in targets and not USE_CURRENT_PYTHON_VERSION: # the python installer script to return a non zero exit # code where actually the headers and dynamic libraries # are installed correctly. This is all we need so we catch - # the exception and only reraise if a partially succesful + # the exception and only reraise if a partially successful # install is not detected. if not os.path.exists( os.path.join(DEPS_DIR, "install", f"python-{PYTHON_VERSION}") diff --git a/src/blenderbim/blenderbim/bim/schema/enum_descriptions.json b/src/blenderbim/blenderbim/bim/schema/enum_descriptions.json index a1344f4c59..d2ea6cc1a3 100644 --- a/src/blenderbim/blenderbim/bim/schema/enum_descriptions.json +++ b/src/blenderbim/blenderbim/bim/schema/enum_descriptions.json @@ -535,14 +535,14 @@ "USERDEFINED": "User-defined door element." }, "IfcDoorTypeOperationEnum": { - "DOUBLE_DOOR_DOUBLE_SWING": "Door with two panels, one swings in both directions and to the right in the main trafic direction the other swings also in both directions and to the left in the main trafic direction.", + "DOUBLE_DOOR_DOUBLE_SWING": "Door with two panels, one swings in both directions and to the right in the main traffic direction the other swings also in both directions and to the left in the main traffic direction.", "DOUBLE_DOOR_FOLDING": "Door with two panels, one is folding to the left the other is folding to the right.", "DOUBLE_DOOR_SINGLE_SWING": "Door with two panels, one opens (swings) to the left the other opens (swings) to the right.", "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT": "Door with two panels that both open to the left, one panel swings in one direction and the other panel swings in the opposite direction.", "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT": "Door with two panels that both open to the right, one panel swings in one direction and the other panel swings in the opposite direction.", "DOUBLE_DOOR_SLIDING": "Door with two panels, one is sliding to the left the other is sliding to the right.", - "DOUBLE_SWING_LEFT": "Door with one panel that swings in both directions and to the left in the main trafic direction. Also called double acting door.", - "DOUBLE_SWING_RIGHT": "Door with one panel that swings in both directions and to the right in the main trafic direction. Also called double acting door.", + "DOUBLE_SWING_LEFT": "Door with one panel that swings in both directions and to the left in the main traffic direction. Also called double acting door.", + "DOUBLE_SWING_RIGHT": "Door with one panel that swings in both directions and to the right in the main traffic direction. Also called double acting door.", "FOLDING_TO_LEFT": "Door with one panel that is folding to the left.", "FOLDING_TO_RIGHT": "Door with one panel that is folding to the right.", "NOTDEFINED": "A door with a not defined operation type is considered as a door with a lining, but no panels. It is thereby always open.", @@ -576,7 +576,7 @@ "IfcDoorStyleOperationEnum": { "DOUBLE_DOOR_DOUBLE_SWING": "DOUBLE_SWING_LEFTDOUBLE_SWING_RIGHTSLIDING_TO_LEFTDoor with one panel that is sliding to the left.", "DOUBLE_DOOR_FOLDING": "Door with two panels, one is folding to the left the other is folding to the right.", - "DOUBLE_DOOR_SINGLE_SWING": "Door with two panels, one swings in both directions and to the right in the main trafic direction the other swings also in both directions and to the left in the main trafic direction.", + "DOUBLE_DOOR_SINGLE_SWING": "Door with two panels, one swings in both directions and to the right in the main traffic direction the other swings also in both directions and to the left in the main traffic direction.", "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT": "Door with two panels that both open to the left, one panel swings in one direction and the other panel swings in the opposite direction.", "DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT": "Door with two panels that both open to the right, one panel swings in one direction and the other panel swings in the opposite direction.", "DOUBLE_DOOR_SLIDING": "Door with two panels, one is sliding to the left the other is sliding to the right.", @@ -588,7 +588,7 @@ "REVOLVING": "An entrance door consisting of four leaves set in a form of a cross and revolving around a central vertical axis (the four panels are described by a single IfcDoor panel property).", "ROLLINGUP": "Door that opens by rolling up.", "SINGLE_SWING_LEFT": "Door with one panel that opens (swings) to the left. The hinges are on the left side as viewed in the direction of the positive y-axis.", - "SINGLE_SWING_RIGHT": "Door with one panel that swings in both directions and to the right in the main trafic direction. Also called double acting door.", + "SINGLE_SWING_RIGHT": "Door with one panel that swings in both directions and to the right in the main traffic direction. Also called double acting door.", "SLIDING_TO_LEFT": "DOUBLE_SWING_LEFTDOUBLE_SWING_RIGHTDOUBLE_DOOR_DOUBLE_SWINGDoor with one panel that is sliding to the left.", "SLIDING_TO_RIGHT": "Door with one panel that is sliding to the right.", "USERDEFINED": "User defined operation type" diff --git a/src/ifc2ca/changelog.md b/src/ifc2ca/changelog.md index e663d0c295..d0fdda14c6 100644 --- a/src/ifc2ca/changelog.md +++ b/src/ifc2ca/changelog.md @@ -6,7 +6,7 @@ ## 14/10/20 -- Add curve connections betweeen elements and as supports according to the defined orientation - stiffness is not yet considered +- Add curve connections between elements and as supports according to the defined orientation - stiffness is not yet considered ## 17/08/20 diff --git a/src/ifcgeomserver/README.md b/src/ifcgeomserver/README.md index 141b766d5a..ba13dd9ae6 100644 --- a/src/ifcgeomserver/README.md +++ b/src/ifcgeomserver/README.md @@ -1,4 +1,4 @@ IfcGeomServer ------------- -A command-line executable intented to be ran as a child process that receives an IFC model from stdin and will send binary geometry information of products found in the IFC file in separate messages on stdout. The advantage over conventional static or dynamic linking is that, in case the IfcOpenShell process would crash (either due to invalid input, heap overflow, bugs, ...), this does not affect the main process. Currently, the only implementation of a consumer for this process is the Java module over at: https://github.com/opensourceBIM/IfcOpenShell-BIMserver-plugin/blob/master/src/org/ifcopenshell/IfcGeomServerClient.java +A command-line executable intended to be ran as a child process that receives an IFC model from stdin and will send binary geometry information of products found in the IFC file in separate messages on stdout. The advantage over conventional static or dynamic linking is that, in case the IfcOpenShell process would crash (either due to invalid input, heap overflow, bugs, ...), this does not affect the main process. Currently, the only implementation of a consumer for this process is the Java module over at: https://github.com/opensourceBIM/IfcOpenShell-BIMserver-plugin/blob/master/src/org/ifcopenshell/IfcGeomServerClient.java diff --git a/src/ifcopenshell-python/ifcopenshell/geom/app.py b/src/ifcopenshell-python/ifcopenshell/geom/app.py index 7af786b763..edf0ad9292 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/app.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/app.py @@ -382,7 +382,7 @@ class application(QtWidgets.QApplication): self.scrollLayout.addStretch() else: - label = QtWidgets.QLabel("No IfcPropertySets asscociated with selected entity instance") + label = QtWidgets.QLabel("No IfcPropertySets associated with selected entity instance") self.scrollLayout.addWidget(label) def load_file(self, f, **kwargs): diff --git a/src/ifcopenshell-python/ifcopenshell/ids.py b/src/ifcopenshell-python/ifcopenshell/ids.py index 757fb6b199..b872196a69 100644 --- a/src/ifcopenshell-python/ifcopenshell/ids.py +++ b/src/ifcopenshell-python/ifcopenshell/ids.py @@ -390,7 +390,7 @@ class specification: return False, False def __str__(self): - """Represent the specification in human readible sentence. + """Represent the specification in human readable sentence. :return: sentence :rtype: str @@ -1031,7 +1031,7 @@ class restriction: return result def __repr__(self): - """Represent the restriction in human readible sentence. + """Represent the restriction in human readable sentence. :return: sentence :rtype: str diff --git a/src/serializers/ColladaSerializer.cpp b/src/serializers/ColladaSerializer.cpp index 5a8f362e15..bf86a62c47 100644 --- a/src/serializers/ColladaSerializer.cpp +++ b/src/serializers/ColladaSerializer.cpp @@ -220,7 +220,7 @@ void ColladaSerializer::ColladaExporter::ColladaScene::add( COLLADASW::InstanceGeometry instanceGeometry(mSW); instanceGeometry.setUrl("#" + geom_name); BOOST_FOREACH(const std::string &material_name, material_ids) { - // Unescape to avoid double escaping beucase OpenCollada's material URI parameter escapes XML internally + // Unescape to avoid double escaping because OpenCollada's material URI parameter escapes XML internally std::string unescaped = material_name; IfcUtil::unescape_xml(unescaped); @@ -371,7 +371,7 @@ void ColladaSerializer::ColladaExporter::ColladaMaterials::write() { std::string material_name = getMaterialUri(material); openMaterial(material_name); - // Unescape to avoid double escaping beucase OpenCollada's addInstanceEffect escapes XML internally + // Unescape to avoid double escaping because OpenCollada's addInstanceEffect escapes XML internally IfcUtil::unescape_xml(material_name); addInstanceEffect("#" + material_name + "-fx"); diff --git a/src/serializers/SvgSerializer.cpp b/src/serializers/SvgSerializer.cpp index 391ff9126e..5a61bc0831 100644 --- a/src/serializers/SvgSerializer.cpp +++ b/src/serializers/SvgSerializer.cpp @@ -931,7 +931,7 @@ void SvgSerializer::write(const geometry_data& data) { TopoDS_Shape* compound_to_hlr = &compound_to_use; TopoDS_Shape subtracted_shape; if (any_in_front && any_behind && data.product->declaration().is("IfcSlab") && is_floor_plan_) { - // This is currently ony for slanted roof slabs on floor plans + // This is currently only for slanted roof slabs on floor plans bool should_cut = false; TopExp_Explorer exp(compound_to_use, TopAbs_FACE); for (; exp.More(); exp.Next()) { @@ -1382,7 +1382,7 @@ void SvgSerializer::write(const geometry_data& data) { const gp_Pnt& pa = points[i]; const gp_Pnt& pb = points[j]; // Since the text is always displayed horizontally, - // the distance is not simply euclidian, but we + // the distance is not simply euclidean, but we // favour the x-component; const double d = std::sqrt( 10 * ((pa.X() - pb.X()) * (pa.X() - pb.X())) + diff --git a/win/patches/88af392_adm-cmake-occt_defs_flags.cmake b/win/patches/88af392_adm-cmake-occt_defs_flags.cmake index cd4c46531b..d99a557ac7 100644 --- a/win/patches/88af392_adm-cmake-occt_defs_flags.cmake +++ b/win/patches/88af392_adm-cmake-occt_defs_flags.cmake @@ -110,7 +110,7 @@ endif() if(MINGW) # Set default release optimization option to O2 instead of O3, since in # some OCCT related examples, this gives significantly smaller binaries - # at comparable performace with MinGW-w64. + # at comparable performance with MinGW-w64. string (REGEX MATCH "-O3" IS_O3_CXX "${CMAKE_CXX_FLAGS_RELEASE}") if (IS_O3_CXX) string (REGEX REPLACE "-O3" "-O2" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}") diff --git a/win/patches/89aebde_adm-cmake-occt_defs_flags.cmake b/win/patches/89aebde_adm-cmake-occt_defs_flags.cmake index 746e1f12d9..0caca5e2d7 100644 --- a/win/patches/89aebde_adm-cmake-occt_defs_flags.cmake +++ b/win/patches/89aebde_adm-cmake-occt_defs_flags.cmake @@ -110,7 +110,7 @@ endif() if(MINGW) # Set default release optimization option to O2 instead of O3, since in # some OCCT related examples, this gives significantly smaller binaries - # at comparable performace with MinGW-w64. + # at comparable performance with MinGW-w64. string (REGEX MATCH "-O3" IS_O3_CXX "${CMAKE_CXX_FLAGS_RELEASE}") if (IS_O3_CXX) string (REGEX REPLACE "-O3" "-O2" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")