1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-01 17:36:21 +03:00

0031939: Coding - correction of spelling errors in comments [part 7]

Fix various typos

Fixed via codespell v2.1.dev
This commit is contained in:
luz paz 2021-01-18 12:36:06 +03:00 committed by bugmaster
parent 5be130de06
commit 7b5e532f83
359 changed files with 522 additions and 522 deletions

View File

@ -3017,7 +3017,7 @@ function (cotire_setup_unity_build_target _languages _configurations _target)
endif()
else()
if (_targetAutoMoc OR _targetAutoUic OR _targetAutoRcc)
# depend on the original target's implicity generated <targetname>_automoc target
# depend on the original target's implicitly generated <targetname>_automoc target
if (CMAKE_VERSION VERSION_LESS "3.8.0")
add_dependencies(${_unityTargetName} ${_target}_automoc)
else()

View File

@ -759,7 +759,7 @@ proc osutils:tk:sort { tklm theSrcDir theSourceDirOther } {
return $lret
}
# close dependencies of ltk. (full wok pathes of toolkits)
# close dependencies of ltk. (full work paths of toolkits)
# The CURRENT WOK LOCATION MUST contains ALL TOOLKITS required.
# (locate not performed.)
proc osutils:tk:close { ltk theSrcDir theSourceDirOther } {
@ -906,7 +906,7 @@ proc osutils:collectinc {theModules theSrcDir theIncPath} {
# relative anIncPath in connection with aCasRoot/$theSrcDir
set aFromBuildIncToSrcPath [relativePath "$anIncPath" "$aCasRoot/$theSrcDir"]
# create and copy short-cut header files
# create and copy shortcut header files
foreach anUnit $anUnits {
osutils:checksrcfiles ${anUnit} $theSrcDir
@ -1671,7 +1671,7 @@ proc wokUtils:EASY:bs1 { s } {
return $r
}
# Returs for a full path the liste of n last directory part
# Returns for a full path the liste of n last directory part
# n = 1 => tail
# n = 2 => dir/file.c
# n = 3 => sdir/dir/file.c

View File

@ -16,7 +16,7 @@
# commercial license or contractual agreement.
# =======================================================================
# This script contains auxilary functions which can be used
# This script contains auxiliary functions which can be used
# in documentation generation process
# =======================================================================

View File

@ -370,7 +370,7 @@ proc upgrade {args} {
}
}
# search and rename the indeces (old names) of @theNewNames with their values (new ones)
# search and rename the indices (old names) of @theNewNames with their values (new ones)
# processes files that have @theExtensions only in @thePath folder
proc Rename {thePath theExtensions theNewNames theCheckMode} {
upvar $theNewNames aNewNames

View File

@ -1677,7 +1677,7 @@ Let us consider face *F1* and solid *S2* that have an intersection curve:
@figure{/specification/boolean_operations/images/boolean_image046.png,"",230}
* The result of *Cut21* operation is is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
* The result of *Cut21* operation is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
@subsubsection specification__boolean_9_4_16 Case 16: A Face and a Solid that have overlapping faces.
@ -1695,7 +1695,7 @@ Let us consider face *F1* and solid *S2* that have overlapping faces:
@figure{/specification/boolean_operations/images/boolean_image049.png,"",230}
* The result of *Cut21* operation is is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
* The result of *Cut21* operation is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
@subsubsection specification__boolean_9_4_17 Case 17: A Face and a Solid that have overlapping edges.
@ -1712,7 +1712,7 @@ Let us consider face *F1* and solid *S2* that have overlapping edges:
@figure{/specification/boolean_operations/images/boolean_image051.png,"",230}
* The result of *Cut21* operation is is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
* The result of *Cut21* operation is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
@subsubsection specification__boolean_9_4_18 Case 18: A Face and a Solid that have overlapping vertices.
@ -1728,7 +1728,7 @@ Let us consider face *F1* and solid *S2* that have overlapping vertices:
@figure{/specification/boolean_operations/images/boolean_image053.png,"",230}
* The result of *Cut21* operation is is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
* The result of *Cut21* operation is not defined because the dimension of the face (2) is less than the dimension of the solid (3).
@subsubsection specification__boolean_9_4_19 Case 19: Two intersecting Solids.

View File

@ -192,7 +192,7 @@ It is called **local illumination**. Based on this name there is also a global o
\f[L_{indirect} = \int\limits_H f(v, l) L_i^{indirect}(l) \cos\theta_l\, \mathrm{d}l\f]
It includes influence of light reflected or scattered from other points and environment's contribution.
It's impossible to achieve photorealistic results without this component, but is is also very difficult to compute.
It's impossible to achieve photorealistic results without this component, but it is also very difficult to compute.
While the cross point light interaction cannot be calculated in a simple way (especially in real time rendering), the environment illumination has some options to be realized via precomputational work before visualization.
But right now lets summarize the practical application of illumination model.
At this moment the output radiance is represented as:

View File

@ -1046,7 +1046,7 @@ Release 7.1.0 disables this functionality by default in favor of Programmable Pi
Method *V3d_View::Export()*, based on *gl2ps* library, requires fixed pipeline and will return error if used with default settings.
Applications should explicitly enable fixed pipeline by setting *OpenGl_Caps::ffpEnable* flag to TRUE within *OpenGl_GraphicDriver::ChangeOptions()* before creating the viewer to use *V3d_View::Export()*.
This method is declared as deprecated and will be removed in one of the the next OCCT releases.
This method is declared as deprecated and will be removed in one of the next OCCT releases.
The recommended way to generate a vector image of a 3D model or scene is to use an application-level solution independent from OpenGL.
@subsection upgrade_710_trsfpers Transformation persistence

View File

@ -282,7 +282,7 @@ unset varname [varname varname ...]
Without a value, *set* returns the content of the variable.
*unset* deletes variables. It is is also used to delete Draw variables.
*unset* deletes variables. It is also used to delete Draw variables.
**Example:**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cpp}
@ -6716,7 +6716,9 @@ options are :
* *-FX Tx Ty TZ [Nx Ny Nz]* : Tangent and Normal are fixed
* *-G guide*
These commands are used to create a shape from wires. One wire is designated as the contour that defines the direction; it is called the spine. At least one other wire is used to define the the sweep profile.
These commands are used to create a shape from wires.
One wire is designated as the contour that defines the direction; it is called the spine.
At least one other wire is used to define the sweep profile.
* **mksweep** -- initializes the sweep creation and defines the wire to be used as the spine.
* **addsweep** -- defines the wire to be used as the profile.
* **deletesweep** -- cancels the choice of profile wire, without leaving the mksweep mode. You can re-select a profile wire.
@ -9258,7 +9260,7 @@ stepwrite 0 a /disk1/tmp/aaa.igs
@subsection occt_draw_8_3 General commands
These are auxilary commands used for the analysis of result of translation of IGES and STEP files.
These are auxiliary commands used for the analysis of result of translation of IGES and STEP files.
@subsubsection occt_draw_8_3_1 count

View File

@ -1634,7 +1634,7 @@ It is forbidden to sweep Solids and Composite Solids. A Compound generates a Co
@figure{/user_guides/modeling_algos/images/modeling_algos_image033.png,"Generating a sweep",360}
*BRepPrimAPI_MakeSweep class* is a deferred class used as a root of the the following sweep classes:
*BRepPrimAPI_MakeSweep class* is a deferred class used as a root of the following sweep classes:
* *BRepPrimAPI_MakePrism* -- produces a linear sweep
* *BRepPrimAPI_MakeRevol* -- produces a rotational sweep
* *BRepPrimAPI_MakePipe* -- produces a general sweep.
@ -1667,7 +1667,8 @@ TopoDS_Solid P3 = BRepPrimAPI_MakePrism(F,direc,Standard_False);
@subsubsection occt_modalg_4_2_3 Rotational Sweep
*BRepPrimAPI_MakeRevol* class allows creating a rotational sweep from a shape, an axis (gp_Ax1), and an angle. The angle has a default value of 2*PI which means a closed revolution.
*BRepPrimAPI_MakeRevol* constructors have a last argument to copy or share the original shape. The following code creates a a full and a partial rotation using a face, an axis and an angle.
*BRepPrimAPI_MakeRevol* constructors have a last argument to copy or share the original shape.
The following code creates a full and a partial rotation using a face, an axis and an angle.
~~~~~
TopoDS_Face F = ...; // the profile

View File

@ -1461,8 +1461,8 @@ The procedure of its creation is as follows:
The long cylinder representing a "stem" of the nail refers to the corresponding parameters
of the cone to define its own data (position, radius and height). It means that the long cylinder depends on the cone.
The parameters of the head cylinder may be expressed through the cone parameters
only or through the cone and the long cylinder parameters.
The parameters of the head cylinder may be expressed through the cone parameters
only or through the cone and the long cylinder parameters.
It is suggested to express the position and the radius of the head cylinder
through the position and the radius of the long cylinder, and the height
of the head cylinder through the height of the cone.
@ -1478,12 +1478,12 @@ The procedure of its creation is as follows:
@subsubsection occt_ocaf_8a_3_1 Creation of the nail
This method of the interface creates a data tree for the nail at a given leaf of OCAF data tree.
It creates three sub-leaves for the cone and two cylinders and allocates the necessary data (references at the sub-leaves of the long and the head cylinders).
It sets the default values of position, radius and height of the nail.
This method of the interface creates a data tree for the nail at a given leaf of OCAF data tree.
It creates three sub-leaves for the cone and two cylinders and allocates the necessary data (references at the sub-leaves of the long and the head cylinders).
It sets the default values of position, radius and height of the nail.
The nail has the following user parameters:
* The position -- coincides with the position of the cone
* The radius of the stem part of the nail -- coincides with the radius of the cone
@ -1609,7 +1609,7 @@ To automatically erase the nail from the viewer and the data tree it is enough
// A virtual method ::Arguments() returns a list of arguments of the function.
CylinderDriver::Arguments( TDF_LabelList&amp; args )
{
// The direct arguments, located at sub-leaves of the fucntion, are collected (see picture 2).
// The direct arguments, located at sub-leaves of the function, are collected (see picture 2)
TDF_ChildIterator cIterator( Label(), false );
for (; cIterator.More(); cIterator.Next() )
{

View File

@ -1066,7 +1066,7 @@ The table below describes STEP entities, which are created when the assembly str
| :----- | :------ | :----- | :----- |
| Points | Geom_CartesianPoint, Geom2d_CartesianPoint | cartesian_point | |
| | TColgp_Array1OfPnt, TColgp_Array1OfPnt2d | polyline | |
| Placements | Geom_Axis1Plasement, Geom2d_AxisPlacement | axis1_placement | |
| Placements | Geom_Axis1Placement, Geom2d_AxisPlacement | axis1_placement | |
| | Geom_Axis2Placement | axis2_placement_3d | |
| Directions | Geom_Direction, Geom2d_Direction | direction | |
| Vectors | Geom_Vector, Geom2d_Vector | vector | |

View File

@ -20,7 +20,7 @@ As a result, in 3D, you, the user, have no need to be familiar with any function
If, however, you require types of interactive objects and filters other than those provided, you will need to know the mechanics of presentable and selectable objects, specifically how to implement their virtual functions.
To do this requires familiarity with such fundamental concepts as the Sensitive Primitive and the Presentable Object.
The the following packages are used to display 3D objects:
The following packages are used to display 3D objects:
* *AIS*;
* *StdPrs*;
* *Prs3d*;

View File

@ -142,8 +142,7 @@ void OCC_MainFrame::DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf)
n = (dw&CBRS_ALIGN_LEFT && n==0) ? AFX_IDW_DOCKBAR_LEFT : n;
n = (dw&CBRS_ALIGN_RIGHT && n==0) ? AFX_IDW_DOCKBAR_RIGHT : n;
// When we take the default parameters on rect, DockControlBar will dock
// each Toolbar on a seperate line. By calculating a rectangle, we in effect
// are simulating a Toolbar being dragged to that location and docked.
// When we take the default parameters on rect, DockControlBar will dock each Toolbar on a separate line.
// By calculating a rectangle, we in effect are simulating a Toolbar being dragged to that location and docked.
DockControlBar(Bar,n,&rect);
}

View File

@ -109,7 +109,7 @@ void FThread::run()
const int ret = D->Execute(log);
if (ret == 0)
{
// Successfuly executed!
// Successfully executed!
itr.SetStatus(L, TFunction_ES_Succeeded);
TDF_LabelList res;

View File

@ -717,14 +717,14 @@ static Standard_Integer checkoverlapedges(Draw_Interpretor& di, Standard_Integer
ShapeAnalysis_Edge sae;
if(sae.CheckOverlapping(e1,e2,aTol,aDistDomain)) {
if(aDistDomain ==0.0)
di<<"Edges is overlaping comletly\n";
di<<"Edges are overlapping completely\n";
else {
di<<"Edges is overlaped\n";
di<<"Edges are overlapped\n";
di<<"with tolerance = "<<aTol<<"\n";
di<<"on segment length = "<<aDistDomain<<"\n";
}
}
else di<<"Edges is not overlaped\n";
else di<<"Edges are not overlapped\n";
return 0;
}
@ -876,4 +876,3 @@ static Standard_Integer connectedges(Draw_Interpretor& di, Standard_Integer n, c
__FILE__,connectedges,g);
}

View File

@ -21,7 +21,7 @@ mkface f2 s2 -10 10 -10 10
# fix solid
mkvolume r part_2 f_in f1 f2
# find the outher solid - the one containing the outer cylinder (part_2 face)
# find the other solid - the one containing the outer cylinder (part_2 face)
foreach s [explode r so] {
set found 0
foreach f [explode $s f] {

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a pris
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from front
@ -22,4 +22,4 @@ prism bb f 0 1 0
bfuse result ba bb
checkprops result -s 170
checkview -display result -2d -otherwise { ba bb } -s -path ${imagedir}/${test_image}.png
checkview -display result -2d -otherwise { ba bb } -s -path ${imagedir}/${test_image}.png

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from left

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from top

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from back

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from right

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from bottom

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from front

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from left

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from top

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from back

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
box ba 3 3 0 5 7 4
# prism from right

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0
vertex vp3 8 9 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0
vertex vp3 8 9 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permuation of all forms of construction
# when fUsing a box and a prism
# Permutation of all forms of construction
# when fusing a box and a prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# K series from front face

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
vertex vp1 3 3 0
vertex vp2 8 3 0

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# L series from right side face

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# L series from right side face

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# L series from right side face

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# L series from right side face

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# M series from top

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# M series from top

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# M series from top

View File

@ -1,5 +1,5 @@
# Permutation of all forms of construction
# when fUsing a box and an oblong prism
# when fusing a box and an oblong prism
# M series from top

View File

@ -25,7 +25,7 @@ proc checkarea {shape area_expected tol_abs tol_rel} {
# to be used in comparison; 0.001 is added to avoid zero value
set prop [uplevel sprops $shape [expr 0.5 * abs($tol_rel) + 0.001]]
# get te value
# get the value
if { ! [regexp {Mass\s*:\s*([0-9.e+-]+)} $prop res area] } {
puts "Error: cannot get area of the shape $shape"
return

View File

@ -5,7 +5,7 @@ puts "OCC2269"
puts "================"
puts ""
#######################################################################################
# XML persistance should be more robust
# XML persistence should be more robust
#######################################################################################
#
# Tested file is contains 3 labels with TDataStd_RealArray attributes

View File

@ -2,7 +2,7 @@ puts "==========="
puts "OCC22976"
puts "==========="
######################################################
# A draw-command CopyDF failes to copy content of a label
# A draw-command CopyDF fails to copy content of a label
######################################################
set BugNumber OCC22976

View File

@ -3,7 +3,7 @@ puts "OCC23766"
puts "=========="
puts ""
########################################################
# Shape orientation processing mechanis, redesign
# Shape orientation processing mechanism, redesign
########################################################
## test for keeping Orientation (cbf)
@ -15,7 +15,7 @@ NewDocument D BinOcaf
NewCommand D
set B2 [AddObject D]; ## add object
set F2 [AddFunction D $B2 Box]; ## add function
BoxDX D $B2 190; ## set argumets of this function
BoxDX D $B2 190; ## set arguments of this function
BoxDY D $B2 290
BoxDZ D $B2 390
InitLogBook D; ## initialize (clean) internal maps of labels

View File

@ -3,7 +3,7 @@ puts "OCC23766"
puts "=========="
puts ""
########################################################
# Shape orientation processing mechanis, redesign
# Shape orientation processing mechanism, redesign
########################################################
## test for keeping Orientation (std)
@ -14,7 +14,7 @@ NewDocument D BinOcaf
NewCommand D
set B2 [AddObject D]; ## add object
set F2 [AddFunction D $B2 Box]; ## add function
BoxDX D $B2 190; ## set argumets of this function
BoxDX D $B2 190; ## set arguments of this function
BoxDY D $B2 290
BoxDZ D $B2 390
InitLogBook D; ## initialize (clean) internal maps of labels

View File

@ -5,7 +5,7 @@ puts "OCC23766"
puts "=========="
puts ""
########################################################
# Shape orientation processing mechanis, redesign
# Shape orientation processing mechanism, redesign
########################################################
## test for keeping Orientation (xml)
@ -17,7 +17,7 @@ NewDocument D XmlOcaf
NewCommand D
set B2 [AddObject D]; ## add object
set F2 [AddFunction D $B2 Box]; ## add function
BoxDX D $B2 190; ## set argumets of this function
BoxDX D $B2 190; ## set arguments of this function
BoxDY D $B2 290
BoxDZ D $B2 390
InitLogBook D; ## initialize (clean) internal maps of labels

View File

@ -14,6 +14,6 @@ BuildNamedShape D1 0:1 P
SaveAs D1 $imagedir/bug28428_new.cbf
Close D1
# This produced a NamedShape driver failure with catching by general driver
# and output a failure message (catched by parse.rules)
# and output a failure message (caught by parse.rules)
Open $imagedir/bug28428_new.cbf D2
Close D2

View File

@ -22,7 +22,7 @@ set actions 8
set act_afternone [expr $act_none+1]
# retuns 1 if after this action there exists attribute on the label
# returns 1 if after this action there exists attribute on the label
proc produces_attribute1 {action} {
global act_create act_modify act_forgetcreate act_createmodify
if {$action==$act_create || $action==$act_createmodify || $action==$act_modify || $action==$act_forgetcreate} {
@ -31,7 +31,7 @@ proc produces_attribute1 {action} {
return 0
}
# retuns 1 if after two actions there exists attribute on the label
# returns 1 if after two actions there exists attribute on the label
proc produces_attribute2 {action1 action2} {
global act_create act_modify act_modifyforget act_forget act_createforget
if {[produces_attribute1 $action2]} {
@ -43,7 +43,7 @@ proc produces_attribute2 {action1 action2} {
return 0
}
# retuns value of the attribute produced by two actions
# returns value of the attribute produced by two actions
proc produces_value {action1 action2} {
global act_modify act_createmodify act_none act_forgetcreate
if {$action2==$act_modify} {

View File

@ -25,7 +25,7 @@ set act_undone 100
set act_afternone [expr $act_none+1]
# retuns 1 if after this action there exists attribute on the label
# returns 1 if after this action there exists attribute on the label
proc produces_attribute1 {action} {
global act_create act_modify act_forgetcreate act_createmodify
if {$action==$act_create || $action==$act_createmodify || $action==$act_modify || $action==$act_forgetcreate} {
@ -34,7 +34,7 @@ proc produces_attribute1 {action} {
return 0
}
# retuns 1 if after two actions there exists attribute on the label
# returns 1 if after two actions there exists attribute on the label
proc produces_attribute2 {action1 action2} {
global act_create act_modify act_modifyforget act_forget act_createforget act_none act_forgetcreate act_undone
@ -53,7 +53,7 @@ proc produces_attribute2 {action1 action2} {
return 0
}
# retuns value of the attribute produced by two actions
# returns value of the attribute produced by two actions
proc produces_value {action1 action2} {
global act_modify act_createmodify act_none act_forgetcreate
if {$action2==$act_modify} {

View File

@ -22,7 +22,7 @@ set actions 8
set act_afternone [expr $act_none+1]
# retuns 1 if after this action there exists attribute on the label
# returns 1 if after this action there exists attribute on the label
proc produces_attribute1 {action} {
global act_create act_modify act_forgetcreate act_createmodify
if {$action==$act_create || $action==$act_createmodify || $action==$act_modify || $action==$act_forgetcreate} {
@ -31,7 +31,7 @@ proc produces_attribute1 {action} {
return 0
}
# retuns 1 if after two actions there exists attribute on the label
# returns 1 if after two actions there exists attribute on the label
proc produces_attribute2 {action1 action2} {
global act_create act_modify act_modifyforget act_forget act_createforget
if {[produces_attribute1 $action2]} {
@ -43,7 +43,7 @@ proc produces_attribute2 {action1 action2} {
return 0
}
# retuns value of the attribute produced by two actions
# returns value of the attribute produced by two actions
proc produces_value {action1 action2} {
global act_modify act_createmodify act_none act_forgetcreate
if {$action2==$act_modify} {

View File

@ -3,7 +3,7 @@ puts "OCC425"
puts "OCC414"
puts "==========="
######################################################
# Exception on attemp to save a document that contains empty TDataStd_Name
# Exception on attempt to save a document that contains empty TDataStd_Name
######################################################
# Crash on NT during document saving (SAM1344-#2153)
######################################################

View File

@ -11,7 +11,7 @@ set filePrefix "$imagedir/${casename}_日本語"
proc checkFile {filepath} {
if { [file exists $filepath] } {
puts "File $filepath is ceated, OK"
puts "File $filepath is created, OK"
} else {
puts "Error: Could not find file $filepath"
}

View File

@ -3,7 +3,7 @@ puts "CR23410"
puts "============"
puts ""
#######################################################################
# QA comamnds don't work properly in new testing system
# QA commands don't work properly in new testing system
#######################################################################
pload QAcommands

View File

@ -18,7 +18,7 @@ if {[dtyp mybox] == ""} {
} else {
puts "SUCCESS: mybox is created"
if {[lsearch [directory] mybox] == -1} {
puts "ERRROR: but it is absent among TCL variables"
puts "ERROR: but it is absent among TCL variables"
} else {
puts "SUCCESS: and it is present among TCL variables"
}

View File

@ -3,7 +3,7 @@ puts "OCC181"
puts "OCC701"
puts "========"
######################################################
# Resource_Manager class doen't return status of saving resources in a file.
# Resource_Manager class doesn't return status of saving resources in a file.
######################################################
# Add method BuildPath to OSD_Directory
######################################################

View File

@ -3,7 +3,7 @@ puts "OCC181"
puts "OCC701"
puts "========"
######################################################
# Resource_Manager class doen't return status of saving resources in a file.
# Resource_Manager class doesn't return status of saving resources in a file.
######################################################
# Add method BuildPath to OSD_Directory
######################################################

View File

@ -16,7 +16,7 @@ if { ${IsDone} != 0 } {
if { [string first "NbRaised: 100" $aResult] != -1 } {
puts "OK test case"
} else {
puts "Error: expected to have 100 raised expections"
puts "Error: expected to have 100 raised exceptions"
}
}

View File

@ -3,7 +3,7 @@ puts "OCC710"
puts "========"
puts ""
########################################################
## If the the file pathname is empty, the Standard_Boolean OSD_FileNode::Exists()
## If the file pathname is empty, the Standard_Boolean OSD_FileNode::Exists()
## raises an exception
########################################################

View File

@ -22,7 +22,7 @@ if [catch { OCC22 result shape compoundToBeDivided 0 } ] {
regexp {([-0-9.+eE]+)\s FACE} [statshape result] full nbFaces
if {$nbFaces != 5} {
puts "OCC22 FAULTY: Initial shape was not splitted"
puts "OCC22 FAULTY: Initial shape was not split"
}
# Case B of the bug is reproduced. Result must be valid

View File

@ -15,5 +15,5 @@ set info [OCC24008 a b]
if { [regexp "Exception" $info] != 0 } {
puts "Error : Exception was caught"
} else {
puts "OK: COmmand wrong propery"
puts "OK: Command wrong property"
}

View File

@ -15,6 +15,6 @@ set info [OCC24008 a b]
if { [regexp "Exception" $info] != 0 } {
puts "Error : Exception was caught"
} else {
puts "OK: COmmand wrong propery"
puts "OK: Command wrong property"
}

View File

@ -13,7 +13,7 @@ restore [locate_data_file bug26735_PartialOverlap_OCOverlapValidatorWire.brep] w
explode w1 e
set Log [checkoverlapedges w1_1 w1_2 0.01 0.01]
set Message "Edges is overlaped"
set Message "Edges are overlapped"
if { [regexp ${Message} ${Log} ] == 1 } {
puts "Error : Adjacent perpendicular edges are detected as overlapped"

View File

@ -3,7 +3,7 @@ puts "OCC28768"
puts "========"
puts ""
#############################################
# ShapeFix slighly corrupts the source face
# ShapeFix slightly corrupts the source face
#############################################
binrestore [locate_data_file bug28768_f12g.brep] f12g

View File

@ -89,5 +89,5 @@ set xst [ XStat D_Copy 1]
regexp {Number +of +labels +with +color +link += +([-0-9.+eE]+)} $xst full nbshcolor_Copy
if {$nbshcolor_Copy != 31} {
puts "Error: incorect count of color links to shapes"
puts "Error: incorrect count of color links to shapes"
}

View File

@ -1,6 +1,6 @@
# test for #21593: compare number of triangles/nodes
# produced by BRepMesh for face with internal vertices
# depening on value of InternalVerticesMode flag.
# depending on value of InternalVerticesMode flag.
restore [locate_data_file bug21593_internal_vertices.brep] a

View File

@ -3,7 +3,7 @@ puts "CR25547"
puts "========="
puts ""
###############################################
# static class mehtods not exported in BrepMesh_GeomTool
# static class methods not exported in BrepMesh_GeomTool
###############################################
pload QAcommands

View File

@ -15,7 +15,7 @@ setsweep -FR
addsweep w
########
#does'nt work
#doesn't work
buildsweep result -C -S
checkprops result -s 1979.9

View File

@ -16,7 +16,7 @@ if { $end >= $end1} {
puts " Mkoffset operation was made successfully"
}
# Lenth of "profile" : 203.733802110964
# Length of "profile" : 203.733802110964
renamevar result_1 result

View File

@ -3,7 +3,7 @@ puts "OCC15943"
puts "============"
puts ""
#######################################################################
# Wrong result of boolen fuse
# Wrong result of boolean fuse
#######################################################################
restore [locate_data_file OCC15943_p1.brep] b1

View File

@ -3,8 +3,8 @@ puts "OCC174"
puts "========"
puts ""
###########################################################################
## After analyze given face (file ff97.brep) using BRepCheck we recieve problem - "Bad Orientation of Subshape".
## But we believe that this shape must be OK or we have to recieve more detail another reply from BRepCheck.
## After analyze given face (file ff97.brep) using BRepCheck we receive problem - "Bad Orientation of Subshape".
## But we believe that this shape must be OK or we have to receive more detail another reply from BRepCheck.
###########################################################################
restore [locate_data_file OCC174.brep] result

View File

@ -8,7 +8,7 @@ puts ""
set BugNumber OCC21754
# load shape and make face with natural bounds, to excluse possibility of
# load shape and make face with natural bounds, to exclude possibility of
# lame excuse saying that it contains small edges
restore [locate_data_file OCC21754-bug_bsection_empty.brep] a
mksurface s a

View File

@ -3,7 +3,7 @@ puts "OCC22306"
puts "============"
puts ""
#######################################################################
# Fuse between cylinder and sphere produces not vallid result
# Fuse between cylinder and sphere produces not valid result
#######################################################################
set BugNumber OCC22306

View File

@ -3,7 +3,7 @@ puts "OCC22306"
puts "============"
puts ""
#######################################################################
# Fuse between cylinder and sphere produces not vallid result
# Fuse between cylinder and sphere produces not valid result
#######################################################################
set BugNumber OCC22306

View File

@ -3,7 +3,7 @@ puts "OCC22306"
puts "============"
puts ""
#######################################################################
# Fuse between cylinder and sphere produces not vallid result
# Fuse between cylinder and sphere produces not valid result
#######################################################################
set BugNumber OCC22306

View File

@ -3,7 +3,7 @@ puts "OCC22306"
puts "============"
puts ""
#######################################################################
# Fuse between cylinder and sphere produces not vallid result
# Fuse between cylinder and sphere produces not valid result
#######################################################################
set BugNumber OCC22306

Some files were not shown because too many files have changed in this diff Show More