Misc. Typos

This commit is contained in:
Unknown
2017-10-09 06:45:32 -04:00
committed by wmayer
parent 598fff8b40
commit 8d9bd319bd
32 changed files with 107 additions and 107 deletions

View File

@@ -31,8 +31,8 @@
"""Simple Part21 STEP reader
Reads a given STEP file. Maps the enteties and instaciate the
corosbonding classes.
Reads a given STEP file. Maps the entities and instantiate the
corresponding classes.
In addition it writes out a graphwiz file with the entity graph.
"""
@@ -92,7 +92,7 @@ class SimpleParser:
gvFile.write('}\n')
def instaciate(self):
"""Instaciate the python classe from the enteties"""
"""Instantiate the python class from the entities"""
import inspect
# load the needed schema module
if self._p21loader.get_schema_name() == 'config_control_design':
@@ -149,7 +149,7 @@ class SimpleParser:
else:
self._create_entity_instance(key)
if key not in self.instanceMape:
raise NameError("Needed instance not instanciated: ",key)
raise NameError("Needed instance not instantiated: ",key)
else:
attrList[n] = self.instanceMape[key]
elif i[0] == '$':

View File

@@ -15,13 +15,13 @@
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
<DeveloperDocu>StepShape in a Import</DeveloperDocu>
<UserDocu>StepShape in Import
This class gives a interface to retrive TopoShapes out of an loaded STEP file of any kind.
This class gives a interface to retrieve TopoShapes out of an loaded STEP file of any kind.
</UserDocu>
</Documentation>
<Methode Name="read">
<Documentation>
<UserDocu>method read()
Read a STEP file into memory and makeit accessably
Read a STEP file into memory and make it accessible
</UserDocu>
</Documentation>
</Methode>