+ unify DLL export defines to namespace names

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-10-10 13:44:52 +00:00
commit 120ca87015
4155 changed files with 2965978 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include "CompleteConfiguration.h"
extern struct PyMethodDef Complete_methods[];
PyDoc_STRVAR(module_Complete_doc,
"This module is the Complete module.");
/* Python entry */
extern "C" {
void AppCompleteExport initComplete()
{
// load dependent module
try {
Base::Interpreter().loadModule("Part");
Base::Interpreter().loadModule("Mesh");
Base::Interpreter().loadModule("Points");
//Base::Interpreter().loadModule("MeshPart");
//Base::Interpreter().loadModule("Assembly");
Base::Interpreter().loadModule("Drawing");
Base::Interpreter().loadModule("Raytracing");
# ifdef COMPLETE_SHOW_SKETCHER
Base::Interpreter().loadModule("Sketcher");
# endif
Base::Interpreter().loadModule("PartDesign");
Base::Interpreter().loadModule("Image");
//Base::Interpreter().loadModule("Cam");
# ifdef COMPLETE_USE_DRAFTING
try {
Base::Interpreter().loadModule("Draft");
}
catch (const Base::PyException& e) {
// If called from console then issue a message but don't stop with an error
PySys_WriteStdout("Import error: %s\n", e.what());
}
# endif
}
catch(const Base::Exception& e) {
PyErr_SetString(PyExc_ImportError, e.what());
return;
}
Py_InitModule3("Complete", Complete_methods, module_Complete_doc); /* mod name, table ptr */
Base::Console().Log("Loading Complete module... done\n");
}
} // extern "C"

View File

@@ -0,0 +1,33 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
/* registration table */
struct PyMethodDef Complete_methods[] = {
{NULL, NULL} /* end of table marker */
};

View File

