diff --git a/Python-Bindings/README.md b/Python-Bindings/README.md index 0ae2519..7217ad7 100644 --- a/Python-Bindings/README.md +++ b/Python-Bindings/README.md @@ -58,5 +58,5 @@ ``` python topologictest01.py ``` -4. You should see a `Congratulations! Test is succesful.` print out at the end of the test. +4. You should see a `Congratulations! Test is successful.` print out at the end of the test. diff --git a/Python-Bindings/test/topologictest01.py b/Python-Bindings/test/topologictest01.py index d29ece8..00a6a51 100644 --- a/Python-Bindings/test/topologictest01.py +++ b/Python-Bindings/test/topologictest01.py @@ -162,4 +162,4 @@ def cellComplexByCells(cells): cc1.ExportToBRep(path) print("BREP file exported to: "+path) print("Done") -print("Congratulations! Test is succesful.") +print("Congratulations! Test is successful.") diff --git a/Python-Bindings/test/topologictest02.py b/Python-Bindings/test/topologictest02.py index 629db4d..bd5a1a8 100644 --- a/Python-Bindings/test/topologictest02.py +++ b/Python-Bindings/test/topologictest02.py @@ -46,7 +46,7 @@ d_back = v.GetDictionary() print("Done") -print("Retrieving attrributes and values from a Dictionary") +print("Retrieving attributes and values from a Dictionary") # Retrieve Values from Dictionary newIntAttribute = d_back.ValueAtKey(keys[0]) newDoubleAttribute = d_back.ValueAtKey(keys[1]) diff --git a/README.md b/README.md index ec3bc88..612e30f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ TopologicCore contains the following main classes: # Installation Instructions for Windows 10 This projects builds TopologicCore from the C++ sources (available at https://github.com/wassimj/Topologic.git). If you just want to use Topologic (e.g. with Blender), you do not need to follow these instructions. Instead, just download the ZIP binaries from https://github.com/wassimj/TopologicSverchok/Releases -The instructions below are for Microsoft Windows 10. In these instructions we assume *Visual Studio Community 2019* *opencascade 7.4.0*. We also assume that your account has Adminstrator priviliges. +The instructions below are for Microsoft Windows 10. In these instructions we assume *Visual Studio Community 2019* *opencascade 7.4.0*. We also assume that your account has Administrator privileges. 1. **Install Opencascade 7.4.0** @@ -142,7 +142,7 @@ Note that you only need a handful of the opencascade *.dll files, not all of the # Installation Instructions for Linux This projects builds TopologicCore from the C++ sources (available at https://github.com/wassimj/Topologic.git) -The instructions below are for Ubuntu (Tested) and Fedors (Untested) Linux. We assume that your account has Adminstrator priviliges. +The instructions below are for Ubuntu (Tested) and Fedors (Untested) Linux. We assume that your account has Administrator privileges. 1. **Install Opencascade 7.4.0 and dependencies** @@ -225,7 +225,7 @@ cd build cmake -DCMAKE_BUILD_TYPE=Release .. cmake --build . --config Release ``` -You can repeat the above proces to build bindings for other versions of python (e.g. for 3.6, 3.7, and 3.8). You can bundle all the resulting .so files in the same distribution so they work with different python versions. +You can repeat the above process to build bindings for other versions of python (e.g. for 3.6, 3.7, and 3.8). You can bundle all the resulting .so files in the same distribution so they work with different python versions. 5. **To make a distributable library that can be installed in different locations on a variety of Linux systems:** diff --git a/TopologicCore/include/Context.h b/TopologicCore/include/Context.h index 60a31dd..3ef9e99 100644 --- a/TopologicCore/include/Context.h +++ b/TopologicCore/include/Context.h @@ -84,7 +84,7 @@ namespace TopologicCore double m_u; /// - /// The V parametr + /// The V parameter /// double m_v; diff --git a/TopologicCore/src/Topology.cpp b/TopologicCore/src/Topology.cpp index 49a8a56..c818aea 100644 --- a/TopologicCore/src/Topology.cpp +++ b/TopologicCore/src/Topology.cpp @@ -1048,7 +1048,7 @@ namespace TopologicCore const TopoDS_Shape& rkModifiedShape = occtSewing.Modified(occtEdgeIterator.Value()); Topology::Ptr pChildTopology = Topology::ByOcctShape(rkModifiedShape, ""); - // Map the aperture to the modifed shell faces. + // Map the aperture to the modified shell faces. std::list contents; ContentManager::GetInstance().Find(occtEdgeIterator.Value(), contents); for (const Topology::Ptr& rkContent : contents) @@ -1444,7 +1444,7 @@ namespace TopologicCore TopoDS_Shape Topology::Simplify(TopoDS_Shape & rOcctShape) { - // Simplify needs to do the followings. + // Simplify needs to do the following. // 1. The input is a container type, otherwise return itself. // 2. If the input is an empty cluster: return null // 3. Else if the input just contains one container element: recursively dive deeper until a non-container element OR diff --git a/TopologicCore/src/Utilities/WireUtility.cpp b/TopologicCore/src/Utilities/WireUtility.cpp index f021ff7..7dd40ef 100644 --- a/TopologicCore/src/Utilities/WireUtility.cpp +++ b/TopologicCore/src/Utilities/WireUtility.cpp @@ -55,7 +55,7 @@ namespace TopologicUtilities { if (kpWire->NumberOfBranches() > 0) { - throw std::runtime_error("This method currently only supportes straight, manifold wires with no branches."); + throw std::runtime_error("This method currently only supports straight, manifold wires with no branches."); } TopologicCore::Wire::Ptr pCopyWire = std::dynamic_pointer_cast(kpWire->DeepCopy());