Skip to content

Commit 0aa8a19

Browse files
authored
Fix various typos (#1837)
Found via `codespell`
1 parent b46f164 commit 0aa8a19

10 files changed

Lines changed: 17 additions & 17 deletions

File tree

nix/build-all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ def build_dependency(name, mode, build_tool_args, download_url, download_name, d
592592
# the python installer script to return a non zero exit
593593
# code where actually the headers and dynamic libraries
594594
# are installed correctly. This is all we need so we catch
595-
# the exception and only reraise if a partially succesful
595+
# the exception and only reraise if a partially successful
596596
# install is not detected.
597597
if not os.path.exists(
598598
os.path.join(DEPS_DIR, "install", f"python-{PYTHON_VERSION}")

src/blenderbim/blenderbim/bim/schema/enum_descriptions.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -535,14 +535,14 @@
535535
"USERDEFINED": "User-defined door element."
536536
},
537537
"IfcDoorTypeOperationEnum": {
538-
"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.",
538+
"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.",
539539
"DOUBLE_DOOR_FOLDING": "Door with two panels, one is folding to the left the other is folding to the right.",
540540
"DOUBLE_DOOR_SINGLE_SWING": "Door with two panels, one opens (swings) to the left the other opens (swings) to the right.",
541541
"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.",
542542
"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.",
543543
"DOUBLE_DOOR_SLIDING": "Door with two panels, one is sliding to the left the other is sliding to the right.",
544-
"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.",
545-
"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.",
544+
"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.",
545+
"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.",
546546
"FOLDING_TO_LEFT": "Door with one panel that is folding to the left.",
547547
"FOLDING_TO_RIGHT": "Door with one panel that is folding to the right.",
548548
"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 @@
576576
"IfcDoorStyleOperationEnum": {
577577
"DOUBLE_DOOR_DOUBLE_SWING": "DOUBLE_SWING_LEFTDOUBLE_SWING_RIGHTSLIDING_TO_LEFTDoor with one panel that is sliding to the left.",
578578
"DOUBLE_DOOR_FOLDING": "Door with two panels, one is folding to the left the other is folding to the right.",
579-
"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.",
579+
"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.",
580580
"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.",
581581
"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.",
582582
"DOUBLE_DOOR_SLIDING": "Door with two panels, one is sliding to the left the other is sliding to the right.",
@@ -588,7 +588,7 @@
588588
"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).",
589589
"ROLLINGUP": "Door that opens by rolling up.",
590590
"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.",
591-
"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.",
591+
"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.",
592592
"SLIDING_TO_LEFT": "DOUBLE_SWING_LEFTDOUBLE_SWING_RIGHTDOUBLE_DOOR_DOUBLE_SWINGDoor with one panel that is sliding to the left.",
593593
"SLIDING_TO_RIGHT": "Door with one panel that is sliding to the right.",
594594
"USERDEFINED": "User defined operation type"

src/ifc2ca/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## 14/10/20
88

9-
- Add curve connections betweeen elements and as supports according to the defined orientation - stiffness is not yet considered
9+
- Add curve connections between elements and as supports according to the defined orientation - stiffness is not yet considered
1010

1111
## 17/08/20
1212

src/ifcgeomserver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
IfcGeomServer
22
-------------
33

4-
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
4+
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

src/ifcopenshell-python/ifcopenshell/geom/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def select(self, product):
382382

383383
self.scrollLayout.addStretch()
384384
else:
385-
label = QtWidgets.QLabel("No IfcPropertySets asscociated with selected entity instance")
385+
label = QtWidgets.QLabel("No IfcPropertySets associated with selected entity instance")
386386
self.scrollLayout.addWidget(label)
387387

388388
def load_file(self, f, **kwargs):

src/ifcopenshell-python/ifcopenshell/ids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def __call__(self, inst, logger):
390390
return False, False
391391

392392
def __str__(self):
393-
"""Represent the specification in human readible sentence.
393+
"""Represent the specification in human readable sentence.
394394
395395
:return: sentence
396396
:rtype: str
@@ -1031,7 +1031,7 @@ def __eq__(self, other):
10311031
return result
10321032

10331033
def __repr__(self):
1034-
"""Represent the restriction in human readible sentence.
1034+
"""Represent the restriction in human readable sentence.
10351035
10361036
:return: sentence
10371037
:rtype: str

src/serializers/ColladaSerializer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void ColladaSerializer::ColladaExporter::ColladaScene::add(
220220
COLLADASW::InstanceGeometry instanceGeometry(mSW);
221221
instanceGeometry.setUrl("#" + geom_name);
222222
BOOST_FOREACH(const std::string &material_name, material_ids) {
223-
// Unescape to avoid double escaping beucase OpenCollada's material URI parameter escapes XML internally
223+
// Unescape to avoid double escaping because OpenCollada's material URI parameter escapes XML internally
224224
std::string unescaped = material_name;
225225
IfcUtil::unescape_xml(unescaped);
226226

@@ -371,7 +371,7 @@ void ColladaSerializer::ColladaExporter::ColladaMaterials::write() {
371371
std::string material_name = getMaterialUri(material);
372372
openMaterial(material_name);
373373

374-
// Unescape to avoid double escaping beucase OpenCollada's addInstanceEffect escapes XML internally
374+
// Unescape to avoid double escaping because OpenCollada's addInstanceEffect escapes XML internally
375375
IfcUtil::unescape_xml(material_name);
376376

377377
addInstanceEffect("#" + material_name + "-fx");

src/serializers/SvgSerializer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ void SvgSerializer::write(const geometry_data& data) {
931931
TopoDS_Shape* compound_to_hlr = &compound_to_use;
932932
TopoDS_Shape subtracted_shape;
933933
if (any_in_front && any_behind && data.product->declaration().is("IfcSlab") && is_floor_plan_) {
934-
// This is currently ony for slanted roof slabs on floor plans
934+
// This is currently only for slanted roof slabs on floor plans
935935
bool should_cut = false;
936936
TopExp_Explorer exp(compound_to_use, TopAbs_FACE);
937937
for (; exp.More(); exp.Next()) {
@@ -1382,7 +1382,7 @@ void SvgSerializer::write(const geometry_data& data) {
13821382
const gp_Pnt& pa = points[i];
13831383
const gp_Pnt& pb = points[j];
13841384
// Since the text is always displayed horizontally,
1385-
// the distance is not simply euclidian, but we
1385+
// the distance is not simply euclidean, but we
13861386
// favour the x-component;
13871387
const double d = std::sqrt(
13881388
10 * ((pa.X() - pb.X()) * (pa.X() - pb.X())) +

win/patches/88af392_adm-cmake-occt_defs_flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ endif()
110110
if(MINGW)
111111
# Set default release optimization option to O2 instead of O3, since in
112112
# some OCCT related examples, this gives significantly smaller binaries
113-
# at comparable performace with MinGW-w64.
113+
# at comparable performance with MinGW-w64.
114114
string (REGEX MATCH "-O3" IS_O3_CXX "${CMAKE_CXX_FLAGS_RELEASE}")
115115
if (IS_O3_CXX)
116116
string (REGEX REPLACE "-O3" "-O2" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")

win/patches/89aebde_adm-cmake-occt_defs_flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ endif()
110110
if(MINGW)
111111
# Set default release optimization option to O2 instead of O3, since in
112112
# some OCCT related examples, this gives significantly smaller binaries
113-
# at comparable performace with MinGW-w64.
113+
# at comparable performance with MinGW-w64.
114114
string (REGEX MATCH "-O3" IS_O3_CXX "${CMAKE_CXX_FLAGS_RELEASE}")
115115
if (IS_O3_CXX)
116116
string (REGEX REPLACE "-O3" "-O2" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")

0 commit comments

Comments
 (0)