Join modifications from BR_Dev_For_4_0 tag V4_1_1.

This commit is contained in:
jfa 2008-03-07 07:45:34 +00:00
parent 1c428833a9
commit 239f8109c6
1792 changed files with 103044 additions and 73298 deletions

0
AUTHORS Normal file
View File

504
COPYING Normal file
View File

@ -0,0 +1,504 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

0
ChangeLog Normal file
View File

View File

@ -17,54 +17,35 @@
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001
# $Header$
# Date : 28/06/2001
# Modified by : Alexander BORODIN (OCN) - autotools usage
#
# source path
top_srcdir=@top_srcdir@
top_builddir=..
srcdir=@srcdir@
VPATH=.:@srcdir@
SUBDIRS= salome
include $(top_srcdir)/adm_local/unix/make_common_starter.am
@COMMENCE@
SUBDIRS = idl adm_local resources src doc bin
docs:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
DIST_SUBDIRS = idl adm_local resources src doc bin
DISTCLEANFILES = a.out aclocal.m4 configure
salomeinclude_DATA=GEOM_version.h
EXTRA_DIST+= \
build_configure \
clean_configure \
LICENCE
dist-hook:
rm -rf `find $(distdir) -name CVS`
usr_docs:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
(cd doc && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
docs:usr_docs
dev_docs:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
clean:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
distclean: clean
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
install:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
(cd doc && $(MAKE) $(AM_MAKEFLAGS) dev_docs)

0
NEWS Normal file
View File

0
README Normal file
View File

19
adm_local/Makefile.am Normal file
View File

@ -0,0 +1,19 @@
# Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
# PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
SUBDIRS = unix

View File

@ -0,0 +1,22 @@
# Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
# PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
SUBDIRS = config_files

View File

@ -0,0 +1,23 @@
# Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
# PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
dist_admlocalm4_DATA=\
check_GEOM.m4\
README

View File

@ -38,7 +38,7 @@ if test "x$GEOM_DIR" == "x" ; then
#
fi
if test -f ${GEOM_DIR}/bin/salome/libGEOM_Swig.py ; then
if test -f ${GEOM_DIR}/bin/salome/geompy.py ; then
Geom_ok=yes
AC_MSG_RESULT(Using Geom module distribution in ${GEOM_DIR})

View File

@ -1,274 +0,0 @@
# common directories to put headerfiles
inc_builddir=$(top_builddir)/include/salome
@SET_MAKE@
SHELL=/bin/sh
# header missing
HAVE_SSTREAM=@HAVE_SSTREAM@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -Xlinker -rpath-link -Xlinker
# add libstdc++ to link c++ library with libtool !
LDFLAGS+= -lstdc++
CP=@CP@
# CPP
CPP=@CPP@
CXXCPP=@CXXCPP@
CPPFLAGS=@CPPFLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
# C
CC = @CC@
CFLAGS = @CFLAGS@
C_DEPEND_FLAG = @C_DEPEND_FLAG@
# C++
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
# BOOST Library
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
# JAVA
JAVA_INCLUDES = @JAVA_INCLUDES@
JAVA_LIBS = @JAVA_LIBS@
JAVA_LDPATH = @JAVA_LDPATH@
# PYTHON
PYTHON = @PYTHON@
PYTHONHOME = @PYTHONHOME@
PYTHON_INCLUDES = @PYTHON_INCLUDES@
PYTHON_LIBS = @PYTHON_LIBS@
PYTHON_VERSION = @PYTHON_VERSION@
PYTHON_SITE = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages
PYTHON_SITE_INSTALL = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome
# QT
QT_ROOT = @QT_ROOT@
QT_INCLUDES = @QT_INCLUDES@
QT_MT_INCLUDES = @QT_INCLUDES@ -DQT_THREAD_SUPPORT
QT_LIBS = @QT_LIBS@
QT_MT_LIBS = @QT_MT_LIBS@
MOC = @MOC@
UIC = @UIC@
MSG2QM = @MSG2QM@
#QWT
QWT_INCLUDES=@QWT_INCLUDES@
QWT_LIBS=@QWT_LIBS@
# SIP
SIP = @SIP@
SIP_INCLUDES = @SIP_INCLUDES@
SIP_LIBS = @SIP_LIBS@
# PYQT
PYQT_SIPS = @PYQT_SIPS@
PYQT_LIBS = @PYQT_LIBS@
# openGL
OGL_INCLUDES=@OGL_INCLUDES@
OGL_LIBS=@OGL_LIBS@
# VTK
VTK_INCLUDES=@VTK_INCLUDES@
VTK_LIBS=@VTK_LIBS@
# HDF5
HDF5_INCLUDES=@HDF5_INCLUDES@
HDF5_LIBS=@HDF5_LIBS@
HDF5_MT_LIBS=@HDF5_MT_LIBS@
# OpenCasCade
OCC_INCLUDES=@CAS_CPPFLAGS@
OCC_CXXFLAGS=@CAS_CXXFLAGS@
CAS_KERNEL=@CAS_KERNEL@
CAS_MATH=@CAS_MATH@
CAS_OCAF=@CAS_OCAF@
CAS_OCAFVIS=@CAS_OCAFVIS@
CAS_TKTopAlgo=@CAS_TKTopAlgo@
CAS_VIEWER=@CAS_VIEWER@
CAS_MODELER=@CAS_MODELER@
CAS_DATAEXCHANGE=@CAS_DATAEXCHANGE@
CAS_LDPATH=@CAS_LDPATH@
# MPICH
MPICH_INCLUDES=@MPICH_INCLUDES@
MPICH_LIBS=@MPICH_LIBS@
# Swig C++ Python
SWIG = @SWIG@
SWIG_FLAGS = @SWIG_FLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
# OMNIORB
OMNIORB_ROOT = @OMNIORB_ROOT@
OMNIORB_INCLUDES = @OMNIORB_INCLUDES@
OMNIORB_LIBS = @OMNIORB_LIBS@
OMNIORB_CXXFLAGS = @OMNIORB_CXXFLAGS@
OMNIORB_IDL = @OMNIORB_IDL@
OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@
OMNIORB_IDLPYFLAGS = @OMNIORB_IDLPYFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
OMNIORB_IDL_CLN_H = @OMNIORB_IDL_CLN_H@
OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@
OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@
OMNIORB_IDL_SRV_H = @OMNIORB_IDL_SRV_H@
OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@
OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@
# Default ORB
CORBA_ROOT = @CORBA_ROOT@
CORBA_INCLUDES = @CORBA_INCLUDES@
CORBA_LIBS = @CORBA_LIBS@
CORBA_CXXFLAGS = @CORBA_CXXFLAGS@
IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome
IDLPYFLAGS = @IDLPYFLAGS@
IDL = @IDL@
IDL_CLN_H = @IDL_CLN_H@
IDL_CLN_CXX = @IDL_CLN_CXX@
IDL_CLN_OBJ = @IDL_CLN_OBJ@
IDL_SRV_H = @IDL_SRV_H@
IDL_SRV_CXX = @IDL_SRV_CXX@
IDL_SRV_OBJ = @IDL_SRV_OBJ@
CPPFLAGS+= $(CORBA_INCLUDES)
CXXFLAGS+= $(CORBA_CXXFLAGS)
# add corba libs when link salome application !
#LDFLAGS+= $(CORBA_LIBS)
LIBS+=$(CORBA_LIBS)
DOXYGEN = @DOXYGEN@
DOXYGEN_WITH_PYTHON = @DOXYGEN_WITH_PYTHON@
DOXYGEN_WITH_STL = @DOXYGEN_WITH_STL@
## Shared libraries
LT_STATIC_EXEC=@LT_STATIC_EXEC@
DYNAMIC_DIRS=@DYNAMIC_DIRS@
LT_LIB=libtool
LT=$(top_builddir)/libtool
LT_COMPILE=$(LT) --mode=compile $(CC)
LT_LINK_LIB=$(LT_LIB) --mode=link $(CC) -rpath $(libdir)
LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
LT_RUN=$(LT) --mode=execute
LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
# create a symbolic link (or a copie ?)
LN_S=@LN_S@
KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@
KERNEL_SITE_DIR=@KERNEL_SITE_DIR@
KERNEL_LDFLAGS=@KERNEL_LDFLAGS@
KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@
GUI_ROOT_DIR=@GUI_ROOT_DIR@
GUI_LDFLAGS=@GUI_LDFLAGS@
GUI_CXXFLAGS=@GUI_CXXFLAGS@
## Installation points
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@exec_prefix@/bin/salome
libdir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/salome
# warning : if user give this path in configure we could have salome/salome :-(
includedir=@includedir@/salome
datadir=@datadir@/salome
idldir=${prefix}/idl/salome
sharedpydir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
incmakedir=${prefix}/salome_adm/unix
docdir=${prefix}/doc/salome
#
# begin of package rules
#
.PHONY: all lib bin inc resources data docs tests install uninstall dep depend depend_idl cleandep mostlyclean clean distclean
.SUFFIXES: .cxx .cc .c .f .o .lo .idl .py .i .ui .po .qm
all:
$(MAKE) inc
$(MAKE) depend_idl
$(MAKE) depend
$(MAKE) lib
$(MAKE) bin
$(MAKE) resources
#
# add target to build administrative files
#
Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
cd $(top_builddir) ; ./config.status
LOCAL_MAKE = make_commence make_omniorb
KERNEL_MAKE = make_module make_conclude depend SALOMEconfig.h F77config.h sstream envScript
$(top_builddir)/config.status: $(top_srcdir)/configure \
$(LOCAL_MAKE:%=$(top_srcdir)/adm_local/unix/%.in) \
$(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in)
cd $(top_builddir) ; ./config.status --recheck
# VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
ifneq ($(top_srcdir),$(srcdir))
configure: $(top_srcdir)/configure
endif
$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
cd $(top_srcdir) ; autoconf
$(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
cd $(top_srcdir) && ./build_configure
ACLOCAL_KERNEL = \
ac_cxx_bool.m4 check_corba.m4 \
ac_cxx_depend_flag.m4 check_hdf5.m4 enable_pthreads.m4 \
ac_cxx_mutable.m4 check_mico.m4 libtool.m4 \
ac_cxx_namespaces.m4 check_omniorb.m4 pyembed.m4 \
ac_cxx_partial_specialization.m4 python.m4 \
ac_cxx_typename.m4 check_pthreads.m4 check_cas.m4 \
ac_cc_warnings.m4 check_swig.m4
ACLOCAL_GUI = \
check_vtk.m4 check_opengl.m4 check_qt.m4 \
check_GUI.m4 check_corba_in_GUI.m4
$(top_srcdir)/aclocal.m4: $(ACLOCAL_KERNEL:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%) \
$(ACLOCAL_GUI:%=@GUI_ROOT_DIR@/adm_local/unix/config_files/%)
cd $(top_srcdir) ; aclocal -I adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files \
-I @GUI_ROOT_DIR@/adm_local/unix/config_files

View File

@ -0,0 +1,54 @@
#
# ============================================================
# This file defines the common definitions used in several
# Makefile. This file must be included, if needed, by the file
# Makefile.am.
# ============================================================
#
# Standard directory for installation
salomeincludedir = $(includedir)/@PACKAGE@
libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/@PACKAGE@
bindir = $(prefix)/bin/@PACKAGE@
salomescriptdir = $(bindir)
# Directory for installing idl files
salomeidldir = $(prefix)/idl/@PACKAGE@
# Directory for installing resource files
salomeresdir = $(prefix)/share/@PACKAGE@/resources/@MODULE_NAME@
# Directories for installing admin files
admlocaldir = $(prefix)/adm_local
admlocalunixdir = $(admlocaldir)/unix
admlocalm4dir = $(admlocaldir)/unix/config_files
# Shared modules installation directory
sharedpkgpythondir =$(pkgpythondir)/shared_modules
# Documentation directory
docdir = $(datadir)/doc/@PACKAGE@
# common rules
# moc-files generation
%_moc.cxx: %.h
$(MOC) $< -o $@
# qm-files generation
%.qm: %.po
$(MSG2QM) $< $@
EXTRA_DIST=$(MOC_FILES:%_moc.cxx=%.h) $(nodist_salomeres_DATA:%.qm=%.po)
mostlyclean-local:
rm -f @builddir@/*_moc.cxx
rm -f @builddir@/*.qm
# tests
tests: unittest
unittest: $(UNIT_TEST_PROG)
@if test "x$(UNIT_TEST_PROG)" != "x"; then \
$(UNIT_TEST_PROG); \
fi;

View File

@ -1,56 +0,0 @@
#=======================================================================
# Begin specific part to omniorb
# (include from file adm/unix/make_omniorb generated by
# adm/unix/make_omniorb.in)
#=======================================================================
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 29/06/2001
# $Header$
#
# Client and server object are the same with omniorb
# There are one header file and one source file generate
#IDLOBJ=$(IDLSRC:%.idl=%$(IDL_CLN_OBJ))
# dependancies between idl and it's generated files
%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${KERNEL_ROOT_DIR}/idl/salome/%.idl
$(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${GUI_ROOT_DIR}/idl/salome/%.idl
$(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${top_srcdir}/idl/%.idl
$(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
# dependncies between idl files
depend_idl: .depidl
# we use cpp to generate dependencies between idl files.
# we change cpp output to keep only idl file and transform it to get a suitable rule
.depidl: $(IDL_FILES)
@touch $@
@for dep in $? dummy; do \
if [ $$dep != "dummy" ]; then \
echo Building dependencies for $$dep; \
basedep=`basename $$dep .idl`; \
header="$$basedep"$(IDL_CLN_H); \
sed '\%^'"$$header"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
$(CPP) $(C_DEPEND_FLAG) -I$(srcdir) $$dep 2>/dev/null | \
sed `echo "s%$$basedep\\.idl%$$header:%g"` | \
sed 's% $(srcdir)/% %g' | \
sed 's% $(top_srcdir)/% %g' | \
sed 's% $(top_builddir)/% %g' | \
sed 's%^.*:\.o: *%%' | sed 's%^ *\\ *%%'| sed 's%^ *\(.*\):%\1:%' | \
sed 's/\.idl/$(IDL_CLN_H)/' >>$@; \
echo '' >>$@; \
fi; \
done ;
-include .depidl
#=======================================================================
# End specific part to omniorb
#=======================================================================

35
bin/Makefile.am Normal file
View File

@ -0,0 +1,35 @@
# Copyright (C) 2005 OPEN CASCADE, CEA, EDF R&D, LEG
# PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# -* Makefile *-
#
# Author : Guillaume Boulant (CSSI)
# Module : GEOM
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
#
# ===============================================================
# Files to be installed
# ===============================================================
#
# These files are data, module or lib files
nodist_salomescript_DATA= VERSION
EXTRA_DIST+= VERSION.in

View File

@ -6,11 +6,15 @@
#
# Author : Marc Tajchman - CEA
# Date : 10/10/2002
# Modified by : Alexander BORODIN (OCN) - autotools usage
# $Header$
#
# 13/03/2007: Alexander BORODIN - OCN
# Reorganization for usage of autotools
ORIG_DIR=`pwd`
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
GEOM_WITH_GUI="yes"
########################################################################
# Test if the KERNEL_ROOT_DIR is set correctly
@ -25,199 +29,106 @@ fi
# echo "failed : KERNEL_SRC variable is not correct !"
# exit
#fi
for option
do
case $option in
-with-ihm | --with-ihm)
GEOM_WITH_GUI="yes"
break;;
-without-ihm | --without-ihm | -with-ihm=no | --with-ihm=no)
GEOM_WITH_GUI="no"
break;;
esac
done
########################################################################
# Test if the GUI_ROOT_DIR is set correctly
if test ! -d "${GUI_ROOT_DIR}"; then
echo "failed : GUI_ROOT_DIR variable is not correct !"
exit
if test ${GEOM_WITH_GUI} = yes; then
if test ! -d "${GUI_ROOT_DIR}"; then
echo "failed : GUI_ROOT_DIR variable is not correct !"
exit
fi
fi
########################################################################
# find_in - utility function
#
# usage :
# find_in directory filename
#
# Finds files following the *.in pattern, recursively in the
# directory (first argument).
# Results are appended into the file (second argument)
#
# Difference from the standard unix find is that files are tested
# before directories
#
find_in()
{
local i
local f=$2
# if the first argument is not a directory, returns
if [ ! -d "$1" ] ; then
return
fi
# dont look in the CVS directories
case $1 in
*/CVS) return ;;
*/adm_local/*) return ;;
*) ;;
esac
# for each regular file contained in the directory
# test if it's a .in file
for i in "$1"/*
do
if [ -f "$i" ] ; then
case $i in
*.in) echo " "$i" \\" >> $f;;
*) ;;
esac
fi
done
# for each subdirectory of the first argument, proceeds recursively
for i in "$1"/*
do
if [ -d "$i" ] ; then
find_in "$i" "$f"
fi
done
}
#######################################################################
# Generate list of .in files (Makefile.in, config.h.in, etc)
# appending it in file configure.in
cd ${CONF_DIR}
ABS_CONF_DIR=`pwd`
#
# Common part of the configure.in file
#
chmod u+w configure.in.base
if ! \cp -f configure.in.base configure.in_tmp1
then
echo
echo "error : can't create files in" ${CONF_DIR}
echo "aborting ..."
chmod u-w configure.in.base
exit
fi
chmod u-w configure.in.base
#######################################################################
# Update configure.ac script: to set NETGENPLUGIN_WITH_GUI variable
sed -e s/GEOM_WITH_GUI=[a-z]*/GEOM_WITH_GUI=${GEOM_WITH_GUI}/g configure.ac > configure.tmp
mv -f configure.tmp configure.ac
if [ -e "${CONF_DIR}/salome_adm" ] ; then
\rm -f ${CONF_DIR}/salome_adm
fi
mkdir -p salome_adm/unix/config_files
#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files
#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix
# make a link allowing AC_OUTPUT to find the salome_adm/.../*.in files
echo "" >> configure.in_tmp1
echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1
cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h.in salome_adm/unix
echo "" >> configure.in_tmp1
echo "AC_OUTPUT([ \\" >> configure.in_tmp1
#cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
#
# List of .in files in the adm/unix directory
# These files MUST be on top of AC_OUTPUT list so we
# put them "manually"
#
# remove KERNEL deprecated configure files
#for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
# check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \
# check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing
# do
# rm -f salome_adm/unix/config_files/${deprecated}
# done
echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1
echo " ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1
echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1
echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1
echo " ./adm_local/unix/make_omniorb:${ABS_CONF_DIR}/adm_local/unix/make_omniorb.in \\" >> configure.in_tmp1
echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
echo " ./adm_local/unix/make_commence:${ABS_CONF_DIR}/adm_local/unix/make_commence.in \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
# ____________________________________________________________________
# aclocal creates the aclocal.m4 file from the standard macro and the
# custom macro embedded in the directory salome_adm/unix/config_files
# and KERNEL config_files directory.
# output:
# aclocal.m4
# autom4te.cache (directory)
echo "====================================================== aclocal"
\rm -f configure.in_tmp2 configure.in_tmp3
touch configure.in_tmp2
find_in . configure.in_tmp2
sed -e '/^...salome_adm/d' configure.in_tmp2 > configure.in_tmp3
sed -e '/^...adm_local.unix.make_omniorb/d' configure.in_tmp3 > configure.in_tmp2
sed -e '/^...adm_local.unix.make_commence/d' configure.in_tmp2 > configure.in_tmp3
sed -e '/configure.in/d' configure.in_tmp3 > configure.in_tmp2
sed -e 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
#sed '/^.salome_adm/d' configure.in_tmp2 > configure.in_tmp3
#sed '/configure.in/d' configure.in_tmp3 > configure.in_tmp2
#sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1
echo "])" >> configure.in_tmp1
# delete the link created for AC_OUTPUT
echo "" >> configure.in_tmp1
#echo 'rm -f ${ROOT_SRCDIR}/salome_adm' >> configure.in_tmp1
\mv configure.in_tmp1 configure.in_new
\rm -f configure.in_tmp2 configure.in_tmp3
########################################################################
# Create new (or replace old) configure.in file
# Print a message if the file is write protected
#
echo
if test ! -f configure.in
then
echo -n "Creating new file 'configure.in' ... "
if \mv configure.in_new configure.in >& /dev/null
then
echo "done"
else
echo "error, check your file permissions"
fi
if test ${GEOM_WITH_GUI} = yes; then
aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files || exit 1
else
echo -n "Updating 'configure.in' file ... "
if ! \cp configure.in configure.in_old >& /dev/null
then
echo
echo
echo "Can't backup previous configure.in"
echo -n "Continue (you will not be able to revert) - (Y/N) ? "
read R
case "x$R" in
xn*) exit;;
xN*) exit;;
esac
echo
echo -n " "
fi
if \cp configure.in_new configure.in >& /dev/null
then
echo "done"
else
echo
echo "error, can't update previous configure.in"
fi
aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files || exit 1
fi
########################################################################
# Use autoconf to rebuild the configure script
#
# ____________________________________________________________________
# libtoolize creates some configuration files (ltmain.sh,
# config.guess and config.sub). It only depends on the libtool
# version. The files are created in the directory specified with the
# AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac).
# output:
# salome_adm/unix/config_files/config.guess
# salome_adm/unix/config_files/config.sub
# salome_adm/unix/config_files/ltmain.sh
#echo "====================================================== libtoolize"
if test -f configure
then
echo -n "Updating 'configure' script ... "
else
echo -n "Creating 'configure' script ... "
fi
libtoolize --force --copy --automake || exit 1
aclocal -I adm_local/unix/config_files -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files
if autoconf
then
echo "done"
else
echo "failed (check file permissions and/or user quotas ...)"
fi
# ____________________________________________________________________
# autoconf creates the configure script from the file configure.ac (or
# configure.in if configure.ac doesn't exist)
# output:
# configure
echo "====================================================== autoconf"
cd ${ORIG_DIR}
autoconf
echo
# ____________________________________________________________________
# automake creates some scripts used in building process
# (install-sh, missing, ...). It only depends on the automake
# version. The files are created in the directory specified with the
# AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac). This step also
# creates the Makefile.in files from the Makefile.am files.
# output:
# salome_adm/unix/config_files/compile
# salome_adm/unix/config_files/depcomp
# salome_adm/unix/config_files/install-sh
# salome_adm/unix/config_files/missing
# salome_adm/unix/config_files/py-compile
# Makefile.in (from Makefile.am)
echo "====================================================== automake"
automake --copy --gnu --add-missing