@@ -0,0 +1,43 @@
if(WIN32)
endif(WIN32)
include_directories(
${Boost_INCLUDE_DIRS}
${OCC_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${PYTHON_INCLUDE_PATH}
${XERCESC_INCLUDE_DIR}
)
set(Complete_LIBS
FreeCADApp
)
SET(Complete_SRCS
AppComplete.cpp
AppCompletePy.cpp
PreCompiled.cpp
PreCompiled.h
CompleteConfiguration.h
)
add_library(Complete SHARED ${Complete_SRCS})
target_link_libraries(Complete ${Complete_LIBS})
fc_copy_script("Mod/Complete" "Complete" Init.py)
if(MSVC)
set_target_properties(Complete PROPERTIES SUFFIX ".pyd")
set_target_properties(Complete PROPERTIES DEBUG_OUTPUT_NAME "Complete_d")
set_target_properties(Complete PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(Complete PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(Complete PROPERTIES SUFFIX ".pyd")
set_target_properties(Complete PROPERTIES DEBUG_OUTPUT_NAME "Complete_d")
set_target_properties(Complete PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(Complete PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(Complete PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(Complete PROPERTIES PREFIX "")
endif(MSVC)
install(TARGETS Complete DESTINATION lib)

View File

@@ -0,0 +1,42 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef COMPLETE_CONFIGURATION_H
#define COMPLETE_CONFIGURATION_H
#include <FCConfig.h>
// Exporting of App classes
#ifdef FC_OS_WIN32
# define COMPLETE_SHOW_SKETCHER
# define COMPLETE_USE_DRAFTING
#else // for Linux
# define COMPLETE_SHOW_SKETCHER
# define COMPLETE_USE_DRAFTING
#endif
#endif

View File

@@ -0,0 +1,46 @@
lib_LTLIBRARIES=libComplete.la Complete.la
libComplete_la_SOURCES=\
AppCompletePy.cpp \
CompleteConfiguration.h \
PreCompiled.cpp \
PreCompiled.h
# the library search path.
libComplete_la_LDFLAGS = -L../../../Base -L../../../App $(all_libraries) -version-info \
@LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
libComplete_la_CPPFLAGS = -DCompleteExport=
libComplete_la_LIBADD = \
@BOOST_REGEX_LIB@ @BOOST_SYSTEM_LIB@ \
-l@PYTHON_LIB@ \
-lxerces-c \
-lFreeCADBase \
-lFreeCADApp
#--------------------------------------------------------------------------------------
# Loader of libComplete
Complete_la_SOURCES=\
AppComplete.cpp
# the library search path.
Complete_la_LDFLAGS = $(libComplete_la_LDFLAGS) -module -avoid-version
Complete_la_CPPFLAGS = $(libComplete_la_CPPFLAGS)
Complete_la_LIBADD = \
$(libComplete_la_LIBADD) \
-lComplete
Complete_la_DEPENDENCIES = libComplete.la
#--------------------------------------------------------------------------------------
# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(all_includes)
libdir = $(prefix)/Mod/Complete
EXTRA_DIST = \
CMakeLists.txt

View File

@@ -0,0 +1,24 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"

View File

@@ -0,0 +1,58 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef COMPLETE_PRECOMPILED_H
#define COMPLETE_PRECOMPILED_H
#include <FCConfig.h>
// Exporting of App classes
#ifdef FC_OS_WIN32
# define AppCompleteExport __declspec(dllexport)
# define PartExport __declspec(dllimport)
# define MeshExport __declspec(dllimport)
#else // for Linux
# define AppCompleteExport
# define PartExport
# define MeshExport
#endif
#ifdef _PreComp_
// standard
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <assert.h>
#include <string>
#include <map>
#include <vector>
#include <set>
#include <bitset>
#include <Python.h>
#endif // _PreComp_
#endif

View File

@@ -0,0 +1,13 @@
add_subdirectory(App)
if(FREECAD_BUILD_GUI)
add_subdirectory(Gui)
endif(FREECAD_BUILD_GUI)
install(
FILES
Init.py
InitGui.py
DESTINATION
Mod/Complete
)

View File

@@ -0,0 +1,144 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include <Gui/Application.h>
#include <Gui/WorkbenchManager.h>
#include <Gui/Language/Translator.h>
#include "Workbench.h"
#include <Mod/Complete/App/CompleteConfiguration.h>
// use a different name to CreateCommand()
void CreateCompleteCommands(void);
void loadCompleteResource()
{
// add resources and reloads the translators
Q_INIT_RESOURCE(Complete);
Gui::Translator::instance()->refresh();
}
/* registration table */
extern struct PyMethodDef CompleteGui_Import_methods[];
/* Python entry */
extern "C" {
void CompleteGuiExport initCompleteGui()
{
if (!Gui::Application::Instance) {
PyErr_SetString(PyExc_ImportError, "Cannot load Gui module in console application.");
return;
}
// load dependent module
try {
Base::Interpreter().loadModule("PartGui");
Base::Interpreter().loadModule("MeshGui");
try {
Base::Interpreter().loadModule("MeshPartGui");
}
catch (const Base::Exception& e) {
Base::Console().Error("Failed to load MeshPartGui: %s\n", e.what());
PyErr_Clear();
}
Base::Interpreter().loadModule("PointsGui");
//Base::Interpreter().loadModule("MeshPartGui");
//Base::Interpreter().loadModule("AssemblyGui");
Base::Interpreter().loadModule("DrawingGui");
Base::Interpreter().loadModule("RaytracingGui");
# ifdef COMPLETE_SHOW_SKETCHER
Base::Interpreter().loadModule("SketcherGui");
# endif
Base::Interpreter().loadModule("PartDesignGui");
Base::Interpreter().loadModule("ImageGui");
//Base::Interpreter().loadModule("CamGui");
Base::Interpreter().loadModule("TestGui");
# ifdef COMPLETE_USE_DRAFTING
Py::Module module(PyImport_ImportModule("FreeCADGui"),true);
Py::Callable method(module.getAttr(std::string("getWorkbench")));
// Get the CompleteWorkbench handler
Py::Tuple args(1);
args.setItem(0,Py::String("DraftWorkbench"));
Py::Object handler(method.apply(args));
std::string type;
if (!handler.hasAttr(std::string("__Workbench__"))) {
// call its GetClassName method if possible
Py::Callable method(handler.getAttr(std::string("GetClassName")));
Py::Tuple args;
Py::String result(method.apply(args));
type = result.as_std_string();
if (type == "Gui::PythonWorkbench") {
Gui::Workbench* wb = Gui::WorkbenchManager::instance()->createWorkbench("DraftWorkbench", type);
handler.setAttr(std::string("__Workbench__"), Py::Object(wb->getPyObject(), true));
}
// import the matching module first
Py::Callable activate(handler.getAttr(std::string("Initialize")));
activate.apply(args);
}
// Get the CompleteWorkbench handler
args.setItem(0,Py::String("CompleteWorkbench"));
# endif
}
catch(const Base::Exception& e) {
PyErr_SetString(PyExc_ImportError, e.what());
return;
}
catch (Py::Exception& e) {
Py::Object o = Py::type(e);
if (o.isString()) {
Py::String s(o);
Base::Console().Error("%s\n", s.as_std_string().c_str());
}
else {
Py::String s(o.repr());
Base::Console().Error("%s\n", s.as_std_string().c_str());
}
// Prints message to console window if we are in interactive mode
PyErr_Print();
}
(void) Py_InitModule("CompleteGui", CompleteGui_Import_methods); /* mod name, table ptr */
Base::Console().Log("Loading GUI of Complete module... done\n");
// instantiating the commands
CreateCompleteCommands();
CompleteGui::Workbench::init();
// add resources and reloads the translators
loadCompleteResource();
}
} // extern "C" {

View File

@@ -0,0 +1,33 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
/* registration table */
struct PyMethodDef CompleteGui_Import_methods[] = {
{NULL, NULL} /* end of table marker */
};

View File

@@ -0,0 +1,49 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
${COIN3D_INCLUDE_DIR}
${QT_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
${SOQT_INCLUDE_DIR}
${PYTHON_INCLUDE_PATH}
${XERCESC_INCLUDE_DIR}
)
set(CompleteGui_LIBS
Complete
FreeCADGui
)
qt4_add_resources(Complete_QRC_SRCS Resources/Complete.qrc)
SET(CompleteGui_SRCS
${Complete_QRC_SRCS}
AppCompleteGui.cpp
AppCompleteGuiPy.cpp
Command.cpp
PreCompiled.cpp
PreCompiled.h
Workbench.cpp
Workbench.h
)
add_library(CompleteGui SHARED ${CompleteGui_SRCS})
target_link_libraries(CompleteGui ${CompleteGui_LIBS})
fc_copy_script("Mod/Complete" "CompleteGui" InitGui.py)
if(MSVC)
set_target_properties(CompleteGui PROPERTIES SUFFIX ".pyd")
set_target_properties(CompleteGui PROPERTIES DEBUG_OUTPUT_NAME "CompleteGui_d")
set_target_properties(CompleteGui PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(CompleteGui PROPERTIES PREFIX "../")
elseif(MINGW)
set_target_properties(CompleteGui PROPERTIES SUFFIX ".pyd")
set_target_properties(CompleteGui PROPERTIES DEBUG_OUTPUT_NAME "CompleteGui_d")
set_target_properties(CompleteGui PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(CompleteGui PROPERTIES PREFIX "")
else(MSVC)
set_target_properties(CompleteGui PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Mod/Complete)
set_target_properties(CompleteGui PROPERTIES PREFIX "")
endif(MSVC)
install(TARGETS CompleteGui DESTINATION lib)

View File

@@ -0,0 +1,65 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Gui/Application.h>
#include <Gui/Command.h>
#include <Gui/MainWindow.h>
#include <Gui/FileDialog.h>
using namespace std;
DEF_STD_CMD(CmdCompleteConstraintAxle);
CmdCompleteConstraintAxle::CmdCompleteConstraintAxle()
:Command("Complete_ConstraintAxle")
{
sAppModule = "Complete";
sGroup = QT_TR_NOOP("Complete");
sMenuText = QT_TR_NOOP("Constraint Axle...");
sToolTipText = QT_TR_NOOP("set a axle constraint between two objects");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/document-new";
}
void CmdCompleteConstraintAxle::activated(int iMsg)
{
// load the file with the module
//Command::doCommand(Command::Gui, "import Complete, CompleteGui");
}
void CreateCompleteCommands(void)
{
Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager();
rcCmdMgr.addCommand(new CmdCompleteConstraintAxle());
}

View File

@@ -0,0 +1,71 @@
SUBDIRS=Resources
lib_LTLIBRARIES=libCompleteGui.la CompleteGui.la
libCompleteGui_la_SOURCES=\
AppCompleteGuiPy.cpp \
Command.cpp \
PreCompiled.cpp \
PreCompiled.h \
Workbench.cpp \
Workbench.h
# the library search path.
libCompleteGui_la_LDFLAGS = -L../../../Base -L../../../App -L../../../Gui -L../App $(QT_LIBS) $(GL_LIBS) \
$(all_libraries) -version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
libCompleteGui_la_CPPFLAGS = -DCompleteAppExport= -DCompleteGuiExport=
libCompleteGui_la_LIBADD = \
@BOOST_SYSTEM_LIB@ \
-l@PYTHON_LIB@ \
-lxerces-c \
-lFreeCADBase \
-lFreeCADApp \
-lFreeCADGui \
-lComplete
#--------------------------------------------------------------------------------------
# Loader of libCompleteGui
CompleteGui_la_SOURCES=\
AppCompleteGui.cpp
# the library search path.
CompleteGui_la_LDFLAGS = $(libCompleteGui_la_LDFLAGS) -module -avoid-version
CompleteGui_la_CPPFLAGS = $(libCompleteGui_la_CPPFLAGS)
CompleteGui_la_LIBADD = \
$(libCompleteGui_la_LIBADD) \
Resources/libResources.la \
-lCompleteGui
CompleteGui_la_DEPENDENCIES = libCompleteGui.la
#--------------------------------------------------------------------------------------
# rule for Qt MetaObject Compiler:
moc_%.cpp: %.h
$(QT_MOC) $< -o $(@F)
# rule for Qt MetaObject Compiler:
%.moc: %.h
$(QT_MOC) $< -o $(@F)
# rules for Qt User Interface Compiler:
ui_%.h: %.ui
$(QT_UIC) $< -o $(@F)
# rules for Qt Resource Compiler:
qrc_%.cpp: %.qrc
$(QT_RCC) -name $(*F) $< -o $(@F)
# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(QT_CXXFLAGS) $(all_includes)
libdir = $(prefix)/Mod/Complete
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
CMakeLists.txt

View File

@@ -0,0 +1,24 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"

View File

@@ -0,0 +1,72 @@
/***************************************************************************
* Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef COMPLETEGUI_PRECOMPILED_H
#define COMPLETEGUI_PRECOMPILED_H
#include <FCConfig.h>
// Importing of App classes
#ifdef FC_OS_WIN32
# define CompleteExport __declspec(dllimport)
# define CompleteGuiExport __declspec(dllexport)
#else // for Linux
# define CompleteExport
# define CompleteGuiExport
#endif
#ifdef _PreComp_
// Python
#include <Python.h>
// standard
#include <iostream>
#include <assert.h>
#include <math.h>
// STL
#include <vector>
#include <map>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <stack>
#include <queue>
#include <bitset>
#ifdef FC_OS_WIN32
# include <windows.h>
#endif
// Qt Toolkit
#ifndef __Qt4All__
# include <Gui/Qt4All.h>
#endif
#endif //_PreComp_
#endif // COMPLETEGUI_PRECOMPILED_H

View File

@@ -0,0 +1,18 @@
<RCC>
<qresource>
<file>translations/Complete_af.qm</file>
<file>translations/Complete_de.qm</file>
<file>translations/Complete_es.qm</file>
<file>translations/Complete_fi.qm</file>
<file>translations/Complete_fr.qm</file>
<file>translations/Complete_hr.qm</file>
<file>translations/Complete_it.qm</file>
<file>translations/Complete_nl.qm</file>
<file>translations/Complete_no.qm</file>
<file>translations/Complete_pt.qm</file>
<file>translations/Complete_ru.qm</file>
<file>translations/Complete_se.qm</file>
<file>translations/Complete_uk.qm</file>
<file>translations/Complete_zh.qm</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,58 @@
noinst_LTLIBRARIES=libResources.la
BUILT_SOURCES=\
qrc_Complete.cpp
nodist_libResources_la_SOURCES=\
qrc_Complete.cpp
EXTRA_DIST = \
translations/Complete_af.qm \
translations/Complete_de.qm \
translations/Complete_es.qm \
translations/Complete_fi.qm \
translations/Complete_fr.qm \
translations/Complete_hr.qm \
translations/Complete_it.qm \
translations/Complete_nl.qm \
translations/Complete_no.qm \
translations/Complete_pt.qm \
translations/Complete_ru.qm \
translations/Complete_se.qm \
translations/Complete_uk.qm \
translations/Complete_zh.qm \
translations/Complete_af.ts \
translations/Complete_de.ts \
translations/Complete_es.ts \
translations/Complete_fi.ts \
translations/Complete_fr.ts \
translations/Complete_hr.ts \
translations/Complete_it.ts \
translations/Complete_nl.ts \
translations/Complete_no.ts \
translations/Complete_pt.ts \
translations/Complete_ru.ts \
translations/Complete_se.ts \
translations/Complete_uk.ts \
translations/Complete_zh.ts \
Complete.qrc \
UpdateResources.bat
# rule for Qt MetaObject Compiler:
moc_%.cpp: %.h
$(QT_MOC) $< -o $(@F)
# rule for Qt MetaObject Compiler:
%.moc: %.h
$(QT_MOC) $< -o $(@F)
# rules for Qt Resource Compiler:
qrc_%.cpp: %.qrc
$(QT_RCC) -name $(*F) $< -o $(@F)
# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src -I$(srcdir)/.. $(QT_CXXFLAGS) $(all_includes)
CLEANFILES = $(BUILT_SOURCES)

View File

@@ -0,0 +1,2 @@
python ..\..\..\..\Tools\dir2qrc.py -v -o Complete.qrc
@pause

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Volledig</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Beperking met 'n as...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>definieer 'n bewegingsbeperking tussen twee voorwerpe met 'n as</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Lêer</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Wysig</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standaardvoorkomste</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoem</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Sigbaarheid</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Voorkoms</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Gereedskap</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Ontleed</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolese</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Maasnette</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Onderdeel</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametries</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>&amp;Skets</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Teken</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Straalsporing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Teken</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vensters</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Internethulp</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hulp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Lêer</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Voorkoms</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Onderdeelontwerp</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketsgebaseerd</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Tekeninge</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Straalsporing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Teken</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Lêer</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Wysig</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standaardvoorkomste</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D-aansig</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoem</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Voorkoms</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Gereedskap</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Ontleed</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolese</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Maasnette</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Onderdeel</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Teken</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vensters</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Internethulp</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hulp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Lêer</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Voorkoms</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>&amp;Skets</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Straalsporing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Teken</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketsgebaseerd</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametries</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de_DE">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Komplett</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Achse vorgeben...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Eine Achse zwischen zwei Objekten vorgeben</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location filename="../../Workbench.cpp" line="+49"/>
<source>&amp;Drawing</source>
<translation>&amp;Zeichnung</translation>
</message>
<message>
<location line="-1"/>
<source>Ske&amp;tch</source>
<translation>Ski&amp;zze</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Entwurf</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>skizzenbasiert</translation>
</message>
<message>
<location line="+1"/>
<source>Parametric</source>
<translation>Parametrisch</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearence</source>
<translation>Objektdarstellung</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Linien-Werkzeuge</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<source>Self-test...</source>
<translation>Selbsttest...</translation>
</message>
<message>
<source>Runs a self-test to check if the application works properly</source>
<translation>Führt einen Selbsttest durch, um zu prüfen, ob die Anwendung richtig funktioniert</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Completado</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Restricción de eje...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>definir una restricción de eje entre dos objetos</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>%Archivo</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Editar</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vistas estándar</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Estéreo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Visibilidad</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vista</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Herramientas</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizar</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Mallas</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Pieza</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrico</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Boc&amp;eto</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>%Dibujo</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Borrador</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Ventanas</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>%Ayuda en línea</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ayuda</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Archivo</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vista</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Diseño de piezas</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Basado en esbozo</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Dibujos</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Borrador</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>%Archivo</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Editar</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vistas estándar</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;Vista 3D</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vista</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Herramientas</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizar</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Mallas</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Pieza</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>%Dibujo</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Ventanas</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>%Ayuda en línea</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ayuda</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Archivo</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vista</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Boc&amp;eto</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Borrador</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Basado en esbozo</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrico</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Valmis</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Akseli rajoite...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>Määritä akseli rajoite kahden kohteen välille</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Tiedosto</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Muokkaa</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardi näkymät</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoomaus</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Näkyvyys</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Näytä</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Työkalut</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analysoida</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Totuusarvo</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Meshes</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Osa</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrinen</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ske&amp;tch</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Piirustus</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Drafting</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Ikkunat</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-ohje</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ohje</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Tiedosto</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Näkymä</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Part design</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch based</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Piirustukset</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Drafting</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Tiedosto</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Muokkaa</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardi näkymät</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D-näkymä</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoomaus</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Näytä</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Työkalut</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analysoida</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Totuusarvo</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Meshes</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Osa</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Piirustus</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Ikkunat</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-ohje</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ohje</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Tiedosto</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Näkymä</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ske&amp;tch</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Drafting</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch based</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrinen</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Terminé</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Axe de contrainte...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>définir un axe de contrainte entre deux objets</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Fichier</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Éditer</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vues standards</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stéréo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Visibilité</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vue</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Outils</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyser</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>booléen</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Maillages</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Pièce</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrique</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Es&amp;quisse</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Dessin</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Lancer de rayon</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Rédaction</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Fenêtres</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Aide en ligne</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Fichier</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vue</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Conception des pièces</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Esquisse de base</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Dessins</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Lancer de rayon</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Dessin</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Fichier</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Éditer</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vues standards</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;Vue 3D</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vue</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Outils</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyser</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>booléen</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Maillages</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Pièce</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Dessin</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Fenêtres</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Aide en ligne</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Fichier</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vue</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Es&amp;quisse</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Lancer de rayon</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Rédaction</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Esquisse de base</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrique</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Kompletan</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Ograničena osovina...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>postaviti ograničenja osovine između dva objekta</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation> Datoteka</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>Uredi</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardni pogled</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation> Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation> Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Vidljivost</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation> Pogledaj</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>Alati</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizirati</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolean</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>Mreže</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>Tijelo</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametarski</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ske &amp; olic</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>Crtanje</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>Metode trasiranja putem zrake</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>Izrada</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>Windows</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>I Online-pomoć</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;; Pomoć</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Datoteka</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Pregled</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Dizaj djela</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skica na temelju</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Crteži</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Metode trasiranja putem zrake</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Izrada</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation> Datoteka</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>Uredi</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardni pogled</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>3D Prikaz</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation> Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation> Pogledaj</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>Alati</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizirati</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolean</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>Mreže</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>Tijelo</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>Crtanje</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>Windows</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>I Online-pomoć</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;; Pomoć</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Datoteka</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Pregled</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ske &amp; olic</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>Metode trasiranja putem zrake</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>Izrada</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skica na temelju</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametarski</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Completo</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Vincolo assiale...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>Imposta un vincolo assiale tra due oggetti</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;File</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Modifica</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Viste standard</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Visibilità</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Visualizza</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Strumenti</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizza</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>M&amp;esh</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Parte</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrica</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>S&amp;ketch</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Disegno</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>Draf&amp;ting</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>F&amp;inestre</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Ai&amp;uto in linea</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Aiuto</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>File</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Visualizza</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Part design</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Disegni</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Drafting</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;File</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Modifica</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Viste standard</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>Vista &amp;3D</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Visualizza</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Strumenti</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analizza</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>M&amp;esh</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Parte</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Disegno</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>F&amp;inestre</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Ai&amp;uto in linea</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Aiuto</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>File</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Visualizza</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>S&amp;ketch</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>Draf&amp;ting</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrica</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Voltooid</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>As-beperking...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>Stel een as-beperking in tussen twee objecten</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Bestand</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Bewerken</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standaard aanzichten</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoomen</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Zichtbaarheid</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Aanzicht</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>Hulpmiddelen</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyse</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolean</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Netten</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Component</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisch</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sche&amp;ts</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Tekenen</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Schetsen</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vensters</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-help</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Help</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Bestand</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Aanzicht</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Onderdeel-ontwerp</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Schets gebaseerd</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Tekeningen</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Schetsen</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Bestand</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Bewerken</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standaard aanzichten</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>3D-aanzicht</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoomen</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Aanzicht</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>Hulpmiddelen</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyse</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolean</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Netten</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Component</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Tekenen</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vensters</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-help</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Help</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Bestand</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Aanzicht</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sche&amp;ts</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Schetsen</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Schets gebaseerd</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisch</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Fullført</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Aksellås...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>angi en akselbetingelse mellom to objekter</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Fil</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Rediger</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardvisninger</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Stereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Synlighet</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vis</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Verktøy</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyser</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolsk</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Masker</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Komponent</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisk</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sk&amp;isser</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Tegning</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Strålesporing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Skissering</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vinduer</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Hjelp nett</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Fil</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vis</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Komponentdesign</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skissebasert</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Tegninger</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Strålesporing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Skissering</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Fil</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Rediger</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardvisninger</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D-visning</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vis</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Verktøy</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analyser</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolsk</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Masker</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Komponent</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Tegning</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Vinduer</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Hjelp nett</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Fil</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vis</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sk&amp;isser</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Strålesporing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Skissering</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skissebasert</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisk</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Completo</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Restrição de eixo...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>definir uma restrição de eixo entre dois objetos</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Arquivo</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Editar</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vistas padrão</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>Estéreo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Visibilidade</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vista</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Ferramentas</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analisar</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Malhas</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Partes</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrico</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sk&amp;etch</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Desenho</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Drafting</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Janelas</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Ajuda &amp;online</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ajuda</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Arquivo</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vista</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Design de partes</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Desenho</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Drafting</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Arquivo</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Editar</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Vistas padrão</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>Vista &amp;3D</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zoom</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Vista</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Ferramentas</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analisar</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Booleano</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Malhas</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Partes</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Desenho</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Janelas</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Ajuda &amp;online</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Ajuda</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Arquivo</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Macro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Vista</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Sk&amp;etch</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Drafting</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Sketch</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Paramétrico</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Выполнено</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Ограничение оси...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>задать ось ограниченную двумя объектами</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Файл</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Правка</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Стандартные виды</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Стерео</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>Увеличить</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Видимость</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Вид</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Инструменты </translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Анализировать</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Логический</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>Сетки</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>Деталь</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Параметрический</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Эс&amp;киз</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Рисование</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Трассировка лучей</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Черчение</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>Окна</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Онлайн-помощь</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>Помощь</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Макро</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Вид</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Дизайн детали</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Основанный на эскизе</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Чертежи</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Трассировка лучей</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Черчение</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Файл</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Правка</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Стандартные виды</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D Вид</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>Увеличить</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Вид</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Инструменты </translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Анализировать</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Логический</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>Сетки</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>Деталь</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Рисование</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>Окна</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>Онлайн-помощь</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>Помощь</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Макро</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Вид</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Эс&amp;киз</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Трассировка лучей</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Черчение</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Основанный на эскизе</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Параметрический</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Komplett</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Begränsningsaxel...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>Sätt en axelbegränsning mellan två objekt</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Arkiv</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Redigera</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardvyer</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>S&amp;tereo</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zooma</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Synlighet</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>V&amp;isa</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Verktyg</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analysera</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolesk</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Nät</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Del</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisk</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>S&amp;kiss</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>R&amp;itning</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Rendering</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Skissning</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Fönster</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-hjälp</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hjälp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Arkiv</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Visa</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Del design</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skiss baserad</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Ritningar</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Rendering</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Skissning</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Arkiv</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Redigera</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Standardvyer</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D-vy</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Zooma</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>V&amp;isa</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Verktyg</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Analysera</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Boolesk</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Nät</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Del</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>R&amp;itning</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Fönster</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Online-hjälp</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Hjälp</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Arkiv</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Makro</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Visa</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>S&amp;kiss</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Rendering</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Skissning</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Skiss baserad</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Parametrisk</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation>Виконано</translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>Обмеження осі...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation>задати вісь обмежену двома об'єктами</translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Файл</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Редагувати</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Стандартні вигляди</translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>&amp;Стерео</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Масштаб</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation>Видимість</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Вигляд</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Інструменти</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Аналізувати</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Логічне</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Сітки</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Деталь</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Параметричний</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ес&amp;кіз</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Малювання</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Трасування променів</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Креслення</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Вікна</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Онлайн довідка</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Довідка</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Макрос</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Вигляд</translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation>Дизайн деталі</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Базуючись на ескізі</translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation>Креслення</translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>Трасування променів</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation>Креслення</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>&amp;Файл</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>&amp;Редагувати</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation>Стандартні вигляди</translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D вигляд</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>&amp;Масштаб</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>&amp;Вигляд</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>&amp;Інструменти</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation>Аналізувати</translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation>Логічне</translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>&amp;Сітки</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>&amp;Деталь</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>&amp;Малювання</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>&amp;Вікна</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>&amp;Онлайн довідка</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>&amp;Довідка</translation>
</message>
<message>
<location/>
<source>File</source>
<translation>Файл</translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation>Макрос</translation>
</message>
<message>
<location/>
<source>View</source>
<translation>Вигляд</translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>Ес&amp;кіз</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>&amp;Трасування променів</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>&amp;Креслення</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation>Базуючись на ескізі</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation>Параметричний</translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,283 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location/>
<source>Complete</source>
<translation></translation>
</message>
<message>
<location/>
<source>Constraint Axle...</source>
<translation>...</translation>
</message>
<message>
<location/>
<source>set a axle constraint between two objects</source>
<translation></translation>
</message>
</context>
<context>
<name>CompleteGui::Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation></translation>
</message>
<message>
<location/>
<source>&amp;Stereo</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>(&amp;Z)</translation>
</message>
<message>
<location/>
<source>Visibility</source>
<translation></translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation></translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation></translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>(&amp;M)</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation></translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>线(&amp;R)</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>(&amp;W)</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>(&amp;O)</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location/>
<source>File</source>
<translation></translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation></translation>
</message>
<message>
<location/>
<source>View</source>
<translation></translation>
</message>
<message>
<location/>
<source>Part design</source>
<translation></translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation></translation>
</message>
<message>
<location/>
<source>Drawings</source>
<translation></translation>
</message>
<message>
<location/>
<source>Raytracing</source>
<translation>线</translation>
</message>
<message>
<location/>
<source>Drafting</source>
<translation></translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location/>
<source>&amp;File</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location/>
<source>&amp;Edit</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location/>
<source>Standard views</source>
<translation></translation>
</message>
<message>
<location/>
<source>&amp;3D View</source>
<translation>&amp;3D视图</translation>
</message>
<message>
<location/>
<source>&amp;Zoom</source>
<translation>(&amp;Z)</translation>
</message>
<message>
<location/>
<source>&amp;View</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location/>
<source>&amp;Tools</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location/>
<source>Analyze</source>
<translation></translation>
</message>
<message>
<location/>
<source>Boolean</source>
<translation></translation>
</message>
<message>
<location/>
<source>&amp;Meshes</source>
<translation>(&amp;M)</translation>
</message>
<message>
<location/>
<source>&amp;Part</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location/>
<source>&amp;Drawing</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location/>
<source>&amp;Windows</source>
<translation>(&amp;W)</translation>
</message>
<message>
<location/>
<source>&amp;Online-help</source>
<translation>(&amp;O)</translation>
</message>
<message>
<location/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location/>
<source>File</source>
<translation></translation>
</message>
<message>
<location/>
<source>Macro</source>
<translation></translation>
</message>
<message>
<location/>
<source>View</source>
<translation></translation>
</message>
<message>
<location/>
<source>Ske&amp;tch</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location/>
<source>&amp;Raytracing</source>
<translation>线(&amp;R)</translation>
</message>
<message>
<location/>
<source>&amp;Drafting</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location/>
<source>Sketch based</source>
<translation></translation>
</message>
<message>
<location/>
<source>Parametric</source>
<translation></translation>
</message>
</context>
</TS>

View File

@@ -0,0 +1,579 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <qobject.h>
#endif
#include "Workbench.h"
#include <Gui/ToolBarManager.h>
#include <Gui/MenuManager.h>
#include <Gui/ToolBarManager.h>
#include <Gui/DockWindowManager.h>
#include <Gui/Application.h>
#include <Gui/Action.h>
#include <Gui/Command.h>
#include <Gui/Selection.h>
#include <Gui/ToolBoxManager.h>
#include <App/Document.h>
#include <App/DocumentObject.h>
#include <Mod/Complete/App/CompleteConfiguration.h>
using namespace CompleteGui;
#if 0 // needed for Qt's lupdate utility
qApp->translate("Workbench", "Ske&tch");
qApp->translate("Workbench", "&Drawing");
qApp->translate("Workbench", "&Raytracing");
qApp->translate("Workbench", "&Drafting");
qApp->translate("Workbench", "Sketch based");
qApp->translate("Workbench", "Parametric");
qApp->translate("Workbench", "Object appearence");
qApp->translate("Workbench", "Wire Tools");
// taken from TestGui.py
qApp->translate("Test_Test", "Self-test...");
qApp->translate("Test_Test", "Runs a self-test to check if the application works properly");
#endif
/// @namespace CompleteGui @class Workbench
TYPESYSTEM_SOURCE(CompleteGui::Workbench, Gui::StdWorkbench)
Workbench::Workbench()
{
}
Workbench::~Workbench()
{
}
void Workbench::setupContextMenu(const char* recipient,Gui::MenuItem* item) const
{
if (strcmp(recipient,"View") == 0)
{
Gui::MenuItem* StdViews = new Gui::MenuItem();
StdViews->setCommand( "Standard views" );
*StdViews << "Std_ViewAxo" << "Separator" << "Std_ViewFront" << "Std_ViewTop" << "Std_ViewRight"
<< "Std_ViewRear" << "Std_ViewBottom" << "Std_ViewLeft";
*item << "Std_ViewFitAll" << "Std_ViewFitSelection" << StdViews
<< "Separator" << "Std_ViewDockUndockFullscreen";
if ( Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 )
{
Gui::MenuItem* DraftContext = new Gui::MenuItem();
DraftContext->setCommand("Display options");
*DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode"
<< "Draft_AddToGroup";
*item << "Separator" << "Std_SetAppearance" << "Std_ToggleVisibility" << "Std_TreeSelection"
<< "Std_RandomColor" << "Separator" << "Std_Delete" << DraftContext;
}
}
else if (strcmp(recipient,"Tree") == 0)
{
if ( Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 )
{
Gui::MenuItem* DraftContext = new Gui::MenuItem();
DraftContext->setCommand("Display options");
*DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode"
<< "Draft_AddToGroup";
*item << "Std_SetAppearance" << "Std_ToggleVisibility"
<< "Std_RandomColor" << "Separator" << "Std_Delete"
<< DraftContext;
}
}
}
Gui::MenuItem* Workbench::setupMenuBar() const
{
Gui::CommandManager &mgr = Gui::Application::Instance->commandManager();
// Setup the default menu bar
Gui::MenuItem* menuBar = new Gui::MenuItem;
// File
Gui::MenuItem* file = new Gui::MenuItem( menuBar );
file->setCommand("&File");
*file << "Std_New" << "Std_Open" << "Separator" << "Std_CloseActiveWindow"
<< "Std_CloseAllWindows" << "Separator" << "Std_Save" << "Std_SaveAs"
<< "Separator" << "Std_Import" << "Std_Export"
<< "Std_MergeProjects" << "Std_ProjectInfo"
<< "Separator" << "Std_Print" << "Std_PrintPreview" << "Std_PrintPdf"
<< "Separator" << "Std_RecentFiles" << "Separator" << "Std_Quit";
// Edit
Gui::MenuItem* edit = new Gui::MenuItem( menuBar );
edit->setCommand("&Edit");
*edit << "Std_Undo" << "Std_Redo" << "Separator" << "Std_Cut" << "Std_Copy"
<< "Std_Paste" << "Std_DuplicateSelection" << "Separator"
<< "Std_Refresh" << "Std_SelectAll" << "Std_Delete" << "Std_Placement"
<< "Separator" << "Std_DlgPreferences";
// Standard views
Gui::MenuItem* stdviews = new Gui::MenuItem;
stdviews->setCommand("Standard views");
*stdviews << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewAxo"
<< "Separator" << "Std_ViewFront" << "Std_ViewRight"
<< "Std_ViewTop" << "Separator" << "Std_ViewRear"
<< "Std_ViewLeft" << "Std_ViewBottom";
// stereo
Gui::MenuItem* view3d = new Gui::MenuItem;
view3d->setCommand("&Stereo");
*view3d << "Std_ViewIvStereoRedGreen" << "Std_ViewIvStereoQuadBuff"
<< "Std_ViewIvStereoInterleavedRows" << "Std_ViewIvStereoInterleavedColumns"
<< "Std_ViewIvStereoOff" << "Separator" << "Std_ViewIvIssueCamPos";
// zoom
Gui::MenuItem* zoom = new Gui::MenuItem;
zoom->setCommand("&Zoom");
*zoom << "Std_ViewZoomIn" << "Std_ViewZoomOut" << "Separator" << "Std_ViewBoxZoom";
// Visibility
Gui::MenuItem* visu = new Gui::MenuItem;
visu->setCommand("Visibility");
*visu << "Std_ToggleVisibility" << "Std_ShowSelection" << "Std_HideSelection"
<< "Separator" << "Std_ToggleObjects" << "Std_ShowObjects" << "Std_HideObjects"
<< "Separator" << "Std_ToggleSelectability";
// View
Gui::MenuItem* view = new Gui::MenuItem( menuBar );
view->setCommand("&View");
*view << "Std_ViewCreate" << "Std_OrthographicCamera" << "Std_PerspectiveCamera" << "Separator"
<< stdviews << "Std_FreezeViews" << "Separator" << view3d << zoom
<< "Std_ViewDockUndockFullscreen" << "Std_AxisCross" << "Std_ToggleClipPlane"
<< "Std_TextureMapping" << "Separator" << visu
<< "Std_ToggleVisibility" << "Std_ToggleNavigation"
<< "Std_SetAppearance" << "Std_RandomColor" << "Separator"
<< "Std_MeasureDistance" << "Separator"
<< "Std_Workbench" << "Std_ToolBarMenu" << "Std_DockViewMenu" << "Separator"
<< "Std_ViewStatusBar";
// Tools
Gui::MenuItem* tool = new Gui::MenuItem( menuBar );
tool->setCommand("&Tools");
*tool << "Std_DlgParameter" << "Separator"
<< "Std_DlgMacroRecord" << "Std_MacroStopRecord"
<< "Std_DlgMacroExecute" << "Std_DlgMacroExecuteDirect"
<< "Separator" << "Std_ViewScreenShot" << "Std_SceneInspector"
<< "Std_ProjectUtil" << "Std_DemoMode" << "Separator" << "Std_DlgCustomize";
// Mesh ****************************************************************************************************
Gui::MenuItem* mesh = new Gui::MenuItem( menuBar );
// submenu analyze
Gui::MenuItem* analyze = new Gui::MenuItem();
analyze->setCommand("Analyze");
*analyze << "Mesh_Evaluation"
<< "Mesh_EvaluateFacet"
<< "Mesh_CurvatureInfo"
<< "Separator"
<< "Mesh_EvaluateSolid"
<< "Mesh_BoundingBox";
// submenu boolean
Gui::MenuItem* boolean = new Gui::MenuItem();
boolean->setCommand("Boolean");
*boolean << "Mesh_Union"
<< "Mesh_Intersection"
<< "Mesh_Difference";
mesh->setCommand("&Meshes");
*mesh << "Mesh_Import"
<< "Mesh_Export"
<< "Mesh_FromGeometry"
<< "MeshPart_Mesher"
<< "Separator"
<< analyze
<< "Mesh_HarmonizeNormals"
<< "Mesh_FlipNormals"
<< "Separator"
<< "Mesh_FillupHoles"
<< "Mesh_FillInteractiveHole"
<< "Mesh_RemoveComponents"
<< "Mesh_RemoveCompByHand"
<< "Mesh_AddFacet"
<< "Mesh_Smoothing"
<< "Separator"
<< "Mesh_BuildRegularSolid"
<< boolean << "Separator"
<< "Mesh_PolySelect"
<< "Mesh_PolyCut"
<< "Mesh_PolySplit"
<< "Mesh_PolySegm"
<< "Mesh_ToolMesh"
<< "Mesh_VertexCurvature";
// Part ****************************************************************************************************
Gui::MenuItem* part = new Gui::MenuItem(menuBar);
part->setCommand("&Part");
// submenu boolean
Gui::MenuItem* para = new Gui::MenuItem();
para->setCommand("Parametric");
*para << "Part_Box"
<< "Part_Cylinder"
<< "Part_Sphere"
<< "Part_Cone"
<< "Part_Torus"
<< "Part_Primitives";
Gui::MenuItem* PartDesign = new Gui::MenuItem();
PartDesign->setCommand("Part design");
*PartDesign << "Sketcher_NewSketch"
<< "Sketcher_LeaveSketch"
<< "Sketcher_MapSketch"
<< "Separator"
<< "Sketcher_CreateArc"
<< "Sketcher_CreateCircle"
<< "Sketcher_CreateLine"
<< "Sketcher_CreatePolyline"
<< "Sketcher_CreateRectangle"
<< "Sketcher_CreateFillet"
<< "Sketcher_Trimming"
<< "Sketcher_ToggleConstruction"
<< "Separator"
<< "Sketcher_ConstrainLock"
<< "Sketcher_ConstrainCoincident"
<< "Sketcher_ConstrainPointOnObject"
<< "Sketcher_ConstrainDistanceX"
<< "Sketcher_ConstrainDistanceY"
<< "Sketcher_ConstrainVertical"
<< "Sketcher_ConstrainHorizontal"
<< "Sketcher_ConstrainDistance"
<< "Sketcher_ConstrainRadius"
<< "Sketcher_ConstrainParallel"
<< "Sketcher_ConstrainPerpendicular"
<< "Sketcher_ConstrainAngle"
<< "Sketcher_ConstrainTangent"
<< "Sketcher_ConstrainEqual"
<< "Sketcher_ConstrainSymmetric"
<< "Separator"
<< "PartDesign_Pad"
<< "PartDesign_Pocket"
<< "PartDesign_Revolution"
<< "PartDesign_Fillet"
<< "PartDesign_Chamfer";
*part << para
<< PartDesign
<< "Part_ShapeFromMesh"
<< "Part_MakeSolid"
<< "Part_ReverseShape"
<< "Part_SimpleCopy"
<< "Separator"
<< "Part_Boolean"
<< "Part_Extrude"
<< "Part_Revolve"
<< "Part_Mirror"
<< "Part_Fillet"
<< "PartDesign_Chamfer"
<< "Separator"
<< "Part_ShapeInfo";
// Drawing ****************************************************************************************************
Gui::MenuItem* drawing = new Gui::MenuItem(menuBar);
drawing->setCommand("&Drawing");
*drawing
<< "Drawing_Open"
<< "Separator"
<< "Drawing_NewA3Landscape"
<< "Drawing_NewView"
<< "Drawing_ExportPage"
<< "Separator"
<< "Drawing_ProjectShape"
;
// Raytracing ****************************************************************************************************
Gui::MenuItem* raytracing = new Gui::MenuItem(menuBar);
raytracing->setCommand("&Raytracing");
*raytracing
<< "Raytracing_WriteView"
<< "Raytracing_WriteCamera"
<< "Raytracing_WritePart"
<< "Separator"
<< "Raytracing_NewPovrayProject"
<< "Raytracing_NewPartSegment"
<< "Raytracing_ExportProject";
;
// Drafting ****************************************************************************************************
# ifdef COMPLETE_USE_DRAFTING
if (mgr.getCommandByName("Draft_Line")) {
Gui::MenuItem* Drafting = new Gui::MenuItem(menuBar);
Drafting->setCommand("&Drafting");
Gui::MenuItem* DraftContext = new Gui::MenuItem();
DraftContext->setCommand("Object appearence");
*DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode";
Gui::MenuItem* DraftWireTools = new Gui::MenuItem();
DraftWireTools->setCommand("Wire Tools");
*DraftWireTools << "Draft_WireToBSpline" << "Draft_AddPoint" << "Draft_DelPoint";
*Drafting
<< "Draft_Line"
<< "Draft_Wire"
<< "Draft_Circle"
<< "Draft_Arc"
<< "Draft_Rectangle"
<< "Draft_Polygon"
<< "Draft_BSpline"
<< "Draft_Text"
<< "Draft_Dimension"
<< "Separator"
<< "Draft_Move"
<< "Draft_Rotate"
<< "Draft_Offset"
<< "Draft_Trimex"
<< "Draft_Upgrade"
<< "Draft_Downgrade"
<< "Draft_Scale"
<< "Draft_Edit"
<< "Draft_Drawing"
<< DraftWireTools
<< DraftContext
;
}
# endif
// xxx ****************************************************************************************************
// Windows
Gui::MenuItem* wnd = new Gui::MenuItem( menuBar );
wnd->setCommand("&Windows");
*wnd << "Std_ActivateNextWindow" << "Std_ActivatePrevWindow" << "Separator"
<< "Std_TileWindows" << "Std_CascadeWindows"
<< "Std_ArrangeIcons" << "Separator" << "Std_WindowsMenu" << "Std_Windows";
// help ****************************************************************************************************
// Separator
Gui::MenuItem* sep = new Gui::MenuItem( menuBar );
sep->setCommand( "Separator" );
// Help
Gui::MenuItem* helpWebsites = new Gui::MenuItem;
helpWebsites->setCommand("&Online-help");
*helpWebsites << "Std_OnlineHelpWebsite"
<< "Std_FreeCADWebsite"
<< "Std_PythonWebsite";
Gui::MenuItem* help = new Gui::MenuItem( menuBar );
help->setCommand("&Help");
*help << "Std_OnlineHelp"
<< "Std_OnlineHelpPython"
<< "Std_PythonHelp"
<< helpWebsites
<< "Separator"
<< "Test_Test"
<< "Separator"
<< "Std_About"
<< "Std_AboutQt"
<< "Separator"
<< "Std_WhatsThis" ;
return menuBar;
}
Gui::ToolBarItem* Workbench::setupToolBars() const
{
Gui::CommandManager &mgr = Gui::Application::Instance->commandManager();
Gui::ToolBarItem* root = new Gui::ToolBarItem;
// File
Gui::ToolBarItem* file = new Gui::ToolBarItem( root );
file->setCommand("File");
*file << "Std_New"
<< "Std_Open"
<< "Std_Save"
<< "Std_Print"
<< "Separator"
<< "Std_Cut"
<< "Std_Copy"
<< "Std_Paste"
<< "Separator"
<< "Std_Undo"
<< "Std_Redo"
<< "Separator"
<< "Std_Refresh"
<< "Separator"
//<< "Std_Workbench"
<< "Std_WhatsThis";
// Macro
Gui::ToolBarItem* macro = new Gui::ToolBarItem( root );
macro->setCommand("Macro");
*macro << "Std_DlgMacroRecord" << "Std_MacroStopRecord" << "Std_DlgMacroExecute"
<< "Std_DlgMacroExecuteDirect";
// View
Gui::ToolBarItem* view = new Gui::ToolBarItem( root );
view->setCommand("View");
*view << "Std_ViewFitAll" << "Separator" << "Std_ViewAxo" << "Separator" << "Std_ViewFront"
<< "Std_ViewRight" << "Std_ViewTop" << "Separator" << "Std_ViewRear" << "Std_ViewLeft"
<< "Std_ViewBottom";
// Part Design
Gui::ToolBarItem* part_design = new Gui::ToolBarItem( root );
part_design->setCommand("Part");
*part_design
<< "Part_Box"
<< "Part_Cylinder"
<< "Part_Sphere"
<< "Part_Cone"
<< "Part_Torus"
//<< "Part_Primitives"
<< "Separator"
<< "Part_Boolean"
<< "Part_Cut"
<< "Part_Fuse"
<< "Part_Common"
<< "Part_Section"
<< "Separator"
<< "Part_Extrude"
<< "Part_Revolve"
<< "Part_Mirror"
<< "Part_Fillet"
<< "PartDesign_Chamfer"
;
// Sketch based
Gui::ToolBarItem* sketch_based = new Gui::ToolBarItem( root );
sketch_based->setCommand("Sketch based");
*sketch_based
<< "Sketcher_NewSketch"
<< "Sketcher_LeaveSketch"
<< "Separator"
<< "Sketcher_CreateArc"
<< "Sketcher_CreateCircle"
<< "Sketcher_CreateLine"
<< "Sketcher_CreatePolyline"
<< "Sketcher_CreateRectangle"
<< "Sketcher_CreateFillet"
<< "Sketcher_Trimming"
<< "Sketcher_ToggleConstruction"
<< "Separator"
<< "Sketcher_ConstrainLock"
<< "Sketcher_ConstrainCoincident"
<< "Sketcher_ConstrainPointOnObject"
<< "Sketcher_ConstrainDistanceX"
<< "Sketcher_ConstrainDistanceY"
<< "Sketcher_ConstrainVertical"
<< "Sketcher_ConstrainHorizontal"
<< "Sketcher_ConstrainDistance"
<< "Sketcher_ConstrainRadius"
<< "Sketcher_ConstrainParallel"
<< "Sketcher_ConstrainPerpendicular"
<< "Sketcher_ConstrainAngle"
<< "Sketcher_ConstrainTangent"
<< "Sketcher_ConstrainEqual"
<< "Sketcher_ConstrainSymmetric"
<< "Separator"
<< "PartDesign_Pad"
<< "PartDesign_Pocket"
<< "PartDesign_Revolution"
<< "PartDesign_Fillet"
<< "PartDesign_Chamfer";
// Drawing
Gui::ToolBarItem* drawing = new Gui::ToolBarItem( root );
drawing->setCommand("Drawings");
*drawing << "Drawing_Open"
<< "Separator"
<< "Drawing_NewA3Landscape"
<< "Drawing_NewView"
<< "Drawing_ExportPage" ;
// Raytracing
Gui::ToolBarItem* raytracing = new Gui::ToolBarItem( root );
raytracing->setCommand("Raytracing");
*raytracing << "Raytracing_WriteView"
<< "Raytracing_WriteCamera"
<< "Raytracing_WritePart";
// Drafting ****************************************************************************************************
# ifdef COMPLETE_USE_DRAFTING
if (mgr.getCommandByName("Draft_Line")) {
Gui::ToolBarItem* Drafting = new Gui::ToolBarItem( root );
Drafting->setCommand("Drafting");
*Drafting
<< "Draft_Line"
<< "Draft_Wire"
<< "Draft_Circle"
<< "Draft_Arc"
<< "Draft_Rectangle"
<< "Draft_Polygon"
<< "Draft_BSpline"
<< "Draft_Text"
<< "Draft_Dimension"
<< "Separator"
<< "Draft_Move"
<< "Draft_Rotate"
<< "Draft_Offset"
<< "Draft_Trimex"
<< "Draft_Upgrade"
<< "Draft_Downgrade"
<< "Draft_Scale"
<< "Draft_Edit"
<< "Draft_Drawing"
<< "Draft_WireToBSpline"
<< "Draft_AddPoint"
<< "Draft_DelPoint"
;
}
# endif
return root;
}
Gui::ToolBarItem* Workbench::setupCommandBars() const
{
Gui::ToolBarItem* root = new Gui::ToolBarItem;
return root;
}
Gui::DockWindowItems* Workbench::setupDockWindows() const
{
Gui::DockWindowItems* root = Gui::StdWorkbench::setupDockWindows();
root->setVisibility(false); // hide all dock windows by default
root->setVisibility("Std_CombiView",true); // except of the combi view
return root;
}

View File

@@ -0,0 +1,59 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License as published by the Free Software Foundation; either *
* version 2 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; see the file COPYING.LIB. If not, *
* write to the Free Software Foundation, Inc., 59 Temple Place, *
* Suite 330, Boston, MA 02111-1307, USA *
* *
***************************************************************************/
#ifndef COMPLETEGUI_WORKBENCH_H
#define COMPLETEGUI_WORKBENCH_H
#include <Gui/Workbench.h>
namespace CompleteGui {
/**
* @author Werner Mayer
*/
class CompleteGuiExport Workbench : public Gui::StdWorkbench
{
TYPESYSTEM_HEADER();
public:
Workbench();
virtual ~Workbench();
/** Defines the standard context menu. */
virtual void setupContextMenu(const char* recipient,Gui::MenuItem*) const;
protected:
/** Defines the standard menus. */
virtual Gui::MenuItem* setupMenuBar() const;
/** Defines the standard toolbars. */
virtual Gui::ToolBarItem* setupToolBars() const;
/** Defines the standard command bars. */
virtual Gui::ToolBarItem* setupCommandBars() const;
/** Returns a DockWindowItems structure of dock windows this workbench. */
virtual Gui::DockWindowItems* setupDockWindows() const;
}; // namespace CompleteGui
}
#endif // COMPLETE_WORKBENCH_H

47
src/Mod/Complete/Init.py Normal file
View File

@@ -0,0 +1,47 @@
# FreeCAD init script of the Complete module
# (c) 2001 Juergen Riegel
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Lesser General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
class CompleteDocument:
"Complete document"
def Info(self):
return "Complete document"
# Get the Parameter Group of this module
ParGrp = App.ParamGet("System parameter:Modules").GetGroup("Complete")
# Set the needed information
ParGrp.SetString("HelpIndex", "Complete/Help/index.html")
ParGrp.SetString("DocTemplateName", "Complete")
ParGrp.SetString("DocTemplateScript","TemplComplete.py")
ParGrp.SetString("WorkBenchName", "Complete Design")
ParGrp.SetString("WorkBenchModule", "CompleteWorkbench.py")
#FreeCAD.EndingAdd("CAD formats (*.igs *.iges *.step *.stp *.brep *.brp)","Complete")

View File

@@ -0,0 +1,75 @@
# Complete gui init module
# (c) 2003 Juergen Riegel
#
# Gathering all the information to start FreeCAD
# This is the second one of three init scripts, the third one
# runs when the gui is up
#***************************************************************************
#* (c) Juergen Riegel (juergen.riegel@web.de) 2002 *
#* *
#* This file is part of the FreeCAD CAx development system. *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU General Public License (GPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Library General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
#* Juergen Riegel 2002 *
#***************************************************************************/
class CompleteWorkbench ( Workbench ):
"Complete workbench object"
Icon = """
/* XPM */
static char * complete_xpm[] = {
"16 15 9 1",
" c None",
". c #DB7B07",
"+ c #DA8100",
"@ c #F49500",
"# c #E89900",
"$ c #FEA200",
"% c #FEAD00",
"& c #FFBB00",
"* c #FDC500",
" + ",
" ++ ",
" +##+ ",
" +&*+ ",
" +#&*#+ ",
"++.++#&&**#+.++ ",
" +$%%%&&&*****++",
" +$%%%&&&***++ ",
" +$%%%&&*&+ ",
" .+%%%&&&+ ",
" .@%%%%&&# ",
" .@$%$%%&#+ ",
" .@@++++%%+ ",
" ..+ +++ ",
" . ++ "};
"""
MenuText = "Complete"
ToolTip = "Complete workbench"
def Initialize(self):
# load the module
import CompleteGui
import Complete
def GetClassName(self):
return "CompleteGui::Workbench"
Gui.addWorkbench(CompleteWorkbench())

View File

@@ -0,0 +1,11 @@
SUBDIRS=App Gui
# Change data dir from default ($(prefix)/share) to $(prefix)
datadir = $(prefix)/Mod/Complete
data_DATA = Init.py InitGui.py
EXTRA_DIST = \
$(data_DATA) \
complete.dox \
CMakeLists.txt

View File

@@ -0,0 +1,3 @@
/** \defgroup COMPLETE Complete
* \ingroup WORKBENCHES */