From: nri Date: Mon, 12 May 2003 14:51:31 +0000 (+0000) Subject: NRI : First integration. X-Git-Tag: Start-v1_1a~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4fbc5bf62f5be9cad4d1c752bafc953c9c39509;p=modules%2Fgeom.git NRI : First integration. --- f4fbc5bf62f5be9cad4d1c752bafc953c9c39509 diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 000000000..cb95a908e --- /dev/null +++ b/Makefile.in @@ -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 + diff --git a/build_configure b/build_configure new file mode 100755 index 000000000..c70b9c229 --- /dev/null +++ b/build_configure @@ -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 diff --git a/configure.in.base b/configure.in.base new file mode 100644 index 000000000..a688b3347 --- /dev/null +++ b/configure.in.base @@ -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 diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl new file mode 100644 index 000000000..c4a1d83ec --- /dev/null +++ b/idl/GEOM_Gen.idl @@ -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 ListOfIOR ; + typedef sequence 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 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 diff --git a/idl/GEOM_Shape.idl b/idl/GEOM_Shape.idl new file mode 100644 index 000000000..f9c61eab0 --- /dev/null +++ b/idl/GEOM_Shape.idl @@ -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 ListOfSubShapeID ; + typedef sequence 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 diff --git a/idl/Makefile.in b/idl/Makefile.in new file mode 100644 index 000000000..928bb57e8 --- /dev/null +++ b/idl/Makefile.in @@ -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 + diff --git a/resources/Geometry_en.xml b/resources/Geometry_en.xml new file mode 100644 index 000000000..0cbf65081 --- /dev/null +++ b/resources/Geometry_en.xml @@ -0,0 +1,273 @@ + + + + + + + + + title="Geometry component" + date="2001/12/12" + author="Lucien PIGNOLONI" + appId="Geometry for Salome"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/Geometry_fr.xml b/resources/Geometry_fr.xml new file mode 100644 index 000000000..fcf955312 --- /dev/null +++ b/resources/Geometry_fr.xml @@ -0,0 +1,247 @@ + + + + + + + + title="Geometry component" + date="2001/12/12" + author="Lucien PIGNOLONI" + appId="Geometry for Salome"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/ModuleGeom.png b/resources/ModuleGeom.png new file mode 100644 index 000000000..4cf6099f8 Binary files /dev/null and b/resources/ModuleGeom.png differ diff --git a/resources/arc.png b/resources/arc.png new file mode 100644 index 000000000..03aef7373 Binary files /dev/null and b/resources/arc.png differ diff --git a/resources/archimede.png b/resources/archimede.png new file mode 100644 index 000000000..8760ada60 Binary files /dev/null and b/resources/archimede.png differ diff --git a/resources/axisinertia.png b/resources/axisinertia.png new file mode 100644 index 000000000..22f1a96e4 Binary files /dev/null and b/resources/axisinertia.png differ diff --git a/resources/basicproperties.png b/resources/basicproperties.png new file mode 100644 index 000000000..3b72b8d21 Binary files /dev/null and b/resources/basicproperties.png differ diff --git a/resources/bounding.png b/resources/bounding.png new file mode 100644 index 000000000..7d5563794 Binary files /dev/null and b/resources/bounding.png differ diff --git a/resources/box.png b/resources/box.png new file mode 100644 index 000000000..ac562fc29 Binary files /dev/null and b/resources/box.png differ diff --git a/resources/box2points.png b/resources/box2points.png new file mode 100644 index 000000000..8fe93676d Binary files /dev/null and b/resources/box2points.png differ diff --git a/resources/boxdxyz.png b/resources/boxdxyz.png new file mode 100644 index 000000000..c84482ac5 Binary files /dev/null and b/resources/boxdxyz.png differ diff --git a/resources/build_compound.png b/resources/build_compound.png new file mode 100644 index 000000000..82591b753 Binary files /dev/null and b/resources/build_compound.png differ diff --git a/resources/build_edge.png b/resources/build_edge.png new file mode 100644 index 000000000..877c1f702 Binary files /dev/null and b/resources/build_edge.png differ diff --git a/resources/build_face.png b/resources/build_face.png new file mode 100644 index 000000000..5f12c70df Binary files /dev/null and b/resources/build_face.png differ diff --git a/resources/build_shell.png b/resources/build_shell.png new file mode 100644 index 000000000..993902335 Binary files /dev/null and b/resources/build_shell.png differ diff --git a/resources/build_solid.png b/resources/build_solid.png new file mode 100644 index 000000000..45e0efb7f Binary files /dev/null and b/resources/build_solid.png differ diff --git a/resources/build_wire.png b/resources/build_wire.png new file mode 100644 index 000000000..ca881f8b0 Binary files /dev/null and b/resources/build_wire.png differ diff --git a/resources/centergravity.png b/resources/centergravity.png new file mode 100644 index 000000000..8f7621404 Binary files /dev/null and b/resources/centergravity.png differ diff --git a/resources/chamfer.png b/resources/chamfer.png new file mode 100644 index 000000000..ccea75411 Binary files /dev/null and b/resources/chamfer.png differ diff --git a/resources/chamferall.png b/resources/chamferall.png new file mode 100644 index 000000000..c90b6740e Binary files /dev/null and b/resources/chamferall.png differ diff --git a/resources/chamferedge.png b/resources/chamferedge.png new file mode 100644 index 000000000..e8d5ccd57 Binary files /dev/null and b/resources/chamferedge.png differ diff --git a/resources/chamferface.png b/resources/chamferface.png new file mode 100644 index 000000000..4e3f36b25 Binary files /dev/null and b/resources/chamferface.png differ diff --git a/resources/check.png b/resources/check.png new file mode 100644 index 000000000..fe4a73b08 Binary files /dev/null and b/resources/check.png differ diff --git a/resources/circle.png b/resources/circle.png new file mode 100644 index 000000000..b040939af Binary files /dev/null and b/resources/circle.png differ diff --git a/resources/circlepointvector.png b/resources/circlepointvector.png new file mode 100644 index 000000000..8cd0e4aed Binary files /dev/null and b/resources/circlepointvector.png differ diff --git a/resources/common.png b/resources/common.png new file mode 100644 index 000000000..ead31c848 Binary files /dev/null and b/resources/common.png differ diff --git a/resources/cone.png b/resources/cone.png new file mode 100644 index 000000000..a150f54cd Binary files /dev/null and b/resources/cone.png differ diff --git a/resources/conedxyz.png b/resources/conedxyz.png new file mode 100755 index 000000000..f8ab8e21d Binary files /dev/null and b/resources/conedxyz.png differ diff --git a/resources/conepointvector.png b/resources/conepointvector.png new file mode 100644 index 000000000..b727f53a3 Binary files /dev/null and b/resources/conepointvector.png differ diff --git a/resources/config b/resources/config new file mode 100644 index 000000000..692539760 --- /dev/null +++ b/resources/config @@ -0,0 +1 @@ +language=en \ No newline at end of file diff --git a/resources/cut.png b/resources/cut.png new file mode 100644 index 000000000..4370b7ca3 Binary files /dev/null and b/resources/cut.png differ diff --git a/resources/cylinder.png b/resources/cylinder.png new file mode 100644 index 000000000..3981e4cdd Binary files /dev/null and b/resources/cylinder.png differ diff --git a/resources/cylinderdxyz.png b/resources/cylinderdxyz.png new file mode 100755 index 000000000..fa84a2ebd Binary files /dev/null and b/resources/cylinderdxyz.png differ diff --git a/resources/cylinderpointvector.png b/resources/cylinderpointvector.png new file mode 100644 index 000000000..524074ac7 Binary files /dev/null and b/resources/cylinderpointvector.png differ diff --git a/resources/delete.png b/resources/delete.png new file mode 100644 index 000000000..8ae847527 Binary files /dev/null and b/resources/delete.png differ diff --git a/resources/display.png b/resources/display.png new file mode 100644 index 000000000..24a7c9e56 Binary files /dev/null and b/resources/display.png differ diff --git a/resources/displayall.png b/resources/displayall.png new file mode 100644 index 000000000..6ad928aa7 Binary files /dev/null and b/resources/displayall.png differ diff --git a/resources/erase.png b/resources/erase.png new file mode 100644 index 000000000..7b52a8303 Binary files /dev/null and b/resources/erase.png differ diff --git a/resources/eraseall.png b/resources/eraseall.png new file mode 100644 index 000000000..542e5b264 Binary files /dev/null and b/resources/eraseall.png differ diff --git a/resources/fillet.png b/resources/fillet.png new file mode 100644 index 000000000..d5af8aeab Binary files /dev/null and b/resources/fillet.png differ diff --git a/resources/filletall.png b/resources/filletall.png new file mode 100644 index 000000000..c90b6740e Binary files /dev/null and b/resources/filletall.png differ diff --git a/resources/filletedge.png b/resources/filletedge.png new file mode 100644 index 000000000..e8d5ccd57 Binary files /dev/null and b/resources/filletedge.png differ diff --git a/resources/filletface.png b/resources/filletface.png new file mode 100644 index 000000000..4e3f36b25 Binary files /dev/null and b/resources/filletface.png differ diff --git a/resources/filling.png b/resources/filling.png new file mode 100644 index 000000000..eaa725c32 Binary files /dev/null and b/resources/filling.png differ diff --git a/resources/fuse.png b/resources/fuse.png new file mode 100644 index 000000000..d71f7d1cc Binary files /dev/null and b/resources/fuse.png differ diff --git a/resources/geometry.png b/resources/geometry.png new file mode 100644 index 000000000..86746f0b0 Binary files /dev/null and b/resources/geometry.png differ diff --git a/resources/line.png b/resources/line.png new file mode 100644 index 000000000..f5a295c47 Binary files /dev/null and b/resources/line.png differ diff --git a/resources/line2points.png b/resources/line2points.png new file mode 100644 index 000000000..f5a295c47 Binary files /dev/null and b/resources/line2points.png differ diff --git a/resources/lineedge.png b/resources/lineedge.png new file mode 100644 index 000000000..66a8d5ecc Binary files /dev/null and b/resources/lineedge.png differ diff --git a/resources/linepointvector.png b/resources/linepointvector.png new file mode 100644 index 000000000..054bc8462 Binary files /dev/null and b/resources/linepointvector.png differ diff --git a/resources/mindist.png b/resources/mindist.png new file mode 100644 index 000000000..9ec01ae67 Binary files /dev/null and b/resources/mindist.png differ diff --git a/resources/mirrorPlane.png b/resources/mirrorPlane.png new file mode 100644 index 000000000..edbb4f2dc Binary files /dev/null and b/resources/mirrorPlane.png differ diff --git a/resources/multirotation.png b/resources/multirotation.png new file mode 100644 index 000000000..612ba7c32 Binary files /dev/null and b/resources/multirotation.png differ diff --git a/resources/multirotationdouble.png b/resources/multirotationdouble.png new file mode 100644 index 000000000..a148c7102 Binary files /dev/null and b/resources/multirotationdouble.png differ diff --git a/resources/multirotationsimple.png b/resources/multirotationsimple.png new file mode 100644 index 000000000..7efa63269 Binary files /dev/null and b/resources/multirotationsimple.png differ diff --git a/resources/multitranslation.png b/resources/multitranslation.png new file mode 100644 index 000000000..7d0e54b6e Binary files /dev/null and b/resources/multitranslation.png differ diff --git a/resources/multitranslationdouble.png b/resources/multitranslationdouble.png new file mode 100644 index 000000000..3d7b91d5b Binary files /dev/null and b/resources/multitranslationdouble.png differ diff --git a/resources/multitranslationsimple.png b/resources/multitranslationsimple.png new file mode 100644 index 000000000..a33c9cf14 Binary files /dev/null and b/resources/multitranslationsimple.png differ diff --git a/resources/orientation.png b/resources/orientation.png new file mode 100644 index 000000000..bd0954cad Binary files /dev/null and b/resources/orientation.png differ diff --git a/resources/partition.png b/resources/partition.png new file mode 100644 index 000000000..ccc0b8d35 Binary files /dev/null and b/resources/partition.png differ diff --git a/resources/partitionkeep.png b/resources/partitionkeep.png new file mode 100644 index 000000000..2fc91e0f7 Binary files /dev/null and b/resources/partitionkeep.png differ diff --git a/resources/pipe.png b/resources/pipe.png new file mode 100755 index 000000000..494a8461a Binary files /dev/null and b/resources/pipe.png differ diff --git a/resources/plane.png b/resources/plane.png new file mode 100644 index 000000000..eb538d005 Binary files /dev/null and b/resources/plane.png differ diff --git a/resources/planeWorking.png b/resources/planeWorking.png new file mode 100644 index 000000000..d64aad9b6 Binary files /dev/null and b/resources/planeWorking.png differ diff --git a/resources/planedxyz.png b/resources/planedxyz.png new file mode 100644 index 000000000..409d7e8d4 Binary files /dev/null and b/resources/planedxyz.png differ diff --git a/resources/planeface.png b/resources/planeface.png new file mode 100644 index 000000000..2ab9ec62a Binary files /dev/null and b/resources/planeface.png differ diff --git a/resources/planepointvector.png b/resources/planepointvector.png new file mode 100644 index 000000000..7db7fb21f Binary files /dev/null and b/resources/planepointvector.png differ diff --git a/resources/planeworkingface.png b/resources/planeworkingface.png new file mode 100644 index 000000000..4eb8bd46e Binary files /dev/null and b/resources/planeworkingface.png differ diff --git a/resources/point2.png b/resources/point2.png new file mode 100644 index 000000000..ae02c4724 Binary files /dev/null and b/resources/point2.png differ diff --git a/resources/pointonedge.png b/resources/pointonedge.png new file mode 100755 index 000000000..50bab61b0 Binary files /dev/null and b/resources/pointonedge.png differ diff --git a/resources/prism.png b/resources/prism.png new file mode 100644 index 000000000..fdbe72eac Binary files /dev/null and b/resources/prism.png differ diff --git a/resources/revol.png b/resources/revol.png new file mode 100644 index 000000000..887d64038 Binary files /dev/null and b/resources/revol.png differ diff --git a/resources/rotate.png b/resources/rotate.png new file mode 100644 index 000000000..fccff20d6 Binary files /dev/null and b/resources/rotate.png differ diff --git a/resources/scale.png b/resources/scale.png new file mode 100644 index 000000000..4c8987235 Binary files /dev/null and b/resources/scale.png differ diff --git a/resources/section.png b/resources/section.png new file mode 100644 index 000000000..4a2b7828e Binary files /dev/null and b/resources/section.png differ diff --git a/resources/select1.png b/resources/select1.png new file mode 100644 index 000000000..a1a4ee1d5 Binary files /dev/null and b/resources/select1.png differ diff --git a/resources/sewing.png b/resources/sewing.png new file mode 100644 index 000000000..5da9eaa68 Binary files /dev/null and b/resources/sewing.png differ diff --git a/resources/shading.png b/resources/shading.png new file mode 100755 index 000000000..11ca2685f Binary files /dev/null and b/resources/shading.png differ diff --git a/resources/sketch.png b/resources/sketch.png new file mode 100644 index 000000000..683ec7268 Binary files /dev/null and b/resources/sketch.png differ diff --git a/resources/sphere.png b/resources/sphere.png new file mode 100644 index 000000000..335570e2d Binary files /dev/null and b/resources/sphere.png differ diff --git a/resources/spheredxyz.png b/resources/spheredxyz.png new file mode 100644 index 000000000..2eb4404a0 Binary files /dev/null and b/resources/spheredxyz.png differ diff --git a/resources/spherepoint.png b/resources/spherepoint.png new file mode 100644 index 000000000..947410006 Binary files /dev/null and b/resources/spherepoint.png differ diff --git a/resources/subshape.png b/resources/subshape.png new file mode 100755 index 000000000..6c75aa4bf Binary files /dev/null and b/resources/subshape.png differ diff --git a/resources/supressHolesOnFaceShell.png b/resources/supressHolesOnFaceShell.png new file mode 100755 index 000000000..99eb53ae3 Binary files /dev/null and b/resources/supressHolesOnFaceShell.png differ diff --git a/resources/supressface.png b/resources/supressface.png new file mode 100644 index 000000000..9ab62f9a0 Binary files /dev/null and b/resources/supressface.png differ diff --git a/resources/supresshole.png b/resources/supresshole.png new file mode 100755 index 000000000..87dbdaa9c Binary files /dev/null and b/resources/supresshole.png differ diff --git a/resources/tolerance.png b/resources/tolerance.png new file mode 100644 index 000000000..fd75ba462 Binary files /dev/null and b/resources/tolerance.png differ diff --git a/resources/torus.png b/resources/torus.png new file mode 100644 index 000000000..b4585cdb8 Binary files /dev/null and b/resources/torus.png differ diff --git a/resources/torusdxyz.png b/resources/torusdxyz.png new file mode 100755 index 000000000..8b6c79b99 Binary files /dev/null and b/resources/torusdxyz.png differ diff --git a/resources/toruspointvector.png b/resources/toruspointvector.png new file mode 100644 index 000000000..843d71ad9 Binary files /dev/null and b/resources/toruspointvector.png differ diff --git a/resources/translation.png b/resources/translation.png new file mode 100644 index 000000000..78e6f9012 Binary files /dev/null and b/resources/translation.png differ diff --git a/resources/tree_compound.png b/resources/tree_compound.png new file mode 100644 index 000000000..1dd78eb3f Binary files /dev/null and b/resources/tree_compound.png differ diff --git a/resources/tree_compsolid.png b/resources/tree_compsolid.png new file mode 100644 index 000000000..87ec8684f Binary files /dev/null and b/resources/tree_compsolid.png differ diff --git a/resources/tree_edge.png b/resources/tree_edge.png new file mode 100644 index 000000000..df9741d76 Binary files /dev/null and b/resources/tree_edge.png differ diff --git a/resources/tree_face.png b/resources/tree_face.png new file mode 100644 index 000000000..e9dc9a880 Binary files /dev/null and b/resources/tree_face.png differ diff --git a/resources/tree_shape.png b/resources/tree_shape.png new file mode 100644 index 000000000..0ece93b75 Binary files /dev/null and b/resources/tree_shape.png differ diff --git a/resources/tree_shell.png b/resources/tree_shell.png new file mode 100644 index 000000000..59992de36 Binary files /dev/null and b/resources/tree_shell.png differ diff --git a/resources/tree_solid.png b/resources/tree_solid.png new file mode 100644 index 000000000..aa74e796e Binary files /dev/null and b/resources/tree_solid.png differ diff --git a/resources/tree_vertex.png b/resources/tree_vertex.png new file mode 100644 index 000000000..6a112b51d Binary files /dev/null and b/resources/tree_vertex.png differ diff --git a/resources/tree_wire.png b/resources/tree_wire.png new file mode 100644 index 000000000..9416d0e39 Binary files /dev/null and b/resources/tree_wire.png differ diff --git a/resources/vector.png b/resources/vector.png new file mode 100644 index 000000000..9a1a7e85a Binary files /dev/null and b/resources/vector.png differ diff --git a/resources/vector2points.png b/resources/vector2points.png new file mode 100644 index 000000000..ff58a8ad4 Binary files /dev/null and b/resources/vector2points.png differ diff --git a/resources/vectordxyz.png b/resources/vectordxyz.png new file mode 100644 index 000000000..e37e015cb Binary files /dev/null and b/resources/vectordxyz.png differ diff --git a/resources/whatis.png b/resources/whatis.png new file mode 100644 index 000000000..1b39f3544 Binary files /dev/null and b/resources/whatis.png differ