View File

@ -1,33 +1,33 @@
#
# PLEASE DO NOT MODIFY configure.in FILE
#
# ALL CHANGES WILL BE DISCARDED BY THE NEXT
# build_configure COMMAND
#
# CHANGES MUST BE MADE IN configure.in.base FILE
#
#
# Author : Marc Tajchman (CEA)
# Date : 28/06/2001
# Modified by : Patrick GOLDBRONN (CEA)
# Modified by : Marc Tajchman (CEA)
# Modified by : Alexander BORODIN (OCN) - autotools usage
#
# Created from configure.in.base
#
AC_INIT(src)
AC_CONFIG_AUX_DIR(${KERNEL_ROOT_DIR}/salome_adm/unix/config_files)
AC_INIT([Salome2 Project GEOM module], [4.1.1], [webmaster.salome@opencascade.com], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
PACKAGE=salome
AC_SUBST(PACKAGE)
VERSION=3.2.0
XVERSION=0x030200
AC_SUBST(VERSION)
XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
AC_SUBST(XVERSION)
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
MODULE_NAME=geom
AC_SUBST(MODULE_NAME)
echo
echo ---------------------------------------------
echo Initialize source and build root directories
echo ---------------------------------------------
echo
dnl
dnl Initialize source and build root directories
dnl
@ -64,9 +64,14 @@ echo
AC_PROG_MAKE_SET
AC_PROG_INSTALL
dnl
dnl
dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
echo
echo ---------------------------------------------
echo Coniguring production
echo ---------------------------------------------
echo
AC_ENABLE_DEBUG(yes)
AC_DISABLE_PRODUCTION
@ -85,7 +90,7 @@ dnl Fix up the INSTALL macro if it s a relative path. We want the
dnl full-path to the binary instead.
case "$INSTALL" in
*install-sh*)
INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
INSTALL='\${ROOT_BUILDDIR}'/salome_adm/unix/config_files/install-sh
;;
esac
@ -99,6 +104,8 @@ cc_ok=no
dnl inutil car libtool
dnl AC_PROG_CC
AC_PROG_CXX
AC_CXX_WARNINGS
AC_CXX_TEMPLATE_OPTIONS
AC_DEPEND_FLAG
# AC_CC_WARNINGS([ansi])
cc_ok=yes
@ -109,7 +116,7 @@ AC_CHECK_LIB(dl,dlopen)
dnl add library libm :
AC_CHECK_LIB(m,ceil)
dnl
dnl
dnl Well we use sstream which is not in gcc pre-2.95.3
dnl We must test if it exists. If not, add it in include !
dnl
@ -157,6 +164,7 @@ echo testing swig
echo ---------------------------------------------
echo
AM_PATH_PYTHON(2.3)
CHECK_SWIG
echo
@ -167,6 +175,7 @@ echo
ENABLE_PTHREADS
if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then
echo
echo ---------------------------------------------
echo testing omniORB
@ -190,43 +199,78 @@ echo ---------------------------------------------
echo
DEFAULT_ORB=omniORB
echo
echo ---------------------------------------------
echo testing Corba
echo ---------------------------------------------
echo
CHECK_CORBA
AC_SUBST_FILE(CORBA)
corba=make_$ORB
CORBA=adm_local/unix/$corba
echo
echo ---------------------------------------------
echo testing openGL
echo ---------------------------------------------
echo
fi
CHECK_OPENGL
GEOM_WITH_GUI=yes
echo
echo ---------------------------------------------
echo testing QT
echo ---------------------------------------------
echo
AM_CONDITIONAL(GEOM_ENABLE_GUI, [test "${GEOM_WITH_GUI}" = "yes"])
CHECK_QT
if test "${GEOM_WITH_GUI}" = "yes"; then
echo
echo ---------------------------------------------
echo testing msg2qm
echo ---------------------------------------------
echo
echo
echo ---------------------------------------------
echo testing MSG2QM
echo ---------------------------------------------
echo
CHECK_MSG2QM
CHECK_MSG2QM
echo
echo ---------------------------------------------
echo testing openGL
echo ---------------------------------------------
echo
echo
echo ---------------------------------------------
echo testing VTK
echo ---------------------------------------------
echo
CHECK_OPENGL
CHECK_VTK
echo
echo ---------------------------------------------
echo testing QT
echo ---------------------------------------------
echo
CHECK_QT
echo
echo ---------------------------------------------
echo testing VTK
echo ---------------------------------------------
echo
CHECK_VTK
echo
echo ---------------------------------------------
echo Testing GUI
echo ---------------------------------------------
echo
CHECK_SALOME_GUI
echo
echo ---------------------------------------------
echo Testing full GUI
echo ---------------------------------------------
echo
CHECK_CORBA_IN_GUI
if test "x${CORBA_IN_GUI}" != "xyes"; then
echo "failed : For configure GEOM module necessary full GUI !"
exit
fi
fi
echo
echo ---------------------------------------------
@ -260,26 +304,6 @@ echo
CHECK_HTML_GENERATORS
echo
echo ---------------------------------------------
echo Testing GUI
echo ---------------------------------------------
echo
CHECK_SALOME_GUI
echo
echo ---------------------------------------------
echo Testing full GUI
echo ---------------------------------------------
echo
CHECK_CORBA_IN_GUI
if test "x${CORBA_IN_GUI}" != "xyes"; then
echo "failed : For configure GEOM module necessary full GUI !"
exit
fi
echo
echo ---------------------------------------------
echo Testing Kernel
@ -295,7 +319,13 @@ echo ---------------------------------------------
echo
echo Configure
if test "${GEOM_WITH_GUI}" = "yes"; then
variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok"
fi
if test "${GEOM_WITH_GUI}" = "no"; then
variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok"
fi
for var in $variables
do
@ -307,15 +337,6 @@ echo
echo "Default ORB : $DEFAULT_ORB"
echo
dnl generals files which could be included in every makefile
AC_SUBST_FILE(COMMENCE) COMMENCE=adm_local/unix/make_commence
AC_SUBST_FILE(CONCLUDE) CONCLUDE=salome_adm/unix/make_conclude
AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module
dnl les dependences
AC_SUBST_FILE(DEPEND) DEPEND=salome_adm/unix/depend
dnl We don t need to say when we re entering directories if we re using
dnl GNU make becuase make does it for us.
if test "X$GMAKE" = "Xyes"; then
@ -324,67 +345,10 @@ else
AC_SUBST(SETX) SETX="set -x"
fi
# make other build directories
for rep in salome_adm adm_local doc bin/salome include/salome lib${LIB_LOCATION_SUFFIX}/salome share/salome/resources idl
do
# if test ! -d $rep ; then
# eval mkdir $rep
# fi
$INSTALL -d $rep
done
echo
echo ---------------------------------------------
echo copying resource files, shell scripts, and
echo xml files
echo ---------------------------------------------
echo
dnl copy resources directories
#for i in `find $ROOT_SRCDIR -name 'resources' -print`
#do
# local_res=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
# local_res_dir=`echo $local_res | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
# mkdir -p $local_res_dir
# cd $local_res_dir
# ln -fs $i
# echo $local_res
# cd $ROOT_BUILDDIR
#done
dnl copy shells and utilities contained in the bin directory
dnl excluding .in files (treated in AC-OUTPUT below) and CVS
dnl excluding .in files (treated in AC-OUTPUT below) and CVS
dnl directory
mkdir -p bin/salome
cd bin/salome
for i in $ROOT_SRCDIR/bin/*
do
local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
case "$local_bin" in
*.in | *~) ;;
./bin/CVS | ./bin/salome) ;;
*) /usr/bin/install $i .; echo $local_bin ;;
esac
done
cd $ROOT_BUILDDIR
AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=salome_adm/unix/envScript
dnl copy xml files to the build tree (lib directory)
dnl pourquoi ????
#cd lib
#for i in `find $ROOT_SRCDIR -name "*.xml" -print`
#do
# ln -fs $i
# echo `echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
#done
#cd $ROOT_BUILDDIR
echo
echo ---------------------------------------------
@ -393,7 +357,72 @@ echo ---------------------------------------------
echo
AC_OUTPUT_COMMANDS([ \
chmod +x ./bin/* \
chmod +x ./bin/*; \
])
## do not delete this line
# This list is initiated using autoscan and must be updated manually
# when adding a new file <filename>.in to manage. When you execute
# autoscan, the Makefile list is generated in the output file configure.scan.
# This could be helpfull to update de configuration.
AC_OUTPUT([ \
./salome_adm/unix/SALOMEconfig.h \
./adm_local/Makefile \
./adm_local/unix/Makefile \
./adm_local/unix/config_files/Makefile \
./bin/VERSION \
./bin/Makefile \
./GEOM_version.h \
./doc/Makefile \
./doc/salome/Makefile \
./doc/salome/gui/Makefile \
./doc/salome/gui/GEOM/doxyfile \
./doc/salome/gui/GEOM/doxyfile_py \
./doc/salome/tui/Makefile \
./doc/salome/tui/GEOM/doxyfile \
./doc/salome/tui/GEOM/sources/static/tree.js \
./src/Makefile \
./src/ARCHIMEDE/Makefile \
./src/BREPExport/Makefile \
./src/BREPImport/Makefile \
./src/BasicGUI/Makefile \
./src/BlocksGUI/Makefile \
./src/BooleanGUI/Makefile \
./src/BuildGUI/Makefile \
./src/DisplayGUI/Makefile \
./src/DlgRef/Makefile \
./src/EntityGUI/Makefile \
./src/GEOM/Makefile \
./src/GEOMAlgo/Makefile \
./src/GEOMBase/Makefile \
./src/GEOMClient/Makefile \
./src/GEOMFiltersSelection/Makefile \
./src/GEOMGUI/Makefile \
./src/GEOMImpl/Makefile \
./src/GEOMToolsGUI/Makefile \
./src/GEOM_I/Makefile \
./src/GEOM_I_Superv/Makefile \
./src/GEOM_SWIG/Makefile \
./src/GEOM_SWIG_WITHIHM/Makefile \
./src/GenerationGUI/Makefile \
./src/GroupGUI/Makefile \
./src/IGESExport/Makefile \
./src/IGESImport/Makefile \
./src/MeasureGUI/Makefile \
./src/NMTAlgo/Makefile \
./src/NMTDS/Makefile \
./src/NMTTools/Makefile \
./src/OBJECT/Makefile \
./src/OperationGUI/Makefile \
./src/PrimitiveGUI/Makefile \
./src/RepairGUI/Makefile \
./src/SKETCHER/Makefile \
./src/STEPExport/Makefile \
./src/STEPImport/Makefile \
./src/STLExport/Makefile \
./src/ShHealOper/Makefile \
./src/TransformationGUI/Makefile \
./resources/Makefile \
./resources/GEOMCatalog.xml \
./idl/Makefile \
Makefile \
])

View File

@ -17,44 +17,14 @@
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001
# Modified by : Alexander BORODIN (OCN) - autotools usage
# $Header$
#
# source path
top_srcdir=@top_srcdir@
top_builddir=..
srcdir=@srcdir@
VPATH=.:$(srcdir)/adm_local
all: resources
install:
cp -rf @top_srcdir@/adm_local @prefix@
bin:
resources :
cp -rf @top_srcdir@/adm_local $(top_builddir)
inc:
lib:
depend:
depend_idl:
install-end:
install-include:
install-bin:
uninstall:
uninstall-idl:
distclean:
clean:
distclean-other:
SUBDIRS= salome

View File

@ -1,5 +1,4 @@
# Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@ -15,35 +14,29 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# File : Makefile.in
# Author : Vasily Rusyaev (Open Cascade NN)
# Module : doc
top_srcdir=@top_srcdir@
top_builddir=../../..
srcdir=@srcdir@
VPATH=.:@srcdir@
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 30/11/2001
# Modified by : Alexander BORODIN (OCN) - autotools usage
# $Header:
#
@COMMENCE@
SUBDIRS= tui gui
SUBDIRSTUI= tui
SUBDIRSGUI= gui
usr_docs:
cp -fr $(srcdir)/GEOM ./
-find $(PWD) -name CVS -prune -exec rm -rf {} \;
@@SETX@; for d in $(SUBDIRSGUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done;
docs: usr_docs
clean:
rm -fr `ls | grep -v "Makefile"`
distclean: clean
rm -fr GEOM
install:
mkdir -p $(docdir)/gui
cp -rf GEOM $(docdir)/gui
-find $(PWD) -name CVS -prune -exec rm -rf {} \;
uninstall:
rm -rf $(docdir)/gui/GEOM
dev_docs:
@@SETX@; for d in $(SUBDIRSTUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done;

View File

@ -1,74 +0,0 @@
# Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# File : Makefile.in
# Author : Vasily Rusyaev (Open Cascade NN)
# Module : doc
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@
SUBDIRS= tui gui
SUBDIRSGUI= gui
SUBDIRSTUI= tui
@COMMENCE@
usr_docs:
@@SETX@; for d in $(SUBDIRSGUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
docs: usr_docs
dev_docs:
@@SETX@; for d in $(SUBDIRSTUI); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done; \
clean:
@@SETX@; for d in $(SUBDIRS); do \
if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done
distclean: clean
@@SETX@; for d in $(SUBDIRS); do \
if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done
install:
$(MAKE) docs
@@SETX@; for d in $(SUBDIRS); do \
if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@); \
fi; \
done
uninstall:
@@SETX@; for d in $(SUBDIRS); do \
if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done; \

View File

@ -1,166 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Add Point on Edge</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:22px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { margin-left:40px; font-size:12pt; font-weight:bold; }
img_whs4 { border:none; width:312px; height:388px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; text-indent:-40px; }
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
p.whs7 { margin-left:80px; font-size:12pt; text-indent:-40px; }
img_whs8 { border:none; width:200px; height:231px; border-style:none; }
img_whs9 { border:none; width:185px; height:231px; border-style:none; }
p.whs10 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs11 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {text-indent:1pt; }";
strNSS += "p.whs6 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs10 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image42.gif" width="22px" height="22px" border="0" class="img_whs1"></font></span>Add Point on Edge</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p>
<p>&nbsp;</p>
<p class="whs2">This operation splits an edge in two in accordance
with the specified mode (by length or by parameter) and a value specifying
the position of the point on edge (for example val =0.5; mode = Length).
This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
only. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
edge to be divided, EdgeID is the ID of the edge to be divided, if it
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
IsByParameter if it is True then Value is the edge parameter in the range
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 Edge + 1 value setting the position of the point according to
one of the selected modes</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6">Example:</p>
<p class="whs5">&nbsp;</p>
<p class="whs7"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs8"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs9"></p>
<p class="whs10">&nbsp;</p>
<p class="whs11"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,140 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Arc</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs5 { color:#808080; font-size:12pt; }
p.whs6 { font-size:12pt; color:#000000; }
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:330px; height:283px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nArc");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Basic - &gt; Arc</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
can define an</span> Arc <span style="font-weight: normal;">by</span>
<span style="font-weight: normal;">three</span><span style="font-weight: bold;"><B>
Points </B></span><span style="font-weight: normal;">that lie on it, where
</span></b>Point1 is the starting point, Point2 is a middle point of the
arc and Point3 is the ending point of the arc.</p>
<p class="whs2"><b><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
<span style="font-weight: normal;">GEOM_Object (edge).</span></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 3 vertices.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
<p class="whs5">&nbsp;</p>
<p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>
<p class="whs7">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,140 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Archimede</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; }
img_whs6 { border:none; float:none; width:200px; height:180px; border-style:none; }
img_whs7 { border:none; float:none; width:185px; height:180px; border-style:none; }
img_whs8 { border:none; float:none; width:180px; height:180px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nArchimede");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Archimede</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
Main Menu select <span style="font-weight: bold;"><B>Operations - &gt; Archimede</B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">This
operation creates a plane corresponding to the modeled water-line of the
object plunged into the water (in Z direction).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
where Shape is a shape to put into the water, Weight is a weight of the
shape, WaterDensity &nbsp;is
density of water, MeshingDeflection is a deflection of the mesh, using
to compute the section.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape &nbsp;+
3 values (Weight, Water Density &amp; Meshing Deflection).</p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="200px" height="180px" border="0" class="img_whs6"> &nbsp;<img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="185px" height="180px" border="0" class="img_whs7"> &nbsp;<img src="pics/archimedesn3.png" x-maintain-ratio="TRUE" 1height=180 1border=0 width="180px" height="180px" border="0" class="img_whs8"></p>
<p class="whs4">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>.
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,661 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Basic Geometrical Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBasic Geometrical Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Basic Geometrical Objects</h1>
<h3><a name=bookmark>Creation of a Point</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0., 0.)</p>
<p class="whs1">py = geompy.MakeVertex(0.,
100., 0.)</p>
<p class="whs1">pz = geompy.MakeVertex(0.,
0., 100.)</p>
<p>&nbsp;</p>
<p># create a curve and a vertex on it</p>
<p class="whs1">Arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
0.25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex
0&quot;)</p>
<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>
<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex
X&quot;)</p>
<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex
Y&quot;)</p>
<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex
Z&quot;)</p>
<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
&quot;Vertex on Arc&quot;)</p>
<p>&nbsp;</p>
<p># display vertices</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark1>Creation of a Line</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">py = geompy.MakeVertex(0.
&nbsp;, 100.,
0. &nbsp;)</p>
<p class="whs1">pz = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
100.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vxy &nbsp;=
geompy.MakeVector(px, py)</p>
<p>&nbsp;</p>
<p># create a line from a point and a vector</p>
<p class="whs1">line1 = geompy.MakeLine(pz,
vxy)</p>
<p>&nbsp;</p>
<p>#create a line from two points</p>
<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0,
p100)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vxy, &nbsp;&quot;Vector&quot;)</p>
<p class="whs1">id_line1 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(line1,&quot;Line1&quot;)</p>
<p class="whs1">id_line2 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(line2,&quot;Line2&quot;)</p>
<p>&nbsp;</p>
<p># display lines</p>
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
<p class="whs1">gg.createAndDisplayGO(id_line1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark2>Creation of &nbsp;a
Circle</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">py = geompy.MakeVertex(0.
&nbsp;, 100.,
0. &nbsp;)</p>
<p class="whs1">pz = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
100.)</p>
<p>&nbsp;</p>
<p># create a vector on two points</p>
<p class="whs1">vxy &nbsp;=
geompy.MakeVector(px, py)</p>
<p>&nbsp;</p>
<p># create a circle from a point, a vector and a radius</p>
<p class="whs1">circle1 = geompy.MakeCircle(pz,
vxy, 30)</p>
<p>&nbsp;</p>
<p>#create a circle from three points</p>
<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0,
px, py)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vxy, &nbsp;&nbsp;&nbsp;&quot;Vector&quot;)</p>
<p class="whs1">id_circle1 &nbsp;=
geompy.addToStudy(circle1,&quot;Circle1&quot;)</p>
<p class="whs1">id_circle2 &nbsp;=
geompy.addToStudy(circle2,&quot;Circle2&quot;)</p>
<p>&nbsp;</p>
<p># display circles</p>
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark3>Creation of an Ellipse</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p50 = geompy.MakeVertex(50.,
50., 50.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector &nbsp;=
geompy.MakeVector(p0, p50)</p>
<p>&nbsp;</p>
<p># create an ellipse from a point, a vector and radiuses</p>
<p class="whs1">ellipse = geompy.MakeEllipse(p50,
vector, 50, 25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vector &nbsp;=
geompy.addToStudy(vector, &quot;Vector&quot;)</p>
<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,&quot;Ellipse&quot;)</p>
<p>&nbsp;</p>
<p># display the ellipse and its normal vector</p>
<p class="whs1">gg.createAndDisplayGO(id_vector)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark4>Creation of a Curve</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">p1 = geompy.MakeVertex(50.
, 100., 200.)</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;50., 100.)</p>
<p class="whs1">p3 = geompy.MakeVertex(100.,
150., 170.)</p>
<p class="whs1">p4 = geompy.MakeVertex(200.,
200., 150.)</p>
<p>&nbsp;</p>
<p># create a polyline from a list of points</p>
<p class="whs1">polyline = geompy.MakePolyline([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p># create a bezier curve from a list of points</p>
<p class="whs1">bezier = geompy.MakeBezier([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p>#create a b-spline curve from a list of points</p>
<p class="whs1">interpol = geompy.MakeInterpol([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point3&quot;)</p>
<p class="whs1">id_p3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p3, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point4&quot;)</p>
<p class="whs1">id_p4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p4, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point5&quot;)</p>
<p class="whs1">id_polyline = geompy.addToStudy(polyline,
&quot;Polyline&quot;)</p>
<p class="whs1">id_bezier &nbsp;&nbsp;=
geompy.addToStudy(bezier, &nbsp;&nbsp;&quot;Bezier&quot;)</p>
<p class="whs1">id_interpol = geompy.addToStudy(interpol,
&quot;Interpol&quot;)</p>
<p class="whs1">&nbsp;</p>
<p># display the points and the curves</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>
<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark5>Creation of a Vector</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(10.,
50., 20.)</p>
<p class="whs1">p2 = geompy.MakeVertex(70.,
70., 70.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector1 = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30,
30, 100)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
<p class="whs1">id_vector1 = geompy.addToStudy(vector1,&quot;Vector1&quot;)</p>
<p class="whs1">id_vector2 = geompy.addToStudy(vector2,&quot;Vector2&quot;)</p>
<p>&nbsp;</p>
<p># display the points and the vectors</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark6>Creation of a Plane</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
100.)</p>
<p class="whs1">p2 = geompy.MakeVertex(100.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">p4 = geompy.MakeVertex(100.,
100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p5 = geompy.MakeVertex(0.
&nbsp;, 100.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector_arc = geompy.MakeVector(p2,
p5)</p>
<p>&nbsp;</p>
<p># create an arc from three points</p>
<p class="whs1">arc = geompy.MakeArc(p2,
p4, p5)</p>
<p>&nbsp;</p>
<p># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vector_arc,
arc])</p>
<p>&nbsp;</p>
<p># create a face</p>
<p class="whs1">isPlanarWanted = 1</p>
<p class="whs1">face = geompy.MakeFace(wire,
isPlanarWanted)</p>
<p class="whs1">trimsize = 1000.</p>
<p>&nbsp;</p>
<p># create a plane from a point, a vector and a trimsize</p>
<p class="whs1">plane1 = geompy.MakePlane(p1,
vector, trimsize)</p>
<p>&nbsp;</p>
<p># create a plane from three points and a trimsize</p>
<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1,
p2, p3, trimsize)</p>
<p>&nbsp;</p>
<p># create a plane from the given face</p>
<p class="whs1">plane3 = geompy.MakePlaneFace(face,
trimsize)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_face &nbsp;&nbsp;=
geompy.addToStudy(face, &nbsp;&quot;Face&quot;)</p>
<p class="whs1">id_plane1 = geompy.addToStudy(plane1,&quot;Plane1&quot;)</p>
<p class="whs1">id_plane2 = geompy.addToStudy(plane2,&quot;Plane2&quot;)</p>
<p class="whs1">id_plane3 = geompy.addToStudy(plane3,&quot;Plane3&quot;)</p>
<p>&nbsp;</p>
<p># display the points and the vectors</p>
<p class="whs1">gg.createAndDisplayGO(id_face)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>
<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>
<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>
<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>
<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>
<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span>
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,248 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Basic Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBasic Operations");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Basic Operations</h1>
<h3><a name=bookmark>Partition</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
100.)</p>
<p>&nbsp;</p>
<p># create a vector</p>
<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create a box from two points</p>
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p>&nbsp;</p>
<p># create a plane</p>
<p class="whs1">trimsize &nbsp;=
500.</p>
<p class="whs1">plane = geompy.MakePlane(pz,
vxyz, trimsize)</p>
<p>&nbsp;</p>
<p># create partition objects</p>
<p class="whs1">partition1 = geompy.MakePartition([box],
[plane])</p>
<p class="whs1">partition2 = geompy.Partition([box],
[plane])</p>
<p class="whs1">partition3 = geompy.MakeHalfPartition(box,
plane)</p>
<p class="whs1">&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p class="whs1">id_plane = geompy.addToStudy(plane,&quot;Plane&quot;)</p>
<p class="whs1">id_partition1 = geompy.addToStudy(partition1,&quot;MakePartition&quot;)</p>
<p class="whs1">id_partition2 = geompy.addToStudy(partition2,&quot;Partition&quot;)</p>
<p class="whs1">id_partition3 = geompy.addToStudy(partition3,&quot;MakeHalfPartition&quot;)</p>
<p>&nbsp;</p>
<p># display the partition objects and the plane</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
</p>
<h3><a name=bookmark1>Archimede</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p>&nbsp;</p>
<p># create a box from two points</p>
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p>&nbsp;</p>
<p># perform an Archimede operation on the selected shape with selected
parameters</p>
<p class="whs1">weight &nbsp;=
1000000.</p>
<p class="whs1">waterdensity = 1.</p>
<p class="whs1">meshingdeflection
= 0.01</p>
<p class="whs1">archimede &nbsp;=
geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
<p class="whs1">&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p class="whs1">id_archimede = geompy.addToStudy(archimede,&quot;Archimede&quot;)</p>
<p>&nbsp;</p>
<p># display the box and the result of Archimede operation</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,263 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Blocks Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBlocks Operations");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Blocks Operations</h1>
<h3><a name=bookmark4>Multi Transformation</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
25., 50.)</p>
<p class="whs1">p_50_25_25 = geompy.MakeVertex(50.,
25., 25.)</p>
<p class="whs1">p_25_50_25 = geompy.MakeVertex(25.,
50., 25.)</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(50,
50, 50)</p>
<p class="whs1">top_face = geompy.GetFaceNearPoint(box,
p_25_25_50)</p>
<p class="whs1">yz_face = geompy.GetFaceNearPoint(box,
p_50_25_25)</p>
<p class="whs1">xz_face = geompy.GetFaceNearPoint(box,
p_25_50_25)</p>
<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
top_face)</p>
<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
yz_face)</p>
<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
xz_face)</p>
<p>&nbsp;</p>
<p># Multi-transformate block and glue the result</p>
<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
yz_face_ind, top_face_ind, 3)</p>
<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box,
xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_box = geompy.addToStudy(box,
&quot;Box&quot;)</p>
<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1,
&quot;Multi-transformed Block 1D&quot;)</p>
<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2,
&quot;Multi-transformed Block 2D&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark5>Explode on Blocks</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a box and a sphere</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p>
<p class="whs1">sphere = geompy.MakeSphereR(100)</p>
<p class="whs1">&nbsp;</p>
<p># make a compound</p>
<p class="whs1">compound = geompy.MakeCompound([box,
sphere])</p>
<p>&nbsp;</p>
<p># get all the blocks, contained in the given compound</p>
<p class="whs1">make_block_explode
= geompy.MakeBlockExplode(compound, 1, 1)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,
&quot;Compound&quot;)</p>
<p class="whs1">id_make_block_explode
= geompy.addToStudy(make_block_explode[0], &quot;MakeBlockExplode&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark6>Propagate</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p>&nbsp;</p>
<p># create a box and a sphere</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p>
<p>&nbsp;</p>
<p># check and improve</p>
<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
<p>&nbsp;&nbsp;</p>
<p># build all possible propagation groups</p>
<p class="whs1">listChains = geompy.Propagate(check_box)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">geompy.addToStudy(check_box,
&quot;Box&quot;)</p>
<p class="whs1">for chain in listChains:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(check_box,
chain, &quot;propagation chain&quot;)</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,353 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Boolean Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBoolean Operations");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Boolean Operations</h1>
<h3><a name=bookmark>Fuse</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(
0, &nbsp;0, 0)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">height = 35</p>
<p class="whs1">radius1 = 20</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p># fuse</p>
<p class="whs1">fuse = geompy.MakeFuse(cylinder,
sphere)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
&quot;Cylinder&quot;)</p>
<p class="whs1">id_sphere = geompy.addToStudy(sphere,
&quot;Sphere&quot;)</p>
<p class="whs1">id_fuse = geompy.addToStudy(fuse,
&quot;Fuse&quot;)</p>
<p>&nbsp;</p>
<p># display results</p>
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark1>Common</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(
0, &nbsp;0, 0)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">height = 35</p>
<p class="whs1">radius1 = 20</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p># make common</p>
<p class="whs1">common = geompy.MakeCommon(cylinder,
sphere)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_common = geompy.addToStudy(common,
&quot;Common&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_common)</p>
<p class="whs1">gg.setDisplayMode(id_common,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark2>Cut </a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(
0, &nbsp;0, 0)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">height = 35</p>
<p class="whs1">radius1 = 20</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p>#cut</p>
<p class="whs1">cut = geompy.MakeCut(cylinder,
sphere)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_cut = geompy.addToStudy(cut,
&quot;Cut&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark3>Section</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(
0, &nbsp;0, 0)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">height = 35</p>
<p class="whs1">radius1 = 20</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p># make a section</p>
<p class="whs1">section = geompy.MakeSection(cylinder,
sphere)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_section = geompy.addToStudy(section,
&quot;Section&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_section)</p>
<p class="whs1">gg.setDisplayMode(id_section,1)
</p>
<p class="whs1">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,177 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Box</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-style:italic; }
p.whs4 { margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
p.whs6 { font-weight:normal; }
p.whs7 { font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:312px; height:332px; float:none; border-style:none; }
p.whs9 { font-size:12pt; font-weight:bold; }
p.whs10 { font-size:12pt; font-weight:bold; font-style:normal; }
p.whs11 { font-size:12pt; font-style:normal; font-weight:bold; }
img_whs12 { border:none; width:267px; height:280px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nBox");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Box</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Box</B></span></p>
<p>&nbsp;</p>
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>.
</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (SOLID).</p>
<p>&nbsp;</p>
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span>
by two specified <span style="font-weight: bold;"><B>Vertices (</B></span>its
opposite corners), and with edges, parallel to the coordinate axes. </p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
Point2)</I></span></p>
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
+ </font></span>2 vertices (opposite corners of the box).</p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;"><img src="pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></b></p>
<p>&nbsp;</p>
<p class="whs6"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly,
you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span
style="font-weight: normal;"> by </b>specified dimensions along the coordinate
axes</span> and with edges, parallel to them. &nbsp;The
center of the box will be at point (DX/2, DY/2, DZ/2). </p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX,
DY, DZ)</I></span></p>
<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
+ 3 values (dimensions at origin).</font></span></p>
<p class="whs7"><b style="font-weight: bold;"><img src="pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs8"></b></p>
<p>&nbsp;</p>
<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>There is
a third way to create a Box, which is currently accessible only via<span
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B> TUI </B></font></span>commands.</p>
<p class="whs9"><span style="font-weight: normal;">You
can define a </span>Box<span style="font-weight: normal;"> by the coordinates
of two </span>Vertices<span style="font-weight: normal;"> (in this way
you don't need to create them in advance). </span></p>
<p class="whs10"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</I></span>
</p>
<span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Arguments: </B></font></span>Name
+ X, Y and Z coordinates of both points.
<p>&nbsp;</p>
<p class="whs11">Example:</p>
<p class="whs7"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs12"></p>
<p>&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>.
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,335 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Building by Blocks</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBuilding by Blocks");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Building by Blocks</h1>
<h3>Quadrangle Face</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;0., 120.,
&nbsp;50.)</p>
<p class="whs1">p4 = geompy.MakeVertex(
&nbsp;0., &nbsp;40.,
&nbsp;70.)</p>
<p>&nbsp;</p>
<p># create edges</p>
<p class="whs1">edge1 = geompy.MakeEdge(p1,
p2)</p>
<p class="whs1">edge2 = geompy.MakeEdge(p2,
p3)</p>
<p class="whs1">edge3 = geompy.MakeEdge(p3,
p4)</p>
<p class="whs1">edge4 = geompy.MakeEdge(p4,
p1)</p>
<p>&nbsp;</p>
<p># create a quadrangle face from four edges</p>
<p class="whs1">qface1 = geompy.MakeQuad(edge1,
edge2, edge3, edge4)</p>
<p>&nbsp;</p>
<p># create a quadrangle face from two edges</p>
<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
edge3)</p>
<p>&nbsp;</p>
<p># create a quadrangle from four points in its corners</p>
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
p2, p3, p4)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p1 = geompy.addToStudy(p1,&quot;Point1&quot;)</p>
<p class="whs1">id_p2 = geompy.addToStudy(p2,&quot;Point2&quot;)</p>
<p class="whs1">id_p3 = geompy.addToStudy(p3,&quot;Point3&quot;)</p>
<p class="whs1">id_p4 = geompy.addToStudy(p4,&quot;Point4&quot;)</p>
<p class="whs1">id_edge1 = geompy.addToStudy(edge1,&quot;Edge1&quot;)</p>
<p class="whs1">id_edge2 = geompy.addToStudy(edge2,&quot;Edge2&quot;)</p>
<p class="whs1">id_edge3 = geompy.addToStudy(edge3,&quot;Edge3&quot;)</p>
<p class="whs1">id_edge4 = geompy.addToStudy(edge4,&quot;Edge4&quot;)</p>
<p class="whs1">id_qface1 = geompy.addToStudy(qface1,&quot;Qface1&quot;)</p>
<p class="whs1">id_qface2 = geompy.addToStudy(qface2,&quot;Qface2&quot;)</p>
<p class="whs1">id_qface3 = geompy.addToStudy(qface3,&quot;Qface3&quot;)</p>
<p>&nbsp;</p>
<p># display the vertices, the edges and the quadrangle faces</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
</p>
<p>&nbsp;</p>
<h3>Hexagonal Solid</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;0., 120.,
&nbsp;50.)</p>
<p class="whs1">p4 = geompy.MakeVertex(
&nbsp;0., &nbsp;40.,
&nbsp;70.)</p>
<p class="whs1">p5 = geompy.MakeVertex(100.,
&nbsp;20., &nbsp;45.)</p>
<p class="whs1">p6 = geompy.MakeVertex(
&nbsp;0., 70.,
&nbsp;40.)</p>
<p class="whs1">p7 = geompy.MakeVertex(
70., 70., &nbsp;70.)</p>
<p class="whs1">p8 = geompy.MakeVertex(
70.,-15., &nbsp;70.)</p>
<p class="whs1">p9 = geompy.MakeVertex(
&nbsp;0., &nbsp;0.,
&nbsp;40.)</p>
<p class="whs1">p10 = geompy.MakeVertex(
&nbsp;0., 70.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p11 = geompy.MakeVertex(
70., 70., &nbsp;&nbsp;0.)</p>
<p class="whs1">p12 = geompy.MakeVertex(
70., -15., &nbsp;&nbsp;0.)</p>
<p class="whs1">p13 = geompy.MakeVertex(
&nbsp;0., &nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p># create faces</p>
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1,
p2, p3, p4)</p>
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1,
p2, p5, p4)</p>
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13,
p12, p11, p10)</p>
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9,
p8, p7, p6)</p>
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13,
p9, p6, p10)</p>
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13,
p9, p8, p12)</p>
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12,
p8, p7, p11)</p>
<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11,
p7, p6, p10)</p>
<p>&nbsp;</p>
<p># create a hexahedral solid between two given faces</p>
<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
qface2)</p>
<p>&nbsp;</p>
<p># create a hexahedral solids, bounded by six given faces</p>
<p class="whs1">solid2 = geompy.MakeHexa(qface3,
qface4, qface5, qface6, qface7, qface8)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_solid1 = geompy.addToStudy(solid1,&quot;Solid1&quot;)</p>
<p class="whs1">id_solid2 = geompy.addToStudy(solid2,&quot;Solid2&quot;)</p>
<p>&nbsp;</p>
<p># display solids</p>
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
<p class="whs1">gg.setDisplayMode(id_solid1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span>
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,197 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Chamfer</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:319px; float:none; border-style:none; }
img_whs5 { border:none; width:225px; height:239px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:381px; float:none; border-style:none; }
img_whs7 { border:none; width:230px; height:245px; float:none; border-style:none; }
img_whs8 { border:none; width:221px; height:238px; float:none; border-style:none; }
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Chamfer</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Chamfer</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt;
Chamfer</B></span> </p>
<p>&nbsp;</p>
<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer
of the edges of a Shape.</font></span></p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
be a</span></b> GEOM_Object.</font></span></p>
<p>&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
chamfer on all edges of the given shape, you need to define the <span
style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
chamfer. &nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span>
</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
+ 1 SHAPE + 1 value (Chamfer dimension).</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs4"> &nbsp;<img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs5"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create chamfer on the specified edges of
the given shape, &nbsp;you
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
to create a fillet on, select the two faces to which belongs the <span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">necessary common edge in the viewer and define
the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Dimension</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of the Chamfer.</font></span></p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1,
D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on,
D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1
and Face2 are indices of faces in Shape.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs7"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create chamfer on the specified faces of
the given shape, &nbsp;you
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
to create a fillet on, select the necessary faces the OCC Viewer and define
the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1,
D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on,
D1 is a chamfer size along a face from &nbsp;ListOfFaceID,
&nbsp;D2 is a
chamfer size along two faces connected to the edge to which the chamfer
is applied, ListOfFaceID is a list of indices of faces in Shape.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs8"></p>
<p class="whs3">&nbsp;</p>
<p class="whs9">&nbsp;&nbsp;<span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
Operations</a>. </font></span></p>
<p>&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,183 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Changing Display Parameters</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nViewing Geometrical Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Viewing Geometrical Objects</h1>
<h3><a name=bookmark>Changing Display Mode</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
salome</span></p>
<p class="whs1">import geompy</p>
<p class="whs1">box = geompy.MakeBox(0,0,0,
50,50,50)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
30)</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark1>Changing Color</a></h3>
<p class="whs1">import salome</p>
<p class="whs1">import geompy</p>
<p class="whs1">box = geompy.MakeBox(0,0,0,
50,50,50)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
30)</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<p class="whs1">gg.setColor(fuse_id,218,165,31)
</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark2>Changing Transparency</a></h3>
<p class="whs1">import salome</p>
<p class="whs1">import geompy</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">box = geompy.MakeBox(0,0,0,
50,50,50)</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
30)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
<p class="whs1">gg.setTransparency(fuse_id,0.5)
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,150 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Check Free Boundaries</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:22px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs4 { border:none; width:243px; height:203px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:0px; }
p.whs6 { font-size:12pt; margin-left:40px; }
img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; }
img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }
p.whs9 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image44.gif" width="22px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Boundaries</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu
select <span style="font-weight: bold;"><B>Repair - &gt; Check Free Boundaries</B></span>.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">This operation detects wires and edges that
correspond to the shape's boundary, and highlights it</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b><b> <span
style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
<p>&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
where Shape is a shape to be checked, NoError is false if an error occurred
while checking free boundaries, ClosedWires is a list of closed free boundary
wires, OpenWires is a list of open free boundary wires.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
<p class="whs5">&nbsp;</p>
<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> &nbsp;<img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8">&nbsp; </p>
<p class="whs9">&nbsp;</p>
<p class="whs9"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,150 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Check Free Faces</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:23px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; }
p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; }
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
p.whs8 { font-size:12pt; text-indent:-40px; margin-left:80px; }
img_whs9 { border:none; float:none; width:234px; height:281px; border-style:none; }
img_whs10 { border:none; width:248px; height:283px; float:none; border-style:none; }
p.whs11 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs6 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs8 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image10.gif" width="23px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Faces</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
style="font-weight: bold;"><B>Check Free Faces</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>Repair - &gt; Check Free Faces.</B></span></p>
<p class="whs2">This operation retrieves all free faces from
a given shape. A free face is a face not shared between two shells of
the shape. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b><b> <span
style="font-weight: bold;"><B>GEOM_Object</B></span><span style="font-weight: normal;">
(a list of IDs of all free faces, containing in the shape)</span><span
style="font-weight: bold;"><B>. </B></span></b></p>
<p class="whs2"><b>TUI Command :</b><i><span style="font-style: italic;">
<I></i>GetFreeFacesIDs(Shape)</I></span>, where Shape is a shape to be checked.</p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs5"></p>
<p class="whs6">&nbsp;</p>
<p class="whs7">Examples: </p>
<p class="whs6">&nbsp;</p>
<p class="whs8"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs9"> &nbsp;<img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs10"></p>
<p class="whs6">&nbsp;</p>
<p class="whs11"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,156 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Circle</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:bold; }
p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:359px; float:none; border-style:none; }
img_whs7 { border:none; width:348px; height:321px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCircle");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Circle</h1>
<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Circle</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in
the 3D space.</span> </b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (edge).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span
style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span>
Vector <span style="font-weight: normal;">giving the </b>circl</span>es
normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>
<p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-weight: normal;">Name + 1 vertex (for the center)
+ 1 edge (for the direction) + Radius.</span></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> </p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><span style="font-weight: normal;">Secondly,
you can define a</span> Circle<span style="font-weight: normal;"> by three</span>
Points <span style="font-weight: normal;">that lie on it.</span> </p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command:</b> &nbsp;<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1,
Point2, Point3)</I></span> </p>
<p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-weight: normal;">Name + 3 points which will form
the circle.</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs6"></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs7"></b></p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,153 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Close Contour</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
ul.whs3 { list-style:disc; }
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }
p.whs6 { font-size:12pt; font-weight:bold; }
p.whs7 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Close Contour</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the
Main Menu select <span style="font-weight: bold;"><B>Repair - &gt; Close
Contour.</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">This operation closes an open contour and modifies
the underlying face (if needed) in accordance with user specified mode:</p>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs2">By common vertex a
vertex is created between the end points of the contour and its tolerance
is increased to a value of the gap between the ends of the contour;</p></li>
<li class=kadov-p><p class="whs2">By new edge a new edge
is inserted between the end points of the contour.</p></li>
</ul>
<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC
Viewer</B></span> only. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object</B></span></b><span
style="font-weight: bold;"><B>.</B></span></font></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
is a list of edges or wires IDs which has to be closed within the shape
(if the list contains only one element = -1, the shape itself is considered
as a wire), &nbsp;IsCommonVertex
if this parameter is True a closure has to be done by creation of a common
vertex, otherwise an edge is added between the end vertices.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
or a set of Edges) + mode of closure (by vertex or by edge)</p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>
<p class="whs6">&nbsp;</p>
<p class="whs7"><span style="font-weight: normal;">Our</span>
TUI Scripts <span style="font-weight: normal;">provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,111 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Color</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-size:12pt; }
p.whs2 { margin-left:40px; }
img_whs3 { border:none; width:492px; height:392px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nViewing geometrical objects\nColor");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Color</h1>
<p>You can change the filling color of your object in the standard <span
style="font-weight: bold;"><B>Select Color</B></span> menu accessible by right-clicking
on an object and selecting <span style="font-weight: bold;"><B>Color</B></span>
in the pop-up menu box. </p>
<p>&nbsp;</p>
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">TUI
Command:</b><i> gg.setColor(ID, Short, Short, Short)</i></font></span></p>
<p>&nbsp;</p>
<p class="whs2"><img src="selectcolor.png" x-maintain-ratio="TRUE" width="492px" height="392px" border="0" class="img_whs3"></p>
<p>&nbsp;</p>
<p class="whs1">Our TUI Scripts provide you with useful examples
of <a href="changing_display_parameters.htm#bookmark1">Changing Display
Parameters</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,147 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Common</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCommon");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Common</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Common</B></span> operation in the Main
Menu select <span style="font-weight: bold;"><B>Operations - &gt; Boolean
- &gt; Common</B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
operation</span> </b>cuts the common part of two shapes and transforms
it into an independent geometrical object.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
(COMPOUND).</p>
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
&nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1,
s2)</I></span> </p>
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
Name + 2 shapes.</p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/bool2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
<p class="whs4">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/commonsn.png" x-maintain-ratio="TRUE" width="234px" height="266px" border="0" class="img_whs7"> </p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,489 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Complex Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nComplex Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Complex Objects</h1>
<h3><a name=bookmark>Creation of a Prism</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p2 = geompy.MakeVertex(
100., &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
100., 100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p4 = geompy.MakeVertex(
&nbsp;&nbsp;0.,
100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p5 = geompy.MakeVertex(
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;60.)</p>
<p class="whs1">p6 = geompy.MakeVertex(-100.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p8 = geompy.MakeVertex(
&nbsp;&nbsp;0.,-100.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
50., 50.)</p>
<p>&nbsp;</p>
<p>#create vectors from two points</p>
<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">vector2_arc1 = geompy.MakeVector(p1,
p4)</p>
<p class="whs1">vector1_arc2 = geompy.MakeVector(p1,
p6)</p>
<p class="whs1">vector2_arc2 = geompy.MakeVector(p1,
p8)</p>
<p>&nbsp;</p>
<p># create arcs from three points</p>
<p class="whs1">arc1 = geompy.MakeArc(p2,
p3, p4)</p>
<p class="whs1">arc2 = geompy.MakeArc(p6,
p7, p8)</p>
<p>&nbsp;</p>
<p># create wires</p>
<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
arc1, vector2_arc1])</p>
<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2,
arc2, vector2_arc2])</p>
<p>&nbsp;</p>
<p># create faces</p>
<p class="whs1">isPlanarWanted = 1</p>
<p class="whs1">face1 = geompy.MakeFace(wire1,
isPlanarWanted)</p>
<p class="whs1">face2 = geompy.MakeFace(wire2,
isPlanarWanted)</p>
<p>&nbsp;</p>
<p># create prisms</p>
<p class="whs1">prism1 = geompy.MakePrism(face2,
p1, p5)</p>
<p class="whs1">prism2 = geompy.MakePrismVecH(face1,
vector, 50)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_face1 &nbsp;&nbsp;=
geompy.addToStudy(face1,&quot;Face1&quot;)</p>
<p class="whs1">id_face2 &nbsp;&nbsp;=
geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p class="whs1">id_prism1 = geompy.addToStudy(prism1,&quot;Prism1&quot;)</p>
<p class="whs1">id_prism2 = geompy.addToStudy(prism2,&quot;Prism2&quot;)</p>
<p>&nbsp;</p>
<p># display cylinders</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
</p>
<h3><a name=bookmark1>Creation of a Revolution</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;10., &nbsp;10.,
&nbsp;10.)</p>
<p class="whs1">p2 = geompy.MakeVertex(
&nbsp;15., &nbsp;15.,
&nbsp;50.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;40., &nbsp;40.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p>#create vectors from two points</p>
<p class="whs1">vector1 = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">vector2 = geompy.MakeVector(p1,
p3)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
-20., 100.)</p>
<p>&nbsp;</p>
<p># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vector1,
vector2])</p>
<p>&nbsp;</p>
<p># create a revolution</p>
<p class="whs1">revolution = geompy.MakeRevolution(wire,
vector3, 2.3)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vector3 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vector3,&quot;Axis&quot;)</p>
<p class="whs1">id_wire &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p class="whs1">id_revolution = geompy.addToStudy(revolution,&quot;Revolution&quot;)</p>
<p>&nbsp;</p>
<p># display the vector, the wire and the revolution</p>
<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
</p>
<h3><a name=bookmark2>Creation of a Filling</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">mindeg = 2</p>
<p class="whs1">maxdeg = 5</p>
<p class="whs1">tol3d &nbsp;&nbsp;=
0.0001</p>
<p class="whs1">tol2d &nbsp;&nbsp;=
0.0001</p>
<p class="whs1">nbiter = 5</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;-30., &nbsp;-30.,
&nbsp;50.)</p>
<p class="whs1">p2 = geompy.MakeVertex(
&nbsp;-60., &nbsp;-60.,
&nbsp;30.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;-30., &nbsp;-30.,
&nbsp;10.)</p>
<p>&nbsp;</p>
<p># create an arc from three points</p>
<p class="whs1">arc = geompy.MakeArc(p1,
p2, p3)</p>
<p class="whs1">ShapeListCompound
= []</p>
<p class="whs1">i = 0</p>
<p class="whs1">while i &lt;= 3 :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;S
= geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;ShapeListCompound.append(S)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;i
= i + 1</p>
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
<p>&nbsp;</p>
<p># create a filling</p>
<p class="whs1">filling = geompy.MakeFilling(compound,
mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>
<p class="whs1">id_filling = geompy.addToStudy(filling,&quot;Filling&quot;)</p>
<p>&nbsp;</p>
<p># display the compound and the filling</p>
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p class="whs1">gg.createAndDisplayGO(id_filling)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark3>Creation of a Pipe</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p>&nbsp;</p>
<p># create an arc from three points</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p>&nbsp;</p>
<p># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p>&nbsp;</p>
<p># create an edge</p>
<p class="whs1">edge = geompy.MakeEdge(p0,
pxyz)</p>
<p>&nbsp;</p>
<p># create a pipe</p>
<p class="whs1">pipe = geompy.MakePipe(wire,
edge)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
<p class="whs1">id_pipe = geompy.addToStudy(pipe,&quot;Pipe&quot;)</p>
<p>&nbsp;</p>
<p># display the wire, the edge (path) and the pipe</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge)</p>
<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,138 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Compound</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
img_whs5 { border:none; width:195px; height:174px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nCompound");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Compound</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select
New Entity - &gt; Build - &gt; <span style="font-weight: bold;"><B>Compound.</B></span></p>
<p>&nbsp;</p>
<p class="whs2">You can create a compound from a list of shells.
</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
(COMPOUND).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + List of shapes.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric
Objects</a>. </p>
<p>&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,166 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Cone</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-weight:bold; }
p.whs4 { margin-left:40px; }
img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; }
p.whs6 { font-weight:bold; margin-left:40px; }
img_whs7 { border:none; width:312px; height:402px; float:none; border-style:none; }
p.whs8 { font-size:12pt; margin-left:40px; }
img_whs9 { border:none; width:276px; height:282px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCone");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Cone</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cone</B></span></p>
<p>&nbsp;</p>
<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Cone</B></span>.
</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (SOLID).</p>
<p>&nbsp;</p>
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
point of the cone base), the <span style="font-weight: bold;"><B>Axis</B></span>,
the <span style="font-weight: bold;"><B>Height</B></span> and the first and the
second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
Axis, Radius1, Radius2)</I></span></p>
<p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
+ 1 vector (for direction) + 3 values (Radius of the base part, radius
of the upper part, height).</font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>
<p>&nbsp;</p>
<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
with the center at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span>
and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span>
of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear
to the OZ axis of the coordinate system. </p>
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeConeR1R2H(Radius1,
Radius2, Height)</I></span> </p>
<p class="whs3"><b>Arguments: </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
+ 3 values (Radius of the base part, radius of the upper part, height).</font></span></p>
<p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs7"></p>
<p class="whs3">&nbsp;</p>
<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero,
the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If
the radiuses are equal, a <span style="font-weight: bold;"><B>Cylinder</B></span>
will be created instead. </p>
<p>&nbsp;</p>
<p><b style="font-weight: bold;">Example:</b></p>
<p>&nbsp;</p>
<p class="whs8"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs9"></p>
<p class="whs8">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,258 +0,0 @@
<html>
<head>
<title>Geometry Module Reference Manual</title>
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<meta name="description" content="WebHelp 5.50">
</head>
<body>
<script language="JavaScript">
<!--
var gArrayCsh = new Array();
var gstrWindowOption = "";
var gstrURL = "";
var gbWithNavPane = false;
function CshEntityItem(strAliasId, nTopicNum, strUrl)
{
this.strAliasId = strAliasId;
this.nTopicNum = nTopicNum;
this.strUrl = strUrl;
}
//Try to get to topic number from hash string
function GetTopicNumberAuto(strMayBeNumber)
{
var nNum = -1;
if (strMayBeNumber.length >= 1)
{
var strTmp = strMayBeNumber;
var iEnd = strTmp.length;
for (var i=0; i<iEnd; i++)
{
var ch = strTmp.charAt(i);
if (!((ch == "0") || (ch == "1") ||
(ch == "2") || (ch == "3") ||
(ch == "4") || (ch == "5") ||
(ch == "6") || (ch == "7") ||
(ch == "8") || (ch == "9")))
return GetTopicNumberById(strTmp);
}
nNum = parseInt(strTmp);
}
return nNum;
}
function GetTopicNumber(strHashString)
{
var nTopicEndPos = strHashString.indexOf(',')
if (nTopicEndPos == -1) { // no window option.
return GetTopicNumberOnly(strHashString);
}
else {
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
var strWithNavPane = 'withnavpane=true';
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
{
if (strWindowOption.length > strWithNavPane.length)
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
else
gstrWindowOption = "";
gbWithNavPane = true;
}
else
gstrWindowOption = strWindowOption;
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
}
}
function GetTopicNumberOnly(strTopicString)
{
var nEqualPos = strTopicString.indexOf('=');
if (nEqualPos == -1) {
return GetTopicNumberAuto(strTopicString);
}
else {
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
return parseInt(strValue);
} else if (strTopicString.toLowerCase().indexOf("context") == 0) {
return GetTopicNumberById(strValue);
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
gstrURL = strValue;
return -1;
}
}
}
//Find HomePage of the WebHelp system
// we try to get the topic from remote project if it exists.
function RedirectToHomePage()
{
if (parent && parent != this && parent.goNext)
{
var sHome = parent.goNext();
if (sHome != "")
RedirectTo(sHome);
}
}
function getHomePage()
{
if (parent && parent != this && parent.getRelHomePage)
{
return parent.getRelHomePage(document.location.href);
}
return "";
}
function addRemoteProject(strPath)
{
if (parent && parent != this && parent.addProject)
{
parent.addProject(strPath);
}
}
//Redirect page to...
function RedirectTo(strUrl)
{
if (gstrWindowOption.length != 0) {
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
// close current window and rename the stub window to current window.
if (wnd)
wnd.focus();
if (parent)
parent.close();
}
else {
parent.document.location.href = strUrl;
window.focus();
}
}
//Prompt the user that we can not find...
function FailToFind(strMsg)
{
RedirectToHomePage();
}
//Find topic by topic number (defined in h file)
function FindTopicByTopicNum(nTopicNum)
{
var i = 0;
var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++)
{
if (gArrayCsh[i].nTopicNum == nTopicNum)
{
var strURL = gArrayCsh[i].strUrl;
if (gbWithNavPane)
{
var strHomePage = getHomePage();
if (strHomePage.length != 0)
strURL = strHomePage + strURL;
}
RedirectTo(strURL);
return true;
}
}
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
return false;
}
var oldPrefix = "HelpIdFromHTMLHelp_"
//Find topic by topic id (alias id defined in ali file)
function GetTopicNumberById(strTopicId)
{
if (strTopicId.indexOf(oldPrefix) == 0)
{
strTopicId = strTopicId.substring(oldPrefix.length);
}
var i = 0;
var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++)
{
if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
{
return gArrayCsh[i].nTopicNum;
}
}
gstrURL = "";
return -1;
}
//Set Context-sensitive help entity...
function SetCsh(n, strAliasId, nTopicNum, strUrl)
{
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
}
function getHash()
{
if (parent && parent != this)
return parent.location.hash;
else
return "";
}
//-->
</script>
<script language="javascript">
<!--
//-->
</script>
<script language="javascript">
<!--
//Find CSH according to hash string after this page
if (getHash().length > 0)
{
// VH 05/16/00 now support
// TopicID=
// TopicNumber=
// RemoteURL=
// and WindowsOptions
// with the format #a=xxx,b=xxx,c=xxx...
var strHashString = getHash().toString();
// change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
// so here need to change it back.
strHashString = strHashString.substring(1,strHashString.length);
strHashString = strHashString.replace("%072%057%057", "://");
var nTopicNum = GetTopicNumber(strHashString);
if (nTopicNum != -1)
{
FindTopicByTopicNum(nTopicNum);
}
else
{
if (gstrURL.length > 0)
RedirectTo(gstrURL);
else
RedirectToHomePage();
}
}
else
{
RedirectToHomePage();
}
//-->
</script>
<noscript>
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
</noscript>
</body>
</html>

View File

@ -1,251 +0,0 @@
<html>
<head>
<title>Geometry Module Reference Manual</title>
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<meta name="description" content="WebHelp 5.50">
</head>
<body>
<script language="JavaScript">
<!--
var gArrayCsh = new Array();
var gstrWindowOption = "";
var gstrURL = "";
var gbWithNavPane = false;
function CshEntityItem(strAliasId, nTopicNum, strUrl)
{
this.strAliasId = strAliasId;
this.nTopicNum = nTopicNum;
this.strUrl = strUrl;
}
//Try to get to topic number from hash string
function GetTopicNumberAuto(strMayBeNumber)
{
var nNum = -1;
if (strMayBeNumber.length >= 1)
{
var strTmp = strMayBeNumber;
var iEnd = strTmp.length;
for (var i=0; i<iEnd; i++)
{
var ch = strTmp.charAt(i);
if (!((ch == "0") || (ch == "1") ||
(ch == "2") || (ch == "3") ||
(ch == "4") || (ch == "5") ||
(ch == "6") || (ch == "7") ||
(ch == "8") || (ch == "9")))
return GetTopicNumberById(strTmp);
}
nNum = parseInt(strTmp);
}
return nNum;
}
function GetTopicNumber(strHashString)
{
var nTopicEndPos = strHashString.indexOf(',')
if (nTopicEndPos == -1) { // no window option.
return GetTopicNumberOnly(strHashString);
}
else {
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
var strWithNavPane = 'withnavpane=true';
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
{
if (strWindowOption.length > strWithNavPane.length)
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
else
gstrWindowOption = "";
gbWithNavPane = true;
}
else
gstrWindowOption = strWindowOption;
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
}
}
function GetTopicNumberOnly(strTopicString)
{
var nEqualPos = strTopicString.indexOf('=');
if (nEqualPos == -1) {
return GetTopicNumberAuto(strTopicString);
}
else {
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
return parseInt(strValue);
} else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {
return GetTopicNumberById(strValue);
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
gstrURL = strValue;
return -1;
}
}
}
//Find HomePage of the WebHelp system
// we try to get the topic from remote project if it exists.
function RedirectToHomePage()
{
if (parent && parent != this && parent.goNext)
{
var sHome = parent.goNext();
if (sHome != "")
RedirectTo(sHome);
}
}
function getHomePage()
{
if (parent && parent != this && parent.getRelHomePage)
{
return parent.getRelHomePage(document.location.href);
}
return "";
}
function addRemoteProject(strPath)
{
if (parent && parent != this && parent.addProject)
{
parent.addProject(strPath);
}
}
//Redirect page to...
function RedirectTo(strUrl)
{
if (gstrWindowOption.length != 0) {
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
// close current window and rename the stub window to current window.
wnd.focus();
if (parent)
parent.close();
}
else {
parent.document.location.href = strUrl;
window.focus();
}
}
//Prompt the user that we can not find...
function FailToFind(strMsg)
{
RedirectToHomePage();
}
//Find topic by topic number (defined in h file)
function FindTopicByTopicNum(nTopicNum)
{
var i = 0;
var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++)
{
if (gArrayCsh[i].nTopicNum == nTopicNum)
{
var strURL = gArrayCsh[i].strUrl;
if (gbWithNavPane)
{
var strHomePage = getHomePage();
if (strHomePage.length != 0)
strURL = strHomePage + strURL;
}
RedirectTo(strURL);
return true;
}
}
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
return false;
}
//Find topic by topic id (alias id defined in ali file)
function GetTopicNumberById(strTopicId)
{
var i = 0;
var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++)
{
if (gArrayCsh[i].strAliasId == strTopicId)
{
return gArrayCsh[i].nTopicNum;
}
}
gstrURL = "";
return -1;
}
//Set Context-sensitive help entity...
function SetCsh(n, strAliasId, nTopicNum, strUrl)
{
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
}
function getHash()
{
if (parent && parent != this)
return parent.location.hash;
else
return "";
}
//-->
</script>
<script language="javascript">
<!--
//-->
</script>
<script language="javascript">
<!--
//Find CSH according to hash string after this page
if (getHash().length > 0)
{
// VH 05/16/00 now support
// TopicID=
// TopicNumber=
// RemoteURL=
// and WindowsOptions
// with the format #a=xxx,b=xxx,c=xxx...
var strHashString = getHash().toString();
// change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
// so here need to change it back.
strHashString = strHashString.substring(1,strHashString.length);
strHashString = strHashString.replace("%072%057%057", "://");
var nTopicNum = GetTopicNumber(strHashString);
if (nTopicNum != -1)
{
FindTopicByTopicNum(nTopicNum);
}
else
{
if (gstrURL.length > 0)
RedirectTo(gstrURL);
else
RedirectToHomePage();
}
}
else
{
RedirectToHomePage();
}
//-->
</script>
<noscript>
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
</noscript>
</body>
</html>

View File

@ -1,168 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Curve</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
ul.whs3 { list-style:disc; }
p.whs4 { font-size:12pt; font-style:italic; }
p.whs5 { font-size:12pt; font-style:italic; margin-left:40px; }
img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }
p.whs7 { font-size:12pt; font-style:normal; font-weight:bold; }
p.whs8 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
img_whs9 { border:none; float:none; width:310px; height:308px; border-style:none; }
img_whs10 { border:none; width:313px; height:310px; float:none; border-style:none; }
img_whs11 { border:none; float:none; width:291px; height:313px; border-style:none; }
p.whs12 { font-size:12pt; margin-left:40px; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCurve");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="image32.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</b></font></span>Curve</h1>
<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
Entity - &gt; Basic - &gt; Curve</B></span></p>
<p>&nbsp;</p>
<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by
a list of </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Points</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to three possible types
of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of
each operation will be a</span></b> GEOM_Object (edge).</font></span></p>
<p>&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b>
</p>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>
</ul>
<p class="whs2">ListOfShape is a list of points through which
the curve passes.</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + at least 2 points which will serve as nodes on the curve.</font></span></p>
<p class="whs4">&nbsp;</p>
<p class="whs5"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"> </p>
<p class="whs4">&nbsp;</p>
<p class="whs7">Examples:</p>
<p class="whs2">&nbsp;</p>
<p class="whs8">Polyline
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
style="font-size: 12pt;
font-weight: bold;
font-style: italic;
x-text-underline: off;
/*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</B></I></font></span></p>
<p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs10"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs11"></p>
<p class="whs12">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,144 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Cut</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
img_whs7 { border:none; width:231px; height:267px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCut");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cut</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Cut</B></span> operation in the Main Menu
select <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt;
Cut</B></span></p>
<p>&nbsp;</p>
<p class="whs3">This operation cuts a shape with another
one.</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span> </b>&nbsp;GEOM_Object
(COMPOUND).</p>
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
Name + 2 shapes.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/bool3.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
<p class="whs4">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/cutsn.png" x-maintain-ratio="TRUE" width="231px" height="267px" border="0" class="img_whs7"> </p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,168 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Cylinder</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-weight:bold; }
p.whs4 { margin-left:40px; }
img_whs5 { border:none; width:312px; height:376px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:376px; border-style:none; float:none; }
p.whs7 { margin-left:0px; }
img_whs8 { border:none; width:287px; height:272px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs7 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCylinder");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cylinder</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cylinder</B></span></p>
<p>&nbsp;</p>
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (SOLID).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span>
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
(the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
Axis, Radius, Height)</I></span>, </p>
<p class="whs3"><b style="font-weight: bold;">Arguments:
<span style="font-weight: normal;">&nbsp;</span></b><span
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
+ 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
<p class="whs4"><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs5"></b></p>
<p>&nbsp;</p>
<p><b><span style="font-weight: normal;">Secondly, you can define</b> a
</span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
and the height at &nbsp;the
origin of coordinate system. The axis of the cylinder will be collinear
to the OZ axis of the coordinate system. </p>
<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
Height)</I></span></p>
<p><b>Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values
(Dimensions at origin: radius and height).</p>
<p>&nbsp;</p>
<p class="whs4"><img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs6"></p>
<p class="whs7">&nbsp;&nbsp;</p>
<p><b style="font-weight: bold;">Example:</b></p>
<p>&nbsp;</p>
<p class="whs4"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs8"></p>
<p class="whs4">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,101 +0,0 @@
BODY {
background-color:#ffffff;
font-family:"Times New Roman" , serif; }
H1 {
font-weight:bold;
font-size:24.0pt; }
LI.kadov-H1 {
font-weight:bold;
font-size:24.0pt; }
H2 {
font-weight:bold;
font-size:18.0pt; }
LI.kadov-H2 {
font-weight:bold;
font-size:18.0pt; }
H3 {
font-weight:bold;
font-size:14.0pt; }
LI.kadov-H3 {
font-weight:bold;
font-size:14.0pt; }
H4 {
font-weight:bold;
font-size:12.0pt; }
LI.kadov-H4 {
font-weight:bold;
font-size:12.0pt; }
H5 {
font-weight:bold;
font-size:10.0pt; }
LI.kadov-H5 {
font-weight:bold;
font-size:10.0pt; }
H6 {
font-weight:bold;
font-size:8.0pt; }
LI.kadov-H6 {
font-weight:bold;
font-size:8.0pt; }
P {
font-size:12.0pt;
margin-top:0pt;
margin-bottom:0pt; }
LI.kadov-P {
font-size:12.0pt; }
A.expandspot {
color:#008000;
cursor:hand;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
SPAN.expandtext {
font-style:italic;
font-weight:normal;
color:#ff0000; }
A.dropspot {
cursor:hand;
color:#008000;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
A.glossterm {
color:#800000;
cursor:hand;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
SPAN.glosstext {
font-style:italic;
font-weight:normal;
color:#0000ff; }
OL {
margin-top:0px;
margin-bottom:0px; }
UL {
margin-top:0px;
margin-bottom:0px; }
A:active { }
A:hover {
x-text-underline:Off;
text-decoration:none; }
A:link {
x-text-underline:Off;
text-decoration:none; }
A:visited {
x-text-underline:Off;
text-decoration:none; }
P.TODO {
font-weight:normal;
font-style:italic;
font-family:"Arial Black" , sans-serif; }
LI.kadov-P-CTODO {
font-weight:normal;
font-style:italic;
font-family:"Arial Black" , sans-serif; }

View File

@ -1,118 +0,0 @@
BODY {
background-color:#ffffff;
font-family:"Times New Roman" , serif; }
H1 {
font-weight:bold;
font-size:24.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H1 {
font-weight:bold;
font-size:24.0pt; }
H2 {
font-weight:bold;
font-size:18.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H2 {
font-weight:bold;
font-size:18.0pt; }
H3 {
font-weight:bold;
font-size:14.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H3 {
font-weight:bold;
font-size:14.0pt; }
H4 {
font-weight:bold;
font-size:12.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H4 {
font-weight:bold;
font-size:12.0pt; }
H5 {
font-weight:bold;
font-size:10.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H5 {
font-weight:bold;
font-size:10.0pt; }
H6 {
font-weight:bold;
font-size:8.0pt;
font-family:"Times New Roman" , serif; }
LI.kadov-H6 {
font-weight:bold;
font-size:8.0pt; }
P {
font-size:12.0pt;
margin-top:1pt;
margin-bottom:1pt;
font-family:"Times New Roman" , serif; }
LI.kadov-P {
font-size:12.0pt; }
A.expandspot {
color:#008000;
cursor:hand;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
SPAN.expandtext {
font-style:italic;
font-weight:normal;
color:#ff0000; }
A.dropspot {
cursor:hand;
color:#008000;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
A.glossterm {
color:#800000;
cursor:hand;
font-style:italic;
x-text-underline:off;
x-text-overline:off;
x-text-line-through:off;
text-decoration:none none none; }
SPAN.glosstext {
font-style:italic;
font-weight:normal;
color:#0000ff; }
OL {
margin-top:0px;
margin-bottom:0px;
font-family:"Times New Roman" , serif; }
UL {
margin-top:0px;
margin-bottom:0px;
font-family:"Times New Roman" , serif; }
A:active { }
A:hover {
x-text-underline:Off;
text-decoration:none; }
A:link {
x-text-underline:Off;
text-decoration:none; }
A:visited {
x-text-underline:Off;
text-decoration:none; }
P.TODO {
font-weight:normal;
font-style:italic;
font-family:"Arial Black" , sans-serif; }
LI.kadov-P-CTODO {
font-weight:normal;
font-style:italic;
font-family:"Arial Black" , sans-serif; }
ol ol {
margin-top:1px; }
ol ul {
margin-top:1px; }
ul ul {
margin-top:1px; }
ul ol {
margin-top:1px; }

49
doc/salome/gui/GEOM/doxyfile.in Executable file
View File

@ -0,0 +1,49 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
OUTPUT_DIRECTORY = ./
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
TAB_SIZE = 5
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
INPUT = @srcdir@/input
FILE_PATTERNS = *.doc
IMAGE_PATH = @srcdir@/images
#---------------------------------------------------------------------------
#HTML related options
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = ./
HTML_HEADER = @srcdir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES
TREEVIEW_WIDTH = 300
#---------------------------------------------------------------------------
#LaTeX related option
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
#RTF related options
#---------------------------------------------------------------------------
GENERATE_RTF = NO
#---------------------------------------------------------------------------
#External reference options
#---------------------------------------------------------------------------
TAGFILES = geompy_doc.tag=./geompy_doc

View File

@ -0,0 +1,144 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
OUTPUT_DIRECTORY = ./
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = NO
ALWAYS_DETAILED_SEC = YES
INLINE_INHERITED_MEMB = YES
FULL_PATH_NAMES = NO
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 5
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = YES
BUILTIN_STL_SUPPORT = NO
DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = YES
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = NO
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
MAX_INITIALIZER_LINES = 25
SHOW_USED_FILES = NO
SHOW_DIRECTORIES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = NO
REFERENCES_RELATION = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
EXCLUDE_SYMLINKS = NO
EXAMPLE_RECURSIVE = NO
#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
INPUT = @top_srcdir@/src/GEOM_SWIG
FILE_PATTERNS = geompyDC.py
IMAGE_PATH = @srcdir@/images
RECURSIVE = NO
#---------------------------------------------------------------------------
#HTML related options
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = ./geompy_doc
HTML_HEADER = @srcdir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = YES
GENERATE_TREEVIEW = NO
#---------------------------------------------------------------------------
#LaTeX related option
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
#RTF related options
#---------------------------------------------------------------------------
GENERATE_RTF = NO
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
#CLASS_DIAGRAMS = YES
CLASS_DIAGRAMS = NO
HIDE_UNDOC_RELATIONS = NO
#HAVE_DOT = YES
HAVE_DOT = NO
#CLASS_GRAPH = YES
CLASS_GRAPH = NO
COLLABORATION_GRAPH = NO
GROUP_GRAPHS = NO
UML_LOOK = NO
#TEMPLATE_RELATIONS = YES
#INCLUDE_GRAPH = YES
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = NO
INCLUDED_BY_GRAPH = NO
CALL_GRAPH = NO
#GRAPHICAL_HIERARCHY = YES
#DIRECTORY_GRAPH = YES
GRAPHICAL_HIERARCHY = NO
DIRECTORY_GRAPH = NO
DOT_IMAGE_FORMAT = jpg
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1200
MAX_DOT_GRAPH_DEPTH = 0
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = NO
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
#External reference options
#---------------------------------------------------------------------------
GENERATE_TAGFILE = geompy_doc.tag

View File

@ -1,135 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Edge</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs5 { border:none; width:195px; height:202px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nEdge");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Edge</h1>
<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span>
create an <span style="font-weight: bold;"><B>Edge</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Build - &gt; Edge</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span>
from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span
style="font-weight: bold;"><B>Point2</B></span>), being the first and the last
vertices of the edge.</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">&nbsp;will
be a</span></b> GEOM_Object (EDGE).</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
where Vertex1 and Vertex2 are correspondingly the first and the last vertex
of the edge.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 2 vertices.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric
Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE SYSTEM "ehelpopt.dtd">
<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">
</FILE-OPTIONS>
<EHELP-OPTIONS FORMAT-VERSION="1.0">
<OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">
</OPTIONS>
<BUTTON-LABEL>WebSearch
</BUTTON-LABEL>
</EHELP-OPTIONS>

File diff suppressed because it is too large Load Diff

View File

@ -1,153 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Ellipse</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }
p.whs6 { font-size:12pt; color:#000000; }
p.whs7 { color:#808080; font-size:12pt; }
p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs9 { border:none; width:354px; height:323px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nEllipse");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span></b>Ellipse</h1>
<p><b><span style="font-weight: normal;">T</span></b>o create an <span
style="font-weight: bold;"><B>Ellipse</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Basic - &gt; Ellipse</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
can define an</span> Ellipse <span style="font-weight: normal;">by its</span>
Center Point, <span style="font-weight: normal;">a</span> Vector <span
style="font-weight: normal;">giving its normal, and its</span> Major &amp;
Minor Radiuses.</b></p>
<p class="whs2"><b><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
<span style="font-weight: normal;">GEOM_Object (edge).</span></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
RadiusMinor)</I></span>, </p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
+ 1 Y Radius.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
<p class="whs7">&nbsp;</p>
<p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,185 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Explode</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { margin-left:0px; }
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
p.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }
p.whs5 { font-size:12pt; }
ul.whs6 { list-style:disc; }
p.whs7 { font-size:12pt; font-style:italic; }
p.whs8 { font-size:12pt; font-style:normal; }
p.whs9 { font-size:12pt; margin-left:40px; }
img_whs10 { border:none; width:312px; height:283px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs2 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nExplode");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span></b>Explode</h1>
<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span>
an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New
Entity &gt; Explode</B></span>.</p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of &nbsp;subshapes
(vertices, edges, wires etc.) of the given shape using the </font></span><span
style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Explode</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
operation, you need to define the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Main
Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and
the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p>
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a List</span>
of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>
<p class="whs5">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span>
TUI Commands<span style="font-weight: normal;"> you can perform this operation
in a variety of ways:</span> </b></p>
<ul type="disc" class="whs6">
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
Type)</I></span> explodes a Shape on subshapes of a given Type and returns
a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
Type)</I></span> &nbsp;explodes
a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes.
</p></li>
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape,
Type)</I></span> &nbsp;explodes
a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts
them by coordinates of their gravity centers, returning &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a
list of sub-shapes. </font></span></p></li>
<li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape,
Type) &nbsp;<span style="font-style: normal;">explodes
a shape on subshapes of a given type</span> <span style="font-style: normal;">and
sorts them by coordinates of their gravity centers, &nbsp;returning
a List of IDs of sub-shapes.</span></p></li>
<li class=kadov-p><p class="whs7"><span
style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd)
&nbsp;<span style="font-style: normal;">allows
to obtain a compound of sub-shapes of &nbsp;the
Shape, &nbsp;selected
by they indices in a list of all sub-shapes of the given Type. Each index
is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>
<li class=kadov-p><p class="whs8"><span
style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape,
Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape,
selected by they indices in sorted list of all sub-shapes of the given
Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
</ul>
<p class="whs5">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
1 SHAPE + 1 type of SubShape.</p>
<p class="whs5">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p class="whs9"><img src="pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs10"></p>
<p class="whs4">&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,168 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Explode on Blocks</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:23px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:0px; }
p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }
p.whs7 { margin-left:40px; font-size:12pt; }
img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; }
p.whs9 { font-size:12pt; margin-left:36px; text-indent:-36px; }
p.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }
p.whs11 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }";
strNSS += "p.whs6 {margin-left:1pt; }";
strNSS += "p.whs9 {text-indent:1pt; }";
strNSS += "p.whs10 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
an <span style="font-weight: bold;"><B>Explode on Blocks</B></span> operation
in the Main Menu select <span style="font-weight: bold;"><B>Operations -
&gt; Blocks - &gt; Explode on Blocks.</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">This operation</b>
returns blocks of the given compound. The user may define the type of
blocks to be extracted by setting the minimum and maximum number of faces
in the target block. By checking the corresponding box the user may also
interactively choose the blocks from a compound .</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
and &nbsp;the
maximal number of faces of the resulting blocks.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
style="font-weight: normal;">1 compound + 2 integers (min. and max. number
of faces in the block to be extracted).</span></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6">Example:</p>
<p class="whs5">&nbsp;</p>
<p class="whs7"><img src="pics/block_explodesn.png" x-maintain-ratio="TRUE" width="316px" height="278px" border="0" class="img_whs8"></p>
<p class="whs9">&nbsp;</p>
<p class="whs10">&nbsp;</p>
<p class="whs11">&nbsp;&nbsp;&nbsp;<span
style="font-weight: normal;">Our</span> TUI
Scripts <span style="font-weight: normal;">provide you with useful examples
of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,161 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Extrusion</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-weight:bold; }
p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }
img_whs7 { border:none; float:none; width:300px; height:175px; border-style:none; }
img_whs8 { border:none; width:350px; height:175px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</b></font></span>Extrusion</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> generate an <span
style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
Entity - &gt; Generation &nbsp;-
&gt; Extrusion</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create an Extrusion (Prism) you should define
the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the
extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span>
(a direction of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
of extrusion. &nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b>
GEOM_Object (edge, face, solid or compsolid).</p>
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
Vector, Height)</I></span></p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
+ 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>
<p>&nbsp;</p>
<p class="whs3"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs5">NB! <span style="font-weight: normal;">The
is another way to create an</span> Extrusion, <span style="font-weight: normal;">which
is currently accessible only via</span> TUI commands.</p>
<p class="whs5"><span style="font-weight: normal;">You
can define the</span> Extrusion <span style="font-weight: normal;">by
the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span
style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
of the </span>Vector<span style="font-weight: normal;"> &nbsp;(in
this way you don't need to create it in advance).</span> </p>
<p class="whs5"><b style="font-weight: bold;">TUI
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base,
Point1, Point2) </I></span></p>
<p>&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs6">Base Shape &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prisms</p>
<p class="whs3"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="175px" border="0" class="img_whs7"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs8"> &nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,155 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Face</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-style:italic; }
img_whs6 { border:none; width:180px; height:180px; float:none; border-style:none; }
img_whs7 { border:none; float:none; width:180px; height:180px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nFace");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Face</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Face</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
you need to select a wire, whose elements will be connected so that the
surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try
to create a planar face</B></span><span style="font-weight: normal;"> to create
a planar face or nothing if it is impossible.</span></b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
(FACE).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 wire.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">There are some advanced possibilities accessible
only via<span style="font-weight: bold;"><B> TUI commands</B></span>.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument
is not a single wire, but a list of wires. </p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
</I></span></p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs7"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric
Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,143 +1,143 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Introduction to GEOM</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
ul.whs2 { list-style:disc; }
table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
col.whs4 { width:50%; }
tr.whs5 { x-cell-content-align:top; }
td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
td.whs7 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs8 { border:none; width:400px; height:292px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Introduction to Geometry</h1>
<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>Geometry </B></span>module
of SALOME is destined for: </p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p>Import and export of geometrical models in IGES,
BREP and STEP formats.</p></li>
<li class=kadov-p><p>Construction and optimization of geometrical models
using a wide range of &nbsp;CAD
functions:</p></li>
</ul>
<p>&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="100%" class="whs3">
<col class="whs4">
<col class="whs4">
<tr valign="top" class="whs5">
<td width="50%" class="whs6">
<ul type="disc" class="whs2">
<li class=kadov-p><p>Creation of basic geometrical objects</p></li>
<li class=kadov-p><p>Construction of primitives</p></li>
<li class=kadov-p><p>Building shapes</p></li>
<li class=kadov-p><p>Generation of complex shapes</p></li>
<li class=kadov-p><p>Working with groups</p></li>
<li class=kadov-p><p>Geometrical repairing of objects</p></li>
<li class=kadov-p><p>Geometrical boolean operations</p></li>
<li class=kadov-p><p>Geometrical transformations</p></li>
<li class=kadov-p><p>Building by blocks</p></li>
</ul>
<p>&nbsp;</td>
<td width="50%" class="whs7">
<p><img src="../image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
</table>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Introduction to GEOM</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
ul.whs2 { list-style:disc; }
table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
col.whs4 { width:50%; }
tr.whs5 { x-cell-content-align:top; }
td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
td.whs7 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs8 { border:none; width:400px; height:292px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Introduction to Geometry</h1>
<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>Geometry </B></span>module
of SALOME is destined for: </p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p>Import and export of geometrical models in IGES,
BREP and STEP formats.</p></li>
<li class=kadov-p><p>Construction and optimization of geometrical models
using a wide range of &nbsp;CAD
functions:</p></li>
</ul>
<p>&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="100%" class="whs3">
<col class="whs4">
<col class="whs4">
<tr valign="top" class="whs5">
<td width="50%" class="whs6">
<ul type="disc" class="whs2">
<li class=kadov-p><p>Creation of basic geometrical objects</p></li>
<li class=kadov-p><p>Construction of primitives</p></li>
<li class=kadov-p><p>Building shapes</p></li>
<li class=kadov-p><p>Generation of complex shapes</p></li>
<li class=kadov-p><p>Working with groups</p></li>
<li class=kadov-p><p>Geometrical repairing of objects</p></li>
<li class=kadov-p><p>Geometrical boolean operations</p></li>
<li class=kadov-p><p>Geometrical transformations</p></li>
<li class=kadov-p><p>Building by blocks</p></li>
</ul>
<p>&nbsp;</td>
<td width="50%" class="whs7">
<p><img src="../image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
</table>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,159 +1,159 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Titre</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs3 { font-size:12pt; font-weight:normal; }
img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs5 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
p.whs6 { text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:48px; }
p.whs7 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; }
p.whs8 { margin-left:48px; }
p.whs9 { font-size:12pt; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nUsing boolean operations");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1 class="whs1">Using boolean operations</h1>
<p class="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4"><span style="font-weight: normal;">You can use the following
boolean operations for construction of more complex geometrical objects
(2D &amp; 3D elements) :</span></b></p>
<p class="whs3">&nbsp;</p>
<ul>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../fuse.htm">Fuse</a></p></li>
</ul>
<ul>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../common.htm">Common</a></p></li>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs6"><a href="../cut.htm">Cut</a></p></li>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../section.htm">Section</a></p></li>
</ul>
<p class="whs2">&nbsp;</p>
<p class="whs7">There is a general TUI command covering
all these operations, which can be used alongside with separate commands
for each operation.</p>
<p class="whs5"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1,
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2
is the second argument of Boolean operation, Operation is a type of the
Boolean operation (1 Common, 2 Cut, 3 Fuse, 4 Section).</p>
<p class="whs8">&nbsp;</p>
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI
Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean
Operations</a>. </font></span></p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Using Boolean Operations</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
h1.whs1 { margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs2 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs3 { font-size:12pt; font-weight:normal; }
img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs5 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
p.whs6 { text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:48px; }
p.whs7 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; }
p.whs8 { margin-left:48px; }
p.whs9 { font-size:12pt; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "h1.whs1 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nUsing boolean operations");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1 class="whs1">Using Boolean Operations</h1>
<p class="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4"><span style="font-weight: normal;">You can use the following
boolean operations for construction of more complex geometrical objects
(2D &amp; 3D elements) :</span></b></p>
<p class="whs3">&nbsp;</p>
<ul>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../fuse.htm">Fuse</a></p></li>
</ul>
<ul>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../common.htm">Common</a></p></li>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs6"><a href="../cut.htm">Cut</a></p></li>
<li style="list-style: disc;"
type=disc
class=kadov-p><p class="whs5"><a href="../section.htm">Section</a></p></li>
</ul>
<p class="whs2">&nbsp;</p>
<p class="whs7">There is a general TUI command covering
all these operations, which can be used alongside with separate commands
for each operation.</p>
<p class="whs5"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1,
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2
is the second argument of Boolean operation, Operation is a type of the
Boolean operation (1 Common, 2 Cut, 3 Fuse, 4 Section).</p>
<p class="whs8">&nbsp;</p>
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI
Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean
Operations</a>. </font></span></p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,146 +1,146 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Titre</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { margin-left:40px; }
img_whs4 { border:none; width:425px; height:269px; float:none; border-style:none; }
img_whs5 { border:none; width:436px; height:269px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nImporting/exporting geometrical objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Importing/exporting geometrical objects</h1>
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In Geometry module you
can import and export geometrical objects from/into BREP, IGES, STEP </span></b><b><span
style="font-weight: normal;">files. The mechanisms of import and export
are implemented via plug-ins, which gives you the opportunity to expand
the range of available formats by adding more plug-ins (for example, CATIA
5). &nbsp;</span></b></p>
&nbsp;
<p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">From the <span style="font-weight: bold;"><B>File
</B></span>menu choose <span style="font-weight: bold;"><B>Import. </B></span>In
the opening<span style="font-weight: bold;"> <B></B></span>dialog box <span style="font-weight: bold;"><B>Import</B></span>
select the required format of the file for importation and search for
a *.brep, *.iges or *.step &nbsp;file.
</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><img src="../pics/geomimport.png" x-maintain-ratio="TRUE" width="425px" height="269px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">Select the required file and click <span
style="font-weight: bold;"><B>Open</B></span>. Your file will be imported in
the module and its contents (geometrical object) will be displayed in
the <span style="font-weight: bold;"><B>Object Browser</B></span>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">Select the object you wish to export, then
from the <span style="font-weight: bold;"><B>File </B></span>menu choose <span
style="font-weight: bold;"><B>Export. </B></span>In the opening dialog box<span
style="font-weight: bold;"><B> Export </B></span>define the required format,
the name and the location of the file for exportation.<span style="font-weight: bold;">
<B></B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><img src="../pics/geomexport.png" x-maintain-ratio="TRUE" width="436px" height="269px" border="0" class="img_whs5"></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">Click <span style="font-weight: bold;"><B>Save</B></span>
to confirm your exportation. &nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Importing and exporting geometrical objects</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { margin-left:40px; }
img_whs4 { border:none; width:425px; height:269px; float:none; border-style:none; }
img_whs5 { border:none; width:436px; height:269px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nImporting/exporting geometrical objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Importing/exporting geometrical objects</h1>
<p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In Geometry module you
can import and export geometrical objects from/into BREP, IGES, STEP </span></b><b><span
style="font-weight: normal;">files. The mechanisms of import and export
are implemented via plug-ins, which gives you the opportunity to expand
the range of available formats by adding more plug-ins (for example, CATIA
5). &nbsp;</span></b></p>
&nbsp;
<p class=TODO>To import geometrical objects from a BREP, IGES, STEP file:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">From the <span style="font-weight: bold;"><B>File
</B></span>menu choose <span style="font-weight: bold;"><B>Import. </B></span>In
the opening<span style="font-weight: bold;"> <B></B></span>dialog box <span style="font-weight: bold;"><B>Import</B></span>
select the required format of the file for importation and search for
a *.brep, *.iges or *.step &nbsp;file.
</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><img src="../pics/geomimport.png" x-maintain-ratio="TRUE" width="425px" height="269px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">Select the required file and click <span
style="font-weight: bold;"><B>Open</B></span>. Your file will be imported in
the module and its contents (geometrical object) will be displayed in
the <span style="font-weight: bold;"><B>Object Browser</B></span>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class=TODO>To export geometrical objects into a BREP, IGES, STEP file:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">Select the object you wish to export, then
from the <span style="font-weight: bold;"><B>File </B></span>menu choose <span
style="font-weight: bold;"><B>Export. </B></span>In the opening dialog box<span
style="font-weight: bold;"><B> Export </B></span>define the required format,
the name and the location of the file for exportation.<span style="font-weight: bold;">
<B></B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><img src="../pics/geomexport.png" x-maintain-ratio="TRUE" width="436px" height="269px" border="0" class="img_whs5"></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">Click <span style="font-weight: bold;"><B>Save</B></span>
to confirm your exportation. &nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,509 +1,483 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Titre</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style>
<!--
A:visited { color:#800080; }
A:link { color:#0000ff; }
-->
</style><style type="text/css">
<!--
p.whs1 { font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { margin-left:40px; }
img_whs4 { border:none; width:21px; height:19px; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs6 { border:none; width:272px; height:303px; float:none; border-style:none; }
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
img_whs8 { width:20px; height:20px; border-style:none; }
p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }
img_whs10 { border:none; width:360px; height:307px; float:none; border-style:none; }
p.whs11 { font-size:12pt; margin-left:40px; }
img_whs12 { border:none; width:312px; height:367px; float:none; border-style:none; }
p.whs13 { font-size:12pt; margin-left:400px; }
img_whs14 { border:none; width:360px; height:333px; float:none; border-style:none; }
p.whs15 { font-size:12pt; font-weight:bold; }
img_whs16 { border:none; width:360px; height:328px; float:none; border-style:none; }
p.whs17 { font-size:12pt; font-weight:normal; }
img_whs18 { border:none; width:360px; height:290px; float:none; border-style:none; }
img_whs19 { border:none; width:360px; height:405px; float:none; border-style:none; }
img_whs20 { border:none; width:360px; height:309px; float:none; border-style:none; }
p.whs21 { font-size:12pt; margin-left:40px; text-indent:-40px; }
img_whs22 { border:none; width:25px; height:23px; border-style:none; }
ul.whs23 { list-style:disc; }
img_whs24 { border:none; width:329px; height:436px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs21 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nUsing measurement tools");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Using measurement tools</h1>
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">Measurement tools in GEOM are necessary for getting</b> different
data concerning created or imported geometrical objects. They are:</p>
<p class="whs1">&nbsp;</p>
<ul>
<li class=kadov-p><p class="whs1"><a href="#PointCoord">Point
coordinates</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic
properties</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center
of mass</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding
box</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Min_distance">Min.
distance</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check
compound of blocks</a></p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
show how to use <a href="../measurement_tools.htm">Measurement Tools</a>
with &nbsp;<span style="font-weight: bold;"><B>TUI
commands</B></span>. </p>
<p class="whs1">&nbsp;</p>
<p class=TODO>To use measurement tools:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures
</B></span>submenu.</p>
<p class="whs3">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><a name=PointCoord>&nbsp;<img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
Returns the coordinates of a point.</font></span></p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Point
coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>,
where Point is a point whose coordinates are inquired.</p>
<p class="whs1">&nbsp;</p>
<p class="whs5"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs6"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;"><a
NAME=Basic_properties
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b>
</p>
<p class="whs9">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Return the properties (Length, Surface &amp; Volume) of a definite geometrical
object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
Length, Surface &amp; Volume in the form of Python Tuple.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>,
where Shape is a shape whose properties are inquired.</p>
<p class="whs1">&nbsp;</p>
<p class="whs3"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs10"></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="whs7"><a name=Center_gravity
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
Center of mass</b></a></p>
<p class="whs9">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Creates a gravity center of a shape and returns its coordinates.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
(vertex).</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where
Shape is the shape for which a center of gravity is computed.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs12"></p>
<p class="whs1">&nbsp;</p>
<p class="whs7">&nbsp;</p>
<p class="whs7"><a NAME=Inertia_axis
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Inertia</font></b></a>
</p>
<p class="whs7">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns the inertia axis of a geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
the matrix and moments of inertia in the form of Python Tuple (I11, I12,
I13, </p>
<p class="whs13">&nbsp;I21,
I22, I23, </p>
<p class="whs13">&nbsp;I31,
I32, I33,</p>
<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix,
Iy, Iz)</font></span>.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where
Shape is a shape for which a matrix of inertia and moment of inertia are
returned.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs14"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Bounding_box
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Bounding
box</font></b></a> </p>
<p class="whs7">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns the dimensions of the bounding box of a geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the dimensions of the bounding box of a geometrical object in the form
of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
<p class="whs1">&nbsp;</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which a bounding
box is computed.</span></p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Min_distance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Min. distance</font></b></a></p>
<p class="whs7">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns the min. distance between 2 geometrical objects.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the min. distance.</p>
<p class="whs1">&nbsp;</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
are shapes between which the minimal distance computed.</span></p>
<p class="whs17">&nbsp;</p>
<p class="whs11"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="290px" border="0" class="img_whs18"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Tolerance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
Tolerance</b></a> </p>
<p class="whs9">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns the tolerance of a geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
VertexMinTol, VertexMaxTol).</p>
<p class="whs1">&nbsp;</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which minimal
and maximal tolerances are returned.</span></p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Whatis><span
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a>
</font></span></p>
<p class="whs9">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns the type of a geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
all elements composing your geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape
is a shape from which a description is returned.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs19"></p>
<p class="whs11">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs7"><a NAME=check
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Check</font></b></a>
</p>
<p class="whs7">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Returns True if this geometrical object is valid.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>,
where is shape which is checked for validity.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="309px" border="0" class="img_whs20"></p>
<p class="whs11">&nbsp;</p>
<p class="whs21">&nbsp;</p>
<p class="whs21">&nbsp;</p>
<p class="whs21"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs22"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound
of blocks</B></font></span></a></p>
<p class="whs21">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Description:</b>
Checks whether a shape is a compound of glued blocks. To be considered
as a compound of blocks, the given shape must satisfy the following conditions:</p>
<ul type="disc" class="whs23">
<li class=kadov-p><p class="whs1">&nbsp;Each
element of the compound should be a Block (6 faces and 12 edges);</p></li>
<li class=kadov-p><p class="whs1">&nbsp;A
connection between two Blocks should be an entire quadrangle face or an
entire edge;</p></li>
<li class=kadov-p><p class="whs1">&nbsp;The
compound should be connected;</p></li>
<li class=kadov-p><p class="whs1">&nbsp;Two
quadrangle faces should be glued. </p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1">Informs of the following possible errors:</p>
<ul type="disc" class="whs23">
<li class=kadov-p><p class="whs1">not a block,</p></li>
<li class=kadov-p><p class="whs1">not glued,</p></li>
<li class=kadov-p><p class="whs1">not connected,</p></li>
<li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra
or degenerated edge.</font></span></p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean;
highlight in the viewer.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound).
</I></span>Checks if the<span style="font-style: italic;"> <I></I></span>shape is
a valid compound of blocks. If it is true, then the validity flag is returned,
and encountered errors are printed in the python console.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs24"></p>
<p class="whs11">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Using Measurement Tools</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style>
<!--
A:visited { color:#800080; }
A:link { color:#0000ff; }
-->
</style><style type="text/css">
<!--
p.whs1 { font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { margin-left:40px; }
img_whs4 { border:none; width:21px; height:19px; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs6 { border:none; width:272px; height:303px; float:none; border-style:none; }
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }
img_whs8 { width:20px; height:20px; border-style:none; }
p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }
img_whs10 { border:none; width:360px; height:307px; float:none; border-style:none; }
p.whs11 { font-size:12pt; margin-left:40px; }
img_whs12 { border:none; width:312px; height:367px; float:none; border-style:none; }
p.whs13 { font-size:12pt; margin-left:400px; }
img_whs14 { border:none; width:360px; height:333px; float:none; border-style:none; }
p.whs15 { font-size:12pt; font-weight:bold; }
img_whs16 { border:none; width:360px; height:328px; float:none; border-style:none; }
p.whs17 { font-size:12pt; font-weight:normal; }
img_whs18 { border:none; width:360px; height:290px; float:none; border-style:none; }
img_whs19 { border:none; width:360px; height:405px; float:none; border-style:none; }
img_whs20 { border:none; width:360px; height:337px; float:none; border-style:none; }
p.whs21 { font-size:12pt; margin-left:40px; text-indent:-40px; }
img_whs22 { border:none; width:25px; height:23px; border-style:none; }
ul.whs23 { list-style:disc; }
img_whs24 { border:none; width:329px; height:436px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs21 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nUsing measurement tools");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Using measurement tools</h1>
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2">Measurement tools in GEOM are necessary for getting</b> different
data concerning created or imported geometrical objects. They are:</p>
<p class="whs1">&nbsp;</p>
<ul>
<li class=kadov-p><p class="whs1"><a href="#PointCoord">Point
coordinates</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic
properties</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center
of mass</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding
box</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Min_distance">Min.
distance</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check
compound of blocks</a></p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
show how to use <a href="../measurement_tools.htm">Measurement Tools</a>
with &nbsp;<span style="font-weight: bold;"><B>TUI
commands</B></span>. </p>
<p class="whs1">&nbsp;</p>
<p class=TODO>To use measurement tools:</p>
<p class=TODO>&nbsp;</p>
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures
</B></span>submenu.</p>
<p class="whs3">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><a name=PointCoord>&nbsp;<img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Returns the
coordinates of a point.</font></span></p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Point
coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>,
where Point is a point whose coordinates are inquired.</p>
<p class="whs1">&nbsp;</p>
<p class="whs5"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs6"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;"><a
NAME=Basic_properties
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b>
</p>
<p class="whs9">&nbsp;</p>
<p class="whs1">Returns the properties (Length, Surface &amp;
Volume) for the selected geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Display
Length, Surface &amp; Volume in the form of Python Tuple.</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>,
where Shape is a shape whose properties are inquired.</p>
<p class="whs1">&nbsp;</p>
<p class="whs3"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs10"></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="whs7"><a name=Center_gravity
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
Center of mass</b></a></p>
<p class="whs9">&nbsp;</p>
<p class="whs1">Calculates and returns the coordinates of the
gravity center for the selected geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
(vertex).</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where
Shape is the shape for which a center of gravity is computed.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs12"></p>
<p class="whs1">&nbsp;</p>
<p class="whs7">&nbsp;</p>
<p class="whs7"><a NAME=Inertia_axis
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Inertia</font></b></a>
</p>
<p class="whs7">&nbsp;</p>
<p class="whs1">Returns the axis of inertia for the selected
geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the matrix and moments of inertia in the form of Python Tuple (I11, I12,
I13, </p>
<p class="whs13">&nbsp;I21,
I22, I23, </p>
<p class="whs13">&nbsp;I31,
I32, I33,</p>
<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix,
Iy, Iz)</font></span>.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where
Shape is a shape for which a matrix of inertia and moment of inertia are
returned.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs14"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Bounding_box
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Bounding
box</font></b></a> </p>
<p class="whs7">&nbsp;</p>
<p class="whs1">Returns the dimensions of the bounding box
for the selected geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the dimensions of the bounding box of a geometrical object in the form
of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which a bounding
box is computed.</span></p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Min_distance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Min. distance</font></b></a></p>
<p class="whs7">&nbsp;</p>
<p class="whs1">Returns the minimum distance between two geometrical
objects.</p>
<p class="whs1">&nbsp;</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
are shapes between which the minimal distance computed.</span></p>
<p class="whs17">&nbsp;</p>
<p class="whs11"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="290px" border="0" class="img_whs18"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Tolerance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
Tolerance</b></a> </p>
<p class="whs9">&nbsp;</p>
<p class="whs1">Returns the maximum and the minimum tolerance
for the selected geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
VertexMinTol, VertexMaxTol).</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which minimal
and maximal tolerances are returned.</span></p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Whatis><span
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a>
</font></span></p>
<p class="whs9">&nbsp;</p>
<p class="whs1">Displays types and quantities of all elements
composing the selected geometrical object.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape
is a shape from which a description is returned.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs19"></p>
<p class="whs11">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs7"><a NAME=check
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
size=4> Check</font></b></a>
</p>
<p class="whs7">&nbsp;</p>
<p class="whs1">Checks the topology of the selected geometrical
object and returns True if it is valid. <span style="font-weight: bold;"><B>Check
also geometry</B></span> checkbox allows to test the geometry as well. </p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.(theShape, theIsCheckGeom
= 0)</I></span>, where is shape which is checked for validity.</p>
<p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="337px" border="0" class="img_whs20"></p>
<p class="whs21">&nbsp;</p>
<p class="whs21">&nbsp;</p>
<p class="whs21"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs22"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound
of blocks</B></font></span></a></p>
<p class="whs21">&nbsp;</p>
<p class="whs1">Checks whether a shape is a compound of glued
blocks. To be considered as a compound of blocks, the given shape must
satisfy the following conditions:</p>
<ul type="disc" class="whs23">
<li class=kadov-p><p class="whs1">&nbsp;Each
element of the compound should be a Block (6 faces and 12 edges);</p></li>
<li class=kadov-p><p class="whs1">&nbsp;A
connection between two Blocks should be an entire quadrangle face or an
entire edge;</p></li>
<li class=kadov-p><p class="whs1">&nbsp;The
compound should be connected;</p></li>
<li class=kadov-p><p class="whs1">&nbsp;Two
quadrangle faces should be glued. </p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1">Informs of the following possible errors:</p>
<ul type="disc" class="whs23">
<li class=kadov-p><p class="whs1">not a block,</p></li>
<li class=kadov-p><p class="whs1">not glued,</p></li>
<li class=kadov-p><p class="whs1">not connected,</p></li>
<li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra
or degenerated edge.</font></span></p></li>
</ul>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean;
highlight in the viewer.</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound).
</I></span>Checks if the<span style="font-style: italic;"> <I></I></span>shape is
a valid compound of blocks. If it is true, then the validity flag is returned,
and encountered errors are printed in the python console.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs24"></p>
<p class="whs11">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,182 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Fillet</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }
img_whs7 { border:none; width:226px; height:250px; float:none; border-style:none; }
img_whs8 { border:none; float:none; width:208px; height:250px; border-style:none; }
img_whs9 { border:none; width:220px; height:250px; float:none; border-style:none; }
p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nFillet");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fillet</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt;
Fillet</B></span> &nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">This operation creates<span style="font-weight: bold;">
<B></B></span>fillets on the edges of a shape.</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create fillets on all edges of the given
shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span>
of the Fillet. &nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i>geompy.MakeFilletAll(Shape, R) </p>
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 value
(fillet radius).</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create fillets on the specified edges or
faces of the given shape, &nbsp;you
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
to create a fillet on, select the necessary edges or faces in the OCC
Viewer and define the &nbsp;<span style="font-weight: bold;"><B>Radius</B></span>
of the Fillet. </p>
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)
</I></span></p>
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection
of edges (or faces) + 1 value (Fillet radius).</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> &nbsp;<img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
<p class="whs2">&nbsp; </p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs6">Fillet on all &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet
on an edge &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet
on a Face</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> &nbsp;&nbsp;<img src="pics/fillet_edge.png" x-maintain-ratio="TRUE" width="208px" height="250px" border="0" class="img_whs8"><span style="font-size: 12pt; margin-left: 40px;"> <font size=3 style="font-size:12pt;">&nbsp;<img src="pics/fillet_prism.png" x-maintain-ratio="TRUE" width="220px" height="250px" border="0" class="img_whs9"></font></span></p>
<p class="whs10">&nbsp;&nbsp;</p>
<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
Operations</a>. </font></span></p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,145 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Filling</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; }
img_whs5 { border:none; float:none; width:260px; height:230px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nFilling");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Filling
Surface with Curves</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span
style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Generation &nbsp;-
&gt; Filling</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create a curving face using several curves
you need to define the <span style="font-weight: bold;"><B>Curves</B></span>,
which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span>
and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance
</B></span>for<span style="font-weight: bold;"><B> 2D</B></span> and for <span style="font-weight: bold;"><B>3D
</B></span>&nbsp;and
the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b>
GEOM_Object (face).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
of iterations, 2D tolerance, 3D tolerance).</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/filling_compoundsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs5"> <img src="pics/fillingsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs5"> &nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric
Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,152 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Fuse</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs7 { border:none; float:none; width:252px; height:265px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nFuse");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fuse</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Fuse</B></span> operation in the Main Menu
select <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt;
Fuse</B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
style="font-weight: normal;">This operation creates a shape from two</span>
</b>shapes.</font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
style="font-weight: normal;">The</span> Result<span style="font-weight: normal;">
will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 2 shapes.</font></span></p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI
Command:</B></span> &nbsp;<span style="font-style: italic;"><I>geompy.MakeFuse(s1,
s2)</I></span> </font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
<p class="whs6">&nbsp;</p>
<p class="whs6"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"> &nbsp;<img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"></font></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,582 +0,0 @@
|SourceProjectName:GEOM.hpr
|DestinationProjectName:index.htm
whhost.js
whmsg.js
whmozemu.js
whproxy.js
whstub.js
whutils.js
whver.js
whform.js
whphost.js
whstart.js
whtopic.js
whframes.js
whlang.js
whskin_info.htm
whskin_blank.htm
whskin_pickup.htm
whskin_homepage.htm
whskin_tw.htm
whnjs.htm
whthost.js
whtdhtml.htm
whihost.js
whibody.htm
whiform.htm
whfhost.js
whfbody.htm
whfform.htm
whghost.js
whgbody.htm
whgdhtml.htm
whgdef.htm
whproj.js
whproj.xml
whproj.htm
whxdata\whtoc.xml
whxdata\whidx.xml
whxdata\whfts.xml
whxdata\whglo.xml
whdata\whtoc.js
whdata\whtoc.htm
whdata\whtdata.js
whdata\whidx.js
whdata\whidx.htm
whdata\whidata.js
whdata\whfts.js
whdata\whfts.htm
whdata\whglo.js
whdata\whglo.htm
whdata\whgdata.js
whdata\whftdata.js
whdata\whfwdata.js
whres.xml
webhelp.jar
webhelp.cab
whgdata\whnvp30.htm
whgdata\whnvp31.htm
whgdata\whnvp32.htm
whgdata\whnvp33.htm
whgdata\whnvt30.htm
whgdata\whnvt31.htm
whgdata\whnvt32.htm
whgdata\whnvt33.htm
whgdata\whnvf30.htm
whgdata\whnvf31.htm
whgdata\whnvf32.htm
whgdata\whnvf33.htm
whgdata\whnvl31.htm
whgdata\whnvl32.htm
whgdata\whnvl33.htm
whgdata\whexpbar.gif
cshdat_webhelp.htm
whcsh_home.htm
whcshdata.htm
cshdat_robohelp.htm
whd_topic.xml
whd_nvp10.htm
whd_nvp20.htm
whd_tabs.htm
whd_dpns.htm
whd_tab0.gif
whd_tab1.gif
whd_tab2.gif
whd_tab3.gif
whd_tab4.gif
whd_tab5.gif
whd_tab6.gif
whd_tab7.gif
whd_tab8.gif
whd_toc1.gif
whd_toc2.gif
whd_toc3.gif
whd_toc4.gif
whd_show0.gif
whd_show1.gif
whd_show2.gif
whd_hide0.gif
whd_hide1.gif
whd_hide2.gif
whd_sync0.gif
whd_sync1.gif
whd_sync2.gif
whd_prev0.gif
whd_prev1.gif
whd_prev2.gif
whd_next0.gif
whd_next1.gif
whd_next2.gif
whd_wbsh0.gif
whd_wbsh1.gif
whd_wbsh2.gif
whidhtml.htm
whfdhtml.htm
index_hha.hhk
index.hhc
index.hhk
add_point_on_edge.htm
arc.htm
archimede.htm
basic_geometrical_objects.htm
basic_operations.htm
blocks_operations.htm
boolean_operations.htm
box.htm
building_by_blocks.htm
chamfer.htm
changing_display_parameters.htm
check_free_boundaries.htm
check_free_faces.htm
circle.htm
close_contour.htm
color.htm
common.htm
complex_objects.htm
compound.htm
cone.htm
curve.htm
cut.htm
cylinder.htm
edge.htm
ellipse.htm
explode.htm
explode_on_blocks.htm
extrusion.htm
face.htm
files\introduction_to_geom.htm
files\salome2_sp3_booleangui_functions.htm
files\salome2_sp3_geomtoolsgui_functions.htm
files\salome2_sp3_measuregui_functions.htm
fillet.htm
filling.htm
fuse.htm
geometrical_objects.htm
geometry.htm
glue_faces.htm
groups.htm
isos.htm
line.htm
local_coordinate_system.htm
measurement_tools.htm
mirror_image.htm
modify_the_location.htm
multi_rotation.htm
multi_transformation.htm
multi_translation.htm
newentity_blocks.htm
occ_viewer.htm
offset_surface.htm
partition.htm
pipe_creation.htm
plane.htm
point.htm
primitives.htm
propagate.htm
repairing_operations.htm
revolution.htm
rotation.htm
scale_transform.htm
section.htm
sewing.htm
shape_processing.htm
shell.htm
sketcher.htm
sketcher_tui.htm
solid.htm
sphere.htm
suppress_faces.htm
suppress_holes.htm
suppress_internal_wires.htm
transformation_operations.htm
translation.htm
transparency.htm
turus.htm
vector.htm
viewing_geometrical_objects.htm
wire.htm
wireframe_and_shading.htm
working_plane.htm
working_with_groups.htm
ehelp.xml
index.glo
default.css
pics\image86.gif
pics\image103.gif
pics\image97.gif
pics\chamfer_all.png
pics\edgesn.png
pics\boxes.png
pics\mtrans1.png
pics\transformation3.png
pics\mtransf2.png
image15.jpg
image204.jpg
image56.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
pics\clipping.png
pics\image98.gif
pics\archimedesn1.png
pics\neo-basicprop.png
pics\mtrans2.png
pics\transformation4.png
pics\mtransf3.png
pics\plane1.png
image16.jpg
image57.gif
image35.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
pics\image105.gif
pics\image99.gif
pics\image88.gif
pics\image77.gif
pics\suppress_faces1.png
pics\mirror_axissn1.png
pics\archimedesn2.png
pics\revolutionsn.png
pics\ellipsesn.png
pics\transformation10.png
pics\transformation5.png
pics\mtransf4.png
pics\plane2.png
image206.jpg
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
image26.gif
image1.jpg
pics\image106.gif
pics\image89.gif
pics\suppress_faces2.png
pics\multi_translation1dsn.png
pics\mirror_axissn2.png
pics\multi_transformationsn2d.png
pics\archimedesn3.png
pics\wiresn.png
pics\transformation11.png
pics\transformation6.png
pics\block1.png
pics\pipe.png
pics\torus1.png
pics\plane3.png
image59.gif
image37.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
pics\multi_transformationsn1d.png
pics\fillingsn.png
pics\spheres.png
pics\polyline.png
pics\neo-obj1.png
pics\repair1.png
pics\transformation7.png
pics\block2.png
pics\torus2.png
image27.gif
image180.jpg
image49.gif
image109.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
image28.gif
selectcolor.png
pics\glue_faces1.png
pics\supp_int_wires1.png
pics\fusesn1.png
pics\transparencysn.png
pics\arcsn.png
pics\points.png
pics\neo-obj2.png
pics\neo-localcs1.png
pics\measures10.png
pics\repair2.png
pics\transformation8.png
pics\block3.png
image181.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
image3.jpg
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
image18.gif
image1.gif
pics\geomimport.png
pics\neo-isos.png
pics\glue_faces2.png
pics\supp_int_wires2.png
pics\sectionsn.png
pics\fusesn2.png
pics\toruses.png
pics\circles.png
pics\neo-materials.png
pics\neo-obj3.png
pics\neo-localcs2.png
pics\measures1.png
pics\repair3.png
pics\transformation9.png
pics\bool1.png
pics\partition1.png
pics\block4.png
pics\sphere1.png
image193.jpg
image29.gif
image160.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
image2.gif
pics\chamfer_faces.png
pics\fillet_prism.png
pics\rotationsn1.png
pics\disp_mode1sn.png
pics\pipesn.png
pics\pipe_wire_edgesn.png
pics\cones.png
pics\planes1.png
pics\lines.png
pics\neo-obj4.png
pics\neo-localcs3.png
pics\repair4.png
pics\bool2.png
pics\partition2.png
pics\block5.png
pics\sphere2.png
pics\point1.png
pics\rotationsn2.png
pics\disp_mode2sn.png
pics\neo-detect2.png
pics\neo-section.png
pics\neo-obj5.png
pics\measures3.png
pics\repair5.png
pics\bool3.png
pics\chamfer1.png
pics\filling.png
pics\revolution.png
pics\arc.png
pics\ellipse.png
pics\circle1.png
image3.gif
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
image4.gif
pics\isos_u12_v12sn.png
pics\free_boudaries1.png
pics\multi_rotation1d1.png
pics\multi_translation2dsn.png
pics\offsetsn.png
pics\compoundsn.png
pics\prisms_basessn.png
pics\cylinders.png
pics\vectors.png
pics\neo-obj6.png
pics\measures4.png
pics\repair6.png
pics\chamfer2.png
pics\cone1.png
pics\circle2.png
pics\point3.png
image185.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
image5.gif
pics\free_boudaries2.png
pics\multi_rotation2d1.png
pics\multi_rotation1d2.png
pics\mirror_pointsn1.png
pics\new-tolerance.png
pics\neo-obj7.png
pics\neo-point2.png
pics\measures5.png
pics\repair7.png
pics\chamfer3.png
pics\cone2.png
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
pics\image91.gif
pics\chamfer_edge.png
pics\fillet_edge.png
pics\multi_rotation2d2.png
pics\scale_transformsn1.png
pics\mirror_pointsn2.png
pics\cutsn.png
pics\shellsn.png
pics\filling_compoundsn.png
pics\prismssn.png
pics\neo-mrot1.png
pics\repair8.png
pics\cylinder1.png
pics\vector1.png
image61.gif
image154.jpg
image110.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
pics\scale_transformsn2.png
pics\translationsn1.png
pics\facesn1.png
pics\neo-mrot2.png
pics\repair9.png
pics\cylinder2.png
pics\vector2.png
image51.gif
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
i_blue.jpg
image30.gif
pics\free_faces1.png
pics\fillet_all.png
pics\translationsn2.png
pics\partitionsn1.png
pics\colorsn.png
pics\facesn2.png
pics\interpol.png
pics\measures8.png
pics\fillet1.png
pics\archimede.png
pics\workplane4.png
image52.gif
image167.jpg
image156.jpg
image41.gif
image145.jpg
image112.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
pics\image100.gif
pics\geomcreategroup.png
pics\commonsn.png
pics\free_faces2.png
pics\mirror_planesn1.png
pics\block_explodesn.png
pics\partitionsn2.png
pics\solidsn.png
pics\facesn3.png
pics\distance.png
pics\neo-scetcher1.png
pics\neo-transparency.png
pics\measures9.png
pics\fillet2.png
pics\workplane5.png
image53.gif
image168.jpg
image42.gif
image113.jpg
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
pics\image95.gif
pics\mirror_planesn2.png
pics\neo-scetcher2.png
pics\transformation1.png
pics\fillet3.png
pics\box1.png
pics\workplane6.png
pics\curve.png
pics\line.png
image10.gif
image32.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
image33.gif
pics\image102.gif
pics\image96.gif
pics\geomexport.png
pics\multi_translation_initialsn.png
pics\plane_on_face.png
pics\bezier.png
pics\repair10.png
pics\transformation2.png
pics\mtransf1.png
pics\editgroup.png
pics\extrusion.png
pics\box2.png
image44.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
ehlpdhtm.js
index.ppf
default_ns.css
whxdata\whtdata0.xml
whxdata\whftdata0.xml
whxdata\whfwdata0.xml
whxdata\whgdata0.xml
whdata\whtdata0.htm
whdata\whftdata0.htm
whdata\whfwdata0.htm
whdata\whgdata0.htm
whgdata\whlstt0.htm
whgdata\whlstt1.htm
whgdata\whlstt2.htm
whgdata\whlstt3.htm
whgdata\whlstt4.htm
whgdata\whlstt5.htm
whgdata\whlstt6.htm
whgdata\whlstt7.htm
whgdata\whlstt8.htm
whgdata\whlstt9.htm
whgdata\whlstt10.htm
whgdata\whlstt11.htm
whgdata\whlstt12.htm
whgdata\whlstt13.htm
whgdata\whlstt14.htm
whgdata\whlstt15.htm
whgdata\whlstt16.htm
whgdata\whlsti0.htm
whgdata\whlstfl0.htm
whgdata\whlstfl1.htm
whgdata\whlstfl2.htm
whgdata\whlstfl3.htm
whgdata\whlstfl4.htm
whgdata\whlstfl5.htm
whgdata\whlstfl6.htm
whgdata\whlstfl7.htm
whgdata\whlstfl8.htm
whgdata\whlstfl9.htm
whgdata\whlstfl10.htm
whgdata\whlstfl11.htm
whgdata\whlstfl12.htm
whgdata\whlstfl13.htm
whgdata\whlstfl14.htm
whgdata\whlstfl15.htm
whgdata\whlstfl16.htm
whgdata\whlstfl17.htm
whgdata\whlstfl18.htm
whgdata\whlstfl19.htm
whgdata\whlstfl20.htm
whgdata\whlstfl21.htm
whgdata\whlstfl22.htm
whgdata\whlstfl23.htm
whgdata\whlstfl24.htm
whgdata\whlstfl25.htm
whgdata\whlstfl26.htm
whgdata\whlstf0.htm
whgdata\whlstf1.htm
whgdata\whlstf2.htm
whgdata\whlstf3.htm
whgdata\whlstf4.htm
whgdata\whlstf5.htm
whgdata\whlstf6.htm
whgdata\whlstf7.htm
whgdata\whlstf8.htm
whgdata\whlstf9.htm
whgdata\whlstf10.htm
whgdata\whlstf11.htm
whgdata\whlstf12.htm
whgdata\whlstf13.htm
whgdata\whlstg0.htm
index.htm
index_csh.htm
index_rhc.htm

View File

@ -1,585 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Geometrical Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
p.whs2 { font-family:'Times New Roman' , serif; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nAdvanced Geometrical Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Advanced Geometrical Objects</h1>
<h3><a name=bookmark>Creation of an Edge</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create an edge</p>
<p class="whs1">edge = geompy.MakeEdge(p0,
pxyz)</p>
<p>&nbsp;</p>
<p># add object in the study</p>
<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
<p>&nbsp;</p>
<p># display an edge</p>
<p class="whs1">gg.createAndDisplayGO(id_edge)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=Creation>Creation of a Wire</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create vertices</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create a vector from
two points</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from
three points</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># add an object in the
study</p>
<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># display the wire</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)
</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark1>Creation of a Face</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a vector from
two points</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from
three points</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F
-100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW&quot;,</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0,
1,1,1, -1,1,0])</p>
<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F
0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
<p class="whs1">sketcher3 = geompy.MakeSketcher(&quot;Sketcher:F
20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
<p class="whs1">isPlanarFace = 1</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a face from
the wire</p>
<p class="whs1">face1 = geompy.MakeFace(wire,
isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two
wires</p>
<p class="whs1">face2 = geompy.MakeFaceWires([wire,
sketcher1],isPlanarFace)</p>
<p class="whs1">face3 = geompy.MakeFaces([sketcher2,
sketcher3],isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_face1 = geompy.addToStudy(face1,&quot;Face1&quot;)</p>
<p class="whs1">id_face2 = geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p class="whs1">id_face3 = geompy.addToStudy(face3,&quot;Face3&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the faces</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
<p class="whs1">gg.setTransparency(id_face1,0.2)</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
<p class="whs1">gg.setTransparency(id_face2,0.2)</p>
<p class="whs1">gg.createAndDisplayGO(id_face3)</p>
<p class="whs1">gg.setDisplayMode(id_face3,1)</p>
<p class="whs1">gg.setTransparency(id_face3,0.2)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark2>Creation of a Shell</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2">#create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( 0., &nbsp;0.,
&nbsp;0.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(
5., &nbsp;5.,
40.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F
0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F
20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
<p class="whs1">isPlanarFace = 1</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a face from
two wires</p>
<p class="whs1">face = geompy.MakeFaces([sketcher1,
sketcher2],isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a prism</p>
<p class="whs1">prism = geompy.MakePrism(face,
p0, pxyz)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># explode the prism into
faces</p>
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a shell from
a set of faces</p>
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
prism_faces[2], prism_faces[3],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[7],
prism_faces[9]])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_shell = geompy.addToStudy(shell,&quot;Shell&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the shell</p>
<p class="whs1">gg.createAndDisplayGO(id_shell)</p>
<p class="whs1">gg.setDisplayMode(id_shell,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark3>Creation of a Solid</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2">#create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(
0., &nbsp;0.,
&nbsp;0.)</p>
<p class="whs1">pz = geompy.MakeVertex(
0., &nbsp;0.,
40.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F
-50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two
wires</p>
<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a prism</p>
<p class="whs1">prism = geompy.MakePrism(face,
p0, pz)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># explode the prism into
faces</p>
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a shell from
a set of faces</p>
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
prism_faces[1],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3],
prism_faces[4],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5],
prism_faces[2]])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a solid, bounded
by the given shells</p>
<p class="whs1">solid = geompy.MakeSolid([shell])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the solid</p>
<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
<p class="whs1">gg.setDisplayMode(id_solid,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark4>Creation of a Compound</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2">#create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(
0., &nbsp;0.,
&nbsp;0.)</p>
<p class="whs1">pz = geompy.MakeVertex(
0., &nbsp;0.,
40.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F
-50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two
wires</p>
<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a prism</p>
<p class="whs1">prism = geompy.MakePrism(face,
p0, pz)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># explode the prism into
faces</p>
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a shell from
a set of faces</p>
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
prism_faces[1],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3],
prism_faces[4],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5],
prism_faces[2]])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a solid, bounded
by the given shells</p>
<p class="whs1">solid = geompy.MakeSolid([shell])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the solid</p>
<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
<p class="whs1">gg.setDisplayMode(id_solid,1)
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,144 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>geometry</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
ul.whs2 { list-style:disc; }
table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
col.whs4 { width:50%; }
tr.whs5 { x-cell-content-align:top; }
td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
td.whs7 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs8 { border:none; width:400px; height:292px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nIntroduction to Geometry");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Introduction to Geometry</h1>
<p><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>Geometry </B></span>module
of SALOME is destined for: </p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p>Import and export of geometrical models in IGES,
BREP and STEP formats.</p></li>
<li class=kadov-p><p>Construction and optimization of geometrical models
using a wide range of &nbsp;CAD
functions:</p></li>
</ul>
<p>&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="100%" class="whs3">
<col class="whs4">
<col class="whs4">
<tr valign="top" class="whs5">
<td width="50%" class="whs6">
<ul type="disc" class="whs2">
<li class=kadov-p><p>Creation of basic geometrical objects</p></li>
<li class=kadov-p><p>Construction of primitives</p></li>
<li class=kadov-p><p>Building shapes</p></li>
<li class=kadov-p><p>Generation of complex shapes</p></li>
<li class=kadov-p><p>Working with groups</p></li>
<li class=kadov-p><p>Geometrical repairing of objects</p></li>
<li class=kadov-p><p>Geometrical boolean operations</p></li>
<li class=kadov-p><p>Geometrical transformations</p></li>
<li class=kadov-p><p>Building by blocks</p></li>
</ul>
<p>&nbsp;</td>
<td width="50%" class="whs7">
<p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
</table>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,77 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
<title>Main Page</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
&nbsp;
</body>
</html>
<!-- Generated by Doxygen 1.4.7 -->
<div class="nav">
<a class="el" href="namespacegeompyDC.html">geompyDC</a>.<a class="el" href="classgeompyDC_1_1info.html">info</a></div>
<h1>geompyDC.info Class Reference</h1><!-- doxytag: class="geompyDC::info" --><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#ec486e837378c061897b2e1b8aefde41">UNKNOWN</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#e26dc8be1afb44222ab88b4a9852c6aa">CLOSED</a> = 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#b717bbcea5e0faa48760b0be4706ec57">UNCLOSED</a> = 2</td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="ec486e837378c061897b2e1b8aefde41"></a><!-- doxytag: member="geompyDC::info::UNKNOWN" ref="ec486e837378c061897b2e1b8aefde41" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#ec486e837378c061897b2e1b8aefde41">geompyDC.info.UNKNOWN</a> = 0<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="e26dc8be1afb44222ab88b4a9852c6aa"></a><!-- doxytag: member="geompyDC::info::CLOSED" ref="e26dc8be1afb44222ab88b4a9852c6aa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#e26dc8be1afb44222ab88b4a9852c6aa">geompyDC.info.CLOSED</a> = 1<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b717bbcea5e0faa48760b0be4706ec57"></a><!-- doxytag: member="geompyDC::info::UNCLOSED" ref="b717bbcea5e0faa48760b0be4706ec57" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#b717bbcea5e0faa48760b0be4706ec57">geompyDC.info.UNCLOSED</a> = 2<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</DIV>
<DIV class="div-footer">
Generated on Thu Jun 21 12:28:15 2007 for SALOME - GEOM - v.4.0.0 by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> 1.4.7</DIV>
</BODY>
</HTML>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,65 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
<title>Main Page</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
&nbsp;
</body>
</html>
<!-- Generated by Doxygen 1.4.7 -->
<h1>Package geompyDC</h1>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html">info</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1geompyDC.html">geompyDC</a></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">dictionary&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompyDC.html#d85aa7c933dca679752d28c67018a43c">ShapeType</a> = {&quot;COMPOUND&quot;:0, &quot;COMPSOLID&quot;:1, &quot;SOLID&quot;:2, &quot;SHELL&quot;:3, &quot;FACE&quot;:4, &quot;WIRE&quot;:5, &quot;EDGE&quot;:6, &quot;VERTEX&quot;:7, &quot;SHAPE&quot;:8}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompyDC.html#55ea9fd7f9b97796036ae6996f4c0a83">kind</a> = GEOM.GEOM_IKindOfShape</td></tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="d85aa7c933dca679752d28c67018a43c"></a><!-- doxytag: member="geompyDC::ShapeType" ref="d85aa7c933dca679752d28c67018a43c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dictionary <a class="el" href="namespacegeompyDC.html#d85aa7c933dca679752d28c67018a43c">geompyDC.ShapeType</a> = {&quot;COMPOUND&quot;:0, &quot;COMPSOLID&quot;:1, &quot;SOLID&quot;:2, &quot;SHELL&quot;:3, &quot;FACE&quot;:4, &quot;WIRE&quot;:5, &quot;EDGE&quot;:6, &quot;VERTEX&quot;:7, &quot;SHAPE&quot;:8}<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="55ea9fd7f9b97796036ae6996f4c0a83"></a><!-- doxytag: member="geompyDC::kind" ref="55ea9fd7f9b97796036ae6996f4c0a83" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacegeompyDC.html#55ea9fd7f9b97796036ae6996f4c0a83">geompyDC.kind</a> = GEOM.GEOM_IKindOfShape<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</DIV>
<DIV class="div-footer">
Generated on Thu Jun 21 12:28:15 2007 for SALOME - GEOM - v.4.0.0 by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> 1.4.7</DIV>
</BODY>
</HTML>

View File

@ -1,165 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Glue Faces</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:25px; height:24px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; text-indent:-68px; margin-left:72px; font-weight:normal; }
p.whs4 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; }
img_whs6 { border:none; width:312px; height:315px; float:none; border-style:none; }
p.whs7 { font-size:12pt; margin-left:112px; text-indent:-112px; }
p.whs8 { font-size:12pt; text-indent:-112px; margin-left:152px; }
img_whs9 { border:none; float:none; width:292px; height:239px; border-style:none; }
img_whs10 { border:none; float:none; width:275px; height:239px; border-style:none; }
p.whs11 { font-size:12pt; text-indent:-40px; margin-left:80px; }
p.whs12 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {text-indent:1pt; }";
strNSS += "p.whs4 {text-indent:1pt; }";
strNSS += "p.whs5 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs8 {text-indent:1pt; }";
strNSS += "p.whs11 {text-indent:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image61.gif" width="25px" height="24px" border="0" class="img_whs1"> </font></span>Glue Faces</h1>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o
Glue Faces in the Main Menu select Repair - &gt; Glue Faces.</font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><b style="font-weight: normal;">This operation
g</b>lues faces that are coincident with respect to the given tolerance
value.</p>
<p class="whs4">&nbsp;</p>
<p class="whs2"><b><span style="font-weight: normal;">T</span></b><b><span
style="font-weight: normal;">he</span> Result <span style="font-weight: normal;">will
be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><b>TUI Command : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
theTolerance)</I></span>, where theShape is a compound of shapes to be glued,
theTolerance is a maximum distance between two faces, which can be considered
as coincident.</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:
<span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
+ Tolerance value</span></i></p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs5"><img src="pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs6"></p>
<p class="whs7">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
<p class="whs7">&nbsp;</p>
<p class="whs8"><img src="pics/glue_faces1.png" x-maintain-ratio="TRUE" width="292px" height="239px" border="0" class="img_whs9"> &nbsp;&nbsp;<img src="pics/glue_faces2.png" x-maintain-ratio="TRUE" width="275px" height="239px" border="0" class="img_whs10"></p>
<p class="whs11">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs12"><span style="font-weight: normal;">Our</span>
TUI Scripts <span style="font-weight: normal;">provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,327 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Groups</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nWorking with Groups");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Groups</h1>
<h3>Creation of a group</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create two vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p>&nbsp;</p>
<p># create a box from two points</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p>&nbsp;</p>
<p># create a group from the faces of the box</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p>&nbsp;</p>
<p># add objects to the group</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">for i in [0, 3, 5]
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
FaceID)</p>
<p>&nbsp;</p>
<p># add all selected shapes from the list to the group </p>
<p># (the program doesn't raise error, if some shapes are already included)</p>
<p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
<p>&nbsp;</p>
<p># remove an object from the group</p>
<p class="whs1">geompy.RemoveObject(group,
FaceID)</p>
<p>&nbsp;</p>
<p># remove all selected shapes from the group </p>
<p># (the program doesn't raise error, if some shapes are not included)</p>
<p class="whs1">geompy.DifferenceList(group,
[SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p>
<p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p>&nbsp;</p>
<p># display the contents of the group</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<h3>Adding an object to the group.</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create two vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p>&nbsp;</p>
<p># create a box from two points</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p>&nbsp;</p>
<p># create a group from the faces of the box</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p>&nbsp;</p>
<p># add objects to the group</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">for i in [0, 3, 5]
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
FaceID)</p>
<p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p>&nbsp;</p>
<p># display the contents of the group</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p>&nbsp;</p>
<h3>Removing an object from the group</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create two vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p>&nbsp;</p>
<p># create a box from two points</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p>&nbsp;</p>
<p># create a group from the faces of the box</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p>&nbsp;</p>
<p># add objects to the group</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">for i in [0, 3, 5]
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
FaceID)</p>
<p>&nbsp;</p>
<p># add all selected shapes from the list to the group </p>
<p># (the program doesn't raise errors, if some shapes are already included)</p>
<p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
<p>&nbsp;</p>
<p># remove an object from the group</p>
<p class="whs1">geompy.RemoveObject(group,
FaceID)</p>
<p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p>&nbsp;</p>
<p># display the contents of the group</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

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