Skip to content

Commit

Permalink
Merge pull request wassimj#36 from luzpaz/typos
Browse files Browse the repository at this point in the history
Fix various typos
  • Loading branch information
wassimj authored Apr 2, 2022
2 parents b35b911 + e3522c2 commit 5e2eed0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Python-Bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

2 changes: 1 addition & 1 deletion Python-Bindings/test/topologictest01.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
2 changes: 1 addition & 1 deletion Python-Bindings/test/topologictest02.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down Expand Up @@ -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**

Expand Down Expand Up @@ -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:**

Expand Down
2 changes: 1 addition & 1 deletion TopologicCore/include/Context.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ namespace TopologicCore
double m_u;

/// <summary>
/// The V parametr
/// The V parameter
/// </summary>
double m_v;

Expand Down
4 changes: 2 additions & 2 deletions TopologicCore/src/Topology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Topology::Ptr> contents;
ContentManager::GetInstance().Find(occtEdgeIterator.Value(), contents);
for (const Topology::Ptr& rkContent : contents)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion TopologicCore/src/Utilities/WireUtility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<TopologicCore::Wire>(kpWire->DeepCopy());
Expand Down

0 comments on commit 5e2eed0

Please sign in to comment.