NRI : First integration.

This commit is contained in:
nri 2003-05-12 14:51:31 +00:00
commit f4fbc5bf62
110 changed files with 1711 additions and 0 deletions

185
Makefile.in Normal file
View File

@ -0,0 +1,185 @@
# -* Makefile *-
#
# Author : Patrick GOLDBRONN (CEA)
# Date : 28/06/2001
# $Header$
#
# source path
top_srcdir=@top_srcdir@
top_builddir=.
srcdir=@srcdir@
VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
@COMMENCE@
SUBDIRS = idl src
RESOURCES_FILES = \
Geometry_en.xml \
Geometry_fr.xml \
arc.png \
archimede.png \
axisinertia.png \
basicproperties.png \
bounding.png \
box.png \
box2points.png \
boxdxyz.png \
build_compound.png \
build_edge.png \
build_face.png \
build_shell.png \
build_solid.png \
build_wire.png \
centergravity.png \
chamfer.png \
chamferall.png \
chamferedge.png \
chamferface.png \
check.png \
circle.png \
circlepointvector.png \
common.png \
cone.png \
conedxyz.png \
conepointvector.png \
cut.png \
cylinder.png \
cylinderdxyz.png \
cylinderpointvector.png \
delete.png \
display.png \
displayall.png \
erase.png \
eraseall.png \
fillet.png \
filletall.png \
filletedge.png \
filletface.png \
filling.png \
fuse.png \
geometry.png \
line.png \
line2points.png \
lineedge.png \
linepointvector.png \
mindist.png \
mirrorPlane.png \
ModuleGeom.png \
multirotation.png \
multirotationdouble.png \
multirotationsimple.png \
multitranslation.png \
multitranslationdouble.png \
multitranslationsimple.png \
orientation.png \
partition.png \
partitionkeep.png \
pipe.png \
plane.png \
planeWorking.png \
planedxyz.png \
planeface.png \
planepointvector.png \
planeworkingface.png \
point2.png \
pointonedge.png \
prism.png \
revol.png \
rotate.png \
scale.png \
section.png \
select1.png \
sewing.png \
shading.png \
sketch.png \
sphere.png \
spheredxyz.png \
spherepoint.png \
subshape.png \
supressHolesOnFaceShell.png \
supressface.png \
supresshole.png \
tolerance.png \
torus.png \
torusdxyz.png \
toruspointvector.png \
translation.png \
tree_compound.png \
tree_compsolid.png \
tree_edge.png \
tree_face.png \
tree_shape.png \
tree_shell.png \
tree_solid.png \
tree_vertex.png \
tree_wire.png \
vector.png \
vector2points.png \
vectordxyz.png \
whatis.png
# copy header files in common directory
ifeq ($(HAVE_SSTREAM),yes)
include_list=include/salome/SALOMEconfig.h
else
include_list=include/salome/SALOMEconfig.h include/salome/sstream
endif
inc: idl $(include_list)
include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
-$(RM) $@
$(LN_S) ../../$< $@
include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@
depend: depend_idl
depend_idl:
(cd idl ; $(MAKE) $@) || exit 1
# doc is already build : if you want to had documents, go manually to doc and run 'make doc'
#doc:
# (cd doc && $(MAKE) $@) || exit 1
install-end:
# finish libtool install
# @$(LT) --mode=finish $(libdir)
install-include: $(include_list)
$(INSTALL) -d $(includedir)
@for f in X $(include_list); do \
if test $$f != X; then \
($(INSTALL_DATA) $$f $(includedir)/. || exit 1); \
fi; \
done
# install script in $(bindir) :
install-bin: $(BIN_SCRIPT)
$(INSTALL) -d $(bindir)
if test $(BIN_SCRIPT)X != X; then \
$(INSTALL_PROGRAM) $^ $(bindir); \
fi
uninstall: uninstall-idl
uninstall-idl:
$(RM) $(idldir)/*.idl
distclean: distclean-other
distclean-other:
-$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
-$(RM) salome_adm/unix/make_*
-$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
-$(RM) config.cache config.log config.status
@MODULE@
install: install-bin install-include install-end

206
build_configure Executable file
View File

@ -0,0 +1,206 @@
#!/bin/bash
#
# Tool for updating list of .in file for the SALOME project
# and regenerating configure script
#
# Author : Marc Tajchman - CEA
# Date : 10/10/2002
# $Header$
#
ORIG_DIR=`pwd`
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
########################################################################
# Test if the KERNEL_ROOT_DIR is set correctly
if test ! -d "${KERNEL_ROOT_DIR}"; then
echo "failed : KERNEL_ROOT_DIR variable is not correct !"
exit
fi
# Test if the KERNEL_SRC is set correctly
#if test ! -d "${KERNEL_SRC}"; then
# echo "failed : KERNEL_SRC variable is not correct !"
# exit
#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 ;;
*) ;;
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
# 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}/salome_adm' >> configure.in_tmp1
echo "" >> configure.in_tmp1
echo "AC_OUTPUT([ \\" >> configure.in_tmp1
#
# List of .in files in the adm/unix directory
# These files MUST be on top of AC_OUTPUT list so we
# put them "manually"
#
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 " ./salome_adm/unix/make_omniorb \\" >> configure.in_tmp1
echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_commence \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_conclude \\" >> configure.in_tmp1
echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1
\rm -f configure.in_tmp2 configure.in_tmp3
touch configure.in_tmp2
find_in . configure.in_tmp2
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
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
fi
########################################################################
# Use autoconf to rebuild the configure script
#
if test -f configure
then
echo -n "Updating 'configure' script ... "
else
echo -n "Creating 'configure' script ... "
fi
aclocal --acdir=${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
if autoconf
then
echo "done"
else
echo "failed (check file permissions and/or user quotas ...)"
fi
cd ${ORIG_DIR}
echo

358
configure.in.base Normal file
View File

@ -0,0 +1,358 @@
#
# 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)
#
# Created from configure.in.base
#
AC_INIT(src)
AC_CONFIG_AUX_DIR(${KERNEL_ROOT_DIR}/salome_adm/unix/config_files)
AC_CANONICAL_HOST
PACKAGE=salome
AC_SUBST(PACKAGE)
VERSION=0.0.1
AC_SUBST(VERSION)
dnl
dnl Initialize source and build root directories
dnl
ROOT_BUILDDIR=`pwd`
ROOT_SRCDIR=`echo $0 | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
cd $ROOT_SRCDIR
ROOT_SRCDIR=`pwd`
cd $ROOT_BUILDDIR
AC_SUBST(ROOT_SRCDIR)
AC_SUBST(ROOT_BUILDDIR)
echo
echo Source root directory : $ROOT_SRCDIR
echo Build root directory : $ROOT_BUILDDIR
echo
echo
if test -z "$AR"; then
AC_CHECK_PROGS(AR,ar xar,:,$PATH)
fi
AC_SUBST(AR)
dnl Export the AR macro so that it will be placed in the libtool file
dnl correctly.
export AR
echo
echo ---------------------------------------------
echo testing make
echo ---------------------------------------------
echo
AC_PROG_MAKE_SET
AC_PROG_INSTALL
dnl
dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
AC_ENABLE_DEBUG(yes)
AC_DISABLE_PRODUCTION
echo ---------------------------------------------
echo testing libtool
echo ---------------------------------------------
dnl first, we set static to no!
dnl if we want it, use --enable-static
AC_ENABLE_STATIC(no)
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
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
;;
esac
echo
echo ---------------------------------------------
echo testing C/C++
echo ---------------------------------------------
echo
cc_ok=no
dnl inutil car libtool
dnl AC_PROG_CC
AC_PROG_CXX
AC_DEPEND_FLAG
# AC_CC_WARNINGS([ansi])
cc_ok=yes
dnl Library libdl :
AC_CHECK_LIB(dl,dlopen)
dnl add library libm :
AC_CHECK_LIB(m,ceil)
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
AC_CXX_HAVE_SSTREAM
dnl
dnl ---------------------------------------------
dnl testing MPICH
dnl ---------------------------------------------
dnl
CHECK_MPICH
echo
echo ---------------------------------------------
echo testing LEX \& YACC
echo ---------------------------------------------
echo
lex_yacc_ok=no
AC_PROG_YACC
AC_PROG_LEX
lex_yacc_ok=yes
echo
echo ---------------------------------------------
echo testing python
echo ---------------------------------------------
echo
CHECK_PYTHON
echo
echo ---------------------------------------------
echo testing java
echo ---------------------------------------------
echo
CHECK_JAVA
echo
echo ---------------------------------------------
echo testing swig
echo ---------------------------------------------
echo
CHECK_SWIG
echo
echo ---------------------------------------------
echo testing threads
echo ---------------------------------------------
echo
ENABLE_PTHREADS
echo
echo ---------------------------------------------
echo testing omniORB
echo ---------------------------------------------
echo
CHECK_OMNIORB
echo
echo ---------------------------------------------
echo testing mico
echo ---------------------------------------------
echo
CHECK_MICO
echo
echo ---------------------------------------------
echo default ORB : omniORB
echo ---------------------------------------------
echo
DEFAULT_ORB=omniORB
CHECK_CORBA
AC_SUBST_FILE(CORBA)
corba=make_$ORB
CORBA=salome_adm/unix/$corba
echo
echo ---------------------------------------------
echo testing openGL
echo ---------------------------------------------
echo
CHECK_OPENGL
echo
echo ---------------------------------------------
echo testing QT
echo ---------------------------------------------
echo
CHECK_QT
echo
echo ---------------------------------------------
echo testing VTK
echo ---------------------------------------------
echo
CHECK_VTK
echo
echo ---------------------------------------------
echo testing HDF5
echo ---------------------------------------------
echo
CHECK_HDF5
echo
echo ---------------------------------------------
echo testing MED2
echo ---------------------------------------------
echo
CHECK_MED2
echo
echo ---------------------------------------------
echo Testing OpenCascade
echo ---------------------------------------------
echo
CHECK_CAS
echo
echo ---------------------------------------------
echo Testing Kernel
echo ---------------------------------------------
echo
CHECK_KERNEL
echo
echo ---------------------------------------------
echo Summary
echo ---------------------------------------------
echo
echo Configure
variables="cc_ok lex_yacc_ok python_ok java_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok mico_ok occ_ok Kernel_ok"
for var in $variables
do
printf " %10s : " `echo \$var | sed -e "s,_ok,,"`
eval echo \$$var
done
echo
echo "Default ORB : $DEFAULT_ORB"
echo
dnl generals files which could be included in every makefile
AC_SUBST_FILE(COMMENCE) COMMENCE=salome_adm/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
AC_SUBST(SETX) SETX=":"
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/salome share/salome/resources share/salome/doc 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 directory
cd bin
for i in $ROOT_SRCDIR/bin/*
do
local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
case "$local_bin" in
*.in | *~) ;;
./bin/CVS) ;;
*) ln -fs $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 ---------------------------------------------
echo generating Makefiles and configure files
echo ---------------------------------------------
echo
AC_OUTPUT_COMMANDS([ \
chmod +x ./bin/* \
])
## do not delete this line

302
idl/GEOM_Gen.idl Normal file
View File

@ -0,0 +1,302 @@
// File : GEOM_Gen.idl
// Created :
// Author : Lucien PIGNOLONI
// Project : SALOME
// Copyright : OPEN CASCADE
// $HEADERS:
#ifndef __GEOM_GEN__
#define __GEOM_GEN__
#include "SALOME_Exception.idl"
#include "SALOME_Component.idl"
#include "SALOMEDS.idl"
#include "GEOM_Shape.idl"
module GEOM
{
interface GEOM_Gen : Engines::Component,SALOMEDS::Driver
{
typedef sequence<string> ListOfIOR ;
typedef sequence<GEOM_Shape> ListOfGeomShapes ;
//--------------------------------------------------------------//
// Studies Management //
//--------------------------------------------------------------//
void GetCurrentStudy(in long StudyID) ;
short NbLabels();
//--------------------------------------------------------------//
// Shapes Management //
//--------------------------------------------------------------//
GEOM_Shape GetIORFromString (in string ior);
ListOfIOR GetReferencedObjects(in GEOM_Shape shape);
ListOfIOR GetObjects (in GEOM_Shape shape);
//--------------------------------------------------------------//
// Structures //
//--------------------------------------------------------------//
PointStruct MakePointStruct(in double x,
in double y,
in double z) ;
DirStruct MakeDirection (in PointStruct p) ;
AxisStruct MakeAxisStruct(in double x,
in double y,
in double z,
in double vx,
in double vy,
in double vz) ;
//------------------------------------------------------------//
// Boolean Operations //
//------------------------------------------------------------//
GEOM_Shape MakeBoolean (in GEOM_Shape shape1,
in GEOM_Shape shape2,
in long operation) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeFuse( in GEOM_Shape shape1,
in GEOM_Shape shape2) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Advanced Operations //
//-----------------------------------------------------------//
GEOM_Shape Partition (in ListOfIOR ListShapes,
in ListOfIOR ListTools,
in ListOfIOR ListKeepInside,
in ListOfIOR ListRemoveInside,
in short Limit)
raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeFilling(in GEOM_Shape shape,
in short mindeg,
in short maxdeg,
in double tol3d,
in double tol2d,
in short nbiter) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeSewing (in ListOfIOR ListShape,
in double precision) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeSewingShape( in GEOM_Shape aShape,
in double precision ) raises (SALOME::SALOME_Exception);
GEOM_Shape OrientationChange(in GEOM_Shape shape) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakePlacedBox(in double x1, in double y1, in double z1,
in double delta1, in double delta2, in double delta3) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakePanel(in GEOM_Shape shape,
in short directiontype,
in double delta) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeGlueFaces(in GEOM_Shape shape,
in double tol3d) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Transformations Operations //
//-----------------------------------------------------------//
GEOM_Shape MakeCopy(in GEOM_Shape shape) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeTranslation(in GEOM_Shape shape,
in double x,
in double y,
in double z) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeRotation(in GEOM_Shape shape,
in AxisStruct axis,
in double angle) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeScaleTransform(in GEOM_Shape shape,
in PointStruct theCenterofScale,
in double factor) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeMirrorByPlane(in GEOM_Shape shape,
in GEOM_Shape shapePlane) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeRevolution(in GEOM_Shape shape,
in AxisStruct axis,
in double angle) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakePrism(in GEOM_Shape baseShape,
in PointStruct P1,
in PointStruct P2) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakePipe(in GEOM_Shape pathShape,
in GEOM_Shape baseShape) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Patterns Construction //
//-----------------------------------------------------------//
GEOM_Shape MakeMultiTranslation1D(in GEOM_Shape shape,
in DirStruct dir,
in double step,
in short nbtimes) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeMultiTranslation2D(in GEOM_Shape shape,
in DirStruct dir1,
in double step1,
in short nbtimes1,
in DirStruct dir2,
in double step2,
in short nbtimes2) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeMultiRotation1D(in GEOM_Shape shape,
in DirStruct dir,
in PointStruct loc,
in short nbtimes) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeMultiRotation2D(in GEOM_Shape shape,
in DirStruct dir,
in PointStruct loc,
in double ang,
in short nbtimes1,
in double step,
in short nbtimes2) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Mesures Construction //
//-----------------------------------------------------------//
GEOM_Shape MakeCDG(in GEOM_Shape shape) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Primitives Construction //
//-----------------------------------------------------------//
GEOM_Shape MakeVertex(in double x,
in double y,
in double z) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeVector (in PointStruct pstruct1,
in PointStruct pstruct2) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeLine (in PointStruct pstruct,
in DirStruct dstruct) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakePlane (in PointStruct pstruct,
in DirStruct dstruct,
in double trimsize) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeCircle(in PointStruct pstruct,
in DirStruct dstruct,
in double radius) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeArc(in PointStruct pInit,
in PointStruct pCircle,
in PointStruct pEnd) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Primitives Construction //
//-----------------------------------------------------------//
GEOM_Shape MakeBox (in double x1,
in double y1,
in double z1,
in double x2,
in double y2,
in double z2) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeCylinder(in PointStruct pstruct,
in DirStruct dstruct,
in double radius,
in double height) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeSphere (in double x1,
in double y1,
in double z1,
in double radius) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeTorus(in PointStruct pstruct,
in DirStruct dstruct,
in double major_radius,
in double minor_radius) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeCone(in PointStruct pstruct,
in DirStruct dstruct,
in double radius1,
in double radius2,
in double height) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Archimede //
//-----------------------------------------------------------//
GEOM_Shape Archimede(in GEOM_Shape shape,
in double Weight,
in double WaterDensity,
in double MeshingDeflection) raises (SALOME::SALOME_Exception);
//-----------------------------------------------------------//
// Build //
//-----------------------------------------------------------//
GEOM_Shape MakeEdge (in PointStruct pstruct1,
in PointStruct pstruct2) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeWire (in ListOfIOR ListShape) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeCompound (in ListOfIOR ListShape) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeFace (in GEOM_Shape shapeWire,
in boolean wantplanarface ) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Subshapes Construction for GUI only //
//-----------------------------------------------------------//
GEOM_Shape SubShape(in GEOM_Shape shape,
in short ShapeType,
in GEOM_Shape::ListOfSubShapeID ListOfID) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Subshapes Construction for TUI or GUI //
//-----------------------------------------------------------//
ListOfGeomShapes SubShapeAll(in GEOM_Shape shape,
in short ShapeType) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Subshapes Construction
// Use it to have the same order of subshapes if their
// order may change as a result of <shape> reconstruction using
// boolean operations, fillet etc.
//-----------------------------------------------------------//
GEOM_Shape SubShapeSorted(in GEOM_Shape shape,
in short ShapeType,
in GEOM_Shape::ListOfSubShapeID ListOfID) raises (SALOME::SALOME_Exception) ;
ListOfGeomShapes SubShapeAllSorted(in GEOM_Shape shape,
in short ShapeType) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Fillet and Chamfer construction //
//-----------------------------------------------------------//
GEOM_Shape MakeFillet(in GEOM_Shape shape,
in double radius,
in short ShapeType,
in GEOM_Shape::ListOfSubShapeID ListOfID) raises (SALOME::SALOME_Exception) ;
GEOM_Shape MakeChamfer(in GEOM_Shape shape,
in double d1,
in double d2,
in short ShapeType,
in GEOM_Shape::ListOfSubShapeID ListOfID) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Suppress faces in a shape //
//-----------------------------------------------------------//
ListOfGeomShapes SuppressFaces(in GEOM_Shape shape,
in GEOM_Shape::ListOfSubShapeID ListOfID) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Suppress a single hole in topology (face) shell or solid //
// : ListOfIdEndFace may be an empty list //
// : used only when hole traverses the topology //
//-----------------------------------------------------------//
GEOM_Shape SuppressHole(in GEOM_Shape shape,
in GEOM_Shape::ListOfSubShapeID ListOfIdFace,
in GEOM_Shape::ListOfSubShapeID ListOfIdWire,
in GEOM_Shape::ListOfSubShapeID ListOfIdEndFace ) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Suppress one or more holes in a face or a shell //
//-----------------------------------------------------------//
GEOM_Shape SuppressHolesInFaceOrShell(in GEOM_Shape shapeFaceShell,
in GEOM_Shape::ListOfSubShapeID ListOfIdWires ) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Import/Export //
//-----------------------------------------------------------//
GEOM_Shape ImportIGES(in string filename) raises (SALOME::SALOME_Exception) ;
GEOM_Shape ImportBREP(in string filename) raises (SALOME::SALOME_Exception) ;
GEOM_Shape ImportSTEP(in string filename) raises (SALOME::SALOME_Exception) ;
void ExportIGES(in string filename,in GEOM_Shape theShape) raises (SALOME::SALOME_Exception) ;
void ExportBREP(in string filename,in GEOM_Shape theShape) raises (SALOME::SALOME_Exception) ;
void ExportSTEP(in string filename,in GEOM_Shape theShape) raises (SALOME::SALOME_Exception) ;
//-----------------------------------------------------------//
// Check Shape //
//-----------------------------------------------------------//
boolean CheckShape(in GEOM_Shape shape) raises (SALOME::SALOME_Exception) ;
};
};
#endif

67
idl/GEOM_Shape.idl Normal file
View File

@ -0,0 +1,67 @@
// File : GEOM_Shape.idl
// Created : 29 november 2001
// Author : Lucien PIGNOLONI
// Project : SALOME
// Copyright : OPEN CASCADE
// $HEADERS:
#ifndef __GEOM_Shape__
#define __GEOM_Shape__
module GEOM
{
//-----------------------------------------------------------------//
// Topological types for shapes (like Open Cascade types) //
//-----------------------------------------------------------------//
enum shape_type { COMPOUND, COMPSOLID, SOLID, SHELL,
FACE, WIRE, EDGE, VERTEX, SHAPE } ;
//----------------------------------------------------------------//
// Structures //
//--------------------------------------------------- ------------//
struct PointStruct { double x;
double y;
double z; } ;
struct DirStruct { PointStruct PS ; } ; // analog to Occ Direction
struct AxisStruct { double x;
double y;
double z;
double vx;
double vy;
double vz; } ;
//----------------------------------------------------------------//
// interface GEOM_Shape methods //
//----------------------------------------------------------------//
interface GEOM_Gen;
interface GEOM_Shape
{
typedef sequence<long> ListOfSubShapeID ;
typedef sequence<octet> TMPFile;
attribute string Name; // (to set and get) the name of shape (= CORBA IOR converted into a string)
attribute string MainName; // (to set and get) the name of mainshape (= CORBA IOR converted into a string)
attribute boolean IsMainShape; // (...) true if this is a main shape (not a sub shape)
attribute string ShapeId; // (...) the entry of the shape in geom/OCAF document
attribute string StudyShapeId; // (...) the entry of the shape in the study/OCAF when added
attribute ListOfSubShapeID Index; // (...) list of references (number) identifing the sub shapes in the main shape
attribute shape_type ShapeType; // (...) a topological type of the shape
attribute string NameType; // (...) a topological/geometrical name of the shape
//Transfer resulting shape to client as sequence of bytes
//client can extract shape from stream using BrepTools::Read function
TMPFile GetShapeStream();
// the generator engine
GEOM_Gen Engine();
};
};
#endif

72
idl/Makefile.in Normal file
View File

@ -0,0 +1,72 @@
#
# generate dependencies for idl file :
#
# source path
top_srcdir=@top_srcdir@
top_builddir=..
srcdir=@srcdir@
VPATH=.:$(srcdir):${KERNEL_ROOT_DIR}/idl/salome
@COMMENCE@
IDL_FILES = \
SALOME_Component.idl \
SALOMEDS.idl \
SALOMEDS_Attributes.idl \
SALOME_Exception.idl \
Logger.idl \
SALOME_ModuleCatalog.idl \
GEOM_Shape.idl \
GEOM_Gen.idl
PY_CLIENT_IDL = $(IDL_FILES)
# we copy all idl file in $(top_builddir)/idl
inc: $(IDL_FILES:%=$(top_builddir)/idl/%)
$(IDL_FILES:%=$(top_builddir)/idl/%):$(top_builddir)/idl/%:%
# $(CP) $< $@
cp -f $< $@
lib: pyidl
PYTHON_BUILD_SITE=$(top_builddir)/lib/python$(PYTHON_VERSION)/site-packages/@PACKAGE@
pyidl: $(PYTHON_BUILD_SITE) $(IDL_FILES:%.idl=$(PYTHON_BUILD_SITE)/%_idl.py)
$(PYTHON_BUILD_SITE):
$(INSTALL) -d $@
$(PYTHON_BUILD_SITE)/%_idl.py: %.idl
$(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -C$(PYTHON_BUILD_SITE) $<
# install python client (generated from idl file
install: install-pyidl install-idl
# create directory $(idldir) and copy idl files into it
install-idl: $(IDL_FILES)
$(INSTALL) -d $(idldir)
$(INSTALL_DATA) $^ $(idldir)
install-pyidl: $(IDL_FILES)
$(INSTALL) -d $(PYTHON_SITE_INSTALL)
@for file in $^ dummy; do \
if [ $$file != "dummy" ]; then \
$(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -C$(PYTHON_SITE_INSTALL) $$file ; \
fi ; \
done ;
#@ CONCLUDE @
cleandep:
-$(RM) .dep*
distclean:
-$(RM) *.py
-$(RM) $(IDL_FILES:%=$(top_builddir)/idl/%)
-$(RM) Makefile

273
resources/Geometry_en.xml Normal file
View File

@ -0,0 +1,273 @@
<?xml version='1.0' encoding='us-ascii'?>
<!DOCTYPE application PUBLIC "" "desktop.dtd">
<!-- GUI customization for GEOMETRY component -->
<application> <!-- APPLICATION BEGIN -->
title="Geometry component"
date="2001/12/12"
author="Lucien PIGNOLONI"
appId="Geometry for Salome">
<desktop> <!-- DESKTOP BEGIN -->
<menubar> <!-- MENUBAR BEGIN -->
<!-- ************************* File (menubar) ************************************** -->
<menu-item label-id="File" item-id="1" pos-id="1">
<submenu label-id="Import" item-id="11" pos-id="8">
<popup-item item-id="111" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="Ctrl+B" toggle-id="" execute-action=""/>
<popup-item item-id="112" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="Ctrl+I" toggle-id="" execute-action=""/>
<popup-item item-id="113" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="Ctrl+S" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Export" item-id="12" pos-id="9">
<popup-item item-id="121" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="122" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="123" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="10"/>
</menu-item>
<!-- ************************* Edit (menubar) ************************************** -->
<menu-item label-id="Edit" item-id="3" pos-id="2">
<separator pos-id=""/>
<!-- <popup-item item-id="31" pos-id="3" label-id="Copy" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> -->
<popup-item item-id="33" pos-id="" label-id="Delete" icon-id="delete.png" tooltip-id="" accel-id="" toggle-id="" execute-action="" />
</menu-item>
<!-- ************************* New Entity (menubar) ******************************* -->
<menu-item label-id="New Entity" item-id="70" pos-id="3">
<submenu label-id="Basic" item-id="301" pos-id="1">
<popup-item item-id="3011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3012" pos-id="" label-id="Line" icon-id="line.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3013" pos-id="" label-id="Circle" icon-id="circle.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="6"/>
<popup-item item-id="3016" pos-id="" label-id="Vector" icon-id="vector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3017" pos-id="" label-id="Plane" icon-id="plane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3018" pos-id="" label-id="Working Plane" icon-id="planeWorking.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Primitives" item-id="302" pos-id="2">
<popup-item item-id="3021" pos-id="" label-id="Box" icon-id="box.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3022" pos-id="" label-id="Cylinder" icon-id="cylinder.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3023" pos-id="" label-id="Sphere" icon-id="sphere.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3024" pos-id="" label-id="Torus" icon-id="torus.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3025" pos-id="" label-id="Cone" icon-id="cone.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Generation" item-id="310" pos-id="3">
<popup-item item-id="4031" pos-id="" label-id="Extrusion" icon-id="prism.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4032" pos-id="" label-id="Revolution" icon-id="revol.png"tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4033" pos-id="" label-id="Filling" icon-id="filling.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4034" pos-id="" label-id="Pipe creation" icon-id="pipe.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id=""/>
<popup-item item-id="312" pos-id="" label-id="Sketch" icon-id="sketch.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<submenu label-id="Sketch Constraints" item-id="313" pos-id="">
<popup-item item-id="3131" pos-id="" label-id="Set Plane" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="3133" pos-id="" label-id="Tangent" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3134" pos-id="" label-id="Perpendicular" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Sketch Options" item-id="10009" pos-id="">
<popup-item item-id="10010" pos-id="" label-id="Length Dimension" icon-id="" tooltip-id="" accel-id="" toggle-id="true" execute-action=""/>
<popup-item item-id="10011" pos-id="" label-id="Angle Dimension" icon-id="" tooltip-id="" accel-id="" toggle-id="true" execute-action=""/>
<popup-item item-id="10012" pos-id="" label-id="Radius Dimension" icon-id="" tooltip-id="" accel-id="" toggle-id="true" execute-action=""/>
<popup-item item-id="10013" pos-id="" label-id="X Dimension" icon-id="" tooltip-id="" accel-id="" toggle-id="false" execute-action=""/>
<popup-item item-id="10014" pos-id="" label-id="Y Dimension" icon-id="" tooltip-id="" accel-id="" toggle-id="false" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id=""/>
<popup-item item-id="303" pos-id="" label-id="Explode" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="309" pos-id="" label-id="Suppress faces" icon-id="supressface.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="314" pos-id="" label-id="Suppress hole" icon-id="supresshole.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<submenu label-id="Build" item-id="311" pos-id="">
<popup-item item-id="304" pos-id="" label-id="Edge" icon-id="build_edge.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="305" pos-id="" label-id="Wire" icon-id="build_wire.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="306" pos-id="" label-id="Face" icon-id="build_face.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="308" pos-id="" label-id="Compound" icon-id="build_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
</menu-item>
<!-- ************************ Operations (menubar) *********************************** -->
<menu-item label-id="Operations" item-id="40" pos-id="4">
<submenu label-id="Boolean" item-id="401" pos-id="1">
<popup-item item-id="4011" pos-id="" label-id="Fuse" icon-id="fuse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4012" pos-id="" label-id="Common" icon-id="common.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4013" pos-id="" label-id="Cut" icon-id="cut.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4014" pos-id="" label-id="Section" icon-id="section.png"tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Transformation" item-id="402" pos-id="2">
<popup-item item-id="4021" pos-id="" label-id="Translation" icon-id="translation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4022" pos-id="" label-id="Rotation" icon-id="rotate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4023" pos-id="" label-id="Mirror by plane" icon-id="mirrorPlane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4024" pos-id="" label-id="Scale transform" icon-id="scale.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="4030" pos-id="" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4040" pos-id="" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<popup-item item-id="4025" pos-id="" label-id="Partition" icon-id="partition.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4026" pos-id="" label-id="Archimede" icon-id="archimede.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="4027" pos-id="" label-id="Fillet" icon-id="fillet.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4028" pos-id="" label-id="Chamfer" icon-id="chamfer.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ************************** Advanced (menubar) ************************************** -->
<menu-item label-id="Repair" item-id="50" pos-id="5">
<popup-item item-id="501" pos-id="" label-id="Sewing" icon-id="sewing.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="502" pos-id="" label-id="Orientation" icon-id="orientation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ************************** Mesures (menubar) ************************************ -->
<menu-item label-id="Measures" item-id="60" pos-id="6">
<popup-item item-id="601" pos-id="" label-id="Basic properties" icon-id="basicproperties.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="4"/>
<popup-item item-id="604" pos-id="" label-id="Center of gravity" icon-id="centergravity.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="605" pos-id="" label-id="Axis of inertia" icon-id="axisinertia.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="7"/>
<submenu label-id="Dimensions" item-id="606" pos-id="8">
<popup-item item-id="6060" pos-id="" label-id="Bounding Box" icon-id="bounding.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6061" pos-id="" label-id="Min distance" icon-id="mindist.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="9"/>
<popup-item item-id="607" pos-id="" label-id="Tolerance" icon-id="tolerance.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="608" pos-id="" label-id="Whatis" icon-id="whatis.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="609" pos-id="" label-id="Check" icon-id="check.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ********************************* Tools (menubar) ************************************ -->
<menu-item label-id="Tools" item-id="5" pos-id="">
<separator pos-id=""/>
<popup-item item-id="5001" pos-id="" label-id="Check Geometry" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ********************************* Settings (menubar) ********************************* -->
<menu-item label-id="Preferences" item-id="4" pos-id="">
<submenu label-id="Geometry" item-id="40" pos-id="-1">
<popup-item item-id="701" pos-id="" label-id="Automatic copy" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="702" pos-id="" label-id="Name/Store automatic" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="703" pos-id="" label-id="Shading Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="704" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="705" pos-id="" label-id="Step value" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="-1"/>
</menu-item>
<!-- ***************************** View (menubar) ************************************ -->
<menu-item label-id="View" item-id="2" pos-id="">
<submenu label-id="Display mode" item-id="21" pos-id="5">
<popup-item item-id="6021" pos-id="" label-id="Shading" icon-id="shading.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="6022" pos-id="" label-id="Display all" icon-id="displayall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6023" pos-id="" label-id="Display only" icon-id="display.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6024" pos-id="" label-id="Erase all" icon-id="eraseall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6025" pos-id="" label-id="Erase only" icon-id="erase.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
</menu-item>
</menubar> <!-- MENUBAR END -->
<!-- ///////////////////////////////////// TOOLBARS ////////////////////////////////////// -->
<toolbar label-id="Basic">
<toolbutton-item item-id="3011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="Point" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3012" pos-id="" label-id="Line" icon-id="line.png" tooltip-id="Line" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3013" pos-id="" label-id="Circle" icon-id="circle.png" tooltip-id="Circle" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="Arc" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3016" pos-id="" label-id="Vector" icon-id="vector.png" tooltip-id="Vector" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3017" pos-id="" label-id="Plane" icon-id="plane.png" tooltip-id="Plane" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3018" pos-id="" label-id="Working Plane" icon-id="planeWorking.png" tooltip-id="Working Plane" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Primitives">
<toolbutton-item item-id="3021" label-id="Box" icon-id="box.png" tooltip-id="Box" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3022" label-id="Cylinder" icon-id="cylinder.png" tooltip-id="Cylinder" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3023" label-id="Sphere" icon-id="sphere.png" tooltip-id="Sphere" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3024" label-id="Torus" icon-id="torus.png" tooltip-id="Torus" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3025" label-id="Cone" icon-id="cone.png" tooltip-id="Cone" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Ope. Boolean">
<toolbutton-item item-id="4011" label-id="Fuse" icon-id="fuse.png" tooltip-id="Fuse two shapes" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4012" label-id="Common" icon-id="common.png" tooltip-id="Common of two shapes" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4013" label-id="Cut" icon-id="cut.png" tooltip-id="Cut first shape with second" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4014" label-id="Section" icon-id="section.png" tooltip-id="Section lines of intersection (2 shapes)" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Generation">
<toolbutton-item item-id="4031" label-id="Extrusion" icon-id="prism.png" tooltip-id="Shape construction by extrusion" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4032" label-id="Revolution" icon-id="revol.png" tooltip-id="Shape construction by revolution" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4033" label-id="Filling" icon-id="filling.png" tooltip-id="Generation by filling" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4034" label-id="Pipe creation" icon-id="pipe.png" tooltip-id="Pipe mode generation" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Transformation">
<toolbutton-item item-id="4021" label-id="Translation" icon-id="translation.png" tooltip-id="Translate a shape"accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4022" label-id="Rotation" icon-id="rotate.png" tooltip-id="Rotate a shape" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4023" label-id="Mirror by plane" icon-id="mirrorPlane.png" tooltip-id="Mirror a shape" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4024" label-id="Scale transform" icon-id="scale.png" tooltip-id="Scale a shape" accel-id="" toggle-id="" execute-action=""/>
<separatorTB/>
<toolbutton-item item-id="4030" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="Multi-translate a shape" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4040" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="Multi-rotate a shape" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<!-- ################################# POPUP MENU ################################# -->
<popupmenu label-id="Popup for Viewer" context-id="" parent-id="Viewer" object-id="">
<submenu label-id="Properties" item-id="803" pos-id="6">
<popup-item item-id="8021" pos-id="" label-id="Wireframe - Shading" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="8031" pos-id="" label-id="Color" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="8032" pos-id="" label-id="Transparency" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="8033" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id=""/>
<popup-item item-id="801" pos-id="" label-id="Add in study" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
<popupmenu label-id="Popup for ObjectBrowser" context-id="" parent-id="ObjectBrowser" object-id="">
<popup-item item-id="9024" pos-id="" label-id="Open" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="901" pos-id="" label-id="Rename" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
<popupmenu label-id="Sketch" context-id="Sketch" parent-id="Viewer" object-id="">
<popup-item item-id="10000" pos-id="" label-id="Segment" icon-id="" tooltip-id="" accel-id="" toggle-id="true" execute-action=""/>
<popup-item item-id="10001" pos-id="" label-id="Arc" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10002" pos-id="" label-id="Set Angle" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10003" pos-id="" label-id="Set X" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10004" pos-id="" label-id="Set Y" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10006" pos-id="" label-id="Undo" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10007" pos-id="" label-id="End" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10008" pos-id="" label-id="Close" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
</desktop> <!-- DESKTOP END -->
</application> <!-- APPLICATION END -->

247
resources/Geometry_fr.xml Normal file
View File

@ -0,0 +1,247 @@
<?xml version='1.0' encoding='us-ascii'?>
<!DOCTYPE application PUBLIC "" "desktop.dtd">
<!-- GUI customization for GEOMETRY component -->
<application> <!-- APPLICATION BEGIN -->
title="Geometry component"
date="2001/12/12"
author="Lucien PIGNOLONI"
appId="Geometry for Salome">
<desktop> <!-- DESKTOP BEGIN -->
<menubar> <!-- MENUBAR BEGIN -->
<!-- ************************* File (menubar) ************************************** -->
<menu-item label-id="Fichier" item-id="1" pos-id="1">
<submenu label-id="Importer" item-id="11" pos-id="8">
<popup-item item-id="111" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="Ctrl+B" toggle-id="" execute-action=""/>
<popup-item item-id="112" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="Ctrl+I" toggle-id="" execute-action=""/>
<popup-item item-id="113" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="Ctrl+S" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Exporter" item-id="12" pos-id="9">
<popup-item item-id="121" pos-id="" label-id="BRep" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="122" pos-id="" label-id="Iges" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="123" pos-id="" label-id="Step" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="10"/>
</menu-item>
<!-- ************************* Edit (menubar) ************************************** -->
<menu-item label-id="Edition" item-id="3" pos-id="2">
<separator pos-id=""/>
<!-- <popup-item item-id="31" pos-id="3" label-id="Copier" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/> -->
<popup-item item-id="33" pos-id="" label-id="Supprimer" icon-id="delete.png" tooltip-id="" accel-id="" toggle-id="" execute-action="" />
</menu-item>
<!-- ************************* New Entity (menubar) ******************************* -->
<menu-item label-id="Nouvelle entité" item-id="30" pos-id="3">
<submenu label-id="Construction basique" item-id="301" pos-id="1">
<popup-item item-id="3011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3012" pos-id="" label-id="Ligne" icon-id="line.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3013" pos-id="" label-id="Cercle" icon-id="circle.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="6"/>
<popup-item item-id="3016" pos-id="" label-id="Vecteur" icon-id="vector.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3017" pos-id="" label-id="Plan" icon-id="plane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3018" pos-id="" label-id="Plan de travail" icon-id="planeWorking.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Primitives" item-id="302" pos-id="2">
<popup-item item-id="3021" pos-id="" label-id="Boite" icon-id="box.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3022" pos-id="" label-id="Cylindre" icon-id="cylinder.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3023" pos-id="" label-id="Sphère" icon-id="sphere.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="3024" pos-id="" label-id="Tore" icon-id="torus.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<popup-item item-id="303" pos-id="" label-id="Eclater" icon-id="subshape.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="309" pos-id="" label-id="Supprime des faces" icon-id="supressface.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="314" pos-id="" label-id="Supprime un trou" icon-id="supresshole.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="304" pos-id="" label-id="Arête" icon-id="build_edge.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="305" pos-id="" label-id="Wire" icon-id="build_wire.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="306" pos-id="" label-id="Face" icon-id="build_face.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="308" pos-id="" label-id="Compound" icon-id="build_compound.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ************************ Operations (menubar) *********************************** -->
<menu-item label-id="Opérations" item-id="40" pos-id="4">
<submenu label-id="Booléennes" item-id="401" pos-id="1">
<popup-item item-id="4011" pos-id="" label-id="Union" icon-id="fuse.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4012" pos-id="" label-id="Commun" icon-id="common.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4013" pos-id="" label-id="Couper" icon-id="cut.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4014" pos-id="" label-id="Section" icon-id="section.png"tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Transformation" item-id="402" pos-id="2">
<popup-item item-id="4021" pos-id="" label-id="Translation" icon-id="translation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4022" pos-id="" label-id="Rotation" icon-id="rotate.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4023" pos-id="" label-id="Symétrie par un plan" icon-id="mirrorPlane.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4024" pos-id="" label-id="Facteur d'échelle" icon-id="scale.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="4030" pos-id="" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4040" pos-id="" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<submenu label-id="Construction" item-id="403" pos-id="3">
<popup-item item-id="4031" pos-id="" label-id="Extrusion" icon-id="prism.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4032" pos-id="" label-id="Révolution" icon-id="revol.png"tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4033" pos-id="" label-id="Filling" icon-id="filling.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4034" pos-id="" label-id="Pipe création ?" icon-id="pipe.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<popup-item item-id="4025" pos-id="" label-id="Partition" icon-id="partition.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4026" pos-id="" label-id="Archimede" icon-id="archimede.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4027" pos-id="" label-id="Congé" icon-id="fillet.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4028" pos-id="" label-id="Chanfrein" icon-id="chamfer.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ************************** Advanced (menubar) ************************************** -->
<menu-item label-id="Avancé" item-id="50" pos-id="5">
<popup-item item-id="501" pos-id="" label-id="Couture" icon-id="sewing.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="502" pos-id="" label-id="Orientation" icon-id="orientation.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ************************** Mesures (menubar) ************************************ -->
<menu-item label-id="Mesures" item-id="60" pos-id="6">
<popup-item item-id="601" pos-id="" label-id="Fondamentales" icon-id="linear.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="4"/>
<popup-item item-id="604" pos-id="" label-id="Centre de gravité" icon-id="centergravity.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="605" pos-id="" label-id="Axes d'inertie" icon-id="axisinertia.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id="7"/>
<submenu label-id="Dimensions" item-id="606" pos-id="8">
<popup-item item-id="6060" pos-id="" label-id="Boite englobante" icon-id="bounding.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6061" pos-id="" label-id="Distance minimale" icon-id="mindist.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="9"/>
<popup-item item-id="607" pos-id="" label-id="Tolérance" icon-id="tolerance.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="608" pos-id="" label-id="Whatis" icon-id="whatis.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="609" pos-id="" label-id="Check" icon-id="check.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ********************************* Tools (menubar) ************************************ -->
<menu-item label-id="Outils" item-id="5" pos-id="">
<separator pos-id=""/>
<popup-item item-id="5001" pos-id="" label-id="Check Géométrie" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</menu-item>
<!-- ********************************* Settings (menubar) ********************************* -->
<menu-item label-id="Préférences" item-id="4" pos-id="">
<submenu label-id="Géométry" item-id="40" pos-id="-1">
<popup-item item-id="701" pos-id="" label-id="Avec copie" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="702" pos-id="" label-id="Nommer/Ranger automatiquement" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="703" pos-id="" label-id="Couleur" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="704" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="705" pos-id="" label-id="Valeur d'increment" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="-1"/>
</menu-item>
<!-- ***************************** View (menubar) ************************************ -->
<menu-item label-id="Affichage" item-id="2" pos-id="">
<submenu label-id="Mode d'affichage" item-id="21" pos-id="6">
<popup-item item-id="6021" pos-id="" label-id="Ombré" icon-id="shading.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="6022" pos-id="" label-id="Afficher tout" icon-id="displayall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6023" pos-id="" label-id="Afficher seulement" icon-id="display.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6024" pos-id="" label-id="Effacer tout" icon-id="eraseall.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="6025" pos-id="" label-id="Effacer seulement" icon-id="erase.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id="7"/>
</menu-item>
</menubar> <!-- MENUBAR END -->
<!-- ///////////////////////////////////// TOOLBARS ////////////////////////////////////// -->
<toolbar label-id="Construction basique">
<toolbutton-item item-id="3011" pos-id="" label-id="Point" icon-id="point2.png" tooltip-id="Point" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3012" pos-id="" label-id="Ligne" icon-id="line.png" tooltip-id="Ligne" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3013" pos-id="" label-id="Cercle" icon-id="circle.png" tooltip-id="Cercle" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3015" pos-id="" label-id="Arc" icon-id="arc.png" tooltip-id="Arc" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3016" pos-id="" label-id="Vecteur" icon-id="vector.png" tooltip-id="Vecteur" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3017" pos-id="" label-id="Plan" icon-id="plane.png" tooltip-id="Plan" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3018" pos-id="" label-id="Plan de travail" icon-id="planeWorking.png" tooltip-id="Plan de travail" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Primitives">
<toolbutton-item item-id="3021" label-id="Boite" icon-id="box.png" tooltip-id="Construction d'une boite" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3022" label-id="Cylindre" icon-id="cylinder.png" tooltip-id="Construction d'un cylindre" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3023" label-id="Sphère" icon-id="sphere.png" tooltip-id="Construction d'une sphère" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="3024" label-id="Tore" icon-id="torus.png" tooltip-id="Construction d'un tore" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Opé. Booléennes">
<toolbutton-item item-id="4011" label-id="Union" icon-id="fuse.png" tooltip-id="Union de deux shapes" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4012" label-id="Commun" icon-id="common.png" tooltip-id="Partie commune entre deux shapes" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4013" label-id="Couper" icon-id="cut.png" tooltip-id="Coupe la première shape par la seconde" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4014" label-id="Section" icon-id="section.png" tooltip-id="Section entre deux shapes" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Construction">
<toolbutton-item item-id="4031" label-id="Extrusion" icon-id="prism.png" tooltip-id="Shape construite par extrusion" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4032" label-id="Révolution" icon-id="revol.png" tooltip-id="Shape construite par révolution" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4033" pos-id="" label-id="'Filling'" icon-id="filling.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="4034" pos-id="" label-id="'Pipe' création" icon-id="pipe.png" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<toolbar label-id="Transformation">
<toolbutton-item item-id="4021" label-id="Translation" icon-id="translation.png" tooltip-id="Translation d'une shape"accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4022" label-id="Rotation" icon-id="rotate.png" tooltip-id="Rotation d'une shape" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4023" label-id="Symétrie" icon-id="mirrorPlane.png" tooltip-id="Symétrie" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4024" label-id="Facteur d'échelle" icon-id="scale.png" tooltip-id="Facteur d'échelle" accel-id="" toggle-id="" execute-action=""/>
<separatorTB/>
<toolbutton-item item-id="4030" label-id="Multi-Translation" icon-id="multitranslation.png" tooltip-id="Multi-translation d'une shape" accel-id="" toggle-id="" execute-action=""/>
<toolbutton-item item-id="4040" label-id="Multi-Rotation" icon-id="multirotation.png" tooltip-id="Multi-rotation d'une shape" accel-id="" toggle-id="" execute-action=""/>
</toolbar>
<!-- ################################# POPUP MENU ################################# -->
<popupmenu label-id="Menu contextuel du Viewer" context-id="" parent-id="Viewer" object-id="">
<submenu label-id="Propriétés" item-id="803" pos-id="6">
<popup-item item-id="8021" pos-id="" label-id="Filaire/Ombré" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="8031" pos-id="" label-id="Couleur" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="8032" pos-id="" label-id="Transparence" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="8033" pos-id="" label-id="Isos" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</submenu>
<endsubmenu />
<separator pos-id=""/>
<popup-item item-id="801" pos-id="" label-id="Ajouter dans l'étude" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
<popupmenu label-id="Menu contextuel" context-id="" parent-id="ObjectBrowser" object-id="">
<popup-item item-id="9024" pos-id="" label-id="Ouverture" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="901" pos-id="2" label-id="Renommer" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
<popupmenu label-id="Sketch" context-id="Sketch" parent-id="Viewer" object-id="">
<popup-item item-id="10000" pos-id="" label-id="Segment" icon-id="" tooltip-id="" accel-id="" toggle-id="true" execute-action=""/>
<popup-item item-id="10001" pos-id="" label-id="Arc" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10002" pos-id="" label-id="Set Angle" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10003" pos-id="" label-id="Set X" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10004" pos-id="" label-id="Set Y" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10006" pos-id="" label-id="Undo" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<separator pos-id=""/>
<popup-item item-id="10007" pos-id="" label-id="End" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
<popup-item item-id="10008" pos-id="" label-id="Close" icon-id="" tooltip-id="" accel-id="" toggle-id="" execute-action=""/>
</popupmenu>
</desktop> <!-- DESKTOP END -->
</application> <!-- APPLICATION END -->

BIN
resources/ModuleGeom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
resources/arc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

BIN
resources/archimede.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

BIN
resources/axisinertia.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

BIN
resources/bounding.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

BIN
resources/box.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
resources/box2points.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

BIN
resources/boxdxyz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

BIN
resources/build_edge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

BIN
resources/build_face.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

BIN
resources/build_shell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

BIN
resources/build_solid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

BIN
resources/build_wire.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

BIN
resources/centergravity.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

BIN
resources/chamfer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

BIN
resources/chamferall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

BIN
resources/chamferedge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

BIN
resources/chamferface.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
resources/check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

BIN
resources/circle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

BIN
resources/common.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

BIN
resources/cone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

BIN
resources/conedxyz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

1
resources/config Normal file
View File

@ -0,0 +1 @@
language=en

BIN
resources/cut.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

BIN
resources/cylinder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

BIN
resources/cylinderdxyz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

BIN
resources/delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

BIN
resources/display.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
resources/displayall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

BIN
resources/erase.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

BIN
resources/eraseall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

BIN
resources/fillet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

BIN
resources/filletall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

BIN
resources/filletedge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

BIN
resources/filletface.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

BIN
resources/filling.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

BIN
resources/fuse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

BIN
resources/geometry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

BIN
resources/line.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

BIN
resources/line2points.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

BIN
resources/lineedge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

BIN
resources/mindist.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

BIN
resources/mirrorPlane.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

BIN
resources/multirotation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

BIN
resources/orientation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

BIN
resources/partition.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

BIN
resources/partitionkeep.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

BIN
resources/pipe.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

BIN
resources/plane.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

BIN
resources/planeWorking.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

BIN
resources/planedxyz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

BIN
resources/planeface.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

BIN
resources/point2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

BIN
resources/pointonedge.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

BIN
resources/prism.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

BIN
resources/revol.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

BIN
resources/rotate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

BIN
resources/scale.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

BIN
resources/section.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

BIN
resources/select1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

BIN
resources/sewing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

BIN
resources/shading.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

BIN
resources/sketch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

BIN
resources/sphere.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

BIN
resources/spheredxyz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

BIN
resources/spherepoint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

BIN
resources/subshape.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
resources/supressface.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

BIN
resources/supresshole.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
resources/tolerance.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
resources/torus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

BIN
resources/torusdxyz.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

BIN
resources/translation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

BIN
resources/tree_compound.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 908 B

BIN
resources/tree_edge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

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