diff --git a/cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake b/cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake index 79a59367e1..5e74ce7daa 100644 --- a/cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake +++ b/cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake @@ -34,7 +34,6 @@ macro(CheckInterModuleDependencies) REQUIRES_MODS(BUILD_REVERSEENGINEERING BUILD_PART BUILD_MESH) REQUIRES_MODS(BUILD_ROBOT BUILD_PART) REQUIRES_MODS(BUILD_SANDBOX BUILD_PART BUILD_MESH) - REQUIRES_MODS(BUILD_SHIP BUILD_PART BUILD_PLOT BUILD_IMAGE) REQUIRES_MODS(BUILD_SKETCHER BUILD_PART) REQUIRES_MODS(BUILD_SPREADSHEET BUILD_DRAFT) REQUIRES_MODS(BUILD_START BUILD_WEB) diff --git a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake index a6083c4cb6..0445fc72fa 100644 --- a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake +++ b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake @@ -135,7 +135,6 @@ macro(InitializeFreeCADBuildOptions) option(BUILD_RAYTRACING "Build the FreeCAD ray tracing module" ON) option(BUILD_REVERSEENGINEERING "Build the FreeCAD reverse engineering module" ON) option(BUILD_ROBOT "Build the FreeCAD robot module" ON) - option(BUILD_SHIP "Build the FreeCAD ship module" OFF) option(BUILD_SHOW "Build the FreeCAD Show module (helper module for visibility automation)" ON) option(BUILD_SKETCHER "Build the FreeCAD sketcher module" ON) option(BUILD_SPREADSHEET "Build the FreeCAD spreadsheet module" ON) diff --git a/conda/bld.bat b/conda/bld.bat index e11a0dd4cb..9c356ffa2a 100644 --- a/conda/bld.bat +++ b/conda/bld.bat @@ -36,7 +36,6 @@ cmake -G "Ninja" ^ -D FREECAD_USE_EXTERNAL_SMESH:BOOL=ON ^ -D BUILD_FLAT_MESH:BOOL=ON ^ -D BUILD_PLOT:BOOL=OFF ^ - -D BUILD_SHIP:BOOL=OFF ^ -D OCCT_CMAKE_FALLBACK:BOOL=ON ^ -D PYTHON_EXECUTABLE:FILEPATH=%PREFIX%/python ^ -D BUILD_DYNAMIC_LINK_PYTHON:BOOL=ON ^ diff --git a/conda/build.sh b/conda/build.sh index 7379c5e23c..6d3da5934c 100755 --- a/conda/build.sh +++ b/conda/build.sh @@ -63,7 +63,6 @@ cmake \ -D PYTHON_EXECUTABLE:FILEPATH=$PREFIX/bin/python \ -D BUILD_FEM_NETGEN:BOOL=ON \ -D BUILD_PLOT:BOOL=OFF \ - -D BUILD_SHIP:BOOL=OFF \ -D OCCT_CMAKE_FALLBACK:BOOL=OFF \ -D FREECAD_USE_QT_DIALOG:BOOL=ON \ -D BUILD_DYNAMIC_LINK_PYTHON:BOOL=OFF \ diff --git a/src/Mod/.gitattributes b/src/Mod/.gitattributes index 52d7eefe6d..5c90b4c35b 100644 --- a/src/Mod/.gitattributes +++ b/src/Mod/.gitattributes @@ -104,7 +104,6 @@ Raytracing/** -text ReverseEngineering/** -text Robot/** -text Sandbox/** -text -Ship/** -text Sketcher/** -text Spreadsheet/** -text Start/** -text diff --git a/src/Mod/CMakeLists.txt b/src/Mod/CMakeLists.txt index c5265e2175..d093001e7f 100644 --- a/src/Mod/CMakeLists.txt +++ b/src/Mod/CMakeLists.txt @@ -110,10 +110,6 @@ if(BUILD_SANDBOX) add_subdirectory(Sandbox) endif(BUILD_SANDBOX) -if(BUILD_SHIP) - add_subdirectory(Ship) -endif(BUILD_SHIP) - if(BUILD_OPENSCAD) add_subdirectory(OpenSCAD) endif(BUILD_OPENSCAD) diff --git a/src/Mod/Ship/CMakeLists.txt b/src/Mod/Ship/CMakeLists.txt deleted file mode 100644 index 910bd4588b..0000000000 --- a/src/Mod/Ship/CMakeLists.txt +++ /dev/null @@ -1,219 +0,0 @@ -IF(BUILD_GUI) - PYSIDE_WRAP_RC(Ship_QRC_SRCS resources/Ship.qrc) -ENDIF(BUILD_GUI) - -SET(ShipMain_SRCS - InitGui.py - ShipGui.py - Instance.py - TankInstance.py - WeightInstance.py -) -SOURCE_GROUP("" FILES ${ShipMain_SRCS}) - -SET(ShipExamples_SRCS - resources/examples/s60.fcstd - resources/examples/s60_katamaran.fcstd - resources/examples/wigley.fcstd - resources/examples/wigley_katamaran.fcstd -) -SOURCE_GROUP("shipexamples" FILES ${ShipExamples_SRCS}) - -SET(ShipLoadExample_SRCS - shipLoadExample/__init__.py - shipLoadExample/TaskPanel.py - shipLoadExample/TaskPanel.ui -) -SOURCE_GROUP("shiploadexample" FILES ${ShipLoadExample_SRCS}) - -SET(ShipCreateShip_SRCS - shipCreateShip/__init__.py - shipCreateShip/Preview.py - shipCreateShip/TaskPanel.py - shipCreateShip/TaskPanel.ui - shipCreateShip/Tools.py -) -SOURCE_GROUP("shipcreateship" FILES ${ShipCreateShip_SRCS}) - -SET(ShipOutlineDraw_SRCS - shipOutlineDraw/__init__.py - shipOutlineDraw/Preview.py - shipOutlineDraw/TaskPanel.py - shipOutlineDraw/TaskPanel.ui -) -SOURCE_GROUP("shipoutlinedraw" FILES ${ShipOutlineDraw_SRCS}) - -SET(ShipAreasCurve_SRCS - shipAreasCurve/__init__.py - shipAreasCurve/PlotAux.py - shipAreasCurve/Preview.py - shipAreasCurve/TaskPanel.py - shipAreasCurve/TaskPanel.ui -) -SOURCE_GROUP("shipareascurve" FILES ${ShipAreasCurve_SRCS}) - -SET(ShipHydrostatics_SRCS - shipHydrostatics/__init__.py - shipHydrostatics/PlotAux.py - shipHydrostatics/TaskPanel.py - shipHydrostatics/TaskPanel.ui - shipHydrostatics/Tools.py -) -SOURCE_GROUP("shiphydrostatics" FILES ${ShipHydrostatics_SRCS}) - -SET(ShipCreateWeight_SRCS - shipCreateWeight/__init__.py - shipCreateWeight/TaskPanel.py - shipCreateWeight/TaskPanel.ui - shipCreateWeight/Tools.py -) -SOURCE_GROUP("shipcreateweight" FILES ${ShipCreateWeight_SRCS}) - -SET(ShipCreateTank_SRCS - shipCreateTank/__init__.py - shipCreateTank/TaskPanel.py - shipCreateTank/TaskPanel.ui - shipCreateTank/Tools.py -) -SOURCE_GROUP("shipcreatetank" FILES ${ShipCreateTank_SRCS}) - -SET(ShipCapacityCurve_SRCS - shipCapacityCurve/__init__.py - shipCapacityCurve/PlotAux.py - shipCapacityCurve/TaskPanel.py - shipCapacityCurve/TaskPanel.ui - shipCapacityCurve/Tools.py -) -SOURCE_GROUP("shipcapacitycurve" FILES ${ShipCapacityCurve_SRCS}) - -SET(ShipCreateLoadCondition_SRCS - shipCreateLoadCondition/__init__.py - shipCreateLoadCondition/Tools.py -) -SOURCE_GROUP("shipcreateloadcondition" FILES ${ShipCreateLoadCondition_SRCS}) - -SET(ShipGZ_SRCS - shipGZ/__init__.py - shipGZ/PlotAux.py - shipGZ/TaskPanel.py - shipGZ/TaskPanel.ui - shipGZ/Tools.py -) -SOURCE_GROUP("shipgz" FILES ${ShipGZ_SRCS}) - -SET(ShipUtils_SRCS - shipUtils/__init__.py - shipUtils/Locale.py - shipUtils/Math.py - shipUtils/Paths.py - shipUtils/Units.py -) -SOURCE_GROUP("shiputils" FILES ${ShipUtils_SRCS}) - -SET(all_files ${ShipMain_SRCS} ${ShipExamples_SRCS} ${ShipLoadExample_SRCS} ${ShipCreateShip_SRCS} ${ShipOutlineDraw_SRCS} ${ShipAreasCurve_SRCS} ${ShipHydrostatics_SRCS} ${ShipCreateWeight_SRCS} ${ShipCreateTank_SRCS} ${ShipCapacityCurve_SRCS} ${ShipCreateLoadCondition_SRCS} ${ShipGZ_SRCS} ${ShipUtils_SRCS}) - -SET(ShipGuiIcon_SVG - resources/icons/ShipWorkbench.svg -) - -ADD_CUSTOM_TARGET(Ship ALL - SOURCES ${all_files} ${Ship_QRC_SRCS} ${ShipGuiIcon_SVG} -) - -fc_copy_sources(Ship "${CMAKE_BINARY_DIR}/Mod/Ship" ${all_files}) - -fc_copy_sources(Ship "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Ship" ${ShipGuiIcon_SVG}) - -IF(BUILD_GUI) - fc_target_copy_resource(Ship - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_BINARY_DIR}/Mod/Ship - Ship_rc.py) -ENDIF(BUILD_GUI) - -INSTALL( - FILES - ${ShipExamples_SRCS} - DESTINATION - Mod/Ship/resources/examples -) -INSTALL( - FILES - ${ShipLoadExample_SRCS} - DESTINATION - Mod/Ship/shipLoadExample -) -INSTALL( - FILES - ${ShipCreateShip_SRCS} - DESTINATION - Mod/Ship/shipCreateShip -) -INSTALL( - FILES - ${ShipOutlineDraw_SRCS} - DESTINATION - Mod/Ship/shipOutlineDraw -) -INSTALL( - FILES - ${ShipAreasCurve_SRCS} - DESTINATION - Mod/Ship/shipAreasCurve -) -INSTALL( - FILES - ${ShipHydrostatics_SRCS} - DESTINATION - Mod/Ship/shipHydrostatics -) -INSTALL( - FILES - ${ShipCreateWeight_SRCS} - DESTINATION - Mod/Ship/shipCreateWeight -) -INSTALL( - FILES - ${ShipCreateTank_SRCS} - DESTINATION - Mod/Ship/shipCreateTank -) -INSTALL( - FILES - ${ShipCapacityCurve_SRCS} - DESTINATION - Mod/Ship/shipCapacityCurve -) -INSTALL( - FILES - ${ShipCreateLoadCondition_SRCS} - DESTINATION - Mod/Ship/shipCreateLoadCondition -) -INSTALL( - FILES - ${ShipGZ_SRCS} - DESTINATION - Mod/Ship/shipGZ -) -INSTALL( - FILES - ${ShipUtils_SRCS} - DESTINATION - Mod/Ship/shipUtils -) -INSTALL( - FILES - ${ShipMain_SRCS} - ${Ship_QRC_SRCS} - DESTINATION - Mod/Ship -) -INSTALL( - FILES - ${ShipGuiIcon_SVG} - DESTINATION - "${CMAKE_INSTALL_DATADIR}/Mod/Ship/resources/icons" -) - diff --git a/src/Mod/Ship/InitGui.py b/src/Mod/Ship/InitGui.py deleted file mode 100644 index a33a8ea483..0000000000 --- a/src/Mod/Ship/InitGui.py +++ /dev/null @@ -1,71 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -class ShipWorkbench(Workbench): - """Ships design workbench.""" - def __init__(self): - self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Ship/resources/icons/ShipWorkbench.svg" - self.__class__.MenuText = "Ship" - self.__class__.ToolTip = "Ship module provides some of the commonly used tool to design ship forms" - - from shipUtils import Paths - import ShipGui - - def Initialize(self): - from PySide import QtCore, QtGui - - try: - import Plot - except ImportError: - msg = QtGui.QApplication.translate( - "ship_console", - "Plot module is disabled, tools cannot graph output curves", - None) - FreeCAD.Console.PrintMessage(msg + '\n') - # ToolBar - shiplist = ["Ship_LoadExample", - "Ship_CreateShip", - "Ship_OutlineDraw", - "Ship_AreasCurve", - "Ship_Hydrostatics"] - weightslist = ["Ship_Weight", - "Ship_Tank", - "Ship_Capacity", - "Ship_LoadCondition", - "Ship_GZ"] - - self.appendToolbar( - str(QtCore.QT_TRANSLATE_NOOP("Ship", "Ship design")), - shiplist) - self.appendToolbar( - str(QtCore.QT_TRANSLATE_NOOP("Ship", "Weights")), - weightslist) - self.appendMenu( - str(QtCore.QT_TRANSLATE_NOOP("Ship", "Ship design")), - shiplist) - self.appendMenu( - str(QtCore.QT_TRANSLATE_NOOP("Ship", "Weights")), - weightslist) - -Gui.addWorkbench(ShipWorkbench()) diff --git a/src/Mod/Ship/Instance.py b/src/Mod/Ship/Instance.py deleted file mode 100644 index d0d905cb85..0000000000 --- a/src/Mod/Ship/Instance.py +++ /dev/null @@ -1,343 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import time -from math import * -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -from FreeCAD import Base, Vector -import Part -from shipUtils import Paths, Math - - -class Ship: - def __init__(self, obj, solids): - """ Transform a generic object to a ship instance. - - Keyword arguments: - obj -- Part::FeaturePython created object which should be transformed - in a ship instance. - solids -- Set of solids which will compound the ship hull. - """ - # Add an unique property to identify the Ship instances - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "True if it is a valid ship instance, False otherwise", - None)) - obj.addProperty("App::PropertyBool", - "IsShip", - "Ship", - tooltip).IsShip = True - # Add the main dimensions - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Ship length [m]", - None)) - obj.addProperty("App::PropertyLength", - "Length", - "Ship", - tooltip).Length = 0.0 - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Ship breadth [m]", - None)) - obj.addProperty("App::PropertyLength", - "Breadth", - "Ship", - tooltip).Breadth = 0.0 - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Ship draft [m]", - None)) - obj.addProperty("App::PropertyLength", - "Draft", - "Ship", - tooltip).Draft = 0.0 - # Add the subshapes - obj.Shape = Part.makeCompound(solids) - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Set of external faces of the ship hull", - None)) - obj.addProperty("Part::PropertyPartShape", - "ExternalFaces", - "Ship", - tooltip) - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Set of weight instances", - None)) - obj.addProperty("App::PropertyStringList", - "Weights", - "Ship", - tooltip).Weights = [] - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Set of tank instances", - None)) - obj.addProperty("App::PropertyStringList", - "Tanks", - "Ship", - tooltip).Tanks = [] - tooltip = unicode(QtGui.QApplication.translate( - "Ship", - "Set of load conditions", - None)) - obj.addProperty("App::PropertyStringList", - "LoadConditions", - "Ship", - tooltip).LoadConditions = [] - - obj.Proxy = self - - def onChanged(self, fp, prop): - """Detects the ship data changes. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - if prop == "Length" or prop == "Breadth" or prop == "Draft": - pass - - def cleanWeights(self, fp): - """Reanalyse the weights list looking for duplicated objects, or - removed ones. - """ - if not len(fp.Weights): - return - # Filter out the duplicated elements - filtered_list = [] - [filtered_list.append(x) for x in fp.Weights if x not in filtered_list] - if cmp(fp.Weights, filtered_list): - fp.Weights = filtered_list - # Filter out the removed/non-valid objects - object_names = [] - for obj in fp.Document.Objects: - object_names.append(obj.Name) - filtered_list = [] - for obj_name in fp.Weights: - if obj_name in object_names: - for obj in fp.Document.Objects: - if obj.Name == obj_name: - try: - if obj.IsWeight: filtered_list.append(obj_name) - except: - pass - break - if cmp(fp.Weights, filtered_list): - fp.Weights = filtered_list - - def cleanTanks(self, fp): - """Reanalyse the weights list looking for duplicated objects, or - removed ones. - """ - if not len(fp.Tanks): - return - # Filter out the duplicated elements - filtered_list = [] - [filtered_list.append(x) for x in fp.Tanks if x not in filtered_list] - if cmp(fp.Tanks, filtered_list): - fp.Tanks = filtered_list - # Filter out the removed/non-valid objects - object_names = [] - for obj in fp.Document.Objects: - object_names.append(obj.Name) - filtered_list = [] - for obj_name in fp.Tanks: - if obj_name in object_names: - for obj in fp.Document.Objects: - if obj.Name == obj_name: - try: - if obj.IsTank: filtered_list.append(obj_name) - except: - pass - break - if cmp(fp.Tanks, filtered_list): - fp.Tanks = filtered_list - - def cleanLoadConditions(self, fp): - """Reanalyse the weights list looking for duplicated objects, or - removed ones. - """ - if not len(fp.LoadConditions): - return - # Filter out the duplicated elements - filtered_list = [] - [filtered_list.append(x) for x in fp.LoadConditions if x not in filtered_list] - if cmp(fp.LoadConditions, filtered_list): - fp.LoadConditions = filtered_list - # Filter out the removed/non-valid objects - object_names = [] - for obj in fp.Document.Objects: - object_names.append(obj.Name) - filtered_list = [] - for obj_name in fp.LoadConditions: - if obj_name in object_names: - for obj in fp.Document.Objects: - if obj.Name == obj_name: - try: - if obj.TypeId == 'Spreadsheet::Sheet': - filtered_list.append(obj_name) - except: - pass - break - if cmp(fp.LoadConditions, filtered_list): - fp.LoadConditions = filtered_list - - def execute(self, fp): - """Detects the entity recomputations. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - """ - fp.Shape = Part.makeCompound(fp.Shape.Solids) - - -class ViewProviderShip: - def __init__(self, obj): - """Add this view provider to the selected object. - - Keyword arguments: - obj -- Object which must be modified. - """ - obj.Proxy = self - - def attach(self, obj): - """Setup the scene sub-graph of the view provider, this method is - mandatory. - """ - return - - def updateData(self, fp, prop): - """If a property of the handled feature has changed we have the chance - to handle this here. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - return - - def getDisplayModes(self, obj): - """Return a list of display modes. - - Keyword arguments: - obj -- Object associated with the view provider. - """ - modes = [] - return modes - - def getDefaultDisplayMode(self): - """Return the name of the default display mode. It must be defined in - getDisplayModes.""" - return "Shaded" - - def setDisplayMode(self, mode): - """Map the display mode defined in attach with those defined in - getDisplayModes. Since they have the same names nothing needs to be - done. This method is optional. - - Keyword arguments: - mode -- Mode to be activated. - """ - return mode - - def onChanged(self, vp, prop): - """Detects the ship view provider data changes. - - Keyword arguments: - vp -- View provider object affected. - prop -- Modified property name. - """ - pass - - def __getstate__(self): - """When saving the document this object gets stored using Python's - cPickle module. Since we have some un-pickable here (the Coin stuff) - we must define this method to return a tuple of all pickable objects - or None. - """ - return None - - def __setstate__(self, state): - """When restoring the pickled object from document we have the chance - to set some internals here. Since no data were pickled nothing needs - to be done here. - """ - return None - - def claimChildren(self): - objs = [] - # Locate the owner ship object - doc_objs = FreeCAD.ActiveDocument.Objects - obj = None - for doc_obj in doc_objs: - try: - v_provider = doc_obj.ViewObject.Proxy - if v_provider == self: - obj = doc_obj - except: - continue - if obj is None: - FreeCAD.Console.PrintError("Orphan view provider found...\n") - FreeCAD.Console.PrintError(self) - FreeCAD.Console.PrintError('\n') - return objs - - # Claim the weights - bad_linked = 0 - for i, w in enumerate(obj.Weights): - try: - w_obj = FreeCAD.ActiveDocument.getObject(w) - objs.append(w_obj) - except: - del obj.Weights[i - bad_linked] - bad_linked += 1 - - # Claim the tanks - bad_linked = 0 - for i, t in enumerate(obj.Tanks): - try: - t_obj = FreeCAD.ActiveDocument.getObject(t) - objs.append(t_obj) - except: - del obj.Tanks[i - bad_linked] - bad_linked += 1 - - # Claim the loading conditions - bad_linked = 0 - for i, t in enumerate(obj.LoadConditions): - try: - t_obj = FreeCAD.ActiveDocument.getObject(t) - objs.append(t_obj) - except: - del obj.LoadConditions[i - bad_linked] - bad_linked += 1 - - return objs - - def getIcon(self): - """Returns the icon for this kind of objects.""" - return ":/icons/Ship_Instance.svg" diff --git a/src/Mod/Ship/README b/src/Mod/Ship/README deleted file mode 100644 index 4ebdbd41ce..0000000000 --- a/src/Mod/Ship/README +++ /dev/null @@ -1,10 +0,0 @@ -* Authors ---------- - -Jose Luis Cercós Pita - -* Introduction --------------- - -FreeCAD-Ship is a free module for FreeCAD oriented to aid ship design providing most common tools (Outline drawing, hydrostatics, ...). - diff --git a/src/Mod/Ship/Ship.py b/src/Mod/Ship/Ship.py deleted file mode 100644 index 426d58af75..0000000000 --- a/src/Mod/Ship/Ship.py +++ /dev/null @@ -1,39 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2015 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -__title__="FreeCAD Ship module" -__author__ = "Jose Luis Cercos-Pita" -__url__ = "http://www.freecadweb.org" - -__doc__="The Ships module provide a set of tools to make some specific Naval" \ - " Architecture computations" - -from shipCreateShip.Tools import createShip -from shipHydrostatics.Tools import areas, displacement, wettedArea, moment -from shipHydrostatics.Tools import floatingArea, BMT, mainFrameCoeff -from shipCreateWeight.Tools import createWeight -from shipCreateTank.Tools import createTank -from shipCapacityCurve.Tools import tankCapacityCurve -from shipCreateLoadCondition.Tools import createLoadCondition -from shipGZ.Tools import gz \ No newline at end of file diff --git a/src/Mod/Ship/ShipGui.py b/src/Mod/Ship/ShipGui.py deleted file mode 100644 index 9cd977624d..0000000000 --- a/src/Mod/Ship/ShipGui.py +++ /dev/null @@ -1,216 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import PySide -from PySide import QtCore, QtGui -import FreeCAD -import FreeCADGui -import os - -import Ship_rc - - -FreeCADGui.addLanguagePath(":/Ship/translations") -FreeCADGui.addIconPath(":/Ship/icons") - - -class LoadExample: - def Activated(self): - import shipLoadExample - shipLoadExample.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'Ship_LoadExample', - 'Load an example ship geometry') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'Ship_LoadExample', - 'Load an example ship hull geometry.') - return {'Pixmap': 'Ship_Load', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class CreateShip: - def Activated(self): - import shipCreateShip - shipCreateShip.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'Ship_CreateShip', - 'Create a new ship') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'Ship_CreateShip', - 'Create a new ship instance on top of the hull geometry') - return {'Pixmap': 'Ship_Module', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class OutlineDraw: - def Activated(self): - import shipOutlineDraw - shipOutlineDraw.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'Ship_OutlineDraw', - 'Outline draw') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'Ship_OutlineDraw', - 'Plots the ship hull outline draw') - return {'Pixmap': 'Ship_OutlineDraw', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class AreasCurve: - def Activated(self): - import shipAreasCurve - shipAreasCurve.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'Ship_AreasCurve', - 'Areas curve') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'Ship_AreasCurve', - 'Plot the transversal areas curve') - return {'Pixmap': 'Ship_AreaCurve', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class Hydrostatics: - def Activated(self): - import shipHydrostatics - shipHydrostatics.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'Ship_Hydrostatics', - 'Hydrostatics') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'Ship_Hydrostatics', - 'Plot the ship hydrostatics') - return {'Pixmap': 'Ship_Hydrostatics', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class CreateWeight: - def Activated(self): - import shipCreateWeight - shipCreateWeight.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'ship_weight', - 'Create a new ship weight') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'ship_weight', - 'Create a new ship weight') - return {'Pixmap': 'Ship_Weight', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class CreateTank: - def Activated(self): - import shipCreateTank - shipCreateTank.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'ship_tank', - 'Create a new tank') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'ship_tank', - 'Create a new tank') - return {'Pixmap': 'Ship_Tank', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class TankCapacity: - def Activated(self): - import shipCapacityCurve - shipCapacityCurve.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'ship_capacity', - 'Tank capacity curve') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'ship_capacity', - 'Plot the tank capacity curve (level-volume curve)') - return {'Pixmap': 'Ship_CapacityCurve', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class LoadCondition: - def Activated(self): - import shipCreateLoadCondition - shipCreateLoadCondition.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'ship_loadcondition', - 'Create a new loading condition') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'ship_loadcondition', - 'Create a new load condition spreadsheet') - return {'Pixmap': 'Ship_LoadCondition', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -class GZ: - def Activated(self): - import shipGZ - shipGZ.load() - - def GetResources(self): - MenuText = QtCore.QT_TRANSLATE_NOOP( - 'ship_gz', - 'GZ curve computation') - ToolTip = QtCore.QT_TRANSLATE_NOOP( - 'ship_gz', - 'Plot the GZ curve') - return {'Pixmap': 'Ship_GZ', - 'MenuText': MenuText, - 'ToolTip': ToolTip} - - -FreeCADGui.addCommand('Ship_LoadExample', LoadExample()) -FreeCADGui.addCommand('Ship_CreateShip', CreateShip()) -FreeCADGui.addCommand('Ship_OutlineDraw', OutlineDraw()) -FreeCADGui.addCommand('Ship_AreasCurve', AreasCurve()) -FreeCADGui.addCommand('Ship_Hydrostatics', Hydrostatics()) -FreeCADGui.addCommand('Ship_Weight', CreateWeight()) -FreeCADGui.addCommand('Ship_Tank', CreateTank()) -FreeCADGui.addCommand('Ship_Capacity', TankCapacity()) -FreeCADGui.addCommand('Ship_LoadCondition', LoadCondition()) -FreeCADGui.addCommand('Ship_GZ', GZ()) diff --git a/src/Mod/Ship/TankInstance.py b/src/Mod/Ship/TankInstance.py deleted file mode 100644 index fe64371414..0000000000 --- a/src/Mod/Ship/TankInstance.py +++ /dev/null @@ -1,306 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import time -from math import * -from PySide import QtGui, QtCore -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Base, Vector, Matrix, Placement, Rotation -import Part -import Units -from shipUtils import Paths, Math -import shipUtils.Units as USys - - -COMMON_BOOLEAN_ITERATIONS = 10 - - -class Tank: - def __init__(self, obj, shapes, ship): - """ Transform a generic object to a ship instance. - - Keyword arguments: - obj -- Part::FeaturePython created object which should be transformed - in a weight instance. - shapes -- Set of solid shapes which will compound the tank. - ship -- Ship where the tank is allocated. - """ - # Add an unique property to identify the Weight instances - tooltip = unicode(QtGui.QApplication.translate( - "ship_tank", - "True if it is a valid tank instance, False otherwise", - None)) - obj.addProperty("App::PropertyBool", - "IsTank", - "Tank", - tooltip).IsTank = True - # Set the subshapes - obj.Shape = Part.makeCompound(shapes) - - obj.Proxy = self - - def onChanged(self, fp, prop): - """Detects the ship data changes. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - if prop == "Vol": - pass - - def execute(self, fp): - """Detects the entity recomputations. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - """ - pass - - def getVolume(self, fp, level, return_shape=False): - """Return the fluid volume inside the tank, provided the filling level. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - level -- Percentage of filling level (interval [0, 1]). - return_shape -- False if the tool should return the fluid volume value, - True if the tool should return the volume shape. - """ - if level <= 0.0: - if return_shape: - return Part.Vertex() - return Units.Quantity(0.0, Units.Volume) - if level >= 1.0: - if return_shape: - return fp.Shape.copy() - return Units.Quantity(fp.Shape.Volume, Units.Volume) - - # Build up the cutting box - bbox = fp.Shape.BoundBox - dx = bbox.XMax - bbox.XMin - dy = bbox.YMax - bbox.YMin - dz = bbox.ZMax - bbox.ZMin - - box = App.ActiveDocument.addObject("Part::Box","Box") - length_format = USys.getLengthFormat() - box.Placement = Placement(Vector(bbox.XMin - dx, - bbox.YMin - dy, - bbox.ZMin - dz), - Rotation(App.Vector(0,0,1),0)) - box.Length = length_format.format(3.0 * dx) - box.Width = length_format.format(3.0 * dy) - box.Height = length_format.format((1.0 + level) * dz) - - # Create a new object on top of a copy of the tank shape - Part.show(fp.Shape.copy()) - tank = App.ActiveDocument.Objects[-1] - - # Compute the common boolean operation - App.ActiveDocument.recompute() - common = App.activeDocument().addObject("Part::MultiCommon", - "TankVolHelper") - common.Shapes = [tank, box] - App.ActiveDocument.recompute() - if len(common.Shape.Solids) == 0: - # The common operation is failing, let's try moving a bit the free - # surface - msg = QtGui.QApplication.translate( - "ship_console", - "Tank volume operation failed. The tool is retrying that" - " slightly moving the free surface position", - None) - App.Console.PrintWarning(msg + '\n') - rand_bounds = 0.01 * dz - i = 0 - while len(common.Shape.Solids) == 0 and i < COMMON_BOOLEAN_ITERATIONS: - i += 1 - box.Height = length_format.format( - (1.0 + level) * dz + random.uniform(-random_bounds, - random_bounds)) - App.ActiveDocument.recompute() - - if return_shape: - ret_value = common.Shape.copy() - else: - ret_value = Units.Quantity(common.Shape.Volume, Units.Volume) - - App.ActiveDocument.removeObject(common.Name) - App.ActiveDocument.removeObject(tank.Name) - App.ActiveDocument.removeObject(box.Name) - App.ActiveDocument.recompute() - - return ret_value - - def getCoG(self, fp, vol, roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Return the fluid volume center of gravity, provided the volume of - fluid inside the tank. - - The returned center of gravity is referred to the untransformed ship. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - vol -- Volume of fluid. - roll -- Ship roll angle. - trim -- Ship trim angle. - - If the fluid volume is bigger than the total tank one, it will be - conveniently clamped. - """ - # Change the units of the volume, and clamp the value - if vol <= 0.0: - return Vector() - if vol >= fp.Shape.Volume: - vol = 0.0 - cog = Vector() - for solid in fp.Shape.Solids: - vol += solid.Volume - sCoG = solid.CenterOfMass - cog.x = cog.x + sCoG.x * solid.Volume - cog.y = cog.y + sCoG.y * solid.Volume - cog.z = cog.z + sCoG.z * solid.Volume - cog.x = cog.x / vol - cog.y = cog.y / vol - cog.z = cog.z / vol - return cog - - # Get a first estimation of the level - level = vol.Value / fp.Shape.Volume - - # Transform the tank shape - current_placement = fp.Placement - m = current_placement.toMatrix() - m.rotateX(roll.getValueAs("rad")) - m.rotateY(-trim.getValueAs("rad")) - fp.Placement = Placement(m) - - # Iterate to find the fluid shape - for i in range(COMMON_BOOLEAN_ITERATIONS): - shape = self.getVolume(fp, level, return_shape=True) - error = (vol.Value - shape.Volume) / fp.Shape.Volume - if abs(error) < 0.01: - break - level += error - - # Get the center of gravity - vol = 0.0 - cog = Vector() - if len(shape.Solids) > 0: - for solid in shape.Solids: - vol += solid.Volume - sCoG = solid.CenterOfMass - cog.x = cog.x + sCoG.x * solid.Volume - cog.y = cog.y + sCoG.y * solid.Volume - cog.z = cog.z + sCoG.z * solid.Volume - cog.x = cog.x / vol - cog.y = cog.y / vol - cog.z = cog.z / vol - - # Untransform the object to retrieve the original position - fp.Placement = current_placement - p = Part.Point(cog) - m = Matrix() - m.rotateY(trim.getValueAs("rad")) - m.rotateX(-roll.getValueAs("rad")) - p.rotate(Placement(m)) - - return Vector(p.X, p.Y, p.Z) - - -class ViewProviderTank: - def __init__(self, obj): - """Add this view provider to the selected object. - - Keyword arguments: - obj -- Object which must be modified. - """ - obj.Proxy = self - - def attach(self, obj): - """Setup the scene sub-graph of the view provider, this method is - mandatory. - """ - return - - def updateData(self, fp, prop): - """If a property of the handled feature has changed we have the chance - to handle this here. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - return - - def getDisplayModes(self, obj): - """Return a list of display modes. - - Keyword arguments: - obj -- Object associated with the view provider. - """ - modes = [] - return modes - - def getDefaultDisplayMode(self): - """Return the name of the default display mode. It must be defined in - getDisplayModes.""" - return "Flat Lines" - - def setDisplayMode(self, mode): - """Map the display mode defined in attach with those defined in - getDisplayModes. Since they have the same names nothing needs to be - done. This method is optional. - - Keyword arguments: - mode -- Mode to be activated. - """ - return mode - - def onChanged(self, vp, prop): - """Detects the ship view provider data changes. - - Keyword arguments: - vp -- View provider object affected. - prop -- Modified property name. - """ - pass - - def __getstate__(self): - """When saving the document this object gets stored using Python's - cPickle module. Since we have some un-pickable here (the Coin stuff) - we must define this method to return a tuple of all pickable objects - or None. - """ - return None - - def __setstate__(self, state): - """When restoring the pickled object from document we have the chance - to set some internals here. Since no data were pickled nothing needs - to be done here. - """ - return None - - def getIcon(self): - """Returns the icon for this kind of objects.""" - return ":/icons/Ship_Tank.svg" diff --git a/src/Mod/Ship/WeightInstance.py b/src/Mod/Ship/WeightInstance.py deleted file mode 100644 index 40b51d0d4f..0000000000 --- a/src/Mod/Ship/WeightInstance.py +++ /dev/null @@ -1,355 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import time -from math import * -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -from FreeCAD import Base, Vector -import Part -import Units -from shipUtils import Paths, Math - - -class Weight: - def __init__(self, obj, shapes, ship): - """ Transform a generic object to a ship instance. - - Position arguments: - obj -- Part::FeaturePython created object which should be transformed - in a weight instance. - shapes -- Set of shapes which will compound the weight element. - ship -- Ship where the weight is allocated. - """ - # Add an unique property to identify the Weight instances - tooltip = unicode(QtGui.QApplication.translate( - "ship_weight", - "True if it is a valid weight instance, False otherwise", - None)) - obj.addProperty("App::PropertyBool", - "IsWeight", - "Weight", - tooltip).IsWeight = True - # Add the mass property for puntual weights - tooltip = unicode(QtGui.QApplication.translate( - "ship_weight", - "Mass [kg]", - None)) - obj.addProperty("App::PropertyFloat", - "Mass", - "Weight", - tooltip).Mass = 0.0 - # Add the density property for linear elements - tooltip = unicode(QtGui.QApplication.translate( - "ship_weight", - "Linear density [kg / m]", - None)) - obj.addProperty("App::PropertyFloat", - "LineDens", - "Weight", - tooltip).LineDens = 0.0 - # Add the area density property for surface elements - tooltip = unicode(QtGui.QApplication.translate( - "ship_weight", - "Area density [kg / m^2]", - None)) - obj.addProperty("App::PropertyFloat", - "AreaDens", - "Weight", - tooltip).AreaDens = 0.0 - # Add the density property for volumetric elements - tooltip = unicode(QtGui.QApplication.translate( - "ship_weight", - "Density [kg / m^3]", - None)) - obj.addProperty("App::PropertyFloat", - "Dens", - "Weight", - tooltip).Dens = 0.0 - # Set the subshapes - obj.Shape = Part.makeCompound(shapes) - - obj.Proxy = self - - def onChanged(self, fp, prop): - """Detects the ship data changes. - - Position arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - if prop == "Mass": - pass - - def execute(self, fp): - """Detects the entity recomputations. - - Position arguments: - fp -- Part::FeaturePython object affected. - """ - pass - - def _getPuntualMass(self, fp, shape): - """Compute the mass of a puntual element. - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Vertex shape object. - """ - return Units.parseQuantity('{0} kg'.format(fp.Mass)) - - def _getLinearMass(self, fp, shape): - """Compute the mass of a linear element. - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Edge shape object. - """ - rho = Units.parseQuantity('{0} kg/m'.format(fp.LineDens)) - l = Units.Quantity(shape.Length, Units.Length) - return rho * l - - def _getAreaMass(self, fp, shape): - """Compute the mass of an area element. - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Face shape object. - """ - rho = Units.parseQuantity('{0} kg/m^2'.format(fp.AreaDens)) - a = Units.Quantity(shape.Area, Units.Area) - return rho * a - - def _getVolumetricMass(self, fp, shape): - """Compute the mass of a volumetric element. - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Solid shape object. - """ - rho = Units.parseQuantity('{0} kg/m^3'.format(fp.Dens)) - v = Units.Quantity(shape.Volume, Units.Volume) - return rho * v - - def getMass(self, fp): - """Compute the mass of the object, already taking into account the - type of subentities. - - Position arguments: - fp -- Part::FeaturePython object affected. - - Returned value: - Object mass - """ - m = Units.parseQuantity('0 kg') - for s in fp.Shape.Solids: - m += self._getVolumetricMass(fp, s) - for f in fp.Shape.Faces: - m += self._getAreaMass(fp, f) - for e in fp.Shape.Edges: - m += self._getLinearMass(fp, e) - for v in fp.Shape.Vertexes: - m += self._getPuntualMass(fp, v) - return m - - def _getPuntualMoment(self, fp, shape): - """Compute the moment of a puntual element (respect to 0, 0, 0). - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Vertex shape object. - """ - m = self._getPuntualMass(fp, shape) - x = Units.Quantity(shape.X, Units.Length) - y = Units.Quantity(shape.Y, Units.Length) - z = Units.Quantity(shape.Z, Units.Length) - return (m * x, m * y, m * z) - - def _getLinearMoment(self, fp, shape): - """Compute the mass of a linear element (respect to 0, 0, 0). - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Edge shape object. - """ - m = self._getLinearMass(fp, shape) - cog = shape.CenterOfMass - x = Units.Quantity(cog.x, Units.Length) - y = Units.Quantity(cog.y, Units.Length) - z = Units.Quantity(cog.z, Units.Length) - return (m * x, m * y, m * z) - - def _getAreaMoment(self, fp, shape): - """Compute the mass of an area element (respect to 0, 0, 0). - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Face shape object. - """ - m = self._getAreaMass(fp, shape) - cog = shape.CenterOfMass - x = Units.Quantity(cog.x, Units.Length) - y = Units.Quantity(cog.y, Units.Length) - z = Units.Quantity(cog.z, Units.Length) - return (m * x, m * y, m * z) - - def _getVolumetricMoment(self, fp, shape): - """Compute the mass of a volumetric element (respect to 0, 0, 0). - - Position arguments: - fp -- Part::FeaturePython object affected. - shape -- Solid shape object. - """ - m = self._getVolumetricMass(fp, shape) - cog = shape.CenterOfMass - x = Units.Quantity(cog.x, Units.Length) - y = Units.Quantity(cog.y, Units.Length) - z = Units.Quantity(cog.z, Units.Length) - return (m * x, m * y, m * z) - - def getMoment(self, fp): - """Compute the mass of the object, already taking into account the - type of subentities. - - Position arguments: - fp -- Part::FeaturePython object affected. - - Returned value: - List of moments toward x, y and z - """ - m = [Units.parseQuantity('0 kg*m'), - Units.parseQuantity('0 kg*m'), - Units.parseQuantity('0 kg*m')] - for s in fp.Shape.Solids: - mom = self._getVolumetricMoment(fp, s) - for i in range(len(m)): - m[i] = m[i] + mom[i] - for f in fp.Shape.Faces: - mom = self._getAreaMoment(fp, f) - for i in range(len(m)): - m[i] = m[i] + mom[i] - for e in fp.Shape.Edges: - mom = self._getLinearMoment(fp, e) - for i in range(len(m)): - m[i] = m[i] + mom[i] - for v in fp.Shape.Vertexes: - mom = self._getPuntualMoment(fp, v) - for i in range(len(m)): - m[i] = m[i] + mom[i] - return m - - def getCenterOfMass(self, fp): - """Compute the mass of the object, already taking into account the - type of subentities. - - Position arguments: - fp -- Part::FeaturePython object affected. - - Returned value: - Center of Mass vector - """ - mass = self.getMass(fp) - moment = self.getMoment(fp) - cog = [] - for i in range(len(moment)): - cog.append(moment[i] / mass) - return Vector(cog[0].Value, cog[1].Value, cog[2].Value) - - -class ViewProviderWeight: - def __init__(self, obj): - """Add this view provider to the selected object. - - Keyword arguments: - obj -- Object which must be modified. - """ - obj.Proxy = self - - def attach(self, obj): - """Setup the scene sub-graph of the view provider, this method is - mandatory. - """ - return - - def updateData(self, fp, prop): - """If a property of the handled feature has changed we have the chance - to handle this here. - - Keyword arguments: - fp -- Part::FeaturePython object affected. - prop -- Modified property name. - """ - return - - def getDisplayModes(self, obj): - """Return a list of display modes. - - Keyword arguments: - obj -- Object associated with the view provider. - """ - modes = [] - return modes - - def getDefaultDisplayMode(self): - """Return the name of the default display mode. It must be defined in - getDisplayModes.""" - return "Flat Lines" - - def setDisplayMode(self, mode): - """Map the display mode defined in attach with those defined in - getDisplayModes. Since they have the same names nothing needs to be - done. This method is optional. - - Keyword arguments: - mode -- Mode to be activated. - """ - return mode - - def onChanged(self, vp, prop): - """Detects the ship view provider data changes. - - Keyword arguments: - vp -- View provider object affected. - prop -- Modified property name. - """ - pass - - def __getstate__(self): - """When saving the document this object gets stored using Python's - cPickle module. Since we have some un-pickable here (the Coin stuff) - we must define this method to return a tuple of all pickable objects - or None. - """ - return None - - def __setstate__(self, state): - """When restoring the pickled object from document we have the chance - to set some internals here. Since no data were pickled nothing needs - to be done here. - """ - return None - - def getIcon(self): - """Returns the icon for this kind of objects.""" - return ":/icons/Ship_Weight.svg" diff --git a/src/Mod/Ship/resources/Ship.qrc b/src/Mod/Ship/resources/Ship.qrc deleted file mode 100644 index e72da8fd26..0000000000 --- a/src/Mod/Ship/resources/Ship.qrc +++ /dev/null @@ -1,55 +0,0 @@ - - - icons/Ship_AreaCurve.svg - icons/Ship_CapacityCurve.svg - icons/Ship_Instance.svg - icons/Ship_GZ.svg - icons/Ship_Hydrostatics.svg - icons/Ship_Load.svg - icons/Ship_LoadCondition.svg - icons/Ship_Logo.svg - icons/Ship_Module.svg - icons/Ship_OutlineDraw.svg - icons/Ship_Tank.svg - icons/Ship_Weight.svg - icons/ShipWorkbench.svg - translations/Ship.qm - translations/Ship_af.qm - translations/Ship_cs.qm - translations/Ship_de.qm - translations/Ship_es-ES.qm - translations/Ship_fi.qm - translations/Ship_fr.qm - translations/Ship_hr.qm - translations/Ship_hu.qm - translations/Ship_it.qm - translations/Ship_ja.qm - translations/Ship_nl.qm - translations/Ship_no.qm - translations/Ship_pl.qm - translations/Ship_pt-BR.qm - translations/Ship_ro.qm - translations/Ship_ru.qm - translations/Ship_sk.qm - translations/Ship_sv-SE.qm - translations/Ship_tr.qm - translations/Ship_uk.qm - translations/Ship_zh-CN.qm - translations/Ship_zh-TW.qm - translations/Ship_pt-PT.qm - translations/Ship_sr.qm - translations/Ship_el.qm - translations/Ship_sl.qm - translations/Ship_eu.qm - translations/Ship_ca.qm - translations/Ship_gl.qm - translations/Ship_kab.qm - translations/Ship_ko.qm - translations/Ship_fil.qm - translations/Ship_id.qm - translations/Ship_lt.qm - translations/Ship_val-ES.qm - translations/Ship_ar.qm - translations/Ship_vi.qm - - diff --git a/src/Mod/Ship/resources/examples/s60.fcstd b/src/Mod/Ship/resources/examples/s60.fcstd deleted file mode 100644 index 152ebe2488..0000000000 Binary files a/src/Mod/Ship/resources/examples/s60.fcstd and /dev/null differ diff --git a/src/Mod/Ship/resources/examples/s60_katamaran.fcstd b/src/Mod/Ship/resources/examples/s60_katamaran.fcstd deleted file mode 100644 index 851c849016..0000000000 Binary files a/src/Mod/Ship/resources/examples/s60_katamaran.fcstd and /dev/null differ diff --git a/src/Mod/Ship/resources/examples/wigley.fcstd b/src/Mod/Ship/resources/examples/wigley.fcstd deleted file mode 100644 index fefe9b3798..0000000000 Binary files a/src/Mod/Ship/resources/examples/wigley.fcstd and /dev/null differ diff --git a/src/Mod/Ship/resources/examples/wigley_katamaran.fcstd b/src/Mod/Ship/resources/examples/wigley_katamaran.fcstd deleted file mode 100644 index 0cfb4d06ba..0000000000 Binary files a/src/Mod/Ship/resources/examples/wigley_katamaran.fcstd and /dev/null differ diff --git a/src/Mod/Ship/resources/icons/ShipWorkbench.svg b/src/Mod/Ship/resources/icons/ShipWorkbench.svg deleted file mode 100644 index 412d96de80..0000000000 --- a/src/Mod/Ship/resources/icons/ShipWorkbench.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [triplus] - - - ShipWorkbench - 2016-02-26 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/ShipWorkbench.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_AreaCurve.svg b/src/Mod/Ship/resources/icons/Ship_AreaCurve.svg deleted file mode 100644 index ebe85340b7..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_AreaCurve.svg +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_AreaCurve - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_AreaCurve.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_CapacityCurve.svg b/src/Mod/Ship/resources/icons/Ship_CapacityCurve.svg deleted file mode 100644 index c6c71610b1..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_CapacityCurve.svg +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [J.L. Cercos-Pita] - - - Ship_CapacityCurve - 2014-12-12 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_CapacityCurve.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_GZ.svg b/src/Mod/Ship/resources/icons/Ship_GZ.svg deleted file mode 100644 index 3db4bb5eb8..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_GZ.svg +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [J.L. Cercos-Pita] - - - Ship_GZ - 2014-12-12 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_GZ.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Hydrostatics.svg b/src/Mod/Ship/resources/icons/Ship_Hydrostatics.svg deleted file mode 100644 index 5cba0a0160..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Hydrostatics.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Jose Luis Cercos-Pita] - - - Ship_Hydrostatics - 2014-05-02 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Hydrostatics.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Instance.svg b/src/Mod/Ship/resources/icons/Ship_Instance.svg deleted file mode 100644 index 4f1bcfac13..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Instance.svg +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_Instance - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Instance.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Load.svg b/src/Mod/Ship/resources/icons/Ship_Load.svg deleted file mode 100644 index cc165d2dc7..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Load.svg +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_Load - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Load.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_LoadCondition.svg b/src/Mod/Ship/resources/icons/Ship_LoadCondition.svg deleted file mode 100644 index 8dce3f43b8..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_LoadCondition.svg +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - [Jose Luis Cercos Pita] - - - Ship_LoadCondition - 2015-10-16 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_LoadCondition.svg - - - FreeCAD LGPL2+ - - - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Logo.svg b/src/Mod/Ship/resources/icons/Ship_Logo.svg deleted file mode 100644 index cee94a1902..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Logo.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_Logo - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Logo.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Module.svg b/src/Mod/Ship/resources/icons/Ship_Module.svg deleted file mode 100644 index 712ced8128..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Module.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_Module - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Module.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_OutlineDraw.svg b/src/Mod/Ship/resources/icons/Ship_OutlineDraw.svg deleted file mode 100644 index 26d0e856a5..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_OutlineDraw.svg +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [Cercos-Pita J.L] - - - Ship_OutlineDraw - 2014-02-18 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_OutlineDraw.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Tank.svg b/src/Mod/Ship/resources/icons/Ship_Tank.svg deleted file mode 100644 index 7e68eafa6d..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Tank.svg +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [J.L. Cercos-Pita] - - - Ship_Tank - 2014-12-12 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Tank.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/icons/Ship_Weight.svg b/src/Mod/Ship/resources/icons/Ship_Weight.svg deleted file mode 100644 index 377abbadcf..0000000000 --- a/src/Mod/Ship/resources/icons/Ship_Weight.svg +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - [J.L. Cercos-Pita] - - - Ship_Weight - 2014-12-12 - http://www.freecadweb.org/wiki/index.php?title=Artwork - - - FreeCAD - - - FreeCAD/src/Mod/Ship/resources/icons/Ship_Weight.svg - - - FreeCAD LGPL2+ - - - https://www.gnu.org/copyleft/lesser.html - - - [agryson] Alexander Gryson - - - - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/resources/translations/Ship.qm b/src/Mod/Ship/resources/translations/Ship.qm deleted file mode 100644 index be651eede2..0000000000 --- a/src/Mod/Ship/resources/translations/Ship.qm +++ /dev/null @@ -1 +0,0 @@ - - - - Ship - - - Ship design - - - - - Weights - - - - - True if it is a valid ship instance, False otherwise - - - - - Ship length [m] - - - - - Ship breadth [m] - - - - - Ship draft [m] - - - - - Set of external faces of the ship hull - - - - - Set of weight instances - - - - - Set of tank instances - - - - - Set of load conditions - - - - - Ship_AreasCurve - - - Areas curve - - - - - Plot the transversal areas curve - - - - - Ship_CreateShip - - - Create a new ship - - - - - Create a new ship instance on top of the hull geometry - - - - - Ship_Hydrostatics - - - Hydrostatics - - - - - Plot the ship hydrostatics - - - - - Ship_LoadExample - - - Load an example ship geometry - - - - - Load an example ship hull geometry. - - - - - Ship_OutlineDraw - - - Outline draw - - - - - Plots the ship hull outline draw - - - - - ship_areas - - - Draft - - - - - Displacement - - - - - Areas curve tool draft selected [m] - - - - - Plot the transversal areas curve - - - - - Areas curve tool trim selected [deg] - - - - - Trim angle - - - - - Number of points - - - - - Areas curve tool number of points - - - - - ship_capacity - - - Tank capacity curve - - - - - Plot the tank capacity curve (level-volume curve) - - - - - Plot the tank capacity curve - - - - - Number of points - - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - - Computing hydrostatics - - - - - Computing external faces - - - - - Computing sections - - - - - Any valid ship section found - - - - - Ship objects can only be created on top of hull geometry (no objects selected) - - - - - A ship instance must be selected before using this tool (no objects selected) - - - - - More than one ship have been selected (the extra ships will be ignored) - - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - - Plot module is disabled, so I cannot perform the plot - - - - - A ship instance must be selected before use this tool (no objects selected) - - - - - More than one ship has been selected (just the first one will be used) - - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - - Plot module is disabled, tools cannot graph output curves - - - - - Failure detecting external faces from the ship object - - - - - A tank instance must be selected before using this tool (no objects selected) - - - - - More than one tank have been selected (the extra tanks will be ignored) - - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - - A loading condition instance must be selected before using this tool (no objects selected) - - - - - Wrong Ship label! (no instances labeled as'{}' found) - - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - - Too much weight! The ship will never displace water enough - - - - - Wrong Weight label! (no instances labeled as'{}' found) - - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - - Wrong Tank label! (no instances labeled as'{}' found) - - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - - Computing capacity curves - - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - - Part.OCCError: Transversal area computation failed - - - - - ZeroDivisionError: Null volume found during the displacement computation! - - - - - Part.OCCError: Floating area cannot be computed - - - - - ZeroDivisionError: Null area found during the floating area computation! - - - - - Part.OCCError: Main frame area cannot be computed - - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - - ship_create - - - Base line - - - - - Free surface - - - - - Forward perpendicular - - - - - After perpendicular - - - - - Main frame - - - - - Create a new ship - - - - - Length - - - - - Breadth - - - - - Draft - - - - - ship_gz - - - GZ curve computation - - - - - Plot the GZ curve - - - - - Maximum angle - - - - - Number of points - - - - - Variable trim - - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - - GZ curve tool angle selected [deg] - - - - - GZ curve tool number of points selected - - - - - GZ curve tool variable trim angle selection - - - - - ship_hydrostatic - - - Plot hydrostatics - - - - - Trim - - - - - Minimum draft - - - - - Maximum draft - - - - - Number of points - - - - - Hydrostatics tool trim selected - - - - - Hydrostatics tool minimum draft selected [m] - - - - - Hydrostatics tool maximum draft selected [m] - - - - - Hydrostatics tool number of points selected - - - - - ship_load - - - Load example ship - - - - - Select ship example geometry - - - - - ship_loadcondition - - - Create a new loading condition - - - - - Create a new load condition spreadsheet - - - - - ship_outline - - - Outline draw - - - - - Auto create - - - - - Delete all sections - - - - - Create sections - - - - - Transversal - - - - - Longitudinal - - - - - Water lines - - - - - Transversal section positions [m] - - - - - Longitudinal section positions [m] - - - - - Water line positions [m] - - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - - - - - Create a new tank - - - - - Tanks objects can only be created on top of its geometry (no objects selected) - - - - - No solids found in the selected objects - - - - - There are not ship objects to create weights into them - - - - - Ship - - - - - ship_weight - - - Create a new ship weight - - - - - True if it is a valid weight instance, False otherwise - - - - - Mass [kg] - - - - - Linear density [kg / m] - - - - - Density [kg / m^3] - - - - - Weight objects can only be created on top of its geometry (no objects selected) - - - - - No geometrical shapes found in the selected objects - - - - - There are not ship objects to create weights into them - - - - - Create a new weight - - - - - Ship - - - - - Mass - - - - - Linear density - - - - - Area density - - - - - Density - - - - - Area density [kg / m^2] - - - - - Unknown object shapes selected - - - - diff --git a/src/Mod/Ship/resources/translations/Ship_af.qm b/src/Mod/Ship/resources/translations/Ship_af.qm deleted file mode 100644 index 1d50bdc72a..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_af.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_af.ts b/src/Mod/Ship/resources/translations/Ship_af.ts deleted file mode 100644 index 8c204bf782..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_af.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Ship design - - - - Weights - Weights - - - - True if it is a valid ship instance, False otherwise - True if it is a valid ship instance, False otherwise - - - - Ship length [m] - Ship length [m] - - - - Ship breadth [m] - Ship breadth [m] - - - - Ship draft [m] - Ship draft [m] - - - - Set of external faces of the ship hull - Set of external faces of the ship hull - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Create a new ship - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatics - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Load an example ship geometry - - - - Load an example ship hull geometry. - Load an example ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - Outline draw - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - Draft - - - - Displacement - Displacement - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trim angle - - - - Number of points - Aantal punte - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Aantal punte - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - More than one ship has been selected (just the first one will be used) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Base line - - - - Free surface - Free surface - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - Main frame - - - - Create a new ship - Create a new ship - - - - Length - Lengte - - - - Breadth - Breadth - - - - Draft - Draft - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximum angle - - - - Number of points - Aantal punte - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Vernou - - - - Minimum draft - Minimum draft - - - - Maximum draft - Maximum draft - - - - Number of points - Aantal punte - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Load example ship - - - - Select ship example geometry - Select ship example geometry - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Outline draw - - - - Auto create - Auto create - - - - Delete all sections - Delete all sections - - - - Create sections - Create sections - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Water lines - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - Water line positions [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Create a new tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Ship - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - Mass [kg] - - - - Linear density [kg / m] - Linear density [kg / m] - - - - Density [kg / m^3] - Density [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Create a new weight - - - - Ship - Ship - - - - Mass - Mass - - - - Linear density - Linear density - - - - Area density - Area density - - - - Density - Density - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ar.qm b/src/Mod/Ship/resources/translations/Ship_ar.qm deleted file mode 100644 index 4f06c2e8f5..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ar.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ar.ts b/src/Mod/Ship/resources/translations/Ship_ar.ts deleted file mode 100644 index f1d17fed1d..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ar.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - تصميم السفينة - - - - Weights - أوزان - - - - True if it is a valid ship instance, False otherwise - صحيح اذا كان نموذج سفينة صالح , خطأ غير ذلك - - - - Ship length [m] - طول السفينة [م] - - - - Ship breadth [m] - اتساع السفينة [م] - - - - Ship draft [m] - مشروع السفينة [م] - - - - Set of external faces of the ship hull - مجموعة من الوجوه الخارجية لهيكل السفينة - - - - Set of weight instances - مجموعة من نماذج الأوزان - - - - Set of tank instances - مجموعة من نماذج الخزانات - - - - Set of load conditions - مجموعة من شروط التحميل - - - - Ship_AreasCurve - - - Areas curve - منحنى المناطق - - - - Plot the transversal areas curve - ارسم منحنى المناطق المستعرضة - - - - Ship_CreateShip - - - Create a new ship - إنشاء سفينة جديدة - - - - Create a new ship instance on top of the hull geometry - إنشاء كائن سفينة جديد في قمة هندسة هيكل السفينة - - - - Ship_Hydrostatics - - - Hydrostatics - هيدروستاتيكي - - - - Plot the ship hydrostatics - ارسم السفينة الهيدروستاتيكية - - - - Ship_LoadExample - - - Load an example ship geometry - تحميل مثال هندسة سفينة - - - - Load an example ship hull geometry. - تحميل مثال هندسة هيكل سفينة. - - - - Ship_OutlineDraw - - - Outline draw - رسم الحدود - - - - Plots the ship hull outline draw - يرسم رسم حدود هيكل السفينة - - - - ship_areas - - - Draft - مسودة - - - - Displacement - الإزاحة - - - - Areas curve tool draft selected [m] - تم تحديد مسودة أداة المنحنى[m] - - - - Plot the transversal areas curve - ارسم منحنى المناطق المستعرضة - - - - Areas curve tool trim selected [deg] - تم تحديد منطقة أداة اقتطاع المنحنى[deg] - - - - Trim angle - تقليم زاوية - - - - Number of points - عدد النقاط - - - - Areas curve tool number of points - منطقة أداة منحنى مجموعة نقاط - - - - ship_capacity - - - Tank capacity curve - منحنى سعة الخزان - - - - Plot the tank capacity curve (level-volume curve) - رسم منحنى سعة الخزان (مستوى- حجم منحنى) - - - - Plot the tank capacity curve - رسم منحنى سعة الخزان - - - - Number of points - عدد النقاط - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - الرجاء إنشاء أو تحميل هندسة هيكل سفينة قبل استخدام هذه الأداة - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - يمكن فقط إنشاء كائنات السفينة في قمة هندسة الهيكل (لم يتم العثور على صلب في الكائنات المحددة) - - - - Computing hydrostatics - الحوسبة الهيدروستاتيكية - - - - Computing external faces - الحوسبة الوجوه الخارجية - - - - Computing sections - مقاطع الحوسبة - - - - Any valid ship section found - أي مقطع سفينة صالح موجود - - - - Ship objects can only be created on top of hull geometry (no objects selected) - يمكن فقط إنشاء كائنات السفينة في قمة هندسة الهيكل (لا يوجد كائنات محددة) - - - - A ship instance must be selected before using this tool (no objects selected) - يجب تحديد نموذج سفينة قبل استخدام هذه الأداة (لا يوجد كائنات محددة) - - - - More than one ship have been selected (the extra ships will be ignored) - أكثر من سفينة واحدة تم تحديدها (سيتم تجاهل السفن الإضافية) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - يجب تحديد نموذج سفينة قبل استخدام هذه الأداة (لم يتم العثور على نموذج صالح في الكائنات المحددة) - - - - Plot module is disabled, so I cannot perform the plot - تم تعطيل وحدة الرسم, حيث لا أستطيع تنفيذ الرسم - - - - A ship instance must be selected before use this tool (no objects selected) - يجب تحديد نموذج سفينة قبل استخدام هذه الأداة (لا يوجد كائنات محددة) - - - - More than one ship has been selected (just the first one will be used) - اكثر من سفينة واحدة تم تحديدها (سيتم استخدام اول واحدة فقط) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - يجب تحديد نموذج سفينة قبل استخدام هذه الأداة (لم يتم العثور على سفينة صالحة في الكائنات المحددة) - - - - Plot module is disabled, tools cannot graph output curves - وحدة القياس معطلة، الأداة لايمكنها الرسم خارج المنحنى - - - - Failure detecting external faces from the ship object - فشل الكشف عن وجوه خارجية من كائن السفينة - - - - A tank instance must be selected before using this tool (no objects selected) - يجب تحديد نموذج خزان قبل استخدام هذه الأداة (لا يوجد كائنات محددة) - - - - More than one tank have been selected (the extra tanks will be ignored) - اكثر من خزان واحد تم تحديده (الخزانات الإضافية سيتم تجاهلها) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - يجب تحديد نموذج خزان قبل استخدام هذه الأداة (لم يتم العثور على خزان صالح في الكائنات المحددة) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - فشلت عملية حجم الخزان. الأداة تعيد محاولة تحريك موضع السطح الحر قليلا - - - - A loading condition instance must be selected before using this tool (no objects selected) - يجب تحديد تحميل نموذج شرط قبل استخدام هذه الأداة (لا يوجد كائنات محددة) - - - - Wrong Ship label! (no instances labeled as'{}' found) - تسمية سفينة خاطئة! (لم يتم العثور على نماذج باسم '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - تسمية السفينة غامضة! (تم العثور على {} مثيلات مسماة "{}") - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - تم تحديد أكثر من شرط تحميل واحد (سيتم تجاهل شروط التحميل الإضافية) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - يجب إختيار شرط الحمولة قبل إستعمال هذه الأداة (لم يتم العثور على أي شرط صالح للحمولة في العناصر(object) التي تم تحديدها) - - - - Too much weight! The ship will never displace water enough - الكثير من الوزن! لن تقوم السفينة بتحريك الماء بما فيه الكفاية - - - - Wrong Weight label! (no instances labeled as'{}' found) - تسمية الوزن خاطئة! (لم يتم العثور على مثيلات مسماة "{}") - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - تسمية الوزن غامضة! (تم العثور على {} مثيلات مسماة "{}") - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - الوزن غير صالح! (الكائن المسمى "{}" ليس وزنًا) - - - - Wrong Tank label! (no instances labeled as'{}' found) - تسمية خزان خاطئة! (لم يتم العثور على مثيلات مسماة "{}") - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - تسمية خزان غامضة! (تم العثور على {} مثيلات مسماة "{}") - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - خزان غير صالح! (الكائن المسمى "{}" ليس خزانًا) - - - - Computing capacity curves - منحنيات القدرة الحاسوبية - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - فشلت العملية المنطقية عند محاولة الحصول على الجانب تحت الماء. الأداة تحاول إعادة هذه العملية بتحريك موضع السطح الحر قليلاً - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Base line - - - - Free surface - Free surface - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - الإطار الرئيسي - - - - Create a new ship - إنشاء سفينة جديدة - - - - Length - الطول - - - - Breadth - إتساع - - - - Draft - مسودة - - - - ship_gz - - - GZ curve computation - حساب منحنى GZ - - - - Plot the GZ curve - رسم منحنى GZ - - - - Maximum angle - أقصى زاوية - - - - Number of points - عدد النقاط - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Trim - - - - Minimum draft - مشروع الحد الأدنى - - - - Maximum draft - مشروع الحد الأقصى - - - - Number of points - عدد النقاط - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - تحميل مثال سفينة - - - - Select ship example geometry - تحديد مثال هندسة سفينة - - - - ship_loadcondition - - - Create a new loading condition - إنشاء شرط تحميل جديد - - - - Create a new load condition spreadsheet - إنشاء جدول تحميل شرط جديد - - - - ship_outline - - - Outline draw - رسم الحدود - - - - Auto create - إنشاء تلقائي - - - - Delete all sections - حذف كل الأقسام - - - - Create sections - إنشاء أقسام - - - - Transversal - عرضي - - - - Longitudinal - طولي - - - - Water lines - خطوط المياه - - - - Transversal section positions [m] - مواقع المقطع العرضي [m] - - - - Longitudinal section positions [m] - مواقع المقطع الطولي [m] - - - - Water line positions [m] - وضعية خط المياه [م] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - صحيح إذا كان نموذج خزان صالح, خطأ غير ذلك - - - - Create a new tank - إنشاء خزان جديد - - - - Tanks objects can only be created on top of its geometry (no objects selected) - يمكن إنشاء كائنات الخَزانات فقط فوق شكلها الهندسي (لم يتم تحديد كائنات) - - - - No solids found in the selected objects - لا يوجد المواد الصلبة في الكائنات المحددة - - - - There are not ship objects to create weights into them - لا توجد كائنات سفينة لإنشاء أوزان فيها - - - - Ship - سفينة - - - - ship_weight - - - Create a new ship weight - إنشاء وزن سفينة جديد - - - - True if it is a valid weight instance, False otherwise - صحيح إذا كان نموذج وزن صالح, خطأ غير ذلك - - - - Mass [kg] - كتلة [كيلو جرام] - - - - Linear density [kg / m] - كثافة خطية [كج / م] - - - - Density [kg / m^3] - الكثافة [كيلو جرام / م ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - يمكن فقط إنشاء كائنات وزن في قمة هندسته (لا يوجد كائنات محددة) - - - - No geometrical shapes found in the selected objects - لا يوجد أشكال هندسية في الكائنات المحددة - - - - There are not ship objects to create weights into them - لا توجد كائنات سفينة لإنشاء أوزان فيها - - - - Create a new weight - إنشاء وزن جديد - - - - Ship - سفينة - - - - Mass - كتلة - - - - Linear density - كثافة خطية - - - - Area density - كثافة منطقة - - - - Density - كثافة - - - - Area density [kg / m^2] - كثافة منطقة [كج / م^2] - - - - Unknown object shapes selected - كائن أشكال غير معروف محدد - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ca.qm b/src/Mod/Ship/resources/translations/Ship_ca.qm deleted file mode 100644 index 0789389d6e..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ca.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ca.ts b/src/Mod/Ship/resources/translations/Ship_ca.ts deleted file mode 100644 index 8713dbf158..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ca.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Diseny naval - - - - Weights - Pes - - - - True if it is a valid ship instance, False otherwise - Cert si és una instància de vaixell vàlid, fals altrament - - - - Ship length [m] - Nau [m] de longitud - - - - Ship breadth [m] - Manega del Vaixell [m] - - - - Ship draft [m] - Projecte de vaixell [m] - - - - Set of external faces of the ship hull - Conjunt de cares externs del casc del vaixell - - - - Set of weight instances - Conjunt d'instàncies de pes - - - - Set of tank instances - Conjunt d'instàncies de tank - - - - Set of load conditions - Conjunt de condicions de càrrega - - - - Ship_AreasCurve - - - Areas curve - Corba de zones - - - - Plot the transversal areas curve - Traçat de la corba d'àrees transversals - - - - Ship_CreateShip - - - Create a new ship - Crear un nou vaixell - - - - Create a new ship instance on top of the hull geometry - Crea una nova instància de vaixell sobre la geometria del casc - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatics - - - - Plot the ship hydrostatics - Dibuixar hidrostàtica del barco - - - - Ship_LoadExample - - - Load an example ship geometry - Carregar una geometria de vaixell d'exemple - - - - Load an example ship hull geometry. - Carregar una geometria de casc de vaixell exemple. - - - - Ship_OutlineDraw - - - Outline draw - Dibuix del contorn - - - - Plots the ship hull outline draw - El vaixell buc pla de seccions - - - - ship_areas - - - Draft - Calat - - - - Displacement - Desplaçament - - - - Areas curve tool draft selected [m] - S'ha seleccionat l'eina de corbes d'àrea de calat [m] - - - - Plot the transversal areas curve - Traçat de la corba d'àrees transversals - - - - Areas curve tool trim selected [deg] - Eina per ajustar la corba d'àrea seleccionades [graus] - - - - Trim angle - Ajustar angle - - - - Number of points - Nombre de Punts - - - - Areas curve tool number of points - Eina de Area corba nombre de punts - - - - ship_capacity - - - Tank capacity curve - Corba de capacitat de tanc - - - - Plot the tank capacity curve (level-volume curve) - Traçat de la corba de capacitat de tanc (corba de nivell de volum) - - - - Plot the tank capacity curve - Traçat de la corba de capacitat del tanc - - - - Number of points - Nombre de Punts - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Crea o carrega una geometria de buc de vaixell abans d'utilitzar aquesta eina - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Els objectes vaixell només es poden crear sobre una geometria de buc (no s'ha trobat cap sòlid en els objectes seleccionats) - - - - Computing hydrostatics - Càlcul de les hidrostàtiques - - - - Computing external faces - Càlcul de les cares externes - - - - Computing sections - Càlcul de seccions - - - - Any valid ship section found - No s'ha trobat cap secció vàlida de vaixell - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Els objectes vaixell només es poden crear sobre una geometria de buc (no s'ha seleccionat cap objecte) - - - - A ship instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one ship have been selected (the extra ships will be ignored) - S'ha seleccionat més d'un vaixell (els vaixells addicionals s'ignoraran) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha trobat cap vaixell vàlid en els objectes seleccionats) - - - - Plot module is disabled, so I cannot perform the plot - El mòdul de gràfiques no està habilitat, per tant no es pot realitzar el traçat - - - - A ship instance must be selected before use this tool (no objects selected) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one ship has been selected (just the first one will be used) - S'ha seleccionat més d'un vaixell (només el primer s'utilitzarà) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha trobat cap vaixell vàlid en els objectes seleccionats) - - - - Plot module is disabled, tools cannot graph output curves - El mòdul de gràfiques no està habilitat, per tant no es poden traçar les corbes de sortida - - - - Failure detecting external faces from the ship object - Ha fallat la detecció de les cares externes de l'objecte vaixell - - - - A tank instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de tanc abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one tank have been selected (the extra tanks will be ignored) - S'ha seleccionat més d'un tanc (els tancs addicionals s'ignoraran) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Cal seleccionar una instància de tanc abans d'utilitzar aquesta eina (no s'ha trobat cap tanc vàlid en els objectes seleccionats) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - L'operació de volum del tanc ha fallat. L'eina tornarà a intentar-ho movent lleugerament la posició de la superfície lliure - - - - A loading condition instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de condició de càrrega abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - Wrong Ship label! (no instances labeled as'{}' found) - L'etiqueta del vaixell és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - L'etiqueta del vaixell és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - S'ha seleccionat més d'una condició de càrrega (les condicions de càrrega addicionals s'ignoraran) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Cal seleccionar una instància de condició de càrrega abans d'utilitzar aquesta eina (no s'ha trobat cap condició de càrrega vàlida en els objectes seleccionats) - - - - Too much weight! The ship will never displace water enough - Massa pes. El vaixell no desplaçarà mai prou aigua - - - - Wrong Weight label! (no instances labeled as'{}' found) - L'etiqueta del pes és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - L'etiqueta del pes és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - El pes no és vàlid (l'objecte etiquetat com a '{}' no és un pes) - - - - Wrong Tank label! (no instances labeled as'{}' found) - L'etiqueta del tanc és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - L'etiqueta del tanc és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - El tanc no és vàlid (l'objecte etiquetat com a '{}' no és un tanc) - - - - Computing capacity curves - Càlcul de les corbes de capacitat - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - L'operació booleana ha fallat quan intentava obtindre la part sota l'aigua. L'eina tornarà a intentar aquesta operació movent lleugerament la posició de la superfície lliure - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: el càlcul de l'àrea transversal ha fallat - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: s'ha trobat un volum nul durant el càlcul del desplaçament! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: no es pot calcular l'àrea flotant - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: s'ha trobat una àrea nul·la durant el càlcul de l'àrea flotant! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: no es pot calcular la quaderna mestra - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: s'ha trobat una àrea nul·la durant el càlcul del coeficient de l'àrea de la quaderna mestra! - - - - ship_create - - - Base line - Línia de base - - - - Free surface - Superfície lliure - - - - Forward perpendicular - Perpendicular de proa - - - - After perpendicular - Perpendicular de popa - - - - Main frame - Quaderna mestra - - - - Create a new ship - Crear un nou vaixell - - - - Length - Longitud - - - - Breadth - Mànega - - - - Draft - Calat - - - - ship_gz - - - GZ curve computation - Càlcul de la corba GZ - - - - Plot the GZ curve - Traça la corba GZ - - - - Maximum angle - Angle màxim - - - - Number of points - Nombre de Punts - - - - Variable trim - Assentamnet variable - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - El vaixell es girarà a l'angle d'assentament d'equilibri per a cada angle de balanceig. Això augmentarà significativament el temps de càlcul requerit - - - - GZ curve tool angle selected [deg] - Angle seleccionat de l'eina de la corba GZ [graus] - - - - GZ curve tool number of points selected - Nombre de punts seleccionat per a l'eina de la corba GZ - - - - GZ curve tool variable trim angle selection - Selecció de l'angle d'assentament variable de l'eina de la corba GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Traça les hidrostàtiques - - - - Trim - Retallar - - - - Minimum draft - Calat mínim - - - - Maximum draft - Calat màxim - - - - Number of points - Nombre de Punts - - - - Hydrostatics tool trim selected - Assentament seleccionat per al càlcul d'hidrostàtiques - - - - Hydrostatics tool minimum draft selected [m] - Calat mínim seleccionat per al càlcul d'hidrostàtiques [m] - - - - Hydrostatics tool maximum draft selected [m] - Calat màxim seleccionat per al càlcul d'hidrostàtiques [m] - - - - Hydrostatics tool number of points selected - Nombre de punts seleccionat per al càlcul d'hidrostàtiques - - - - ship_load - - - Load example ship - Carrega un exemple de vaixell - - - - Select ship example geometry - Seleccioneu un exemple de geometria de vaixell - - - - ship_loadcondition - - - Create a new loading condition - Crea una nova condició de càrrega - - - - Create a new load condition spreadsheet - Crea un nou full de càlcul de condició de càrrega - - - - ship_outline - - - Outline draw - Dibuix del contorn - - - - Auto create - Crea automàticament - - - - Delete all sections - Eliminar totes les seccions - - - - Create sections - Crea seccions - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Línies de flotació - - - - Transversal section positions [m] - Posicions de les seccions transversals [m] - - - - Longitudinal section positions [m] - Posicions de les seccions longitudinals [m] - - - - Water line positions [m] - Posicions de les línies de flotació [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Cert si és una instància de tanc vàlid, fals altrament - - - - Create a new tank - Crea un tanc nou - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Els objectes tanc només es poden crear sobre la seua geometria (no s'ha seleccionat cap objecte) - - - - No solids found in the selected objects - No s'ha trobat cap sòlid en els objectes seleccionats - - - - There are not ship objects to create weights into them - No hi ha cap objecte vaixell per a crear-hi pesos dins - - - - Ship - Vaixell - - - - ship_weight - - - Create a new ship weight - Crea un nou pes de vaixell - - - - True if it is a valid weight instance, False otherwise - Cert si és una instància de pes vàlid, fals altrament - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Densitat lineal [kg/m] - - - - Density [kg / m^3] - Densitat [kg/m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Els objectes pes només es poden crear sobre la seua geometria (no s'ha seleccionat cap objecte) - - - - No geometrical shapes found in the selected objects - No s'ha trobat cap forma geomètrica en els objectes seleccionats - - - - There are not ship objects to create weights into them - No hi ha cap objecte vaixell per a crear-hi pesos dins - - - - Create a new weight - Crea un pes nou - - - - Ship - Vaixell - - - - Mass - Massa - - - - Linear density - Densitat lineal - - - - Area density - Densitat de l'àrea - - - - Density - Densitat - - - - Area density [kg / m^2] - Densitat de l'àrea [kg/m^2] - - - - Unknown object shapes selected - S'han seleccionat formes d'objecte desconegudes - - - diff --git a/src/Mod/Ship/resources/translations/Ship_cs.qm b/src/Mod/Ship/resources/translations/Ship_cs.qm deleted file mode 100644 index b8fae67af2..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_cs.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_cs.ts b/src/Mod/Ship/resources/translations/Ship_cs.ts deleted file mode 100644 index 0d48cf5d75..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_cs.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Návrh lodi - - - - Weights - Hmotnosti - - - - True if it is a valid ship instance, False otherwise - Pravda pokud je vybrána platná instance lodi, jinak Nepravda - - - - Ship length [m] - Délka lodi [m] - - - - Ship breadth [m] - Šířka lodi [m] - - - - Ship draft [m] - Ponor lodi [m] - - - - Set of external faces of the ship hull - Sada vnějších ploch trupu lodi - - - - Set of weight instances - Sada instancí hmotnosti - - - - Set of tank instances - Sada instancí nádrží - - - - Set of load conditions - Množina zatěžovacích podmínek - - - - Ship_AreasCurve - - - Areas curve - Oblasti křivky - - - - Plot the transversal areas curve - Vykreslí křivku příčných průřezových ploch - - - - Ship_CreateShip - - - Create a new ship - Vytvořit novou loď - - - - Create a new ship instance on top of the hull geometry - Vytvoří novou instanci lodi na geometrii trupu - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatika - - - - Plot the ship hydrostatics - Vykreslí hydrostatiku lodi - - - - Ship_LoadExample - - - Load an example ship geometry - Načíst příklad geometrie lodi - - - - Load an example ship hull geometry. - Otevře příklad geometrie trupu lodi. - - - - Ship_OutlineDraw - - - Outline draw - Kreslení obrysu - - - - Plots the ship hull outline draw - Vykreslí řezy obrysu trupu lodi - - - - ship_areas - - - Draft - Ponor - - - - Displacement - Posunutí - - - - Areas curve tool draft selected [m] - Vybrán nástroj Křivka ploch [m] - - - - Plot the transversal areas curve - Vykreslí křivku příčných průřezových ploch - - - - Areas curve tool trim selected [deg] - Vybrán nástroj průřezových křivek [deg] - - - - Trim angle - Úhel sklonu - - - - Number of points - Počet bodů - - - - Areas curve tool number of points - Počet bodů nástroje pro křivky příčných průřezů - - - - ship_capacity - - - Tank capacity curve - Křivka kapacity nádrže - - - - Plot the tank capacity curve (level-volume curve) - Vykreslí křivku kapacity nádrže (křivka hladina-objem) - - - - Plot the tank capacity curve - Vykreslit křivku kapacity nádrže - - - - Number of points - Počet bodů - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Prosím, vytvořte nebo otevřete geometrii trupu lodi před použitím tohoto nástroje - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Lodní objekty mohou být vytvořeny pouze na geometrii trupu (mezi vybranými objekty nebylo nalezeno těleso) - - - - Computing hydrostatics - Počítaní hydrostatiky - - - - Computing external faces - Výpočet vnějších ploch - - - - Computing sections - Výpočet průřezů - - - - Any valid ship section found - Nebyl nalezen platný řez lodi - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Lodní objekty mohou být vytvořeny pouze na geometrii trupu (nebyl vybrán žádný objekt) - - - - A ship instance must be selected before using this tool (no objects selected) - Musí být vybrána instance lodi před použitím tohoto nástroje (nebyl vybrán žádný objekt) - - - - More than one ship have been selected (the extra ships will be ignored) - Je vybráno více než jedna loď (lodě navíc budou ignorovány) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Musí být vybrána instance lodi před použitím tohoto nástroje (ve vybraných objektech není platná loď) - - - - Plot module is disabled, so I cannot perform the plot - modul Graf je deaktivován, nemohu vykresit graf - - - - A ship instance must be selected before use this tool (no objects selected) - Musí být vybrána instance lodi před použitím tohoto nástroje (nebyl vybrán žádný objekt) - - - - More than one ship has been selected (just the first one will be used) - Je vybráno více než jedna loď (bude použita první z nich) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Musí být vybrána instance lodi před použitím tohoto nástroje (ve vybraných objektech byla nalezena neplatná loď) - - - - Plot module is disabled, tools cannot graph output curves - modul Graf je deaktivován, nástroj nemůže vykreslit výsledné křivky - - - - Failure detecting external faces from the ship object - Selhala detekce vnějších ploch z objektu lodi - - - - A tank instance must be selected before using this tool (no objects selected) - Instance nádrže musí být vybrána před použitím tohoto nástroje (nejsou vybrány objekty) - - - - More than one tank have been selected (the extra tanks will be ignored) - Je vybráno více než jedna nádrž (nádrže navíc budou ignorovány) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Instance nádrže musí být vybrána před použitím tohoto nástroje (mezi vybranými objekty nebyla nalezena platná nádrž) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operace objemu nádrže se nezdařila. Nástroj se o to znovu pokouší s mírným posunem pozice volného povrchu - - - - A loading condition instance must be selected before using this tool (no objects selected) - Instance podmínky zatížení musí být vybrána před použitím tohoto nástroje (nejsou vybrány objekty) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Chybný popisek loďi! (žádné instance označena jako "{}" nalezena) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Nejednoznačný popisek loďi! (instance {} označené jako "{}" nalezeny) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Vybrána více než jedna hodnota výtlaku (hodnota výtlaku, která je navíc bude ignorována) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Hodnot výtlaku musí být před použitím tohoto nástroje vybrána ( nenalezena správná hodnota u vybraného objektu) - - - - Too much weight! The ship will never displace water enough - Příliš těžké! Loď nikdy nebude mít dostatečný výtlak - - - - Wrong Weight label! (no instances labeled as'{}' found) - Chybný popisek váhy! (žádné instance označena jako "{}" nalezena) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Nejednoznačný popisek váhy! (instance {} označené jako "{}" nalezeny) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Nesprávná váha! (objekt označen jako '{}' nemá váhu) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Chybný popisek nádrže! (žádná instance označena jako "{}" nalezena) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Nejednoznačný popisek nádrže! (instance {} označené jako "{}" nalezeny) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Nesprávná Nádrž! (objekt označen jako '{}' není nádrž) - - - - Computing capacity curves - Výpočet křivky kapacity - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Booleovská operace selhala při pokusu o získání strany pod hladinou. Nástroj znovu zkouší tuto operaci pomocí malého posunu pozice volné plochy - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: selhal výpočet příčné plochy - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Byl zjištěn nulový objem při výpočtu posunutí! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Plovoucí plocha nemůže být vypočtena - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Byla zjištěna nulová plocha při výpočtu plovoucí plochy! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Plocha hlavního rámce nemůže být vypočtena - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Byla zjištěna nulová plocha při výpočtu koeficientu rámové plochy! - - - - ship_create - - - Base line - Základní čára - - - - Free surface - Volný povrch - - - - Forward perpendicular - Přední svislice - - - - After perpendicular - Zadní svislice - - - - Main frame - Hlavní žebro - - - - Create a new ship - Vytvořit novou loď - - - - Length - Délka - - - - Breadth - Šíře - - - - Draft - Ponor - - - - ship_gz - - - GZ curve computation - Výpočet křivky GZ - - - - Plot the GZ curve - Nakreslit křivku GZ - - - - Maximum angle - Maximální úhel - - - - Number of points - Počet bodů - - - - Variable trim - Proměnná střihu - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Loď bude natočena do rovnovážného úhlu podélného sklonu pro každý příčný náklon, což významně zvýší potřebný výpočtový čas - - - - GZ curve tool angle selected [deg] - Vybrán nástroj GZ křivky [deg] - - - - GZ curve tool number of points selected - Vybrán nástroj GZ křivky pro několik bodů - - - - GZ curve tool variable trim angle selection - Výběř nástroje GZ křivky pro proměnný podélný sklon - - - - ship_hydrostatic - - - Plot hydrostatics - Nakreslit hydrostatiky - - - - Trim - Oříznout - - - - Minimum draft - Minimální ponor - - - - Maximum draft - Maximální ponor - - - - Number of points - Počet bodů - - - - Hydrostatics tool trim selected - Hydrostatický nástroj ořezu vybrán - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatický nástroj minimálního ponoru vybrán [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatický nástroj maximálního ponoru vybrán [m] - - - - Hydrostatics tool number of points selected - Hydrostatický nástroj počtu bodů vybrán - - - - ship_load - - - Load example ship - Načíst vzorovou loď - - - - Select ship example geometry - Vyterte vzorovou geometrii lodi - - - - ship_loadcondition - - - Create a new loading condition - Vytvoří nové podmínky zatížení - - - - Create a new load condition spreadsheet - Vytvoří tabulku nových podmínek zatížení - - - - ship_outline - - - Outline draw - Kreslení obrysu - - - - Auto create - Automatické vytvoření - - - - Delete all sections - Vymazat všechny průřezy - - - - Create sections - Vytvořit průřezy - - - - Transversal - Příčný - - - - Longitudinal - Podélné - - - - Water lines - Vodorysky - - - - Transversal section positions [m] - Pozice příčných průřezů [m] - - - - Longitudinal section positions [m] - Podélný řez poloha [m] - - - - Water line positions [m] - Poloha vodní hladiny [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Pravda, pokud je vybrána platná instance nádrže, jinak Nepravda - - - - Create a new tank - Vytvoří novou nádrž - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Objekty nádrží mohou být vytvořeny pouze na jejich geometrii (nejsou vybrány objekty) - - - - No solids found in the selected objects - Ve vybraných objektech nebyla nalezena tělesa - - - - There are not ship objects to create weights into them - Nejsou zde objekty lodi pro vytvoření jejich hmotností - - - - Ship - Loď - - - - ship_weight - - - Create a new ship weight - Vytvoří novou hmotnost lodi - - - - True if it is a valid weight instance, False otherwise - Pravda, pokud je platná instance hmotnosti, jinak Nepravda - - - - Mass [kg] - Hmotnost [kg] - - - - Linear density [kg / m] - Lineární hustota [kg / m] - - - - Density [kg / m^3] - Hustota [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Objekty hmotnosti mohou být vytvořeny pouze na jejich geometrii (nejsou vybrány objekty) - - - - No geometrical shapes found in the selected objects - Ve vybraných objektech nebyly nalezeny geometrické tvary - - - - There are not ship objects to create weights into them - Nejsou zde objekty lodi pro vytvoření jejich hmotností - - - - Create a new weight - Vytvořit novou hmotnost - - - - Ship - Loď - - - - Mass - Hmotnost - - - - Linear density - Lineární hustota - - - - Area density - Plošná hustota - - - - Density - Hustota - - - - Area density [kg / m^2] - Plošná hustota [kg / m^2] - - - - Unknown object shapes selected - Jsou vybrány neznámé objekty tvarů - - - diff --git a/src/Mod/Ship/resources/translations/Ship_de.qm b/src/Mod/Ship/resources/translations/Ship_de.qm deleted file mode 100644 index d4dc2dd1e4..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_de.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_de.ts b/src/Mod/Ship/resources/translations/Ship_de.ts deleted file mode 100644 index 304516b797..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_de.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Schiffsentwurf - - - - Weights - Massen - - - - True if it is a valid ship instance, False otherwise - True, falls es eine gültige Schiffs-Instanz ist, ansonsten False - - - - Ship length [m] - Schiffslänge [m] - - - - Ship breadth [m] - Schiffsbreite [m] - - - - Ship draft [m] - Schiffsentwurf [m] - - - - Set of external faces of the ship hull - Satz von externen Flächen des Schiffsrumpfes - - - - Set of weight instances - Menge von Massen - - - - Set of tank instances - Menge von Tanks - - - - Set of load conditions - Gruppe von Beladungszuständen - - - - Ship_AreasCurve - - - Areas curve - Flächeninhalt Kurvenlinie - - - - Plot the transversal areas curve - Schaubild der transversal Flächenkurve erstellen - - - - Ship_CreateShip - - - Create a new ship - Erstelle ein neues Schiff - - - - Create a new ship instance on top of the hull geometry - Erstelle eine neue Schiffsinstanz über der Rumpfgeometrie - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatik - - - - Plot the ship hydrostatics - Plot der Schiff-Hydrostatik - - - - Ship_LoadExample - - - Load an example ship geometry - Lade ein Beispiel einer Schiffsgeometrie - - - - Load an example ship hull geometry. - Lade eine Beispiel Schiffsrumpfgeometrie. - - - - Ship_OutlineDraw - - - Outline draw - Kontur Ansicht - - - - Plots the ship hull outline draw - Drucken der Schiffs-Umriss-Zeichnung - - - - ship_areas - - - Draft - Tiefgang - - - - Displacement - Verdrängung - - - - Areas curve tool draft selected [m] - Ausgewähltes Flächenkurvenwerkzeug: Entwurf [m] - - - - Plot the transversal areas curve - Schaubild der transversal Flächenkurve erstellen - - - - Areas curve tool trim selected [deg] - Beschneidung für Flächenkurvenwerkzeug ausgewählt [Grad] - - - - Trim angle - Winkel schneiden - - - - Number of points - Anzahl der Punkte - - - - Areas curve tool number of points - Bereiche Kurven Werkzeug Anzahl der Punkte - - - - ship_capacity - - - Tank capacity curve - Tankkapazitätskurve - - - - Plot the tank capacity curve (level-volume curve) - Zeichne die Tankkapazitätskurve (Füllstand-Volumen Kurve) - - - - Plot the tank capacity curve - Zeichne die Tankkapazitätskurve - - - - Number of points - Anzahl der Punkte - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Bitte erstellen oder laden Sie eine Rumpfgeometrie bevor Sie dieses Werkzeug verwenden - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Schiffs-Objekte können nur oberhalb der Rumpf Geometrie erstellt werden (keine Volumenkörper unter den gewählten Objekten) - - - - Computing hydrostatics - Berechnung der Hydrostatik - - - - Computing external faces - Berechnung der äusseren Flächen - - - - Computing sections - Berechne Abschnitte - - - - Any valid ship section found - Keine gültigen Schiffsabschnitte gefunden - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Schiffs-Objekte können nur oberhalb der Rumpf Geometrie erstellt werden (beliebiges Objekt ausgewählt) - - - - A ship instance must be selected before using this tool (no objects selected) - Eine Schiff-Instanz muss aktiviert sein, bevor Sie dieses Tool benutzen können (keine Objekte ausgewählt) - - - - More than one ship have been selected (the extra ships will be ignored) - Mehr als ein Schiff wurde ausgewählt (die zusätzliche Schiffe werden ignoriert) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Eine Schiff-Instanz muss gewählt sein, bevor Sie dieses Tool benutzen können (keine gültiges Schiff bei den ausgewählten Objekten gefunden) - - - - Plot module is disabled, so I cannot perform the plot - Druck-Modul deaktiviert, Druck kann nicht ausgeführt werden - - - - A ship instance must be selected before use this tool (no objects selected) - Eine Schiff-Instanz muss aktiviert sein, bevor Sie dieses Tool benutzen können (keine Objekte ausgewählt) - - - - More than one ship has been selected (just the first one will be used) - Mehr als ein Schiff wurde ausgewählt (nur das erste wird verwendet) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Eine Schiff-Instanz muss gewählt sein, bevor Sie dieses Tool benutzen können (keine gültiges Schiff bei den ausgewählten Objekten gefunden) - - - - Plot module is disabled, tools cannot graph output curves - Plot-Modul deaktiviert, Tools können die Ausgabe-Kurven nicht zeichnen - - - - Failure detecting external faces from the ship object - Fehler beim Erkennen der externen Flächen des Schiffs-Objektes - - - - A tank instance must be selected before using this tool (no objects selected) - Ein Tank muss ausgewählt sein, bevor dieses Werkzeug verwendet werden kann (kein Objekt ausgewählt) - - - - More than one tank have been selected (the extra tanks will be ignored) - Mehr als ein Tank ist ausgewählt (die zusätzlichen Tanks werden ignoriert) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Ein Tank muss ausgewählt sein, bevor dieses Werkzeug verwendet werden kann (kein gültiger Tank bei den ausgewählten Objekten gefunden) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tankvolumenbetrieb fehlgeschlagen. Das Werkzeug versucht erneut, dass die freie Oberflächenposition sich verschiebt - - - - A loading condition instance must be selected before using this tool (no objects selected) - Belastungszustand-Instanz muss aktiviert sein, bevor Sie mit diesem Tool arbeiten (keine Objekte ausgewählt) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Falsche Schiffsbezeichnung! (keine Instanzen, die mit der Bezeichnung '{}' gefunden) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Mehrdeutige Schiffsbezeichnung! ({} Instanzen mit der Bezeichnung '{}' gefunden) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Mehr als ein Beladungszustand wurden ausgewählt (die zusätzlichen Beladungszustände werden ignoriert) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Beladungszustand Instanz muss aktiviert sein, bevor Sie mit diesem Tool arbeiten (keine gültiger Beladungszustand für die ausgewählten Objekte gefunden) - - - - Too much weight! The ship will never displace water enough - Zu viel Gewicht! Das Schiff wird nie genug Wasser verdrängen - - - - Wrong Weight label! (no instances labeled as'{}' found) - Falsche Gewichtsbezeichnung! (keine Instanzen, die mit der Bezeichnung '{}' gefunden) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Mehrdeutige Gewichtsbezeichnung! ({} Instanzen mit der Bezeichnung '{}' gefunden) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - UngültigesGewicht! (das Objekt mit der Bezeichnung '{}' ist kein Gewicht) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Falsche Tankbezeichnung! (keine Instanzen, die mit der Bezeichnung '{}' gefunden) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Mehrdeutige Tankbezeichnung! ({} Instanzen mit der Bezeichnung '{}' gefunden) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Ungültiger Tank! (das Objekt mit der Bezeichnung '{}' ist kein Tank) - - - - Computing capacity curves - Kapazität Kurven Berechnung - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolesche Operation ist fehlgeschlagen beim Versuch die Unterwasser Seite zu erhalten. Das Tool versucht es nochmals mit einer leicht Verschiebung der freien Oberfläche - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: transversale Flächenberechnung fehlgeschlagen - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null Volumen bei der Verschiebungsberechnung gefunden! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Haupt Rahmen Fläche kann nicht berechnet werden - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null Volumen bei der Verschiebungsberechnung gefunden! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Haupt Rahmen Fläche kann nicht berechnet werden - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null Volumen bei der Verschiebungsberechnung gefunden! - - - - ship_create - - - Base line - Grundlinie - - - - Free surface - Freifläche - - - - Forward perpendicular - Rechtwinklig vorwärts - - - - After perpendicular - Rechtwinklig rückwärts - - - - Main frame - Hauptrahmen - - - - Create a new ship - Erstelle ein neues Schiff - - - - Length - Länge - - - - Breadth - Breite - - - - Draft - Tiefgang - - - - ship_gz - - - GZ curve computation - Berechnung der GZ-Kurve - - - - Plot the GZ curve - Die GZ-Kurve zeichnen - - - - Maximum angle - Maximaler Winkel - - - - Number of points - Anzahl der Punkte - - - - Variable trim - Variable abschneiden - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Das Schiff wird für jeden Rollwinkel zum Gleichgewichts-Trimmwinkel gedreht. Es erhöht die benötigte Rechenzeit erheblich - - - - GZ curve tool angle selected [deg] - Winkel [deg] mit GZ-Kurvenwerkzeug ausgewählt - - - - GZ curve tool number of points selected - Anzahl von Punkten mit GZ-Kurvenwerkzeug ausgewählt - - - - GZ curve tool variable trim angle selection - GZ-Kurve Werkzeug variable Trimmwinkelauswahl - - - - ship_hydrostatic - - - Plot hydrostatics - Zeichne Hydrostatik - - - - Trim - Beschneiden - - - - Minimum draft - Minimaler Tiefgang - - - - Maximum draft - Maximaler Tiefgang - - - - Number of points - Anzahl der Punkte - - - - Hydrostatics tool trim selected - Hydrostatik-Werkzeug Beschneidung ausgewählt - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatikwerkzeug für minimalen Tiefgang ausgewählt [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatikwerkzeug für maximalen Tiefgang ausgewählt [m] - - - - Hydrostatics tool number of points selected - Hydrostatik-Werkzeug ausgewählt: Anzahl Punkte - - - - ship_load - - - Load example ship - Beispiel Schiff laden - - - - Select ship example geometry - Wählen Sie Schiffs Beispiel Geometrie - - - - ship_loadcondition - - - Create a new loading condition - Erstelle neuen Beladungszustand - - - - Create a new load condition spreadsheet - Erstelle eine neue Kalkulationstabelle für Beladungszustand - - - - ship_outline - - - Outline draw - Kontur Ansicht - - - - Auto create - Automatisch erstellen - - - - Delete all sections - Lösche alle Abschnitte - - - - Create sections - Erstelle Abschnitte - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Wasserlinien - - - - Transversal section positions [m] - Position der transversalen Abschnitte [m] - - - - Longitudinal section positions [m] - Position der longitudinalen Abschnitte [m] - - - - Water line positions [m] - Position der Wasserlinien [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Wahr falls es ein gültiger Tank ist, Falsch sonst - - - - Create a new tank - Erstelle einen neuen Tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks können nur in ihren Geometrien erstellt werden (kein Objekt ausgewählt) - - - - No solids found in the selected objects - Kein Volumenkörper im ausgewähltem Objekt vorhanden - - - - There are not ship objects to create weights into them - Es existieren keine Schiff Objekte um Massen in ihnen zu erstellen - - - - Ship - Schiff - - - - ship_weight - - - Create a new ship weight - Erstellt eine neue Schiffsmasse - - - - True if it is a valid weight instance, False otherwise - True wenn es eine valide Masse ist, False andernfalls - - - - Mass [kg] - Masse [kg] - - - - Linear density [kg / m] - längenbezogene Masse [kg/m] - - - - Density [kg / m^3] - Dichte [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Massen können nur in ihren Geometrien erstellt werden (kein Objekt ausgewählt) - - - - No geometrical shapes found in the selected objects - Keine geometrischen Formen im ausgewählten Objekt gefunden - - - - There are not ship objects to create weights into them - Es existieren keine Schiff Objekte um Massen in ihnen zu erstellen - - - - Create a new weight - Erstellt eine neue Masse - - - - Ship - Schiff - - - - Mass - Masse - - - - Linear density - längenbezogene Masse - - - - Area density - flächenbezogene Masse - - - - Density - Dichte - - - - Area density [kg / m^2] - Flächenbezogene Masse [kg / m^2] - - - - Unknown object shapes selected - Unbekannte Formen ausgewählt - - - diff --git a/src/Mod/Ship/resources/translations/Ship_el.qm b/src/Mod/Ship/resources/translations/Ship_el.qm deleted file mode 100644 index 28529c8d34..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_el.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_el.ts b/src/Mod/Ship/resources/translations/Ship_el.ts deleted file mode 100644 index bed9cf620b..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_el.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Σχεδιασμός πλοίων - - - - Weights - Βάρη - - - - True if it is a valid ship instance, False otherwise - Αληθές αν πρόκειται για έγκυρο παράδειγμα πλοίου, Ψευδές σε κάθε άλλη περίπτωση - - - - Ship length [m] - Μήκος πλοίου [m] - - - - Ship breadth [m] - Πλάτος πλοίου [m] - - - - Ship draft [m] - Βύθισμα πλοίου [m] - - - - Set of external faces of the ship hull - Σύνολο εξωτερικών όψεων της γάστρας πλοίου - - - - Set of weight instances - Σύνολο παραδειγμάτων βαρών - - - - Set of tank instances - Σύνολο παραδειγμάτων δεξαμενών - - - - Set of load conditions - Σύνολο συνθηκών φόρτωσης - - - - Ship_AreasCurve - - - Areas curve - Καμπύλη εμβαδού - - - - Plot the transversal areas curve - Δημιουργία γραφήματος καμπύλης εμβαδού εγκάρσιας διατομής - - - - Ship_CreateShip - - - Create a new ship - Δημιουργία ενός νέου πλοίου - - - - Create a new ship instance on top of the hull geometry - Δημιουργία ενός νέου παραδείγματος πλοίου πάνω στην γεωμετρία της γάστρας πλοίου - - - - Ship_Hydrostatics - - - Hydrostatics - Υδροστατική - - - - Plot the ship hydrostatics - Δημιουργία γραφημάτων υδροστατικής του πλοίου - - - - Ship_LoadExample - - - Load an example ship geometry - Φόρτωση ενός παραδείγματος γεωμετρίας πλοίου - - - - Load an example ship hull geometry. - Φόρτωση ενός παραδείγματος γεωμετρίας γάστρας πλοίου. - - - - Ship_OutlineDraw - - - Outline draw - Σχεδίαση περιγράμματος - - - - Plots the ship hull outline draw - Δημιουργεί το γράφημα περιγράμματος της γάστρας πλοίου - - - - ship_areas - - - Draft - Βύθισμα - - - - Displacement - Εκτόπισμα - - - - Areas curve tool draft selected [m] - Έχει επιλεχθεί το εργαλείο καμπύλης εμβαδού βυθίσματος [m] - - - - Plot the transversal areas curve - Δημιουργία γραφήματος καμπύλης εμβαδού εγκάρσιας διατομής - - - - Areas curve tool trim selected [deg] - Έχει επιλεχθεί το εργαλείο καμπύλης εμβαδού διαγωγής [deg] - - - - Trim angle - Γωνία διαγωγής - - - - Number of points - Αριθμός σημείων - - - - Areas curve tool number of points - Αριθμός σημείων εργαλείου καμπύλης εμβαδού - - - - ship_capacity - - - Tank capacity curve - Καμπύλη χωρητικότητας δεξαμενής - - - - Plot the tank capacity curve (level-volume curve) - Δημιουργία γραφήματος της καμπύλης χωρητικότητας δεξαμενής (καμπύλη στάθμης-όγκου) - - - - Plot the tank capacity curve - Δημιουργία γραφήματος της καμπύλης χωρητικότητας δεξαμενής - - - - Number of points - Αριθμός σημείων - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Παρακαλώ δημιουργήστε ή φορτώστε γεωμετρία γάστρας πλοίου πριν χρησιμοποιήσετε αυτό το εργαλείο - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Τα αντικείμενα πλοίων μπορούν να δημιουργηθούν μόνο πάνω στην γεωμετρία της γάστρας πλοίου (δεν βρέθηκε κανένα στερεό στα επιλεγμένα αντικείμενα) - - - - Computing hydrostatics - Υπολογισμός μεγεθών υδροστατικής - - - - Computing external faces - Υπολογισμός εξωτερικών όψεων - - - - Computing sections - Υπολογισμός τομών - - - - Any valid ship section found - Δεν βρέθηκε έγκυρη τομή του πλοίου - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Τα αντικείμενα πλοίων μπορούν να δημιουργηθούν μόνο πάνω στην γεωμετρία της γάστρας πλοίου (δεν επιλέχθηκαν αντικείμενα) - - - - A ship instance must be selected before using this tool (no objects selected) - Πρέπει να επιλεχθεί ένα παράδειγμα πλοίου πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν επιλέχθηκαν αντικείμενα) - - - - More than one ship have been selected (the extra ships will be ignored) - Έχουν επιλεχθεί περισσότερα από ένα πλοία. (τα επιπλέον πλοία θα αγνοηθούν) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Πρέπει να επιλεχθεί ένα παράδειγμα πλοίου πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν βρέθηκε κανένα έγκυρο πλοίο στα επιλεγμένα αντικείμενα) - - - - Plot module is disabled, so I cannot perform the plot - Η λειτουργική μονάδα γραφήματος είναι απενεργοποιημένη, οπότε είναι αδύνατη η δημιουργία γραφήματος - - - - A ship instance must be selected before use this tool (no objects selected) - Πρέπει να επιλεχθεί ένα παράδειγμα πλοίου πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν επιλέχθηκαν αντικείμενα) - - - - More than one ship has been selected (just the first one will be used) - Έχουν επιλεχθεί περισσότερα από ένα πλοία. (μόνο το πρώτο θα χρησιμοποιηθεί) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Πρέπει να επιλεχθεί ένα παράδειγμα πλοίου πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν βρέθηκε κανένα έγκυρο πλοίο στα επιλεγμένα αντικείμενα) - - - - Plot module is disabled, tools cannot graph output curves - Η λειτουργική μονάδα γραφήματος είναι απενεργοποιημένη, αδύνατη η χάραξη καμπύλων εξόδου με τη χρήση εργαλείων - - - - Failure detecting external faces from the ship object - Αποτυχία ανίχνευσης εξωτερικών όψεων του αντικειμένου του πλοίου - - - - A tank instance must be selected before using this tool (no objects selected) - Πρέπει να επιλεχθεί ένα παράδειγμα δεξαμενής πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν επιλέχθηκαν αντικείμενα) - - - - More than one tank have been selected (the extra tanks will be ignored) - Έχουν επιλεχθεί περισσότερες από μια δεξαμενές. (οι επιπλέον δεξαμενές θα αγνοηθούν) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Πρέπει να επιλεχθεί ένα παράδειγμα δεξαμενής πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν βρέθηκε καμία έγκυρη δεξαμενή στα επιλεγμένα αντικείμενα) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Η λειτουργία όγκου δεξαμενής απέτυχε. Το εργαλείο επαναλαμβάνει την ενέργεια μετακινώντας ελαφρώς την θέση της ελεύθερης επιφάνειας - - - - A loading condition instance must be selected before using this tool (no objects selected) - Πρέπει να επιλεχθεί ένα παράδειγμα συνθηκών φόρτωσης πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν επιλέχθηκαν αντικείμενα) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Λάθος ετικέτα Πλοίου! (δεν βρέθηκαν παραδείγματα με ετικέτα'{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ασαφής ετικέτα Πλοίου! (βρέθηκαν {} παραδείγματα με ετικέτα'{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Έχουν επιλεχθεί περισσότερες από μια συνθήκες φόρτωσης (οι επιπλέον συνθήκες φόρτωσης θα αγνοηθούν) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Πρέπει να επιλεχθεί ένα παράδειγμα συνθηκών φόρτωσης πριν χρησιμοποιήσετε αυτό το εργαλείο (δεν βρέθηκε καμία έγκυρη συνθήκη φόρτωσης στα επιλεγμένα αντικείμενα) - - - - Too much weight! The ship will never displace water enough - Πάρα πολύ βάρος! Το πλοίο δεν πρόκειται ποτέ να εκτοπίσει αρκετό νερό - - - - Wrong Weight label! (no instances labeled as'{}' found) - Λάθος ετικέτα Βάρους! (δεν βρέθηκαν παραδείγματα με ετικέτα'{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ασαφής ετικέτα Βάρους! (βρέθηκαν {} παραδείγματα με ετικέτα'{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Μη Έγκυρο Βάρος! (το αντικείμενο με ετικέτα'{}' δεν είναι βάρος) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Λάθος ετικέτα Δεξαμενής! (δεν βρέθηκαν παραδείγματα με ετικέτα'{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ασαφής ετικέτα Δεξαμενής! (βρέθηκαν {} παραδείγματα με ετικέτα'{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Μη Έγκυρη Δεξαμενή! (το αντικείμενο με ετικέτα'{}' δεν είναι δεξαμενή) - - - - Computing capacity curves - Υπολογισμός καμπύλων χωρητικότητας - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Η πράξη Άλγεβρας Boole απέτυχε κατά την προσπάθεια λήψης της υποβρύχιας πλευράς. Το εργαλείο επαναλαμβάνει την ενέργεια μετακινώντας ελαφρώς την θέση της ελεύθερης επιφάνειας - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Ο υπολογισμός εμβαδού εγκάρσιας διατομής απέτυχε - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Βρέθηκε μηδενικός όγκος κατά τον υπολογισμό εκτοπίσματος! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Το εμβαδόν επιφάνειας πλεύσης δεν δύναται να υπολογιστεί - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Βρέθηκε μηδενικό εμβαδόν κατά τον υπολογισμό εμβαδού επιφάνειας πλεύσης! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Δεν είναι εφικτός ο υπολογισμός εμβαδού του κυρίου πλαισίου - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Βρέθηκε μηδενικό εμβαδόν κατά τον υπολογισμό του συντελεστή επιφάνειας του κυρίου πλαισίου! - - - - ship_create - - - Base line - Γραμμή βάσης - - - - Free surface - Ελεύθερη επιφάνεια - - - - Forward perpendicular - Πρωραία κάθετος - - - - After perpendicular - Πρυμναία κάθετος - - - - Main frame - Κύριο πλαίσιο - - - - Create a new ship - Δημιουργία ενός νέου πλοίου - - - - Length - Μήκος - - - - Breadth - Πλάτος - - - - Draft - Βύθισμα - - - - ship_gz - - - GZ curve computation - Υπολογισμός καμπύλης στατικής ευστάθειας - - - - Plot the GZ curve - Δημιουργία γραφήματος καμπύλης στατικής ευστάθειας - - - - Maximum angle - Μέγιστη γωνία - - - - Number of points - Αριθμός σημείων - - - - Variable trim - Μεταβλητή διαγωγή - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Το πλοίο θα επιστρέψει στη γωνία διαμήκους ισορροπίας για κάθε γωνία κλίσης. Αυτό θα αυξήσει σημαντικά τον απαιτούμενο χρόνο υπολογισμών - - - - GZ curve tool angle selected [deg] - Επιλέχθηκε γωνία για το εργαλείο καμπύλης στατικής ευστάθειας [deg] - - - - GZ curve tool number of points selected - Επιλέχθηκε αριθμός σημείων για το εργαλείο καμπύλης στατικής ευστάθειας - - - - GZ curve tool variable trim angle selection - Επιλογή εργαλείου καμπύλης στατικής ευστάθειας για μεταβλητή γωνία διαγωγής - - - - ship_hydrostatic - - - Plot hydrostatics - Δημιουργία γραφημάτων υδροστατικής - - - - Trim - Περικοπή - - - - Minimum draft - Ελάχιστο βύθισμα - - - - Maximum draft - Μέγιστο βύθισμα - - - - Number of points - Αριθμός σημείων - - - - Hydrostatics tool trim selected - Έχει επιλεχθεί το εργαλείο γραφημάτων υδροστατικής διαγωγής [m] - - - - Hydrostatics tool minimum draft selected [m] - Έχει επιλεχθεί το εργαλείο γραφημάτων υδροστατικής ελαχίστου βυθίσματος [m] - - - - Hydrostatics tool maximum draft selected [m] - Έχει επιλεχθεί το εργαλείο γραφημάτων υδροστατικής μεγίστου βυθίσματος [m] - - - - Hydrostatics tool number of points selected - Έχει επιλεχθεί ο αριθμός σημείων για το εργαλείο γραφημάτων υδροστατικής - - - - ship_load - - - Load example ship - Φόρτωση πλοίου παραδείγματος - - - - Select ship example geometry - Επιλέξτε παράδειγμα γεωμετρίας πλοίου - - - - ship_loadcondition - - - Create a new loading condition - Δημιουργία μιας νέας συνθήκης φόρτωσης - - - - Create a new load condition spreadsheet - Δημιουργία ενός νέου υπολογιστικού φύλλου συνθηκών φόρτωσης - - - - ship_outline - - - Outline draw - Σχεδίαση περιγράμματος - - - - Auto create - Αυτόματη δημιουργία - - - - Delete all sections - Διαγραφή όλων των τομών - - - - Create sections - Δημιουργία τομών - - - - Transversal - Εγκάρσιες - - - - Longitudinal - Διαμήκεις - - - - Water lines - Ίσαλοι - - - - Transversal section positions [m] - Θέσεις εγκάρσιων τομών [m] - - - - Longitudinal section positions [m] - Θέσεις διαμήκων τομών [m] - - - - Water line positions [m] - Θέσεις ισάλων [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Αληθές αν πρόκειται για έγκυρο παράδειγμα δεξαμενής, Ψευδές σε κάθε άλλη περίπτωση - - - - Create a new tank - Δημιουργία μιας νέας δεξαμενής - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Τα αντικείμενα δεξαμενών μπορούν να δημιουργηθούν μόνο πάνω στην γεωμετρία του (δεν επιλέχθηκαν αντικείμενα) - - - - No solids found in the selected objects - Δεν βρέθηκαν στερεά στα επιλεγμένα αντικείμενα - - - - There are not ship objects to create weights into them - Δεν υπάρχουν αντικείμενα πλοίων ώστε να δημιουργηθούν βάρη εντός αυτών - - - - Ship - Πλοίο - - - - ship_weight - - - Create a new ship weight - Δημιουργήστε ένα νέο βάρος πλοίου - - - - True if it is a valid weight instance, False otherwise - Αληθές αν πρόκειται για έγκυρο παράδειγμα βάρους, Ψευδές σε κάθε άλλη περίπτωση - - - - Mass [kg] - Μάζα [kg] - - - - Linear density [kg / m] - Γραμμική πυκνότητα [κιλά / μέτρο] - - - - Density [kg / m^3] - Πυκνότητα [κιλά / κυβικό μέτρο] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Τα αντικείμενα βάρους μπορούν να δημιουργηθούν μόνο πάνω στην γεωμετρία του (δεν επιλέχθηκαν αντικείμενα) - - - - No geometrical shapes found in the selected objects - Δεν βρέθηκαν γεωμετρικά σχήματα στα επιλεγμένα αντικείμενα - - - - There are not ship objects to create weights into them - Δεν υπάρχουν αντικείμενα πλοίων ώστε να δημιουργηθούν βάρη εντός αυτών - - - - Create a new weight - Δημιουργία ενός νέου βάρους - - - - Ship - Πλοίο - - - - Mass - Μάζα - - - - Linear density - Γραμμική πυκνότητα - - - - Area density - Επιφανειακή πυκνότητα - - - - Density - Πυκνότητα - - - - Area density [kg / m^2] - Επιφανειακή πυκνότητα [κιλά / τετραγωνικό μέτρο] - - - - Unknown object shapes selected - Επιλέχθηκαν άγνωστα σχήματα αντικειμένων - - - diff --git a/src/Mod/Ship/resources/translations/Ship_es-ES.qm b/src/Mod/Ship/resources/translations/Ship_es-ES.qm deleted file mode 100644 index f9bb7b616b..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_es-ES.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_es-ES.ts b/src/Mod/Ship/resources/translations/Ship_es-ES.ts deleted file mode 100644 index 8312ec5fce..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_es-ES.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Diseño naval - - - - Weights - Pesas - - - - True if it is a valid ship instance, False otherwise - Verdadero si es una una instancia del tanque válida. Falso de lo contrario - - - - Ship length [m] - Longitud de la nave [m] - - - - Ship breadth [m] - Manga del barco [m] - - - - Ship draft [m] - Calado del barco [m] - - - - Set of external faces of the ship hull - Conjunto de caras externas del casco del barco - - - - Set of weight instances - Conjunto de instancias de peso - - - - Set of tank instances - Conjunto de instancias del tanque - - - - Set of load conditions - Conjunto de condiciones de carga - - - - Ship_AreasCurve - - - Areas curve - Curva de áreas - - - - Plot the transversal areas curve - Trazar la curva de áreas transversales - - - - Ship_CreateShip - - - Create a new ship - Crear un nuevo barco - - - - Create a new ship instance on top of the hull geometry - Crear una nueva instancia de barco en lo alto de la geometría del casco - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostáticas - - - - Plot the ship hydrostatics - Dibujar hidrostática de la nave - - - - Ship_LoadExample - - - Load an example ship geometry - Cargar un ejemplo de geometría de barco - - - - Load an example ship hull geometry. - Cargar un ejemplo de casco. - - - - Ship_OutlineDraw - - - Outline draw - Dibujo del contorno - - - - Plots the ship hull outline draw - Dibuja el contorno del casco - - - - ship_areas - - - Draft - Calado - - - - Displacement - Desplazamiento - - - - Areas curve tool draft selected [m] - calado [m] para calcular la curva de áreas - - - - Plot the transversal areas curve - Trazar la curva de áreas transversales - - - - Areas curve tool trim selected [deg] - Herramienta para ajustar las curvas de área seleccionadas [grados] - - - - Trim angle - Ángulo de recorte - - - - Number of points - Número de puntos - - - - Areas curve tool number of points - Número de puntos de la herramienta de curva de áreas - - - - ship_capacity - - - Tank capacity curve - Curva de capacidad del tanque - - - - Plot the tank capacity curve (level-volume curve) - Trazar la curva de capacidad del tanque (curva de nivel de volumen) - - - - Plot the tank capacity curve - Trazar la curva de capacidad del tanque - - - - Number of points - Número de puntos - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Por favor, cree o cargue una geometría de casco de barco antes de usar esta herramienta - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Sólo se pueden crear objetos de barco sobre la geometría del casco (no sólido encontrado en los objetos seleccionados) - - - - Computing hydrostatics - Calculando hidrostática - - - - Computing external faces - Calculando caras externas - - - - Computing sections - Calcular secciones - - - - Any valid ship section found - Cualquier sección válida del barco encontrada - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Sólo se pueden crear objetos de barco sobre la geometría del casco (ningún objeto seleccionado) - - - - A ship instance must be selected before using this tool (no objects selected) - Se debe elegir un objeto ship antes de usar esta herramienta (ninguno seleccionado) - - - - More than one ship have been selected (the extra ships will be ignored) - Se han seleccionado más de una nave (se ignorarán las naves adicionales) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Un objeto ship debe seleccionarse antes de utilizar esta herramienta (no se ha encontrado ninguno entre la selección) - - - - Plot module is disabled, so I cannot perform the plot - El módulo de trazado de gráficos está desactivado, no se pueden dibujar gráficos - - - - A ship instance must be selected before use this tool (no objects selected) - Se debe elegir un objeto ship antes de usar esta herramienta (ninguno seleccionado) - - - - More than one ship has been selected (just the first one will be used) - Se ha seleccionado más de una nave (sólo la primera de ellas se utilizará) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Se debe seleccionar una instancia de barco antes de usar esta herramienta (no se ha encontrado ninguna en los objetos seleccionados) - - - - Plot module is disabled, tools cannot graph output curves - El módulo de gráficas no está habilitado, las herramientas no pueden representar las curvas de salida - - - - Failure detecting external faces from the ship object - Fallo detectando las caras externas del objeto barco - - - - A tank instance must be selected before using this tool (no objects selected) - Una instancia del tanque debe seleccionarse antes de utilizar esta herramienta (no objetos seleccionados) - - - - More than one tank have been selected (the extra tanks will be ignored) - Más de uno de los tanques han sido seleccionados (se omitirán los tanques adicionales) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Una instancia del tanque debe seleccionarse antes de utilizar esta herramienta (sin tanque válido en los objetos seleccionados) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - La operación de volumen del tanque falló. La herramienta está intentarlo mover ligeramente la posición de superficie libre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Una instancia de condición de carga debe ser seleccionada antes de usar ésta herramienta (no se seleccionaron objetos) - - - - Wrong Ship label! (no instances labeled as'{}' found) - ¡Etiqueta de nave incorrecta! (no se encontraron instancias etiquetadas como '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - ¡Etiqueta de nave ambigua! (se encontraron {} instancias etiquetadas como '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Mas de una condición de carga ha sido seleccionada (las condiciones de carga extra serán ignoradas) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Una instancia de condición de carga debe ser seleccionada antes de utilizar ésta herramienta (no se encontraron condiciones de carga válidas en los objetos seleccionados) - - - - Too much weight! The ship will never displace water enough - ¡Mucho peso! La nave nunca desplazará suficiente agua - - - - Wrong Weight label! (no instances labeled as'{}' found) - ¡Etiqueta de peso incorrecta! (no se encontraron instancias etiquetadas como '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - ¡Etiqueta de peso ambigua! (se encontraron {} instancias etiquetadas como '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - ¡Peso inválido! (el objeto etiquetado como '{}' no es un peso) - - - - Wrong Tank label! (no instances labeled as'{}' found) - ¡Etiqueta de tanque incorrecta! (no se encontraron instancias etiquetadas como '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - ¡Etiqueta de tanque ambigua! (se encontraron {} instancias etiquetadas como '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - ¡Tanque inválido! (el objeto etiquetado como '{}' no es un tanque) - - - - Computing capacity curves - Calculando curvas de capacidad - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operación booleana falló al intentar conseguir el lado bajo el agua. La herramienta está intentando ejecutar esa operación moviendo ligeramente la posición de superficie libre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: falló el cálculo del área transversal - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: ¡Volumen nulo encontrado durante el cálculo de desplazamiento! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Área flotante no puede ser calculada - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: ¡Área nula encontrada durante el cálculo de área flotante! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: El área del armazón principal no puede ser calculado - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: ¡Área nula encontrada durante el cálculo del coeficiente del área de la armazón principal! - - - - ship_create - - - Base line - Línea base - - - - Free surface - Superficie libre - - - - Forward perpendicular - Perpendicular de proa - - - - After perpendicular - Perpendicular de popa - - - - Main frame - Cuaderna maestra - - - - Create a new ship - Crear un nuevo barco - - - - Length - Longitud - - - - Breadth - Manga - - - - Draft - Calado - - - - ship_gz - - - GZ curve computation - Cálculo de la curva GZ - - - - Plot the GZ curve - Graficar la curva GZ - - - - Maximum angle - Ángulo máximo - - - - Number of points - Número de puntos - - - - Variable trim - Recorte variable - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - El barco será rotado al ángulo de compensación de equilibrio para cada ángulo de balanceo. Esto incrementará significativamente el tiempo de cálculo requerido - - - - GZ curve tool angle selected [deg] - Ángulo de la herramienta de curva GZ seleccionada [deg] - - - - GZ curve tool number of points selected - Número de puntos de herramienta de curva GZ seleccionada - - - - GZ curve tool variable trim angle selection - Selección del ángulo de ajuste variable de la herramienta de la curva GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Trazar hidrostática - - - - Trim - Recortar - - - - Minimum draft - Calado mínimo - - - - Maximum draft - Calado máximo - - - - Number of points - Número de puntos - - - - Hydrostatics tool trim selected - trimado para el cálculo de hidrostáticas - - - - Hydrostatics tool minimum draft selected [m] - calado mínimo para el cálculo de hidrostáticas [m] - - - - Hydrostatics tool maximum draft selected [m] - calado máximo para el cálculo de hidrostáticas [m] - - - - Hydrostatics tool number of points selected - número de puntos para calcular las hidrostáticas - - - - ship_load - - - Load example ship - Cargar barco de ejemplo - - - - Select ship example geometry - Seleccione ejemplo degeometría de barco - - - - ship_loadcondition - - - Create a new loading condition - Crear una nueva condición de carga - - - - Create a new load condition spreadsheet - Crear una nueva hoja de cálculo de condición de carga - - - - ship_outline - - - Outline draw - Dibujo del contorno - - - - Auto create - Auto crear - - - - Delete all sections - Eliminar todas las secciones - - - - Create sections - Crear secciones - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Líneas de agua - - - - Transversal section positions [m] - Posición de las secciones transversales [m] - - - - Longitudinal section positions [m] - Posición de las secciones longitudinal [m] - - - - Water line positions [m] - Posiciones de las líneas de agua [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Verdadero si es una una instancia del tanque válida. Falso de lo contrario - - - - Create a new tank - Crea un nuevo depósito - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Los objetos de deposito sólo se pueden crear en la parte superior de su geometría (no hay objetos seleccionados) - - - - No solids found in the selected objects - No hay sólidos encontrados en los objetos seleccionados - - - - There are not ship objects to create weights into them - No hay objetos de nave para crear peso en ellos - - - - Ship - Nave - - - - ship_weight - - - Create a new ship weight - Crear un nuevo peso de la nave - - - - True if it is a valid weight instance, False otherwise - Verdad si es una una instancia del tanque válida. Falso de lo contrario - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Densidad lineal [kg / m] - - - - Density [kg / m^3] - Densidad [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Sólo se pueden crear objetos de peso en la cima de su geometría (ningún objeto seleccionado) - - - - No geometrical shapes found in the selected objects - No hay formas geométricas encontradas en los objetos seleccionados - - - - There are not ship objects to create weights into them - No hay objetos de nave para crear peso en ellos - - - - Create a new weight - Crear un nuevo peso - - - - Ship - Nave - - - - Mass - Masa - - - - Linear density - Densidad lineal - - - - Area density - Área de densidad - - - - Density - Densidad - - - - Area density [kg / m^2] - Densidad de área [kg / m^2] - - - - Unknown object shapes selected - Formas de objeto desconocido seleccionadas - - - diff --git a/src/Mod/Ship/resources/translations/Ship_eu.qm b/src/Mod/Ship/resources/translations/Ship_eu.qm deleted file mode 100644 index 58b1460bc4..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_eu.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_eu.ts b/src/Mod/Ship/resources/translations/Ship_eu.ts deleted file mode 100644 index ec1331a7bf..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_eu.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Ontzien diseinua - - - - Weights - Pisuak - - - - True if it is a valid ship instance, False otherwise - Egia, baliozko ontzi-instantzia bada; Gezurra, ez bada - - - - Ship length [m] - Ontzi-luzera [m] - - - - Ship breadth [m] - Ontzi-zabalera [m] - - - - Ship draft [m] - Ontzi-zirriborroa [m] - - - - Set of external faces of the ship hull - Ontzi-kroskoaren kanpoko aurpegien multzoa - - - - Set of weight instances - Pisu-instantzien multzoa - - - - Set of tank instances - Andel-instantzien multzoa - - - - Set of load conditions - Zamatze-baldintzen multzoa - - - - Ship_AreasCurve - - - Areas curve - Areen kurba - - - - Plot the transversal areas curve - Trazau zeharkako areen kurba - - - - Ship_CreateShip - - - Create a new ship - Sortu ontzi berria - - - - Create a new ship instance on top of the hull geometry - Sortu ontzi-instantzia berria krosko-geometriaren gainean - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatika - - - - Plot the ship hydrostatics - Trazatu ontziaren hidrostatika - - - - Ship_LoadExample - - - Load an example ship geometry - Kargatu adibideko ontzi-geometria bat - - - - Load an example ship hull geometry. - Kargatu adibideko ontzi-krosko baten geometria. - - - - Ship_OutlineDraw - - - Outline draw - Eskema-marrazkia - - - - Plots the ship hull outline draw - Ontzi-kroskoaren eskema-marrazkia trazatzen du - - - - ship_areas - - - Draft - Zirriborroa - - - - Displacement - Desplazamendua - - - - Areas curve tool draft selected [m] - Areen kurbaren tresnaren zirriborroa hautatu da [m] - - - - Plot the transversal areas curve - Trazau zeharkako areen kurba - - - - Areas curve tool trim selected [deg] - Areen kurbaren tresnaren muxarratzea hautatu da [deg] - - - - Trim angle - Muxarratze-angelua - - - - Number of points - Puntu kopurua - - - - Areas curve tool number of points - Areen kurben tresnaren puntu kopurua - - - - ship_capacity - - - Tank capacity curve - Andel-edukieraren kurba - - - - Plot the tank capacity curve (level-volume curve) - Trazatu andel-edukieraren kurba (maila-bolumen kurba) - - - - Plot the tank capacity curve - Trazatu andel-edukieraren kurba - - - - Number of points - Puntu kopurua - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Sortu edo kargatu ontzi baten krosko-geometria tresna hau erabili baino lehen - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ontzi-objektuak krosko-geometria baten gainean soilik sor daitezke (ez da solidorik aurkitu hautatutako objektuetan) - - - - Computing hydrostatics - Hidrostatika kalkulatzen - - - - Computing external faces - Kanpoko aurpegiak kalkulatzen - - - - Computing sections - Sekzioak kalkulatzen - - - - Any valid ship section found - Aurkitutako baliozko edozein ontzi-sekzio - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ontzi-objektuak krosko-geometria baten gainean soilik sor daitezke (ez da objekturik hautatu) - - - - A ship instance must be selected before using this tool (no objects selected) - Ontzi-instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da objekturik hautatu) - - - - More than one ship have been selected (the extra ships will be ignored) - Ontzi bat baino gehiago hautatu da (soberan dauden ontziak ez ikusi egingo dira) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Ontzi-instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da baliozko ontzirik aurkitu hautatutako objektuetan) - - - - Plot module is disabled, so I cannot perform the plot - Trazaketarako modulua desgaituta dago eta, beraz, ezin da trazaketa gauzatu - - - - A ship instance must be selected before use this tool (no objects selected) - Ontzi-instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da objekturik hautatu) - - - - More than one ship has been selected (just the first one will be used) - Ontzi bat baino gehiago hautatu da (lehena soilik erabiliko da) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Ontzi-instantzia bat hautatu behar da tresna hau erabili baino lehen (baliozkoak ez diren ontziak aurkitu dira hautatutako objektuetan) - - - - Plot module is disabled, tools cannot graph output curves - Trazaketarako modulua desgaituta dago, tresnek ezin dituzten irteera-kurbak marraztu - - - - Failure detecting external faces from the ship object - Hutsegitea ontzi-objektuko kanpo-aurpegiak antzematean - - - - A tank instance must be selected before using this tool (no objects selected) - Andel-instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da objekturik hautatu) - - - - More than one tank have been selected (the extra tanks will be ignored) - Andel bat baino gehiago hautatu da (soberan dauden andelak ez ikusi egingo dira) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Andel-instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da baliozko andelik aurkitu hautatutako objektuetan) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Andel-bolumenaren eragiketak huts egin du. Tresna eragiketa berriro egiten saiatzen ari da, gainazal askearen posizioa pixka bat mugituz - - - - A loading condition instance must be selected before using this tool (no objects selected) - Zamatze-baldintzen instantzia bat hautatu behar da tresna hau erabili baino lehen (ez da objekturik hautatu) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Ontzi-etiketa okerra! (ez da aurkitu '{}' etiketa duen instantziarik) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ontzi-etiketa zalantzagarria! ('{}' etiketa duten {} instantzia aurkitu dira) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Zamatze-baldintza bat baino gehiago hautatu da (soberan dauden zamatze-baldintzak ez ikusi egingo dira) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Zamatze-baldintzako instantzia bat hautatu behar da tresna hau erabili ahal izateko (ez da baliozko zamatze-baldintzarik aurkitu hautatutako objektuetan) - - - - Too much weight! The ship will never displace water enough - Pisu gehiegi! Ontziak ez du inoiz ur nahikorik desplazatuko - - - - Wrong Weight label! (no instances labeled as'{}' found) - Pisu-etiketa okerra! (ez da aurkitu '{}' etiketa duen instantziarik) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Pisu-etiketa zalantzagarria! ('{}' etiketa duten {} instantzia aurkitu dira) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Baliogabeko pisua! ('{}' etiketa duen objektua ez da pisu bat) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Andel-etiketa okerra! (ez da aurkitu '{}' etiketa duen instantziarik) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Andel-etiketa zalantzagarria! ('{}' etiketa duten {} instantzia aurkitu dira) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Baliogabeko andela! ('{}' etiketa duen objektua ez da andel bat) - - - - Computing capacity curves - Edukiera-kurbak kalkulatzen - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Eragiketa boolearrak huts egin du ur azpiko aldea eskuratzen saiatzean. Tresna eragiketa berriro egiten saiatzen ari da, gainazal askearen posizioa pixka bat mugituz - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Zeharkako arearen kalkuluak huts egin du - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Bolumen nulua aurkitu da desplazamendua kalkulatzean! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Area mugikorra ezin da kalkulatu - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Area nulua aurkitu da area flotagarria kalkulatzean! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Marko-area nagusia ezin izan da kalkulatu - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Area nulua aurkitu da marko nagusiaren arearen koefizientea kalkulatzean! - - - - ship_create - - - Base line - Oinarrizko lerroa - - - - Free surface - Gainazal librea - - - - Forward perpendicular - Perpendikularraren aurretik - - - - After perpendicular - Perpendikularraren atzetik - - - - Main frame - Marko nagusia - - - - Create a new ship - Sortu ontzi berria - - - - Length - Luzera - - - - Breadth - Zabalera - - - - Draft - Zirriborroa - - - - ship_gz - - - GZ curve computation - GZ kurbaren kalkulua - - - - Plot the GZ curve - Trazatu GZ kurba - - - - Maximum angle - Angelu maximoa - - - - Number of points - Puntu kopurua - - - - Variable trim - Muxarratze aldakorra - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Ontzia zama orekatzeko angelura biratuko da balantza-angelu bakoitzerako. Horrek asko luzatuko du kalkulu-denbora - - - - GZ curve tool angle selected [deg] - GZ kurbaren tresnaren angelua hautatu da [deg] - - - - GZ curve tool number of points selected - GZ kurbaren tresnaren puntu kopurua hautatu da - - - - GZ curve tool variable trim angle selection - GZ kurba tresnaren muxarratze aldakorreko angeluaren hautaketa - - - - ship_hydrostatic - - - Plot hydrostatics - Trazatu hidrostatika - - - - Trim - Muxarratu - - - - Minimum draft - Zirriborro minimoa - - - - Maximum draft - Zirriborro maximoa - - - - Number of points - Puntu kopurua - - - - Hydrostatics tool trim selected - Hidrostatikako tresnaren muxarratzea hautatu da - - - - Hydrostatics tool minimum draft selected [m] - Hidrostatikako tresnaren zirriborro minimoa hautatu da [m] - - - - Hydrostatics tool maximum draft selected [m] - Hidrostatikako tresnaren zirriborro maximoa hautatu da [m] - - - - Hydrostatics tool number of points selected - Hidrostatikako tresnaren puntu kopurua hautatu da - - - - ship_load - - - Load example ship - Kargatu adibideko ontzia - - - - Select ship example geometry - Hautatu adibideko ontzi-geometria bat - - - - ship_loadcondition - - - Create a new loading condition - Sortu beste zamatze-baldintza bat - - - - Create a new load condition spreadsheet - Sortu zamatze-baldintzen kalkulu-orri berria - - - - ship_outline - - - Outline draw - Eskema-marrazkia - - - - Auto create - Sortu automatikoki - - - - Delete all sections - Ezabatu sekzio guztiak - - - - Create sections - Sortu zekzioak - - - - Transversal - Zeharkakoa - - - - Longitudinal - Luzeran - - - - Water lines - Ur-lerroak - - - - Transversal section positions [m] - Zeharkako sekzioen posizioak [m] - - - - Longitudinal section positions [m] - Luzetarako sekzioen posizioak [m] - - - - Water line positions [m] - Ur-lerroaren posizioak [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Egia, baliozko andel-instantzia bada; Gezurra, ez bada - - - - Create a new tank - Sortu andel berria - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Andel-objektuak beren geometriaren gainean soilik sor daitezke (ez da objekturik hautatu) - - - - No solids found in the selected objects - Ez da solidorik aurkitu hautatutako objektuetan - - - - There are not ship objects to create weights into them - Ez dago ontzi-objekturik, haietan pisuak sortu ahal izateko - - - - Ship - Ontzia - - - - ship_weight - - - Create a new ship weight - Sortu ontzi-pisu berria - - - - True if it is a valid weight instance, False otherwise - Egia, baliozko pisu-instantzia bada; Gezurra, ez bada - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Dentsitate lineala [kg / m] - - - - Density [kg / m^3] - Dentsitatea [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Pisu-objektuak beren geometriaren gainean soilik sor daitezke (ez da objekturik hautatu) - - - - No geometrical shapes found in the selected objects - Ez da forma geometrikorik aurkitu hautatutako objektuetan - - - - There are not ship objects to create weights into them - Ez dago ontzi-objekturik, haietan pisuak sortu ahal izateko - - - - Create a new weight - Sortu pisu berria - - - - Ship - Ontzia - - - - Mass - Masa - - - - Linear density - Dentsitate lineala - - - - Area density - Area-dentsitatea - - - - Density - Dentsitatea - - - - Area density [kg / m^2] - Area-dentsitatea [kg / m^2] - - - - Unknown object shapes selected - Objektu-forma ezezagunak hautatu dira - - - diff --git a/src/Mod/Ship/resources/translations/Ship_fi.qm b/src/Mod/Ship/resources/translations/Ship_fi.qm deleted file mode 100644 index f0d52102d4..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_fi.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_fi.ts b/src/Mod/Ship/resources/translations/Ship_fi.ts deleted file mode 100644 index 6ce64b1ecd..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_fi.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Aluksen suunnittelu - - - - Weights - Painot - - - - True if it is a valid ship instance, False otherwise - Tosi, jos se on voimassa oleva aluksen ilmentymä, muuten epätosi - - - - Ship length [m] - Aluksen pituus [m] - - - - Ship breadth [m] - Aluksen leveys [m] - - - - Ship draft [m] - Aluksen vedos [m] - - - - Set of external faces of the ship hull - Aluksen rungon ulkopinnat -joukko - - - - Set of weight instances - Joukko painoesiintymiä - - - - Set of tank instances - Säiliö esiintymien joukko - - - - Set of load conditions - Lastausolosuhteiden ryhmä - - - - Ship_AreasCurve - - - Areas curve - Alueen käyrä - - - - Plot the transversal areas curve - Piirretään poikittaisten alueiden käyrä - - - - Ship_CreateShip - - - Create a new ship - Luo uusi alus - - - - Create a new ship instance on top of the hull geometry - Luo rungon geometrian päälle uusi aluksen ilmentymä - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatiikka - - - - Plot the ship hydrostatics - Piirrä aluksen hydrostatiikka - - - - Ship_LoadExample - - - Load an example ship geometry - Lataa esimerkkialuksen geometria - - - - Load an example ship hull geometry. - Lataa aluksen rungon geometriasta esimerkki. - - - - Ship_OutlineDraw - - - Outline draw - Ääriviivojen piirto - - - - Plots the ship hull outline draw - Tulostaa aluksen rungon ääriviivapiirroksen - - - - ship_areas - - - Draft - Syväys (vesirajasta pohjaan) - - - - Displacement - Uppouma - - - - Areas curve tool draft selected [m] - Alueiden käyrien vedostyökalu valittu [m] - - - - Plot the transversal areas curve - Piirretään poikittaisten alueiden käyrä - - - - Areas curve tool trim selected [deg] - Alueiden käyrien työkalu: rajaus valittuna [deg] - - - - Trim angle - Säädä kulma - - - - Number of points - Pisteiden määrä - - - - Areas curve tool number of points - Alueiden käyrä- työkalun pisteiden määrä - - - - ship_capacity - - - Tank capacity curve - Säiliön työkapasiteetin käyrä - - - - Plot the tank capacity curve (level-volume curve) - Piirrä säiliöpasiteetin käyrä (taso-tilavuus käyrä) - - - - Plot the tank capacity curve - Piirrä säiliöpasiteetin käyrä - - - - Number of points - Pisteiden määrä - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Luo tai Lataa aluksen rungon geometria ennen tämän työkalun käyttöä - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Laiva objekteja voidaan luoda vain runkogeometrian päälle (yhtään monitahokasta ei löytynyt valittujen objektien joukosta) - - - - Computing hydrostatics - Lasketaan hydrostatiikkaa - - - - Computing external faces - Lasketaan ulkoisia tahkoja - - - - Computing sections - Lasketaan osioita - - - - Any valid ship section found - Yhtään käypää aluksen lohkoa ei löydetty - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Laivan kohteita voidaan luoda vain runkogeometrian päälle (kohteita ei valittuna) - - - - A ship instance must be selected before using this tool (no objects selected) - Aluksen ilmentymä on valittava ennen kuin käytetään tätä työkalua (kohteita ei valittuna) - - - - More than one ship have been selected (the extra ships will be ignored) - Enemmän kuin yksi alus valittuna (ylimääräiset alukset jätetään huomiotta) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Aluksen esiintymä on valittava ennen tämän työkalun käyttöä (ei kelvollista alusta löydettävissä valituissa kohteissa) - - - - Plot module is disabled, so I cannot perform the plot - Tulostusyksikkö on aktivoimatta, en voi suorittaa pistepiirrosta - - - - A ship instance must be selected before use this tool (no objects selected) - Aluksen ilmentymä on valittava ennen kuin käytetään tätä työkalua (kohteita ei valittuna) - - - - More than one ship has been selected (just the first one will be used) - Enemmän kuin yksi alus on valittuna (vain ensimmäistä käytetään) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Aluksen esiintymä on valittava ennen tämän työkalun käyttöä (ei kelvollista alusta löydettävissä valituista kohteista) - - - - Plot module is disabled, tools cannot graph output curves - Tulostusyksikkö kytketty pois käytöstä, työkalu ei voi piirtää käyriä - - - - Failure detecting external faces from the ship object - Virhe havaittu aluskohteen ulkoisissa näkymäpinnoissa - - - - A tank instance must be selected before using this tool (no objects selected) - Säiliökohde on valittava ennen kuin käytetään tätä työkalua (kohteita ei valittuna) - - - - More than one tank have been selected (the extra tanks will be ignored) - Enemmän kuin yksi säiliö on valittu (ylimääräisiä säiliöitä ei huomioida) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Säiliön esiintymä on valittava ennen tämän työkalun käyttöä (ei kelvollista säiliötä löydettävissä valituista kohteista) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Säiliön täyttötoiminto epäonnistui. Työkalu yrittää sitä uudelleen liikuttaen hieman vapaata pintaa - - - - A loading condition instance must be selected before using this tool (no objects selected) - Lastausehdot on valittava ennen kuin käytetään tätä työkalua (kohteita ei valittuna) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Väärä aluksen tunniste! (ei löydetty kohteita tunnisteen nimellä'{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Epämääräinen aluksen tunniste! ({} kohdetta nimiöitynä '{}' löytynyt) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Useampi kuin yksi kuormitusehto on valittu (ylimääräisiä kuormitusehtoja ei oteta huomioon) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Kuormaustilan ehto on valittava ennen tämän työkalun käyttöä (ei kelvollista kuormituksen ehtoa löydettynä valituista kohteista) - - - - Too much weight! The ship will never displace water enough - Liian suuri paino! Alus ei koskaan syrjäytä vettä riittävästi - - - - Wrong Weight label! (no instances labeled as'{}' found) - Väärä painon tunniste! (ei löydetty kohteita tunnisteen nimellä'{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Epämääräinen painon tunniste! (ei löydetty kohteita tunnisteen nimellä'{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Virheellinen paino! (kohde on merkitty '{}', joka ei ole paino) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Väärä säiliön tunniste! (ei löydetty kohteita tunnisteen nimellä'{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Epämääräinen säiliön tunniste! ({} kohdetta nimiöitynä '{}' löytynyt) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Virheellinen säiliö! (kohde on merkitty '{}', joka ei ole säiliö) - - - - Computing capacity curves - Lasketaan kapasiteettikäyrät - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean laskuoperaatio epäonnistui, kun yritetään saada vedenalainen puoli. Työkalu yrittää uudelleen tätä toimintoa liikutettuaan hieman vapaa ulkopintaa - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Poikittaisalueen laskenta epäonnistui - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Nolla arvo löytyy siirtymä laskennan aikana! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Kelluvaa aluetta ei voi laskea - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Nolla arvo löytyy kelluvan alueen laskennan aikana! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Pääkehysaluetta ei voi laskea - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Nolla arvo löytyy pääkehysalueen kertoimen laskennan aikana! - - - - ship_create - - - Base line - Perustaso - - - - Free surface - Vapaa pinta - - - - Forward perpendicular - Keulapystysuoran - - - - After perpendicular - Peräpystysuora - - - - Main frame - Päärunko - - - - Create a new ship - Luo uusi alus - - - - Length - Pituus - - - - Breadth - Leveys - - - - Draft - Syväys (vesirajasta pohjaan) - - - - ship_gz - - - GZ curve computation - GZ-käyrän laskenta - - - - Plot the GZ curve - Piirrä GZ-käyrä - - - - Maximum angle - Suurin kulma - - - - Number of points - Pisteiden määrä - - - - Variable trim - Muuttuva leikkaus - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Alusta pyöritetään tasapainotilan säädettyyn kulmaan jokaista rullakulmaa varten. Se pidentää merkittävästi tarvittavaa laskenta-aikaa - - - - GZ curve tool angle selected [deg] - GZ-käyrätyökalun kulma valittu [deg] - - - - GZ curve tool number of points selected - GZ-käyrätyökalun pisteiden määrä valittu - - - - GZ curve tool variable trim angle selection - GZ-käyrätyökalun säätökulman valinta - - - - ship_hydrostatic - - - Plot hydrostatics - Tulosta hydrostatiikkakäyrät - - - - Trim - rajaa - - - - Minimum draft - Pienin syväys - - - - Maximum draft - Suurin syväys - - - - Number of points - Pisteiden määrä - - - - Hydrostatics tool trim selected - Hydrostaattisen työkalun hienosäätö valittu - - - - Hydrostatics tool minimum draft selected [m] - Hydrostaattisen työkalun pienin syväys valittu [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostaattisen työkalun maksimisyväys valittu [m] - - - - Hydrostatics tool number of points selected - Hydrostaattisen työkalun pisteiden määrä valittu - - - - ship_load - - - Load example ship - Lataa aluksen esimerkkimalli - - - - Select ship example geometry - Valitse aluksen esimerkkigeometria - - - - ship_loadcondition - - - Create a new loading condition - Luo uusi lastausehto - - - - Create a new load condition spreadsheet - Luo uuden kuormaustilan laskentataulukko - - - - ship_outline - - - Outline draw - Ääriviivojen piirto - - - - Auto create - Luo automaattisesti - - - - Delete all sections - Tuhoa kaikki lohkot - - - - Create sections - Luo lohkoja - - - - Transversal - Poikittainen - - - - Longitudinal - Pitkittäinen - - - - Water lines - Vesiraja - - - - Transversal section positions [m] - Poikittaisen lohkon sijainnit [m] - - - - Longitudinal section positions [m] - Pitkittäisen lohkon sijainnit [m] - - - - Water line positions [m] - Vesirajan sijainnit [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Tosi, jos se on voimassa oleva säiliön ilmentymä, muuten epätosi - - - - Create a new tank - Luo uusi säiliö - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Säiliön kohteita voidaan luoda vain sen geometrian päälle (objekteja ei valittuna) - - - - No solids found in the selected objects - Ei löydy yhtenäisiä rakenteita valituista objekteista - - - - There are not ship objects to create weights into them - Ei ole aluksen kohteita, joille voidaan luoda painoja - - - - Ship - Alus - - - - ship_weight - - - Create a new ship weight - Luo uusi aluksen paino - - - - True if it is a valid weight instance, False otherwise - Tosi, jos se on kelvollinen painon ilmentymä, muuten epätosi - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Lineaarinen tiheys [kg / m] - - - - Density [kg / m^3] - Tiheys [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Painokohteita voidaan luoda vain sen geometrian päälle (objekteja ei valittuna) - - - - No geometrical shapes found in the selected objects - Ei löytynyt geometrisia muotoja valituista kohteista - - - - There are not ship objects to create weights into them - Ei ole aluksen kohteita, joille voidaan luoda painoja - - - - Create a new weight - Luo uusi paino - - - - Ship - Alus - - - - Mass - Massa - - - - Linear density - Lineaarinen tiheys - - - - Area density - Alueen tiheys - - - - Density - Tiheys - - - - Area density [kg / m^2] - Alueen tiheys [kg / m ^ 2] - - - - Unknown object shapes selected - Tuntemattomia kohteen muotoja valittu - - - diff --git a/src/Mod/Ship/resources/translations/Ship_fil.qm b/src/Mod/Ship/resources/translations/Ship_fil.qm deleted file mode 100644 index af9e963d12..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_fil.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_fil.ts b/src/Mod/Ship/resources/translations/Ship_fil.ts deleted file mode 100644 index 38a8077d67..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_fil.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Disenyo ng Ship - - - - Weights - Weights - - - - True if it is a valid ship instance, False otherwise - Tama kung ito ay isang valid na halimbawa ng ship, Mali kung hindi naman - - - - Ship length [m] - Haba ng ship [m] - - - - Ship breadth [m] - Lawak ng ship [m] - - - - Ship draft [m] - Draft ng ship[m] - - - - Set of external faces of the ship hull - Set ng external faces ng ship hull - - - - Set of weight instances - Set ng mga halimbawa ng timbang - - - - Set of tank instances - Set ng mga halimbawa ng tank - - - - Set of load conditions - Set ng mga condition ng load - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - I-plot ang transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Lumikha ng bagong ship - - - - Create a new ship instance on top of the hull geometry - Lumikha ng isang bagong ship instance sa ibabaw ng hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatics - - - - Plot the ship hydrostatics - I-plot ang ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Mag load ng halimbawa ng ship geometry - - - - Load an example ship hull geometry. - Mag load ng halimbawa ng ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - Outline draw - - - - Plots the ship hull outline draw - Plots ng ship hull outline draw - - - - ship_areas - - - Draft - Draft - - - - Displacement - Displacement - - - - Areas curve tool draft selected [m] - Napiling Areas curve tool draft [m] - - - - Plot the transversal areas curve - I-plot ang transversal areas curve - - - - Areas curve tool trim selected [deg] - Napiling Areas curve tool trim [deg] - - - - Trim angle - Trim angle - - - - Number of points - Bilang ng mga point - - - - Areas curve tool number of points - Bilang ng puntos ng Areas curve tool - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - I-plot ang tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - I-plot ang tank capacity curve - - - - Number of points - Bilang ng mga point - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Mangyaring lumikha o mag load ng ship hull geometry bago gamitin ang tool na ito - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ang mga ship object ay maaari lamang malikha sa ibabaw ng hull geometry (walang solid na natagpuan sa mga napiling object) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing ng mga panlabas na mga face - - - - Computing sections - Computing ng mga section - - - - Any valid ship section found - Kahit anong valid ship section na natagpuan - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ang mga ship object ay maaari lamang malikha sa ibabaw ng hull geometry (walang mga piniling object) - - - - A ship instance must be selected before using this tool (no objects selected) - Ang isang halimbawa ng barko ay dapat piliin bago gamitin ang tool na ito (walang mga napiling bagay) - - - - More than one ship have been selected (the extra ships will be ignored) - Higit sa isang barko ang napili (ang mga dagdag na barko ay hindi papansinin) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Dapat piliin ang isang halimbawa ng barko bago gamitin ang kasangkapan na ito (walang wastong barko na natagpuan sa mga napiling bagay) - - - - Plot module is disabled, so I cannot perform the plot - Ang module ng plot ay hindi pinagana, kaya hindi ko maisagawa ang balangkas - - - - A ship instance must be selected before use this tool (no objects selected) - Dapat piliin ang isang pagkakataon sa barko bago gamitin ang kasangkapan na ito (walang napiling mga bagay) - - - - More than one ship has been selected (just the first one will be used) - Higit sa isang barko ang napili (tanging ang unang isa ay gagamitin) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Ang isang halimbawa ng barko ay dapat piliin bago gamitin ang tool na ito (novalid ships na matatagpuan sa mga napiling bagay) - - - - Plot module is disabled, tools cannot graph output curves - Hindi pinagana ang module ng plot, ang mga tool ay hindi maaaring gumuhit ng curve ng output - - - - Failure detecting external faces from the ship object - Ang pagbagsak ng pagtuklas ng mga panlabas na mukha mula sa bagay ng barko - - - - A tank instance must be selected before using this tool (no objects selected) - Dapat piliin ang isang tangke ng halimbawa bago gamitin ang tool na ito (walang napiling mga bagay) - - - - More than one tank have been selected (the extra tanks will be ignored) - Higit sa isang tangke ang napili (ang mga dagdag na tangke ay hindi papansinin) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Dapat piliin ang isang tangke ng halimbawa bago gamitin ang kasangkapan na ito (walang balidong tangke na natagpuan sa mga napiling bagay) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Nabigo ang pagpapatakbo ng dami ng tangke. Ang tool ay muling sinusubukan na bahagyang gumagalaw ang libreng posisyon sa ibabaw - - - - A loading condition instance must be selected before using this tool (no objects selected) - Ang isang pagkakataon sa pag-load ng pagkakataon ay dapat mapili bago gamitin ang kasangkapan na ito (walang napiling mga bagay) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Maling label ng barko! (walang mga pangyayari na may label na'{}' natagpuan) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Malinaw na label ng barko! ({} mga institusyon na may label na'{}' natagpuan) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Mahigit sa isang kondisyon sa paglo-karga ang napili (hindi papansinin ang mga karagdagang kondisyon sa paglo-load) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Ang isang pagkakataon sa pag-karga ay dapat na napili bago gamitin ang tool na ito (walang wastong kondisyon sa paglo-load na matatagpuan sa mga napiling bagay) - - - - Too much weight! The ship will never displace water enough - Sobrang timbang! Ang barko ay hindi lilisan ang tubig - - - - Wrong Weight label! (no instances labeled as'{}' found) - Maling etiketa ng timbang! (walang mga pangyayari na may etiketa na'{}''natagpuan) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Malubhang Timbang na etiketa! ({mga institusyon na may etiketa na'{}' natagpuan) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Di-wastong Timbang! (ang bagay na may label na '{}' ay hindi isang timbang) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Maling label ng tangke! (walang mga pangyayari na may label na'{}' natagpuan) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Hindi marunong tangke ng label! ({} mga institusyon na may label na'{}' natagpuan) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Di-wastong Tanke! (ang bagay na may etekita na'{}' ay hindi isang tangke) - - - - Computing capacity curves - Mga kakayahang kumikilos sa computing - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Nabigo ang operasyon ng Boolean kapag sinusubukang makuha ang ilalim ng tubig. Ang tool ay muling sinusuri ang naturang operasyon nang bahagya na gumagalaw ang libreng posisyon sa ibabaw - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Nabigo ang pag-compute ng transversal area - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null dami ng natagpuan sa panahon ng pag-aalis ng pag-compute! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Hindi maaaring kumpirmahin ang lumulutang na lugar - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null lugar na natagpuan sa panahon ng pag-compute ng lumulutang na lugar! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Hindi maaaring makalkula ang pangunahing frame na lugar - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area na natagpuan sa panahon ng pangunahing frame area koepisyent na pagtutuos! - - - - ship_create - - - Base line - Base linya - - - - Free surface - Libreng mukhâ - - - - Forward perpendicular - Ipasa ang patayo - - - - After perpendicular - Pagkatapos ng perpendikular - - - - Main frame - Pangunahing frame - - - - Create a new ship - Lumikha ng bagong ship - - - - Length - Haba - - - - Breadth - Lwang - - - - Draft - Draft - - - - ship_gz - - - GZ curve computation - GZ kurbang computation - - - - Plot the GZ curve - I-plot ang kurba ng GZ - - - - Maximum angle - Pinakamataas na anggulo - - - - Number of points - Bilang ng mga point - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Ang barko ay maiikot sa balanse ng baluktot na anggulo para sa bawat anggulo ng roll. Ito ay makabuluhang taasan ang kinakailangang oras ng computing - - - - GZ curve tool angle selected [deg] - Napili ang anggulo ng kasangkapan ng GZ [deg] - - - - GZ curve tool number of points selected - GZ kurba kasangkapan na numero ng mga puntos na napili - - - - GZ curve tool variable trim angle selection - GZ kurbang kasangkapan variable na pumipili ng pagpili ng anggulo - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Mahusay - - - - Minimum draft - Minimum draft - - - - Maximum draft - Pinakamataas draft - - - - Number of points - Bilang ng mga point - - - - Hydrostatics tool trim selected - Napili ang hydrostatics kasangkapan na trim - - - - Hydrostatics tool minimum draft selected [m] - Napiling draft na pinakamainam na draft ng hydrostatics [m] - - - - Hydrostatics tool maximum draft selected [m] - Pinakamataas na draft draft ng Hydrostatics napiling [m] - - - - Hydrostatics tool number of points selected - Ang bilang ng mga kasangkapan ng hydrostatics na pinili ay pinili - - - - ship_load - - - Load example ship - Mag-karga ng barko ng halimbawa - - - - Select ship example geometry - Piliin ang halimbawa ng barko Heometría - - - - ship_loadcondition - - - Create a new loading condition - Gumawa ng isang bagong kondisyon sa pagkakarga - - - - Create a new load condition spreadsheet - Gumawa ng isang bagong kondisyon ng spreadsheet ng pagkarga - - - - ship_outline - - - Outline draw - Outline draw - - - - Auto create - Gumawa ng auto - - - - Delete all sections - Tanggalin ang lahat ng mga seksyon - - - - Create sections - Lumikha ng mga seksyon - - - - Transversal - Transversal - - - - Longitudinal - Nauukol sa haba - - - - Water lines - Mga guhit ng tubig - - - - Transversal section positions [m] - Mga posisyon sa seksyon ng transversal [m] - - - - Longitudinal section positions [m] - Mga posisyon ng seksyon ng pahaba [m] - - - - Water line positions [m] - Mga posisyon ng guhit ng tubig [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Totoo kung ito ay isang wastong halimbawa ng tangke, kung hindi man - - - - Create a new tank - Gumawa ng isang bagong tangke - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Mga tangke ng mga bagay ay maaari lamang nilikha sa tuktok ng geometry nito (walang mga napiling bagay) - - - - No solids found in the selected objects - Walang mga solido na natagpuan sa mga napiling bagay - - - - There are not ship objects to create weights into them - Walang mga bagay sa barko upang lumikha ng mga timbang sa kanila - - - - Ship - Bapor - - - - ship_weight - - - Create a new ship weight - Gumawa ng isang bagong timbang sa bapor - - - - True if it is a valid weight instance, False otherwise - Totoo kung ito ay isang wastong halimbawa ng timbang, Mali kung hindi man - - - - Mass [kg] - Misa [kg] - - - - Linear density [kg / m] - Nauukol sa kakapalan guhit [kg/ m] - - - - Density [kg / m^3] - Kakapalan [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Ang mga bagay sa timbang ay maaari lamang malikha sa tuktok ng geometry nito (walang napiling mga bagay) - - - - No geometrical shapes found in the selected objects - Walang mga heometriko na hugis na matatagpuan sa mga napiling bagay - - - - There are not ship objects to create weights into them - Walang mga bagay sa barko upang lumikha ng mga timbang sa kanila - - - - Create a new weight - Lumalang ng bagong timbang - - - - Ship - Bapor - - - - Mass - Misa - - - - Linear density - Kakapalan Nauukol sa guhit - - - - Area density - Kakapalan ng lugar - - - - Density - Kakapalan - - - - Area density [kg / m^2] - Densidad ng lugar [kg / m^2] - - - - Unknown object shapes selected - Napili ang mga hindi kilalang piniling mga bagay - - - diff --git a/src/Mod/Ship/resources/translations/Ship_fr.qm b/src/Mod/Ship/resources/translations/Ship_fr.qm deleted file mode 100644 index b4a4ea64fe..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_fr.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_fr.ts b/src/Mod/Ship/resources/translations/Ship_fr.ts deleted file mode 100644 index b6f6b42024..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_fr.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Conception de navires - - - - Weights - Poids - - - - True if it is a valid ship instance, False otherwise - True si c'est une instance de navire valide, False sinon - - - - Ship length [m] - Longueur du navire [m] - - - - Ship breadth [m] - Largeur de navire [m] - - - - Ship draft [m] - Creux du navire [m] - - - - Set of external faces of the ship hull - Ensemble des faces externes de la coque du bateau - - - - Set of weight instances - Groupe de poids - - - - Set of tank instances - Groupe de compartiments - - - - Set of load conditions - Ensemble de conditions de charge - - - - Ship_AreasCurve - - - Areas curve - Courbe de zone - - - - Plot the transversal areas curve - tracer la courbe de surface transversal - - - - Ship_CreateShip - - - Create a new ship - Créer un nouveau navire - - - - Create a new ship instance on top of the hull geometry - Créer une nouvelle instance de navire sur le dessus de la géométrie de la coque - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatique - - - - Plot the ship hydrostatics - tracer les caractéristiques hydrostatique du navire - - - - Ship_LoadExample - - - Load an example ship geometry - Charger un exemple de géométrie de navire - - - - Load an example ship hull geometry. - Charger un exemple de géométrie de coque de navire. - - - - Ship_OutlineDraw - - - Outline draw - Dessiner le contour - - - - Plots the ship hull outline draw - tracer le profil de coque du navire - - - - ship_areas - - - Draft - Tirant d'eau - - - - Displacement - Déplacement - - - - Areas curve tool draft selected [m] - Outil projet de courbe de zone sélectionné [m] - - - - Plot the transversal areas curve - tracer la courbe de surface transversal - - - - Areas curve tool trim selected [deg] - outil de découpe de courbes sélectionné [deg] - - - - Trim angle - Ajuster l'angle - - - - Number of points - Nombre de points - - - - Areas curve tool number of points - Nombre de points des outils de courbes de l'aire - - - - ship_capacity - - - Tank capacity curve - Courbe de capacité de compartiment - - - - Plot the tank capacity curve (level-volume curve) - Traçer la courbe de capacité d'un compartiment (courbe niveau-volume) - - - - Plot the tank capacity curve - Traçer la courbe de capacité d'un compartiment - - - - Number of points - Nombre de points - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Veuillez créer ou charger une géométrie de coque de navire avant d'utiliser cet outil - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Les navires ne peuvent être créés qu'au sommet de la géométrie de la coque (aucun solide n'a été trouvé parmi les objets sélectionnés) - - - - Computing hydrostatics - Calculs hydrostatiques - - - - Computing external faces - Calcul des faces externes - - - - Computing sections - Calcul des sections - - - - Any valid ship section found - Aucune section valide de navire n'a été trouvée - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Les navires ne peuvent être créés qu'au sommet de la géométrie de la coque (pas d'objet sélectionné) - - - - A ship instance must be selected before using this tool (no objects selected) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one ship have been selected (the extra ships will be ignored) - Plus d'un navire ont été sélectionnés (les navires supplémentaires seront ignorées) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun navire valide dans les objets sélectionnés) - - - - Plot module is disabled, so I cannot perform the plot - Module de traçage est désactivé, donc je ne peux realiser le traçage - - - - A ship instance must be selected before use this tool (no objects selected) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one ship has been selected (just the first one will be used) - Plus d'un navire a été sélectionné ( seul le premier sera utilisé) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun navire valide dans les objets sélectionnés) - - - - Plot module is disabled, tools cannot graph output curves - Le module de tracé est désactivé, traçage impossible - - - - Failure detecting external faces from the ship object - Échec de détection des faces externes de l'objet navire - - - - A tank instance must be selected before using this tool (no objects selected) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one tank have been selected (the extra tanks will be ignored) - Plusieurs compartiments ont été sélectionnés (les compartiments supplémentaires seront ignorés) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun compartiment valide parmi les objets sélectionnés) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - L'opération du volume du réservoir a raté. L'outil vas recommencer en déplaçant la position de la surface libre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun objet sélectionné) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Mauvaise étiquette du bateau! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Étiquette de Bateau Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Plus d'une condition de chargement choisi (les conditions de chargement supplémentaires seront ignorées) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Une condition de chargement doit être sélectionné avant l'utilisation de cet outil (Aucune condition de chargement valide n'a été trouvé dans les objets sélectionnés) - - - - Too much weight! The ship will never displace water enough - Trop lourd! Le bateau ne déplacera jamais assez d'eau - - - - Wrong Weight label! (no instances labeled as'{}' found) - Mauvaise étiquette de poids! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Étiquette de poids Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Poids non valide ! (l'objet portant la mention '{}' n'est pas un poids) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Mauvaise étiquette du réservoir! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Étiquette du réservoir Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Réservoir non valide ! (l'objet portant la mention '{}' n'est pas un réservoir) - - - - Computing capacity curves - Calcul des capacités des courbes - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Opération booléenne a échoué en essayant d'obtenir la partie sous-marine. L'outil lance une nouvelle tentative de calcul touchant légèrement la position de surface libre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError : Le calcul de l'aire transversale a échoué - - - - ZeroDivisionError: Null volume found during the displacement computation! - Erreur de division par zéro: Volume nul trouvé pendant le calcul du déplacement! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError : La zone flottante ne peut être calculée - - - - ZeroDivisionError: Null area found during the floating area computation! - Erreur de division par zéro: Aire nul trouvé pendant le calcul de l'aire flottante! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError : L'aire du cadre principal ne peut être calculée - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - Erreur de division par zéro: Aire nul trouvé pendant le calcul du coefficient de l'aire du cadre principal! - - - - ship_create - - - Base line - Ligne de base - - - - Free surface - Surface libre - - - - Forward perpendicular - Prolonger la perpendiculaire - - - - After perpendicular - Après la perpendiculaire - - - - Main frame - Cadre principal - - - - Create a new ship - Créer un nouveau navire - - - - Length - Longueur - - - - Breadth - Etendu/Largeur - - - - Draft - Tirant d'eau - - - - ship_gz - - - GZ curve computation - Calcul de la courbe GZ - - - - Plot the GZ curve - Tracer la courbe GZ - - - - Maximum angle - Angle maximal - - - - Number of points - Nombre de points - - - - Variable trim - Variable équilibré - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Le bateau sera tourné à l'équilibre coupant l'angle pour chaque angle de rôle. Il augmentera considérablement le temps exigé de calcul - - - - GZ curve tool angle selected [deg] - L'outil d'angle des courbe GZ sélectionné [deg] - - - - GZ curve tool number of points selected - L'outil nombre de point pour les courbes GZ est sélectionné - - - - GZ curve tool variable trim angle selection - La variable de sélection angulaire de la courbe GZ a été ajusté - - - - ship_hydrostatic - - - Plot hydrostatics - Tracer les lignes hydrostatiques - - - - Trim - Ajuster - - - - Minimum draft - Tirant d'eau minimum - - - - Maximum draft - Tirant d'eau maximum - - - - Number of points - Nombre de points - - - - Hydrostatics tool trim selected - L'outil d'ajustement des lignes hydrostatiques est sélectionné - - - - Hydrostatics tool minimum draft selected [m] - Tirant d'eau minimum sélectionné par l'outil hydrostatic [m] - - - - Hydrostatics tool maximum draft selected [m] - Tirant d'eau maximum sélectionné par l'outil hydrostatic [m] - - - - Hydrostatics tool number of points selected - L'outil nombre de point pour les lignes hydrostatiques est sélectionné - - - - ship_load - - - Load example ship - Charger un exemple de navire - - - - Select ship example geometry - Sélectionnez un exemple de géométrie de navire - - - - ship_loadcondition - - - Create a new loading condition - Créer une nouvelle condition de chargement - - - - Create a new load condition spreadsheet - Créer une nouvelle feuille de calcul de condition de chargement - - - - ship_outline - - - Outline draw - Dessiner le contour - - - - Auto create - Créer automatiquement - - - - Delete all sections - Supprimer toutes les sections - - - - Create sections - Créer des sections - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Lignes de flottaison - - - - Transversal section positions [m] - Position des sections transversales [m] - - - - Longitudinal section positions [m] - Position des sections longitudinales [m] - - - - Water line positions [m] - Position des lignes de flottaison [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Vrai si ceci est un compartiment valide, sinon False - - - - Create a new tank - Créer un nouveau compartiment - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Un compartiment peut seulement être créé à partir de sa géométrie (aucun objet sélectionné) - - - - No solids found in the selected objects - Aucun solide présent parmi les objets sélectionnés - - - - There are not ship objects to create weights into them - Il n'y a pas de navire pour y créer des poids - - - - Ship - Navire - - - - ship_weight - - - Create a new ship weight - Créer un nouveau poids de navire - - - - True if it is a valid weight instance, False otherwise - True si ceci est un navire valide, sinon False - - - - Mass [kg] - Masse [kg] - - - - Linear density [kg / m] - Masse linéique [kg / m] - - - - Density [kg / m^3] - Densité [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Un poids peut seulement être créé à partir de sa géométrie (aucun objet sélectionné) - - - - No geometrical shapes found in the selected objects - Aucune forme géométrique parmi les objets sélectionnés - - - - There are not ship objects to create weights into them - Il n'y a pas de navire pour y créer des poids - - - - Create a new weight - Créer un nouveau poids - - - - Ship - Navire - - - - Mass - Masse - - - - Linear density - Masse linéaire - - - - Area density - Densité surfacique - - - - Density - Densité - - - - Area density [kg / m^2] - Densité surfacique [kg / m^2] - - - - Unknown object shapes selected - Formes inconnues sélectionnées - - - diff --git a/src/Mod/Ship/resources/translations/Ship_gl.qm b/src/Mod/Ship/resources/translations/Ship_gl.qm deleted file mode 100644 index 68ff5223fa..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_gl.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_gl.ts b/src/Mod/Ship/resources/translations/Ship_gl.ts deleted file mode 100644 index 1434fb10bc..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_gl.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Deseño naval - - - - Weights - Lastres - - - - True if it is a valid ship instance, False otherwise - Verdadeiro se fose unha entidade válida de buque, Falso doutro xeito - - - - Ship length [m] - Eslora do barco [m] - - - - Ship breadth [m] - Manga do barco [m] - - - - Ship draft [m] - Calado do barco [m] - - - - Set of external faces of the ship hull - Conxunto de faces externas do casco do barco - - - - Set of weight instances - Conxunto de entidades de lastre - - - - Set of tank instances - Conxunto de entidades de tanque - - - - Set of load conditions - Conxunto de condicións de carga - - - - Ship_AreasCurve - - - Areas curve - Curva de áreas - - - - Plot the transversal areas curve - Trazar a curva de áreas transversais - - - - Ship_CreateShip - - - Create a new ship - Crear un novo barco - - - - Create a new ship instance on top of the hull geometry - Crear unha nova entidade do barco riba da xeometría do casco - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostáticas - - - - Plot the ship hydrostatics - Trazar hidrostática do barco - - - - Ship_LoadExample - - - Load an example ship geometry - Cargar un exemplo de xeometría de barco - - - - Load an example ship hull geometry. - Cargar un exemplo de xeometría de casco de barco. - - - - Ship_OutlineDraw - - - Outline draw - Trazado da contorna - - - - Plots the ship hull outline draw - Traza a liña de contorna do casco do barco - - - - ship_areas - - - Draft - Calado - - - - Displacement - Desprazamento - - - - Areas curve tool draft selected [m] - Ferramenta pra calcular a curva de áreas do calado escolmado [m] - - - - Plot the transversal areas curve - Trazar a curva de áreas transversais - - - - Areas curve tool trim selected [deg] - Ferramenta pra calcular a curva de áreas da sección escolmada [graos] - - - - Trim angle - Ángulo da sección - - - - Number of points - Número de puntos - - - - Areas curve tool number of points - Número de puntos da ferramenta de curva de áreas - - - - ship_capacity - - - Tank capacity curve - Curva de capacidade do tanque - - - - Plot the tank capacity curve (level-volume curve) - Trazar a curva de capacidade do tanque (curva nivel-volume) - - - - Plot the tank capacity curve - Trazar a curva de capacidade do tanque - - - - Number of points - Número de puntos - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Por favor, faga ou cargue unha xeometría de casco d0 barco antes de usar esta ferramenta - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Só se poden crear obxectos de barco riba da xeometría do casco (non se atoparon sólidos nos obxectos escolmados) - - - - Computing hydrostatics - Calculando hidrostática - - - - Computing external faces - Calculando faces externas - - - - Computing sections - Calculando seccións - - - - Any valid ship section found - Non se atopou ningunha sección de barco válida - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Só se poden crear obxectos de barco riba da xeometría do casco (non hai obxectos escolmados) - - - - A ship instance must be selected before using this tool (no objects selected) - Débese escoller unha entidade de barco antes de usar esta ferramenta (non hai obxectos escolmados) - - - - More than one ship have been selected (the extra ships will be ignored) - Escolmouse máis dun barco (os barcos extra serán ignorados) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Débese escoller unha entidade de barco antes de usar esta ferramenta (non se atopou un barco válido entre os obxectos escolmados) - - - - Plot module is disabled, so I cannot perform the plot - O módulo de trazado está inhabilitado, polo que non se pode conformar o trazado - - - - A ship instance must be selected before use this tool (no objects selected) - Débese escoller unha entidade de barco antes de usar esta ferramenta (non hai obxectos escolmados) - - - - More than one ship has been selected (just the first one will be used) - Escolmouse máis dun barco (unicamente o primeiro será usado) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Débese escoller unha entidade de barco antes de usar esta ferramenta (atopáronse barcos inválidos entre os obxectos escolmados) - - - - Plot module is disabled, tools cannot graph output curves - O módulo de trazado está inhabilitado, as ferramentas non poden sacar o debuxo das curvas - - - - Failure detecting external faces from the ship object - Fallo detectando as faces externas do obxecto barco - - - - A tank instance must be selected before using this tool (no objects selected) - Débese escoller unha entidade tanque antes de usar esta ferramenta (non hai obxectos escolmados) - - - - More than one tank have been selected (the extra tanks will be ignored) - Escolmouse máis dun tanque (os tanques extra serán ignorados) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Débese escoller unha entidade tanque antes de usar esta ferramenta (non se atopou un tanque válido entre os obxectos escolmados) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - A operación de volume do tanque fallou. A ferramenta está a tentar mover lixeiramente a posición da superficie libre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Débese escoller unha entidade de condición de carga antes de usar esta ferramenta (non hai obxectos escolmados) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Etiqueta de barco incorrecta! (non se atoparon entidades etiquetadas como '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Etiqueta de barco ambigua! (atopáronse {} entidades etiquetadas como '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Escolmouse máis dunha condición de carga (as condicións de carga extra serán ignoradas) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Débese escoller unha entidade de condición de carga antes de usar esta ferramenta (non se atopou unha condición de carga válida entre os obxectos escolmados) - - - - Too much weight! The ship will never displace water enough - Moito peso! O barco nunca desprazará auga abondo - - - - Wrong Weight label! (no instances labeled as'{}' found) - Etiqueta de peso incorrecta! (non se atoparon entidades etiquetadas como '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Etiqueta de peso ambigua! (atopáronse {} entidades etiquetadas como '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Peso inválido! (o obxecto etiquetado como '{}' non é un peso) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Etiqueta de tanque incorrecta! (non se atoparon entidades etiquetadas como '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Etiqueta de tanque ambigua! (atopáronse {} entidades etiquetadas como '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Tanque inválido! (o obxecto etiquetado como '{}' non é un tanque) - - - - Computing capacity curves - Calculando curvas de capacidade - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Fallou a operación booleana ó tentar obter a parte mergullada. A ferramenta está tentando outra vez esta operación movendo lixeiramente a posición da superficie libre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Fallou o cálculo da área transversal - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Volume nulo atopado durante o cálculo da tonelaxe! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: A área boiante non pode ser calculada - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Área nula atopada durante o cálculo da área boiante! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: A área da estrutura principal non pode ser calculada - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Área nula atopada durante o cálculo do coeficiente da área da estrutura principal! - - - - ship_create - - - Base line - Liña base - - - - Free surface - Superficie libre - - - - Forward perpendicular - Diante da perpendicular - - - - After perpendicular - Tras da perpendicular - - - - Main frame - Estrutura principal - - - - Create a new ship - Crear un novo barco - - - - Length - Lonxitude - - - - Breadth - Manga - - - - Draft - Calado - - - - ship_gz - - - GZ curve computation - Cálculo da curva GZ - - - - Plot the GZ curve - Trazado da curva GZ - - - - Maximum angle - Ángulo máximo - - - - Number of points - Número de puntos - - - - Variable trim - Corte variábel - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - O barco será xirado para o ángulo de compensación de equilibrio de cada vez por cada ángulo de balanceo. Isto aumentará de xeito significativo o tempo de cálculo requirido - - - - GZ curve tool angle selected [deg] - Ángulo escolmado para a ferramenta da curva GZ [grao] - - - - GZ curve tool number of points selected - Cantidade de puntos escolmada para a ferramenta de curva GZ - - - - GZ curve tool variable trim angle selection - Escolma do ángulo de corte variábel para a ferramenta de curva GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Trazar hidrostática - - - - Trim - Tallar - - - - Minimum draft - Calado mínimo - - - - Maximum draft - Calado máximo - - - - Number of points - Número de puntos - - - - Hydrostatics tool trim selected - Escolmada a ferramenta de corte de hidrostáticas - - - - Hydrostatics tool minimum draft selected [m] - Escolma do calado mínimo para a ferramenta de hidrostáticas [m] - - - - Hydrostatics tool maximum draft selected [m] - Escolma do calado máximo para a ferramenta de hidrostáticas [m] - - - - Hydrostatics tool number of points selected - Cantidade de puntos escolmada para a ferramenta de hidrostáticas - - - - ship_load - - - Load example ship - Cargar barco de exemplo - - - - Select ship example geometry - Escolme un exemplo de xeometría de barco - - - - ship_loadcondition - - - Create a new loading condition - Crear unha nova condición de carga - - - - Create a new load condition spreadsheet - Facer unha nova folla de cálculo de condición de carga - - - - ship_outline - - - Outline draw - Trazado da contorna - - - - Auto create - Auto crear - - - - Delete all sections - Desbotar tódalas seccións - - - - Create sections - Crear seccións - - - - Transversal - Transversal - - - - Longitudinal - Lonxitudinal - - - - Water lines - Liñas de auga - - - - Transversal section positions [m] - Posicións das seccións transversais [m] - - - - Longitudinal section positions [m] - Posicións das seccións lonxitudinais [m] - - - - Water line positions [m] - Posicións das liñas de auga [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Verdadeiro se é unha entidade de tanque válida, Falso doutro xeito - - - - Create a new tank - Crear un novo tanque - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Só se poden crear obxectos tanque riba das súas xeometrías (non hai obxectos escolmados) - - - - No solids found in the selected objects - Non se atoparon sólidos nos obxectos escollidos - - - - There are not ship objects to create weights into them - Non hai obxectos barco para crear pesos neles - - - - Ship - Barco - - - - ship_weight - - - Create a new ship weight - Crear un novo peso do barco - - - - True if it is a valid weight instance, False otherwise - Verdadeiro se é unha entidade de peso válida, Falso doutro xeito - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Densidade linear [kg / m] - - - - Density [kg / m^3] - Densidade [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Só se poden crear obxectos peso riba das súas xeometrías (non hai obxectos escolmados) - - - - No geometrical shapes found in the selected objects - Non se atoparon formas xeométricas nos obxectos escollidos - - - - There are not ship objects to create weights into them - Non hai obxectos barco para crear pesos neles - - - - Create a new weight - Crear un novo peso - - - - Ship - Barco - - - - Mass - Masa - - - - Linear density - Densidade linear - - - - Area density - Densidade de área - - - - Density - Densidade - - - - Area density [kg / m^2] - Densidade de área [kg / m^2] - - - - Unknown object shapes selected - Escolmadas Formas de obxecto descoñecidas - - - diff --git a/src/Mod/Ship/resources/translations/Ship_hr.qm b/src/Mod/Ship/resources/translations/Ship_hr.qm deleted file mode 100644 index 05e3af9b98..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_hr.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_hr.ts b/src/Mod/Ship/resources/translations/Ship_hr.ts deleted file mode 100644 index 034e670f3a..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_hr.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Dizajn broda - - - - Weights - Težine - - - - True if it is a valid ship instance, False otherwise - Točno ako je valjan primjer broda, inače netočno - - - - Ship length [m] - Dužina broda [m] - - - - Ship breadth [m] - Širina broda [m] - - - - Ship draft [m] - Brod gaz [m] - - - - Set of external faces of the ship hull - Skup vanjskih lica brodskog trupa - - - - Set of weight instances - Skup instanci težine - - - - Set of tank instances - Postavi količinu spremnika - - - - Set of load conditions - Postavi uvjete tereta - - - - Ship_AreasCurve - - - Areas curve - Područje krivulje - - - - Plot the transversal areas curve - Nacrtajte krivulju poprečnih područja - - - - Ship_CreateShip - - - Create a new ship - Izradi novi brod - - - - Create a new ship instance on top of the hull geometry - Napravite novi primjerak broda na vrhu geometrije trupa - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatika - - - - Plot the ship hydrostatics - Iscrtaj hidrostatiku broda - - - - Ship_LoadExample - - - Load an example ship geometry - Učitavanje primjera geometrije broda - - - - Load an example ship hull geometry. - Učitavanje primjera geometrije trupa broda. - - - - Ship_OutlineDraw - - - Outline draw - Crtanje obruba - - - - Plots the ship hull outline draw - Ispisi vanjske konture brodskog trupa - - - - ship_areas - - - Draft - Skica - - - - Displacement - Premještanje - - - - Areas curve tool draft selected [m] - Alat krivulje područja, odabran nacrt [m] - - - - Plot the transversal areas curve - Nacrtajte krivulju poprečnih područja - - - - Areas curve tool trim selected [deg] - Alat krivulje područja, odabrao skraćivanje [deg] - - - - Trim angle - Smanji kut - - - - Number of points - Broj točaka - - - - Areas curve tool number of points - Alat krivulje područja, broj točaka - - - - ship_capacity - - - Tank capacity curve - Kapacitet spremnika, krivulja - - - - Plot the tank capacity curve (level-volume curve) - Ispis krivulje kapaciteta spremnika (krivulja nivoa volumena) - - - - Plot the tank capacity curve - Ispis krivulje kapaciteta spremnika - - - - Number of points - Broj točaka - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Prije korištenja ovog alata napravite ili unesite geometriju trupa broda - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Objekti Broda se mogu stvarati samo na vrhu geometrije trupa (nema čvrstog tijela kod odabranih objekata) - - - - Computing hydrostatics - Računanje hidrostatike - - - - Computing external faces - Računanje vanjskog oblika - - - - Computing sections - Računanje sekcije - - - - Any valid ship section found - Nije pronađen nijedan ispravan odjeljak broda - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Objekti Broda se mogu stvarati samo na vrhu geometrije trupa (nema odabranih objekata) - - - - A ship instance must be selected before using this tool (no objects selected) - Instanca broda mora biti odabrana prije početka korištenja ovog alata (nema odabranih objekata) - - - - More than one ship have been selected (the extra ships will be ignored) - Odabrano je više brodova (zanemarit će se dodatni brodovi) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Instanca broda mora biti odabrana prije početka korištenja ovog alata (nijedan valjan brod nije pronađen kod odabira) - - - - Plot module is disabled, so I cannot perform the plot - Iscrtati modul je onemogućen, tako da ne može izvršiti ispis - - - - A ship instance must be selected before use this tool (no objects selected) - Instanca broda mora biti odabrana prije početka korištenja ovog alata (nema odabranih objekata) - - - - More than one ship has been selected (just the first one will be used) - Odabrali ste više od jednog broda (samo prvi će se koristiti) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Instanca broda mora biti odabrana prije početka korištenja ovog alata (nije pronađen nijedan ispravan brod kod odabira) - - - - Plot module is disabled, tools cannot graph output curves - Modul grafikona je onemogućen, alati ne mogu napraviti grafikon izlazne krivulje - - - - Failure detecting external faces from the ship object - Greška kod otkrivanja vanjskih lica od objekta broda - - - - A tank instance must be selected before using this tool (no objects selected) - Prije upotrebe ovog alata mora biti odabrana instanca spremnika (nije odabran nijedan objekt) - - - - More than one tank have been selected (the extra tanks will be ignored) - Odabrano je više od jednog spremnika (dodatni spremnici će se zanemariti) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Prije upotrebe ovog alata mora biti odabrana instanca spremnika (kod odabranih objekata nije pronađen valjani spremnik) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operacija volumena spremnika nije uspjela. Alat pokušava ponovo malo pomaknuti položaj slobodne površine - - - - A loading condition instance must be selected before using this tool (no objects selected) - Prije korištenja ovog alata mora biti odabrana instanca stanja učitavanja (nije odabran nijedan objekt) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Pogrešna oznaka broda! (nije pronađen nijedan slučaj označen kao "{}") - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Dvoznačna brodska oznaka! ({} pronađeni primjerci "{}") - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Odabrano je više od jednog stanja utovara (dodatni uvjeti utovara bit će zanemareni) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Prije korištenja ovog alata mora biti odabrana instanca stanja učitavanja (u odabranim objektima nije pronađen valjani uvjet učitavanja) - - - - Too much weight! The ship will never displace water enough - Prevelika težina! Brod nikad neće istisnuti dovoljno vode - - - - Wrong Weight label! (no instances labeled as'{}' found) - Pogrešna oznaka težine! (nije pronađen nijedan slučaj označen kao "{}") - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Dvoznačna oznaka težine! ({} pronađeni primjerci "{}") - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Nevažeća težina! (objekt označen kao "{}" nije težina) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Pogrešna oznaka tanka! (nije pronađen nijedan slučaj označen kao "{}") - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Dvoznačna oznaka tanka! ({} pronađeni primjerci oznake"{}") - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Nevažeći tank! (objekt označen kao "{}" nije spremnik) - - - - Computing capacity curves - Izračunavanje krivulje kapaciteta - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolova operacija nije uspjela kada je pokušao doći do podvodne strane. Alat pokušava ponovno polako pomaknuti položaj slobodne površine - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Računanje poprečnog područja nije uspjelo - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Nulta zapremina pronađena je tijekom računanja pomaka! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Plutajuće područje se ne može izračunati - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Nijedno područje nije pronađeno tijekom računanja plutajućeg područja! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Područje glavnog okvira se ne može izračunati - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Nula površina pronađena tijekom izračuna koeficijenta glavnog područja nosača! - - - - ship_create - - - Base line - Osnovna linija - - - - Free surface - Slobodna površina - - - - Forward perpendicular - Naprijed okomito - - - - After perpendicular - Nakon okomito - - - - Main frame - Glavni okvir - - - - Create a new ship - Izradi novi brod - - - - Length - Dužina - - - - Breadth - Širina - - - - Draft - Skica - - - - ship_gz - - - GZ curve computation - GZ krivulja računanja - - - - Plot the GZ curve - Iscrtaj GZ krivulju - - - - Maximum angle - Maksimalni kut - - - - Number of points - Broj točaka - - - - Variable trim - Promjenjivo skraćivanje - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Brod će se zakretati za svaki kut motanja u ravnotežno kutno skraćivanje. Znatno će se povećati traženo računalno vrijeme - - - - GZ curve tool angle selected [deg] - Odabran kut [deg] alata GZ krivulje - - - - GZ curve tool number of points selected - Broj odabranih točaka u alatu GZ krivulje - - - - GZ curve tool variable trim angle selection - Odabir promjenjivog kuta skraćivanja alata GZ krivulje - - - - ship_hydrostatic - - - Plot hydrostatics - Izradi hidrostatiku - - - - Trim - Skrati - - - - Minimum draft - Minimalni gaz - - - - Maximum draft - Maksimalni gaz - - - - Number of points - Broj točaka - - - - Hydrostatics tool trim selected - Alat hidrostatike, odabrano skraćivanje - - - - Hydrostatics tool minimum draft selected [m] - Alat hidrostatike, odabran minimalni gaz [m] - - - - Hydrostatics tool maximum draft selected [m] - Alat hidrostatike, odabran maksimalni gaz [m] - - - - Hydrostatics tool number of points selected - Alat hidrostatike, broj odabranih točaka - - - - ship_load - - - Load example ship - Učitaj primjer broda - - - - Select ship example geometry - Odaberite primjer geometrije broda - - - - ship_loadcondition - - - Create a new loading condition - Stvori novo stanje tereta - - - - Create a new load condition spreadsheet - Stvori novu proračunsku tablicu stanja tereta - - - - ship_outline - - - Outline draw - Crtanje obruba - - - - Auto create - Automatski stvoriti - - - - Delete all sections - Izbriši sve dijelove - - - - Create sections - Kreiraj odjeljke - - - - Transversal - Poprečno - - - - Longitudinal - Uzdužno - - - - Water lines - Vodena linija - - - - Transversal section positions [m] - Poprečni položaj dijelova [m] - - - - Longitudinal section positions [m] - Uzdužni položaj dijelova [m] - - - - Water line positions [m] - Pozicija vodene linije [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Točno ako je valjan primjer spremnika, inače netočno - - - - Create a new tank - Napravi novi spremnik - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Objekti tankova mogu se stvoriti samo na vrhu njegove geometrije (nije odabran nijedan objekt) - - - - No solids found in the selected objects - Nijedno volumensko tijelo nije pronađeno u odabiru - - - - There are not ship objects to create weights into them - Ovdje nema objekata broda gdje bi se mogli napraviti tereti u njima - - - - Ship - Brod - - - - ship_weight - - - Create a new ship weight - Stvoriti novu težinu broda - - - - True if it is a valid weight instance, False otherwise - Točno ako je valjan primjer težine, inače netočno - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Linearna gustoća [kg / m] - - - - Density [kg / m^3] - Gustoća [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Predmeti s težinom mogu se stvoriti samo na vrhu njegove geometrije (nije odabran nijedan objekt) - - - - No geometrical shapes found in the selected objects - U odabranim objektima nisu pronađeni geometrijski oblici - - - - There are not ship objects to create weights into them - Ovdje nema objekata broda gdje bi se mogli napraviti tereti u njima - - - - Create a new weight - Stvoriti novu težinu - - - - Ship - Brod - - - - Mass - Masa - - - - Linear density - Linearna gustoća - - - - Area density - Gustoća područja - - - - Density - Gustoća - - - - Area density [kg / m^2] - Gustoća područja [kg / m^2] - - - - Unknown object shapes selected - Nepoznati oblik objekta odabran - - - diff --git a/src/Mod/Ship/resources/translations/Ship_hu.qm b/src/Mod/Ship/resources/translations/Ship_hu.qm deleted file mode 100644 index b39f20630e..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_hu.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_hu.ts b/src/Mod/Ship/resources/translations/Ship_hu.ts deleted file mode 100644 index 3277a07835..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_hu.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Hajó tervezés - - - - Weights - Súlyok - - - - True if it is a valid ship instance, False otherwise - Igaz, ha egy érvényes hajó példányra, egyébként hamis - - - - Ship length [m] - Hajó hossza [m] - - - - Ship breadth [m] - Hajó szélessége [m] - - - - Ship draft [m] - Hajó tervezet [m] - - - - Set of external faces of the ship hull - Hajótest külső felületek csoportja - - - - Set of weight instances - Súly példánykészletek - - - - Set of tank instances - Tartály példánykészletek - - - - Set of load conditions - Terhelési feltételek - - - - Ship_AreasCurve - - - Areas curve - Területek görbéi - - - - Plot the transversal areas curve - A transzverzális területek görbéit nyomtatja - - - - Ship_CreateShip - - - Create a new ship - Új hajó létrehozása - - - - Create a new ship instance on top of the hull geometry - Létrehoz egy új hajó példányt a hajótest geometria tetején - - - - Ship_Hydrostatics - - - Hydrostatics - Vízszilárdság / hydrostatika - - - - Plot the ship hydrostatics - A hajó hidrosztatika tételeinek nyomtatása - - - - Ship_LoadExample - - - Load an example ship geometry - Egy hajó geometria példa betöltése - - - - Load an example ship hull geometry. - Egy példa hajó test geometria betöltése. - - - - Ship_OutlineDraw - - - Outline draw - Körvonal rajzolása - - - - Plots the ship hull outline draw - Hajótest külső szerkezeti rajzot nyomtat - - - - ship_areas - - - Draft - Tervrajz - - - - Displacement - Elmozdulás - - - - Areas curve tool draft selected [m] - Területek görbéinek tervező eszköze kiválasztva [m] - - - - Plot the transversal areas curve - A transzverzális területek görbéit nyomtatja - - - - Areas curve tool trim selected [deg] - Területek görbe vágó eszközének kiválasztva [fok] - - - - Trim angle - Szög vágása - - - - Number of points - Pontok száma - - - - Areas curve tool number of points - Területek görbe eszköz pontok száma - - - - ship_capacity - - - Tank capacity curve - Tartály kapacitás görbe - - - - Plot the tank capacity curve (level-volume curve) - A tartály kapacitás görbe nyomtatása (térfogat-szint görbe) - - - - Plot the tank capacity curve - Tartály kapacitás görbe nyomtatás - - - - Number of points - Pontok száma - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Kérjük, hozzon létre, vagy töltsön be egy hajó törzs geometriát mielőtt használná ezt az eszközt - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Hajó objektumok csak hajótörzs geometriára létrehozhatók (nem található szilárd test a kijelölt objektumokon) - - - - Computing hydrostatics - Vízszilárdság / hidrosztatika kiszámítása - - - - Computing external faces - Külső felületek számítása - - - - Computing sections - Szakaszok számítása - - - - Any valid ship section found - Ennyi érvényes hajó részt talált - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Hajó objektumok csak hajótörzs geometriára létrehozhatók (nincsenek kijelölt objektumok) - - - - A ship instance must be selected before using this tool (no objects selected) - Egy hajó példányt kell kijelölni, mielőtt használja ezt az eszközt (nincsenek kijelölt objektumok) - - - - More than one ship have been selected (the extra ships will be ignored) - Több, mint egy hajót választott ki (az extra hajókat nem veszi figyelembe) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Egy hajó példányt ki kell jelölni, mielőtt használja ezt az eszközt (nem található érvényes hajó a kijelölt objektumokon) - - - - Plot module is disabled, so I cannot perform the plot - Nyomtató modul le van tiltva, ezért nem hajtható végre nyomtatás - - - - A ship instance must be selected before use this tool (no objects selected) - Egy hajó példányt kell kijelölni, mielőtt használja ezt az eszközt (nincsenek kijelölt objektumok) - - - - More than one ship has been selected (just the first one will be used) - Több, mint egy hajó van jelölve (csak az első, aki fogja használni) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Egy hajó példányt ki kell jelölni, mielőtt használja ezt az eszközt (nem található érvényes hajó a kijelölt objektumokon) - - - - Plot module is disabled, tools cannot graph output curves - Tervrajz nyomtató kiiktatva, az eszköz nem tud kirajzolni görbét - - - - Failure detecting external faces from the ship object - Hiba a hajó tárgy külső felületeinek észlelése közben - - - - A tank instance must be selected before using this tool (no objects selected) - Egy tank példánynyt kell kijelölni, mielőtt használná ezt az eszközt (nincs tárgy kijelölve) - - - - More than one tank have been selected (the extra tanks will be ignored) - Több mint egy tartályt választott (extra tartályokat figyelmen kívül hagyja) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Egy tartály példányt kell kijelölni, mielőtt használja ezt az eszközt (nem található érvényes tartáj a kijelölt objektumokon) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tartály térfogat művelet nem sikerült. Az eszközt újra próbálkozik kissé elmozgatva a szabad felszíni helyzetet - - - - A loading condition instance must be selected before using this tool (no objects selected) - Terhelési feltétel példányt kell kijelölni, mielőtt használja ezt az eszközt (nincs tárgy kijelölve) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Helytelen hajó címke! (nem található "{}" címkével példány) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Kétértelmű hajó címke! ({} példány talált ezzel a "{}" címkével ellátva) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Egynél több terhelési feltételt választott (extra terhelési feltételeket nem veszi figyelembe) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A terhelési feltétel példányt kell kijelölni, mielőtt használja ezt az eszközt (nincs érvényes terhelési feltétel a kijelölt tárgyakon) - - - - Too much weight! The ship will never displace water enough - Túl nagy súlyt! A hajó nem képes ennyi vizet kiszorítani - - - - Wrong Weight label! (no instances labeled as'{}' found) - Helytelen súly címke! (nem található "{}" címkével példány) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Kétértelmű súly címke! ({} példány talált ezzel a "{}" címkével ellátva) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Érvénytelen súly! (a tárgy "{}" címkével nem tömeg) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Helytelen tartály címke! (nem található "{}" címkével példány) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Kétértelmű tartály címke! ({} példány talált ezzel a "{}" címkével ellátva) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Érvénytelen tartály! ("{}" címkével ellátott tárgy nem tartály) - - - - Computing capacity curves - Kapacitás görbék számítása - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Logikai művelet nem sikerült a víz alatti oldal elérésénél. Az eszköz újrapróbálkozik a művelettel kissé elmozdítva a szabad felszíni helyzetet - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transzverzális terület kiszámítása nem sikerült - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null térfogat az elhelyezés számítás során! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Úszó terület nem számítható ki - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Üres területet talált a lebegő terület kiszámítása során! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Fő keret terület nem számítható ki - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Üres területet talált a fő keret terület együttható számítása során! - - - - ship_create - - - Base line - Alap vonal - - - - Free surface - Szabad felület - - - - Forward perpendicular - Merőleges előtt - - - - After perpendicular - Merőleges után - - - - Main frame - Fő keret - - - - Create a new ship - Új hajó létrehozása - - - - Length - Hossz - - - - Breadth - Szélesség - - - - Draft - Tervrajz - - - - ship_gz - - - GZ curve computation - GZ görbe kiszámítása - - - - Plot the GZ curve - A GZ-görbe felrajzolása - - - - Maximum angle - Maximális szög - - - - Number of points - Pontok száma - - - - Variable trim - Változó vágás - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - A hajót minden csavarási szögnél forgatni kell az egyensúlyi vágási szöghöz. Ez jelentősen növelni fogja a szükséges számítási időt - - - - GZ curve tool angle selected [deg] - GZ görbe eszköz szöge választott [fok] - - - - GZ curve tool number of points selected - GZ görbe eszköz pontok száma választott - - - - GZ curve tool variable trim angle selection - GZ görbe eszköz változó vágási szög választás - - - - ship_hydrostatic - - - Plot hydrostatics - Vízszilárdság / hidrosztatika nyomtatása - - - - Trim - Vágás - - - - Minimum draft - Minimális merülés - - - - Maximum draft - Maximális merülés - - - - Number of points - Pontok száma - - - - Hydrostatics tool trim selected - Vízszilárdság vágó eszköz kiválasztva - - - - Hydrostatics tool minimum draft selected [m] - Vízszilárdság minimum merülés kiválasztva [m] - - - - Hydrostatics tool maximum draft selected [m] - Vízszilárdság maximum merülés kiválasztva [m] - - - - Hydrostatics tool number of points selected - Vízszilárdság pontok számai eszköz kiválasztva - - - - ship_load - - - Load example ship - Példa hajó betöltése - - - - Select ship example geometry - Válasszon példa hajó geometriát - - - - ship_loadcondition - - - Create a new loading condition - Létrehoz egy új terhelési feltételt - - - - Create a new load condition spreadsheet - Létrehoz egy új terhelés feltétel munkafüzetet - - - - ship_outline - - - Outline draw - Körvonal rajzolása - - - - Auto create - Automatikus létrehozás - - - - Delete all sections - Minden szakasz törlése - - - - Create sections - Szakaszok létrehozása - - - - Transversal - Átlós - - - - Longitudinal - Hosszanti - - - - Water lines - Vízvonalak - - - - Transversal section positions [m] - Átlós szakaszok pozíciója [m] - - - - Longitudinal section positions [m] - Hosszmetszet pozíciója [m] - - - - Water line positions [m] - Víz szint pozíciók [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Igaz, ha egy érvényes tartály példányra, egyébként hamis - - - - Create a new tank - Új tartály létrehozása - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tartály tárgyakat csak geometria tetején hozhatók létre (nincsenek kijelölt tárgyak) - - - - No solids found in the selected objects - Nem található szilárd testek a kijelölt tárgyon - - - - There are not ship objects to create weights into them - Nincsenek hajó tárgyak, melyekre súlyok tehetők - - - - Ship - Hajó - - - - ship_weight - - - Create a new ship weight - Hozzon létre egy új hajó súlyt - - - - True if it is a valid weight instance, False otherwise - Igaz, ha az érvényes tömeg példányra, egyébként hamis - - - - Mass [kg] - Tömeg [kg] - - - - Linear density [kg / m] - Lineáris sűrűségű [kg / m] - - - - Density [kg / m^3] - Sűrűsége [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Súly-tárgyak csak a geometriájuk tetején hozhatók létre (nincs kijelölt tárgy) - - - - No geometrical shapes found in the selected objects - Nem találhatók a kijelölt objektumon geometriai alakzatok - - - - There are not ship objects to create weights into them - Nincsenek hajó tárgyak, melyekre súlyok tehetők - - - - Create a new weight - Hozzon létre egy új súlyt - - - - Ship - Hajó - - - - Mass - Tömeg - - - - Linear density - Lineáris sűrűség - - - - Area density - Terület sűrűség - - - - Density - Sűrűség - - - - Area density [kg / m^2] - Terület sűrűség [kg / m ^ 2] - - - - Unknown object shapes selected - Ismeretlen alakzatú tárgyakat választott - - - diff --git a/src/Mod/Ship/resources/translations/Ship_id.qm b/src/Mod/Ship/resources/translations/Ship_id.qm deleted file mode 100644 index 8ad9a2c900..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_id.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_id.ts b/src/Mod/Ship/resources/translations/Ship_id.ts deleted file mode 100644 index 875aed36be..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_id.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Desain kapal - - - - Weights - Desain kapal - - - - True if it is a valid ship instance, False otherwise - Benar jika itu adalah contoh kapal yang valid, Salah sebaliknya - - - - Ship length [m] - Panjang Kapal [m] - - - - Ship breadth [m] - Luas kapal [m] - - - - Ship draft [m] - Rancangan kapal [m] - - - - Set of external faces of the ship hull - Set wajah eksternal lambung kapal - - - - Set of weight instances - Set contoh berat - - - - Set of tank instances - Set contoh tangki - - - - Set of load conditions - Setel kondisi beban - - - - Ship_AreasCurve - - - Areas curve - Kawasan melengkung - - - - Plot the transversal areas curve - Plot kurva traversal daerah - - - - Ship_CreateShip - - - Create a new ship - Buat kapal baru - - - - Create a new ship instance on top of the hull geometry - Buat contoh kapal baru di atas geometri lambung - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatika - - - - Plot the ship hydrostatics - Plot kapal Hidrostatika - - - - Ship_LoadExample - - - Load an example ship geometry - Muat contoh geometri kapal - - - - Load an example ship hull geometry. - Muatkan contoh geometri lambung kapal. - - - - Ship_OutlineDraw - - - Outline draw - Garis besar menggambar - - - - Plots the ship hull outline draw - Plot garis besar hull kapal ditarik - - - - ship_areas - - - Draft - Konsep - - - - Displacement - Pemindahan - - - - Areas curve tool draft selected [m] - Area curve tool & quot; Sketcher & quot; modul. Ada modul serupa & quot; Draft & quot; n & quot; Menggambar & quot;, jadi hati-hati dengan kata-kata ini. draft "terjemahan =" konsep "> dipilih [m] - - - - Plot the transversal areas curve - Plot kurva traversal daerah - - - - Areas curve tool trim selected [deg] - Area curve tool trim dipilih [deg] - - - - Trim angle - Trim sudut - - - - Number of points - Jumlah poin - - - - Areas curve tool number of points - Daerah melengkung alat jumlah titik - - - - ship_capacity - - - Tank capacity curve - Kurva kapasitas tangki - - - - Plot the tank capacity curve (level-volume curve) - Plot kurva kapasitas tangki (kurva tingkat-volume) - - - - Plot the tank capacity curve - Plot kurva kapasitas tangki - - - - Number of points - Jumlah poin - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Tolong buat atau muat geometri lambung kapal sebelum menggunakan alat ini - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Benda kapal hanya bisa dibuat di atas geometri lambung (tidak ada padatan yang ditemukan pada benda-benda yang dipilih) - - - - Computing hydrostatics - Komputasi hidrostatika - - - - Computing external faces - Komputasi wajah eksternal - - - - Computing sections - Bagian komputasi - - - - Any valid ship section found - Setiap bagian kapal yang valid ditemukan - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Benda kapal hanya bisa dibuat di atas geometri lambung (tidak ada objek yang dipilih) - - - - A ship instance must be selected before using this tool (no objects selected) - Contoh kapal harus dipilih sebelum menggunakan alat ini (tidak ada objek yang dipilih) - - - - More than one ship have been selected (the extra ships will be ignored) - Lebih dari satu kapal telah dipilih (kapal tambahan akan diabaikan) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Contoh kapal harus dipilih sebelum menggunakan alat ini (tidak ada kapal yang valid yang ditemukan di objek yang dipilih) - - - - Plot module is disabled, so I cannot perform the plot - Modul plot dinonaktifkan, jadi saya tidak bisa melakukan plot - - - - A ship instance must be selected before use this tool (no objects selected) - Contoh kapal harus dipilih sebelum menggunakan alat ini (tidak ada objek yang dipilih) - - - - More than one ship has been selected (just the first one will be used) - Lebih dari satu kapal telah dipilih (hanya yang pertama akan digunakan) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Sebuah contoh kapal harus dipilih sebelum menggunakan alat ini (kapal november ditemukan di objek yang dipilih) - - - - Plot module is disabled, tools cannot graph output curves - Modul plot dinonaktifkan, alat tidak bisa membuat grafik kurva output - - - - Failure detecting external faces from the ship object - Kegagalan mendeteksi wajah eksternal dari objek kapal - - - - A tank instance must be selected before using this tool (no objects selected) - Contoh tangki harus dipilih sebelum menggunakan alat ini (tidak ada objek yang dipilih) - - - - More than one tank have been selected (the extra tanks will be ignored) - Lebih dari satu tangki telah dipilih (tangki ekstra akan diabaikan) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Contoh tangki harus dipilih sebelum menggunakan alat ini (tidak ada tangki yang valid yang ditemukan pada benda yang dipilih) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operasi volume tangki gagal. Alat ini mencoba kembali sedikit pergerakan posisi permukaan bebas - - - - A loading condition instance must be selected before using this tool (no objects selected) - Contoh kondisi pembebanan harus dipilih sebelum menggunakan alat ini (tidak ada objek yang dipilih) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Label kapal yang salah (tidak ada contoh yang diberi label sebagai '{}' ditemukan) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Label kapal ambigu ({} contoh berlabel '{}' ditemukan) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Lebih dari satu kondisi pemuatan telah dipilih (kondisi pemuatan ekstra akan diabaikan) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Contoh kondisi muatan harus dipilih sebelum menggunakan alat ini (tidak ada kondisi pemuatan yang valid yang ditemukan pada objek yang dipilih) - - - - Too much weight! The ship will never displace water enough - Terlalu berat! Kapal tidak akan pernah memindahkan cukup air - - - - Wrong Weight label! (no instances labeled as'{}' found) - Label berat salah (tidak ada contoh yang diberi label sebagai '{}' ditemukan) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Label berat ambigu! ({} contoh berlabel '{}' ditemukan) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Berat tidak benar (objek berlabel '{}' bukan bobot) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Label tangki salah (tidak ada contoh yang diberi label sebagai '{}' ditemukan) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Label tangki ambigu! ({} contoh berlabel '{}' ditemukan) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Label tangki ambigu! ({} contoh berlabel '{}' ditemukan) - - - - Computing capacity curves - Label tangki ambigu! ({} contoh berlabel '{}' ditemukan) - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operasi boolean gagal saat mencoba mendapatkan sisi bawah air. Alat ini mencoba kembali operasi semacam itu sedikit menggerakkan posisi permukaan bebas - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Perhitungan area transversal gagal - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume ditemukan selama perhitungan perpindahan! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Area terapung tidak bisa dihitung - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Area Null ditemukan selama perhitungan area terapung! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Area mainframe tidak dapat dihitung - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Area null ditemukan pada perhitungan koefisien area frame utama! - - - - ship_create - - - Base line - Garis dasar - - - - Free surface - Permukaan bebas - - - - Forward perpendicular - Permukaan bebas - - - - After perpendicular - Setelah tegak lurus - - - - Main frame - Bingkai utama - - - - Create a new ship - Buat kapal baru - - - - Length - Panjangnya - - - - Breadth - Luasnya - - - - Draft - Konsep - - - - ship_gz - - - GZ curve computation - Perhitungan kurva GZ - - - - Plot the GZ curve - Plot kurva GZ - - - - Maximum angle - Sudut maksimal - - - - Number of points - Jumlah poin - - - - Variable trim - Variabel trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Kapal akan diputar ke sudut trim ekuilibrium untuk setiap sudut roll. Ini akan secara signifikan meningkatkan waktu komputasi yang dibutuhkan - - - - GZ curve tool angle selected [deg] - GZ curve tool angle dipilih [deg] - - - - GZ curve tool number of points selected - Alat kurva GZ jumlah titik yang dipilih - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hidrostatika - - - - Trim - Memangkas - - - - Minimum draft - Minimum & quot; Sketcher & quot; modul. Ada modul serupa & quot; Draft & quot; dan & quot; Menggambar & quot;, jadi hati-hati dengan kata-kata ini. "terjemahan = konsep konsep - - - - Maximum draft - Maksimum & quot; Sketcher & quot; modul. Ada modul serupa & quot; Draft & quot; dan & quot; Menggambar & quot;, jadi hati-hati dengan kata-kata ini. "terjemahan = konsep konsep - - - - Number of points - Jumlah poin - - - - Hydrostatics tool trim selected - Trim alat hidrostatik dipilih - - - - Hydrostatics tool minimum draft selected [m] - Alat hidrostatik minimal & quot; Sketcher & quot; modul. Ada modul serupa & quot; Draft & quot; n & quot; Menggambar & quot;, jadi hati-hati dengan kata-kata ini. "translation =" konsep "> draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Alat hidrostatik maksimal & quot; Sketcher & quot; modul. Ada modul serupa & quot; Draft & quot; n & quot; Menggambar & quot;, jadi hati-hati dengan kata-kata ini. "translation =" konsep "> draft selected [m] - - - - Hydrostatics tool number of points selected - Alat hidrostatika jumlah titik yang dipilih - - - - ship_load - - - Load example ship - Muat contoh kapal - - - - Select ship example geometry - Pilih contoh kapal geometri - - - - ship_loadcondition - - - Create a new loading condition - Buat kondisi pemuatan baru - - - - Create a new load condition spreadsheet - Buat kondisi pemuatan baru - - - - ship_outline - - - Outline draw - Garis besar menggambar - - - - Auto create - Buat otomatis - - - - Delete all sections - Hapus semua bagian - - - - Create sections - Buat bagian - - - - Transversal - Lintang - - - - Longitudinal - Membujur - - - - Water lines - Garis air - - - - Transversal section positions [m] - Posisi melintang posisi [m] - - - - Longitudinal section positions [m] - Posisi posisi longitudinal [m] - - - - Water line positions [m] - Posisi garis air [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Benar jika itu adalah contoh tangki yang valid, Salah sebaliknya - - - - Create a new tank - Buat tangki baru - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Benda tangki hanya bisa dibuat di atas geometrinya (tidak ada objek yang dipilih) - - - - No solids found in the selected objects - Tidak ada padatan yang ditemukan di objek yang dipilih - - - - There are not ship objects to create weights into them - Tidak ada objek kapal untuk menciptakan bobot ke dalamnya - - - - Ship - Kapal - - - - ship_weight - - - Create a new ship weight - Buat bobot kapal baru - - - - True if it is a valid weight instance, False otherwise - Benar jika itu adalah contoh bobot yang valid, Salah sebaliknya - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Kepadatan linier [kg / m] - - - - Density [kg / m^3] - Densitas [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Benda berat hanya bisa dibuat di atas geometrinya (tidak ada objek yang dipilih) - - - - No geometrical shapes found in the selected objects - Tidak ada bentuk geometris yang ditemukan di objek yang dipilih - - - - There are not ship objects to create weights into them - Tidak ada objek kapal untuk menciptakan bobot ke dalamnya - - - - Create a new weight - Buat bobot baru - - - - Ship - Kapal - - - - Mass - Massa - - - - Linear density - Kepadatan linier - - - - Area density - Kepadatan wilayah - - - - Density - Massa jenis - - - - Area density [kg / m^2] - Kepadatan wilayah [kg / m ^ 2] - - - - Unknown object shapes selected - Bentuk objek yang tidak diketahui dipilih - - - diff --git a/src/Mod/Ship/resources/translations/Ship_it.qm b/src/Mod/Ship/resources/translations/Ship_it.qm deleted file mode 100644 index f07d76ed87..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_it.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_it.ts b/src/Mod/Ship/resources/translations/Ship_it.ts deleted file mode 100644 index d7477aff56..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_it.ts +++ /dev/null @@ -1,733 +0,0 @@ - - - - - Ship - - - Ship design - Progettazione navale - - - - Weights - Pesi - - - - True if it is a valid ship instance, False otherwise - Vero se è un'istanza di nave valida, altrimenti Falso - - - - Ship length [m] - Lunghezza nave [m] - - - - Ship breadth [m] - Larghezza nave [m] - - - - Ship draft [m] - Pescaggio nave [m] - - - - Set of external faces of the ship hull - Insieme di facce esterne dello scafo della nave - - - - Set of weight instances - Imposta una istanza di pesi - - - - Set of tank instances - Imposta le istanze del serbatoio - - - - Set of load conditions - Condizioni di carico - - - - Ship_AreasCurve - - - Areas curve - Curva delle sezioni - - - - Plot the transversal areas curve - Traccia su un grafico la curva delle aree trasversali - - - - Ship_CreateShip - - - Create a new ship - Crea una nuova nave - - - - Create a new ship instance on top of the hull geometry - Crea una nuova istanza di nave sulla geometria dello scafo - - - - Ship_Hydrostatics - - - Hydrostatics - Idrostatica - - - - Plot the ship hydrostatics - Traccia su un grafico l'idrostatica della nave - - - - Ship_LoadExample - - - Load an example ship geometry - Carica un esempio di geometria di una nave - - - - Load an example ship hull geometry. - Carica un esempio di geometria di scafo. - - - - Ship_OutlineDraw - - - Outline draw - Disegno del contorno - - - - Plots the ship hull outline draw - Traccia su un grafico le linee di contorno dello scafo della nave - - - - ship_areas - - - Draft - Pescaggio - - - - Displacement - Dislocamento - - - - Areas curve tool draft selected [m] - Sezione selezionata per lo strumento curva dell'area immersa [m] - - - - Plot the transversal areas curve - Traccia su un grafico la curva delle aree trasversali - - - - Areas curve tool trim selected [deg] - Assetto selezionato per lo strumento curva dell'area immersa [gradi] - - - - Trim angle - Angolo di assetto - - - - Number of points - Numero di punti - - - - Areas curve tool number of points - Numero di punti selezionati per lo strumento curva dell'area immersa - - - - ship_capacity - - - Tank capacity curve - Curva di capacità del serbatoio - - - - Plot the tank capacity curve (level-volume curve) - Traccia la curva di capacità del serbatoio (curva di livello-volume) - - - - Plot the tank capacity curve - Traccia la curva di capacità del serbatoio - - - - Number of points - Numero di punti - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Si prega di creare o caricare la geometria dello scafo prima di utilizzare questo strumento - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Gli oggetti nave possono essere creati solo su una geometria dello scafo (nessuno degli oggetti selezionati è un solido) - - - - Computing hydrostatics - Calcolo idrostatico - - - - Computing external faces - Calcolo facce esterne - - - - Computing sections - Calcolo sezioni - - - - Any valid ship section found - Nessuna sezione valida di nave trovata - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Gli oggetti nave possono essere creati soltanto sulla geometria di uno scafo (nessun oggetto selezionato) - - - - A ship instance must be selected before using this tool (no objects selected) - Prima di usare questo strumento si deve selezionare un'istanza nave (nessun oggetto selezionato) - - - - More than one ship have been selected (the extra ships will be ignored) - E' stata selezionata più di una nave (le navi extra saranno ignorate) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Prima di usare questo strumento si deve selezionare un'istanza nave (tra gli oggetti selezionati non è stata trovata nessuna nave valida) - - - - Plot module is disabled, so I cannot perform the plot - Il modulo Plot è disattivato, quindi non è possibile tracciare il grafico - - - - A ship instance must be selected before use this tool (no objects selected) - Prima di usare questo strumento si deve selezionare un'istanza nave (nessun oggetto selezionato) - - - - More than one ship has been selected (just the first one will be used) - È stata selezionata più di una nave (sarà usata solo la prima) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Prima di usare questo strumento si deve selezionare un'istanza nave (tra gli oggetti selezionati non è stata trovata nessuna nave valida) - - - - Plot module is disabled, tools cannot graph output curves - Il modulo Plot è disabilitato, quindi non è possibile tracciare le curve - - - - Failure detecting external faces from the ship object - Errore durante la rilevazione delle facce esterne dall'oggetto nave - - - - A tank instance must be selected before using this tool (no objects selected) - Prima di utilizzare questo strumento si deve selezionare un'istanza serbatoio (nessun oggetto selezionato) - - - - More than one tank have been selected (the extra tanks will be ignored) - Sono stati selezionati più serbatoi (i serbatoi in eccesso verranno ignorati) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Prima di utilizzare questo strumento si deve selezionare un'istanza serbatoio (tra gli oggetti selezionati non è stato trovato nessun serbatoio valido) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operazione Volume serbatoio non riuscita. Spostare leggermente la posizione della superficie libera e fare un nuovo tentativo - - - - A loading condition instance must be selected before using this tool (no objects selected) - Prima di utilizzare questo strumento deve essere selezionata una istanza condizione di carico (non è selezionato alcun oggetto) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Etichetta nave errata! (non è stata trovata nessuna istanza etichettata '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Etichetta nave ambigua! (sono state trovate {} istanze -etichettate '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - È stato selezionato più di un carico (i carichi aggiuntivi saranno ignorati) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Prima di utilizzare questo strumento si deve selezionare una istanza condizione carico (tra gli oggetti selezionati non è stata trovata nessuna condizione di carico valida) - - - - Too much weight! The ship will never displace water enough - Troppo peso! La nave non potrà mai spostare abbastanza acqua - - - - Wrong Weight label! (no instances labeled as'{}' found) - Etichetta peso errata! (non è stata trovata nessuna istanza etichettata '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Etichetta peso ambigua! (sono state trovate {} istanze -etichettate '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Peso non valido! (l'oggetto etichettato '{}' non è un peso) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Etichetta serbatoio errata! (non è stata trovata nessuna istanza etichettata '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Etichetta serbatoio ambigua! (sono state trovate {} istanze -etichettate '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Serbatoio non valido! (l'oggetto etichettato '{}' non è un serbatoio) - - - - Computing capacity curves - Calcolo delle curve di capacità - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operazione booleana fallita nel tentativo di ottenere la parte sommersa. Spostare leggermente la posizione della superficie libera e ripetere l'operazione - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Calcolo dell'area trasversale non riuscito - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: durante il calcolo del dislocamento è stato trovato un volume zero! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: non è possibile calcolare l'area di galleggiamento - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: durante il calcolo dell'area di galleggiamento è stata trovata un'area zero! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: l'area della sezione maestra non può essere calcolata - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: durante il calcolo della sezione maestra è stata trovata un'area zero! - - - - ship_create - - - Base line - Linea di base - - - - Free surface - Superficie libera - - - - Forward perpendicular - Perpendicolare anteriore - - - - After perpendicular - Perpendicolare posteriore - - - - Main frame - Sezione maestra - - - - Create a new ship - Crea una nuova nave - - - - Length - Lunghezza - - - - Breadth - Ampiezza - - - - Draft - Pescaggio - - - - ship_gz - - - GZ curve computation - Calcola la curva GZ - - - - Plot the GZ curve - Traccia la curva GZ - - - - Maximum angle - Angolo massimo - - - - Number of points - Numero di punti - - - - Variable trim - Assetto variabile - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - La nave verrà ruotata fino all'angolo di assetto per ogni angolo di rollio. Questo aumenterà in modo significativo i tempi necessari per il calcolo - - - - GZ curve tool angle selected [deg] - Angolo selezionato per lo strumento curva GZ [deg] - - - - GZ curve tool number of points selected - Numero di punti selezionati per lo strumento curva GZ [deg] - - - - GZ curve tool variable trim angle selection - Seleziona l'angolo di assetto variabile per lo strumento curva GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Disegna idrostatica - - - - Trim - Assetto - - - - Minimum draft - Pescaggio minimo - - - - Maximum draft - Pescaggio massimo - - - - Number of points - Numero di punti - - - - Hydrostatics tool trim selected - Assetto selezionato per lo strumento idrostatica - - - - Hydrostatics tool minimum draft selected [m] - Pescaggio minimo selezionato per lo strumento idrostatica [m] - - - - Hydrostatics tool maximum draft selected [m] - Pescaggio massimo selezionato per lo strumento idrostatica [m] - - - - Hydrostatics tool number of points selected - Numero di punti selezionati per lo strumento idrostatica - - - - ship_load - - - Load example ship - Carica un esempio di nave - - - - Select ship example geometry - Seleziona la geometria di nave di esempio - - - - ship_loadcondition - - - Create a new loading condition - Crea una nuova condizione di carico - - - - Create a new load condition spreadsheet - Crea un nuovo foglio elettronico per la condizione di carico - - - - ship_outline - - - Outline draw - Disegno del contorno - - - - Auto create - Crea automaticamente - - - - Delete all sections - Elimina tutte le sezioni - - - - Create sections - Crea sezioni - - - - Transversal - Trasversale - - - - Longitudinal - Longitudinale - - - - Water lines - Linee d'acqua - - - - Transversal section positions [m] - Posizioni della sezione trasversale [m] - - - - Longitudinal section positions [m] - Posizioni della sezione longitudinale [m] - - - - Water line positions [m] - Posizioni della linea d'acqua [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True se è un'istanza di serbatoio valido, altrimenti False - - - - Create a new tank - Crea un nuovo serbatoio - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Gli oggetti serbatoio possono essere creati solo sopra la loro geometria (nessun oggetto selezionato) - - - - No solids found in the selected objects - Tra gli oggetti selezionati non è stato trovato nessun solido - - - - There are not ship objects to create weights into them - Non ci sono oggetti nave in cui creare i pesi - - - - Ship - Nave - - - - ship_weight - - - Create a new ship weight - Crea un nuovo peso della nave - - - - True if it is a valid weight instance, False otherwise - True se è un'istanza di peso valida, altrimenti False - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Densità lineare [kg / m] - - - - Density [kg / m^3] - Densità [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Gli oggetti Peso possono essere creati solo sopra la loro geometria (nessun oggetto selezionato) - - - - No geometrical shapes found in the selected objects - Tra gli oggetti selezionati non sono state trovate forme geometriche - - - - There are not ship objects to create weights into them - Non ci sono oggetti nave in cui creare i pesi - - - - Create a new weight - Crea un nuovo peso - - - - Ship - Nave - - - - Mass - Massa - - - - Linear density - Densità lineare - - - - Area density - Densità della zona - - - - Density - Densità - - - - Area density [kg / m^2] - Densità [kg / m ^ 3] - - - - Unknown object shapes selected - Gli oggetti forma selezionati sono sconosciuti - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ja.qm b/src/Mod/Ship/resources/translations/Ship_ja.qm deleted file mode 100644 index d47516238c..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ja.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ja.ts b/src/Mod/Ship/resources/translations/Ship_ja.ts deleted file mode 100644 index 0bea985937..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ja.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - 船舶設計 - - - - Weights - 重さ - - - - True if it is a valid ship instance, False otherwise - 有効な船舶インスタンスの場合 True、それ以外の場合 False - - - - Ship length [m] - 船の長さ [m] - - - - Ship breadth [m] - 船の幅 [m] - - - - Ship draft [m] - 船舶の喫水 [m] - - - - Set of external faces of the ship hull - 船殻の外部面を設定 - - - - Set of weight instances - 重量インスタンスの設定 - - - - Set of tank instances - タンクのインスタンスを設定 - - - - Set of load conditions - 荷重条件の設定 - - - - Ship_AreasCurve - - - Areas curve - 面積曲線 - - - - Plot the transversal areas curve - 横断領域曲線をプロット - - - - Ship_CreateShip - - - Create a new ship - 新規に船を作成 - - - - Create a new ship instance on top of the hull geometry - 船殻ジオメトリー上に新しい船舶インスタンスを作成 - - - - Ship_Hydrostatics - - - Hydrostatics - 流体静力学 - - - - Plot the ship hydrostatics - 船舶の流体静力学をプロット - - - - Ship_LoadExample - - - Load an example ship geometry - サンプルの船舶ジオメトリを読み込み - - - - Load an example ship hull geometry. - サンプルの船体形状を読み込む - - - - Ship_OutlineDraw - - - Outline draw - 外形線表示 - - - - Plots the ship hull outline draw - 船殻外形線をプロット - - - - ship_areas - - - Draft - 喫水 - - - - Displacement - 変位 - - - - Areas curve tool draft selected [m] - 面積曲線ツール 喫水選択 [m] - - - - Plot the transversal areas curve - 横断領域曲線をプロット - - - - Areas curve tool trim selected [deg] - 面積曲線ツール トリム選択 [度] - - - - Trim angle - トリム角度 - - - - Number of points - 点の数 - - - - Areas curve tool number of points - 面積曲線ツール 点数 - - - - ship_capacity - - - Tank capacity curve - タンク容量曲線 - - - - Plot the tank capacity curve (level-volume curve) - タンク容量曲線 (水位-体積曲線) をプロットします。 - - - - Plot the tank capacity curve - タンク容量曲線をプロット - - - - Number of points - 点の数 - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - このツールを使用する前に船殻ジオメトリーを作成するか読み込んでください - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - 船舶オブジェクトは船殻ジオメトリー上にのみ作成できます(選択されているオブジェクトの中にソリッドがありません) - - - - Computing hydrostatics - 流体静力学を計算 - - - - Computing external faces - 外部面を計算 - - - - Computing sections - 断面を計算 - - - - Any valid ship section found - 有効な船舶断面が見つかりません - - - - Ship objects can only be created on top of hull geometry (no objects selected) - 船舶オブジェクトは船殻ジオメトリー上にのみ作成できます(選択されているオブジェクトがありません) - - - - A ship instance must be selected before using this tool (no objects selected) - このツールを使用する前に船舶インスタンスを選択する必要があります(選択されているオブジェクトがありません) - - - - More than one ship have been selected (the extra ships will be ignored) - 複数の船舶が選択されています(余分な船舶は無視されます) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - このツールを使用する前に船舶インスタンスを選択する必要があります(選択オブジェクトの中に適切な船舶が見つかりません) - - - - Plot module is disabled, so I cannot perform the plot - プロットモジュールが無効なのでプロットを実行できません。 - - - - A ship instance must be selected before use this tool (no objects selected) - このツールを使用する前に船舶インスタンスを選択する必要があります(選択されているオブジェクトがありません) - - - - More than one ship has been selected (just the first one will be used) - 複数の船が選択されています (最初の 1 つだけ使用されます) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - このツールを使用する前に船舶インスタンスを選択する必要があります(選択オブジェクトの中に適切な船舶が見つかりません) - - - - Plot module is disabled, tools cannot graph output curves - プロットモジュールが無効になっているため結果の曲線を描画できません - - - - Failure detecting external faces from the ship object - 船舶オブジェクトからの外部面検出に失敗 - - - - A tank instance must be selected before using this tool (no objects selected) - このツールを使用する前にタンク・インスタンスを選択する必要があります(選択されているオブジェクトがありません) - - - - More than one tank have been selected (the extra tanks will be ignored) - 複数のタンクが選択されています(余分なタンクは無視されます) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - このツールを使用する前にタンク・インスタンスを選択する必要があります(選択オブジェクトの中に適切なタンクが見つかりません) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - タンクの体積操作が失敗しました。ツールは自由表面位置をわずかに移動するよう再試行しています。 - - - - A loading condition instance must be selected before using this tool (no objects selected) - このツールを使用する前に荷重条件インスタンスを選択する必要があります(選択されているオブジェクトがありません) - - - - Wrong Ship label! (no instances labeled as'{}' found) - 誤った船舶ラベルです!('{}' のラベルが付けられたインスタンスが見つかりませんでした) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - あいまいな船舶ラベルです!('{}' のラベルが付けられたインスタンスが{}見つかりました) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - 複数の荷重条件が選択されています(余分な荷重条件は無視されます) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - このツールを使用する前に荷重条件インスタンスを選択する必要があります(選択オブジェクトの中に適切な荷重条件が見つかりません) - - - - Too much weight! The ship will never displace water enough - 重量が大きすぎます!船舶の排水量が不十分です - - - - Wrong Weight label! (no instances labeled as'{}' found) - 誤った重量ラベルです!('{}' のラベルが付けられたインスタンスが見つかりませんでした) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - あいまいな重量ラベルです!('{}' のラベルが付けられたインスタンスが{}見つかりました) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - 無効な重量です!('{}'のラベルを付けられたオブジェクトは重量ではありません) - - - - Wrong Tank label! (no instances labeled as'{}' found) - 誤ったタンクラベルです!('{}' のラベルが付けられたインスタンスが見つかりませんでした) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - あいまいなタンクラベルです!('{}' のラベルが付けられたインスタンスが{}見つかりました) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - 無効なタンクです!('{}'のラベルを付けられたオブジェクトはタンクではありません) - - - - Computing capacity curves - 容量曲線を計算 - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - 水面下の面を取得しようとした際にブーリアン演算が失敗しました。ツールは自由表面の位置をわずかに移動して操作を再試行いています。 - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: 横断面積の計算に失敗しました - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: 変位の計算中にNull体積が見つかりました! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: 浮上面積を計算できません - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: 浮上面積の計算中にNull面積が見つかりました! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: メインフレーム面積を計算できません - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: メインフレーム面積係数の計算中にNull面積が見つかりました! - - - - ship_create - - - Base line - 基線 - - - - Free surface - 自由表面 - - - - Forward perpendicular - 船首垂線 - - - - After perpendicular - 船尾垂線 - - - - Main frame - メイン フレーム - - - - Create a new ship - 新規に船を作成 - - - - Length - 長さ - - - - Breadth - 全幅 - - - - Draft - 喫水 - - - - ship_gz - - - GZ curve computation - GZ曲線の計算 - - - - Plot the GZ curve - GZ曲線をプロット - - - - Maximum angle - 最大角度 - - - - Number of points - 点の数 - - - - Variable trim - 変数トリム - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - 船舶は各ロール角度に対する釣り合いトリム角度まで回転されます。必要な計算時間が大幅に増加します。 - - - - GZ curve tool angle selected [deg] - GZ曲線ツール 角度選択 [度] - - - - GZ curve tool number of points selected - GZ曲線ツール 点数選択 - - - - GZ curve tool variable trim angle selection - GZ曲線ツール 変数トリム角度選択 - - - - ship_hydrostatic - - - Plot hydrostatics - 流体静力学をプロット - - - - Trim - トリム - - - - Minimum draft - 最小喫水 - - - - Maximum draft - 最大喫水 - - - - Number of points - 点の数 - - - - Hydrostatics tool trim selected - 流体静力学ツール トリム選択 - - - - Hydrostatics tool minimum draft selected [m] - 流体静力学ツール 最小喫水選択 [m] - - - - Hydrostatics tool maximum draft selected [m] - 流体静力学ツール 最大喫水選択 [m] - - - - Hydrostatics tool number of points selected - 流体静力学ツール 点数選択 [m] - - - - ship_load - - - Load example ship - サンプルの船舶を読み込みます - - - - Select ship example geometry - 船のジオメトリーの例を選択します - - - - ship_loadcondition - - - Create a new loading condition - 新しい荷重条件を作成 - - - - Create a new load condition spreadsheet - 新しい荷重条件スプレッドシートを作成 - - - - ship_outline - - - Outline draw - 外形線表示 - - - - Auto create - 自動作成 - - - - Delete all sections - 全ての断面を削除 - - - - Create sections - 断面を作成 - - - - Transversal - - - - - Longitudinal - - - - - Water lines - 水線 - - - - Transversal section positions [m] - 横断断面位置 [m] - - - - Longitudinal section positions [m] - 縦断断面位置 [m] - - - - Water line positions [m] - 喫水線位置 [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - 有効なタンク・インスタンスの場合 True、それ以外の場合 False - - - - Create a new tank - 新しいタンクを作成 - - - - Tanks objects can only be created on top of its geometry (no objects selected) - タンク・オブジェクトはジオメトリの上にのみ作成できます (オブジェクトが選択されていません) - - - - No solids found in the selected objects - 選択されたオブジェクトの中にはソリッドがありません - - - - There are not ship objects to create weights into them - 重量を作成できる船舶オブジェクトがありません - - - - Ship - 船舶 - - - - ship_weight - - - Create a new ship weight - 新しい船舶重量を作成 - - - - True if it is a valid weight instance, False otherwise - 有効な重量インスタンスの場合 True、それ以外の場合 False - - - - Mass [kg] - 質量 [kg] - - - - Linear density [kg / m] - 線密度 [kg / m] - - - - Density [kg / m^3] - 密度 [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - 重量オブジェクトはジオメトリの上にのみ作成できます (オブジェクトが選択されていません) - - - - No geometrical shapes found in the selected objects - 選択されたオブジェクトの中にジオメトリー形状がありません - - - - There are not ship objects to create weights into them - 重量を作成できる船舶オブジェクトがありません - - - - Create a new weight - 新しい重量を作成 - - - - Ship - 船舶 - - - - Mass - 質量 - - - - Linear density - 線密度 - - - - Area density - 面密度 - - - - Density - 密度 - - - - Area density [kg / m^2] - 面密度 [kg / m^2] - - - - Unknown object shapes selected - 不明なオブジェクトのシェイプが選択されています - - - diff --git a/src/Mod/Ship/resources/translations/Ship_kab.qm b/src/Mod/Ship/resources/translations/Ship_kab.qm deleted file mode 100644 index 90bd7ee866..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_kab.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_kab.ts b/src/Mod/Ship/resources/translations/Ship_kab.ts deleted file mode 100644 index 7429a11b3d..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_kab.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Conception de navires - - - - Weights - Poids - - - - True if it is a valid ship instance, False otherwise - True si c'est une instance de navire valide, False sinon - - - - Ship length [m] - Longueur du navire [m] - - - - Ship breadth [m] - Largeur de navire [m] - - - - Ship draft [m] - Projet de navire [m] - - - - Set of external faces of the ship hull - Ensemble des faces externes de la coque du bateau - - - - Set of weight instances - Groupe de poids - - - - Set of tank instances - Groupe de compartiments - - - - Set of load conditions - Ensemble de conditions de charge - - - - Ship_AreasCurve - - - Areas curve - Courbe de zone - - - - Plot the transversal areas curve - tracer la courbe de surface transversal - - - - Ship_CreateShip - - - Create a new ship - Créer un nouveau navire - - - - Create a new ship instance on top of the hull geometry - Créer une nouvelle instance de navire sur le dessus de la géométrie de la coque - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatique - - - - Plot the ship hydrostatics - tracer les caractéristiques hydrostatique du navire - - - - Ship_LoadExample - - - Load an example ship geometry - Charger un exemple de géométrie de navire - - - - Load an example ship hull geometry. - Charger un exemple de géométrie de coque de navire. - - - - Ship_OutlineDraw - - - Outline draw - Dessiner le contour - - - - Plots the ship hull outline draw - tracer le profil de coque du navire - - - - ship_areas - - - Draft - Tirant d'eau - - - - Displacement - Déplacement - - - - Areas curve tool draft selected [m] - Outil projet de courbe de zone sélectionné [m] - - - - Plot the transversal areas curve - tracer la courbe de surface transversal - - - - Areas curve tool trim selected [deg] - outil de découpe de courbes sélectionné [deg] - - - - Trim angle - Ajuster l'angle - - - - Number of points - Nombre de points - - - - Areas curve tool number of points - Nombre de points des outils de courbes de l'aire - - - - ship_capacity - - - Tank capacity curve - Courbe de capacité de compartiment - - - - Plot the tank capacity curve (level-volume curve) - Traçer la courbe de capacité d'un compartiment (courbe niveau-volume) - - - - Plot the tank capacity curve - Traçer la courbe de capacité d'un compartiment - - - - Number of points - Nombre de points - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Veuillez créer ou charger une géométrie de coque de navire avant d'utiliser cet outil - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Les navires ne peuvent être créés qu'au sommet de la géométrie de la coque (aucun solide n'a été trouvé parmi les objets sélectionnés) - - - - Computing hydrostatics - Calculs hydrostatiques - - - - Computing external faces - Calcul des faces externes - - - - Computing sections - Calcul des sections - - - - Any valid ship section found - Aucune section valide de navire n'a été trouvée - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Les navires ne peuvent être créés qu'au sommet de la géométrie de la coque (pas d'objet sélectionné) - - - - A ship instance must be selected before using this tool (no objects selected) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one ship have been selected (the extra ships will be ignored) - Plus d'un navire ont été sélectionnés (les navires supplémentaires seront ignorées) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun navire valide dans les objets sélectionnés) - - - - Plot module is disabled, so I cannot perform the plot - Module de traçage est désactivé, donc je ne peux realiser le traçage - - - - A ship instance must be selected before use this tool (no objects selected) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one ship has been selected (just the first one will be used) - Plus d'un navire a été sélectionné ( seul le premier sera utilisé) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Une instance de navire doit être sélectionnée avant d'utiliser cet outil (aucun navire valide dans les objets sélectionnés) - - - - Plot module is disabled, tools cannot graph output curves - Le module de tracé est désactivé, traçage impossible - - - - Failure detecting external faces from the ship object - Échec de détection des faces externes de l'objet navire - - - - A tank instance must be selected before using this tool (no objects selected) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun objet sélectionné) - - - - More than one tank have been selected (the extra tanks will be ignored) - Plusieurs compartiments ont été sélectionnés (les compartiments supplémentaires seront ignorés) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun compartiment valide parmi les objets sélectionnés) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - L'opération du volume du réservoir a raté. L'outil vas recommencer en déplaçant la position de la surface libre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Un compartiment doit être sélectionné avant d'utiliser cet outil (aucun objet sélectionné) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Mauvaise étiquette du bateau! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Étiquette de Bateau Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Plus d'une condition de chargement choisi (les conditions de chargement supplémentaires seront ignorées) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Une condition de chargement doit être sélectionné avant l'utilisation de cet outil (Aucune condition de chargement valide n'a été trouvé dans les objets sélectionnés) - - - - Too much weight! The ship will never displace water enough - Trop lourd! Le bateau ne déplacera jamais assez d'eau - - - - Wrong Weight label! (no instances labeled as'{}' found) - Mauvaise étiquette de poids! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Étiquette de poids Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Poids non valide ! (l'objet portant la mention '{}' n'est pas un poids) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Mauvaise étiquette du réservoir! ( Aucun cas étiquetés comme '{}' trouvé) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Étiquette du réservoir Ambiguë! ({} cas étiquetés comme '{}' trouvé) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Réservoir non valide ! (l'objet portant la mention '{}' n'est pas un réservoir) - - - - Computing capacity curves - Calcul des capacités des courbes - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Opération booléenne a échoué en essayant d'obtenir la partie sous-marine. L'outil lance une nouvelle tentative de calcul touchant légèrement la position de surface libre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError : Le calcul de l'aire transversale a échoué - - - - ZeroDivisionError: Null volume found during the displacement computation! - Erreur de division par zéro: Volume nul trouvé pendant le calcul du déplacement! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError : La zone flottante ne peut être calculée - - - - ZeroDivisionError: Null area found during the floating area computation! - Erreur de division par zéro: Aire nul trouvé pendant le calcul de l'aire flottante! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError : L'aire du cadre principal ne peut être calculée - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - Erreur de division par zéro: Aire nul trouvé pendant le calcul du coefficient de l'aire du cadre principal! - - - - ship_create - - - Base line - Ligne de base - - - - Free surface - Surface libre - - - - Forward perpendicular - Prolonger la perpendiculaire - - - - After perpendicular - Après la perpendiculaire - - - - Main frame - Cadre principal - - - - Create a new ship - Créer un nouveau navire - - - - Length - Longueur - - - - Breadth - Etendu/Largeur - - - - Draft - Tirant d'eau - - - - ship_gz - - - GZ curve computation - Calcul de la courbe GZ - - - - Plot the GZ curve - Tracer la courbe GZ - - - - Maximum angle - Angle maximal - - - - Number of points - Nombre de points - - - - Variable trim - Variable équilibré - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Le bateau sera tourné à l'équilibre coupant l'angle pour chaque angle de rôle. Il augmentera considérablement le temps exigé de calcul - - - - GZ curve tool angle selected [deg] - L'outil d'angle des courbe GZ sélectionné [deg] - - - - GZ curve tool number of points selected - L'outil nombre de point pour les courbes GZ est sélectionné - - - - GZ curve tool variable trim angle selection - La variable de sélection angulaire de la courbe GZ a été ajusté - - - - ship_hydrostatic - - - Plot hydrostatics - Tracer les lignes hydrostatiques - - - - Trim - Ajuster - - - - Minimum draft - Tirant d'eau minimum - - - - Maximum draft - Tirant d'eau maximum - - - - Number of points - Nombre de points - - - - Hydrostatics tool trim selected - L'outil d'ajustement des lignes hydrostatiques est sélectionné - - - - Hydrostatics tool minimum draft selected [m] - Tirant d'eau minimum sélectionné par l'outil hydrostatic [m] - - - - Hydrostatics tool maximum draft selected [m] - Tirant d'eau maximum sélectionné par l'outil hydrostatic [m] - - - - Hydrostatics tool number of points selected - L'outil nombre de point pour les lignes hydrostatiques est sélectionné - - - - ship_load - - - Load example ship - Charger un exemple de navire - - - - Select ship example geometry - Sélectionnez un exemple de géométrie de navire - - - - ship_loadcondition - - - Create a new loading condition - Créer une nouvelle condition de chargement - - - - Create a new load condition spreadsheet - Créer une nouvelle feuille de calcul de condition de chargement - - - - ship_outline - - - Outline draw - Dessiner le contour - - - - Auto create - Créer automatiquement - - - - Delete all sections - Supprimer toutes les sections - - - - Create sections - Créer des sections - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Lignes de flottaison - - - - Transversal section positions [m] - Position des sections transversales [m] - - - - Longitudinal section positions [m] - Position des sections longitudinales [m] - - - - Water line positions [m] - Position des lignes de flottaison [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Vrai si ceci est un compartiment valide, sinon False - - - - Create a new tank - Créer un nouveau compartiment - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Un compartiment peut seulement être créé à partir de sa géométrie (aucun objet sélectionné) - - - - No solids found in the selected objects - Aucun solide présent parmi les objets sélectionnés - - - - There are not ship objects to create weights into them - Il n'y a pas de navire pour y créer des poids - - - - Ship - Navire - - - - ship_weight - - - Create a new ship weight - Créer un nouveau poids de navire - - - - True if it is a valid weight instance, False otherwise - True si ceci est un navire valide, sinon False - - - - Mass [kg] - Masse [kg] - - - - Linear density [kg / m] - Masse linéique [kg / m] - - - - Density [kg / m^3] - Densité [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Un poids peut seulement être créé à partir de sa géométrie (aucun objet sélectionné) - - - - No geometrical shapes found in the selected objects - Aucune forme géométrique parmi les objets sélectionnés - - - - There are not ship objects to create weights into them - Il n'y a pas de navire pour y créer des poids - - - - Create a new weight - Créer un nouveau poids - - - - Ship - Navire - - - - Mass - Masse - - - - Linear density - Masse linéaire - - - - Area density - Densité surfacique - - - - Density - Densité - - - - Area density [kg / m^2] - Densité surfacique [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ko.qm b/src/Mod/Ship/resources/translations/Ship_ko.qm deleted file mode 100644 index c0d55306e0..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ko.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ko.ts b/src/Mod/Ship/resources/translations/Ship_ko.ts deleted file mode 100644 index 5e3b7cf94b..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ko.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - 선박 설계 - - - - Weights - 중량 - - - - True if it is a valid ship instance, False otherwise - True if it is a valid ship instance, False otherwise - - - - Ship length [m] - 선체 길이 [m] - - - - Ship breadth [m] - 선체 폭 [m] - - - - Ship draft [m] - 선체 흘수 [m] - - - - Set of external faces of the ship hull - Set of external faces of the ship hull - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Create a new ship - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - 정수(靜水) - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Load an example ship geometry - - - - Load an example ship hull geometry. - Load an example ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - 윤곽선 그리기 - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - 흘수 - - - - Displacement - 변위 - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trim angle - - - - Number of points - Number of points - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Number of points - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - More than one ship has been selected (just the first one will be used) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - 기선 - - - - Free surface - 자유표면 - - - - Forward perpendicular - 선수수선 - - - - After perpendicular - 선미수선 - - - - Main frame - Main frame - - - - Create a new ship - Create a new ship - - - - Length - 거리 - - - - Breadth - 전폭 - - - - Draft - 흘수 - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximum angle - - - - Number of points - Number of points - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Trim - - - - Minimum draft - 최소 흘수 - - - - Maximum draft - 최대 흘수 - - - - Number of points - Number of points - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Load example ship - - - - Select ship example geometry - Select ship example geometry - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - 윤곽선 그리기 - - - - Auto create - 자동 생성 - - - - Delete all sections - Delete all sections - - - - Create sections - Create sections - - - - Transversal - - - - - Longitudinal - - - - - Water lines - 수선 - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - 수선 위치 [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - 새로운 tank 만들기 - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - 선박 - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - 질량 [kg] - - - - Linear density [kg / m] - 선 밀도 [kg / m] - - - - Density [kg / m^3] - 밀도 [kg/ m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Create a new weight - - - - Ship - 선박 - - - - Mass - 질량 - - - - Linear density - 선 밀도 - - - - Area density - 표면 밀도 - - - - Density - 밀도 - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_lt.qm b/src/Mod/Ship/resources/translations/Ship_lt.qm deleted file mode 100644 index 0972c7eb06..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_lt.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_lt.ts b/src/Mod/Ship/resources/translations/Ship_lt.ts deleted file mode 100644 index debbb437f8..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_lt.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Laivo kūryba - - - - Weights - Svarmenys - - - - True if it is a valid ship instance, False otherwise - Nustatyti reikšmę į „Tiesa“, jei teisingas laivo pavyzdys, „Netiesa“ – kitu atveju - - - - Ship length [m] - Laivo ilgis [m] - - - - Ship breadth [m] - Laivo plotis [m] - - - - Ship draft [m] - Laivo grimzlė [m] - - - - Set of external faces of the ship hull - Išorinių sienų rinkinys, apibrėžiantis laivo korpusą - - - - Set of weight instances - Svarmenų rinkinys - - - - Set of tank instances - Talpyklų rinkinys - - - - Set of load conditions - Apkrovų sąlygų rinkinys - - - - Ship_AreasCurve - - - Areas curve - Plotų kreivė - - - - Plot the transversal areas curve - Nubrėžti skersinių pjūvių plotų kreivę - - - - Ship_CreateShip - - - Create a new ship - Sukurti naują laivą - - - - Create a new ship instance on top of the hull geometry - Sukurti naują laivo pavyzdį ant korpuso geometrijos - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatika - - - - Plot the ship hydrostatics - Nubrėžti laivo hidrostatikos kreives - - - - Ship_LoadExample - - - Load an example ship geometry - Įkelti pavyzdinę laivo geometriją - - - - Load an example ship hull geometry. - Įkelti pavyzdinę laivo korpuso geometriją. - - - - Ship_OutlineDraw - - - Outline draw - Kontūrinis brėžinys - - - - Plots the ship hull outline draw - Nubraižo laivo rėmo kontūrą - - - - ship_areas - - - Draft - Grimzlė - - - - Displacement - Displacement - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Nubrėžti skersinių pjūvių plotų kreivę - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trim angle - - - - Number of points - Taškų skaičius - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Taškų skaičius - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - More than one ship has been selected (just the first one will be used) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Pagrindinė plokštuma - - - - Free surface - Free surface - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - Main frame - - - - Create a new ship - Sukurti naują laivą - - - - Length - Length - - - - Breadth - Breadth - - - - Draft - Grimzlė - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Didžiausias kampas - - - - Number of points - Taškų skaičius - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Apkarpyti - - - - Minimum draft - Mažiausia grimzlė - - - - Maximum draft - Didžiausia grimzlė - - - - Number of points - Taškų skaičius - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Įkelti pavyzdinį laivą - - - - Select ship example geometry - Laivo pavidalo parinkimas iš pavyzdžių - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Kontūrinis brėžinys - - - - Auto create - Kurti automatiškai - - - - Delete all sections - Naikinti visus pjūvius - - - - Create sections - Sukurti pjūvį - - - - Transversal - Skersinis - - - - Longitudinal - Išilginis - - - - Water lines - Laivo vandens linijos - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - Water line positions [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Nustatyti reikšmę į „Tiesa“, jei teisingas talpos pavyzdys, „Netiesa“ – kitu atveju - - - - Create a new tank - Sukurti naują talpyklą - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Laivas - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - Nustatyti reikšmę į „Tiesa“, jei teisingas svarmens pavyzdys, „Netiesa“ – kitu atveju - - - - Mass [kg] - Masė [kg] - - - - Linear density [kg / m] - Ilginis tankis [kg / m] - - - - Density [kg / m^3] - Tankis [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Create a new weight - - - - Ship - Laivas - - - - Mass - Masė - - - - Linear density - Ilginis tankis - - - - Area density - Plotinis tankis - - - - Density - Tankis - - - - Area density [kg / m^2] - Plotinis tankis [kg / m] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_nl.qm b/src/Mod/Ship/resources/translations/Ship_nl.qm deleted file mode 100644 index 255061ae39..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_nl.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_nl.ts b/src/Mod/Ship/resources/translations/Ship_nl.ts deleted file mode 100644 index 9525f3be85..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_nl.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Scheepsontwerp - - - - Weights - Gewichten - - - - True if it is a valid ship instance, False otherwise - Waar als het een geldige scheepsinstantie is, anders Onwaar - - - - Ship length [m] - Lengte van het schip [m] - - - - Ship breadth [m] - Schip breedte [m] - - - - Ship draft [m] - Diepgang [m] - - - - Set of external faces of the ship hull - Set van buitenkanten van de scheepsromp - - - - Set of weight instances - Set van gewichten - - - - Set of tank instances - Set van tanks - - - - Set of load conditions - Set beladingstoestanden - - - - Ship_AreasCurve - - - Areas curve - Vlakronding - - - - Plot the transversal areas curve - Uitzetten van de vlakronding - - - - Ship_CreateShip - - - Create a new ship - Maak een nieuw schip - - - - Create a new ship instance on top of the hull geometry - Maak een nieuwe scheepsinstantie bovenop de geometrie van de romp - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatica - - - - Plot the ship hydrostatics - Teken de hydrostatica van het schip uit - - - - Ship_LoadExample - - - Load an example ship geometry - Een voorbeeld scheepsgeometrie laden - - - - Load an example ship hull geometry. - Laad een voorbeeld van een scheepsrompgeometrie. - - - - Ship_OutlineDraw - - - Outline draw - Omtrek tekenen - - - - Plots the ship hull outline draw - De romp omtrek tekenen - - - - ship_areas - - - Draft - Schets - - - - Displacement - Verplaatsing - - - - Areas curve tool draft selected [m] - Vlakronding teken functie geselecteerd [m] - - - - Plot the transversal areas curve - Uitzetten van de vlakronding - - - - Areas curve tool trim selected [deg] - Vlakronding trim functie geselecteerd [deg] - - - - Trim angle - Trimhoek - - - - Number of points - Aantal punten - - - - Areas curve tool number of points - Vlakronding functie aantal punten - - - - ship_capacity - - - Tank capacity curve - Tank capaciteit curve - - - - Plot the tank capacity curve (level-volume curve) - Uitzetten van de tank capaciteitscurve (niveau-volumecurve) - - - - Plot the tank capacity curve - Uitzetten van de tank capaciteitscurve - - - - Number of points - Aantal punten - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Gelieve een scheepsrompgeometrie aan te maken of te laden alvorens dit gereedschap te gebruiken - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Scheepsobjecten kunnen alleen boven op de rompgeometrie aangemaakt worden (geen vaste vorm gevonden op geselecteerde objecten) - - - - Computing hydrostatics - Berekening van de hydrostatica - - - - Computing external faces - Berekening van externe vlakken - - - - Computing sections - Berekening van de secties - - - - Any valid ship section found - Geen geldige scheepssectie gevonden - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Scheepsobjecten kunnen alleen boven op de rompgeometrie aangemaakt worden (geen objecten geselecteerd) - - - - A ship instance must be selected before using this tool (no objects selected) - Een scheepsinstantie moet worden geselecteerd voordat u dit gereedschap kunt gebruiken (geen objecten geselecteerd) - - - - More than one ship have been selected (the extra ships will be ignored) - Er is meer dan één schip geselecteerd (de overige schepen worden genegeerd) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Een scheepsinstantie moet worden geselecteerd voordat u dit gereedschap kunt gebruiken (geen geldig schip gevonden in de geselecteerde objecten) - - - - Plot module is disabled, so I cannot perform the plot - Plotmodule is uitgeschakeld, dus ik kan de plot niet uitvoeren - - - - A ship instance must be selected before use this tool (no objects selected) - Een scheepsinstantie moet worden geselecteerd voordat u dit gereedschap gebruikt (geen objecten geselecteerd) - - - - More than one ship has been selected (just the first one will be used) - Er is meer dan één schip geselecteerd (alleen het eerste wordt gebruikt) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Een scheepsinstantie moet worden geselecteerd voordat u dit gereedschap gebruikt (geen geldig schip gevonden in de geselecteerde objecten) - - - - Plot module is disabled, tools cannot graph output curves - Plotmodule is uitgeschakeld, gereedschappen kunnen geen grafiek van de outputcurves tekenen - - - - Failure detecting external faces from the ship object - Fout bij het detecteren van externe vlakken van het scheepsobject - - - - A tank instance must be selected before using this tool (no objects selected) - Een tankinstantie moet geselecteerd zijn voordat u deze functie kunt gebruiken (geen geldige objecten geselecteerd) - - - - More than one tank have been selected (the extra tanks will be ignored) - Er zijn meer dan één tank geselecteerd (de extra tanks zullen worden genegeerd) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Een tank instance moet geselecteerd zijn voordat u deze functie kan gebruiken (geen geldige tank gevonden binnen de geselecteerde objecten) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tankvolumebewerking is mislukt. Het gereerdschap probeert opnieuw om de vrije oppervlaktepositie te verplaatsen - - - - A loading condition instance must be selected before using this tool (no objects selected) - Een laadvoorwaarde-instantie moet worden geselecteerd voordat u dit gereedschap kunt gebruiken (geen objecten geselecteerd) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Verkeerd scheepslabel! (geen exemplaren aangeduid als '{}' gevonden) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Onduidelijk scheepslabel! ({} instanties aangeduid als '{}' gevonden) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Meer dan één beladingstoestand is geselecteerd (extra beladingstoestanden zullen worden genegeerd) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Een laadvoorwaarde-instantie moet worden geselecteerd voor u dit gereedschap gebruikt (geen geldige laadvoorwaarde gevonden bij de geselecteerde objecten) - - - - Too much weight! The ship will never displace water enough - Te zwaar! Het schip zal nooit genoeg water verplaatsen - - - - Wrong Weight label! (no instances labeled as'{}' found) - Verkeerd gewichtslabel! (geen exemplaren aangeduid als '{}' gevonden) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Onduidelijk gewichtslabel! ({} instanties aangeduid als '{}' gevonden) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Ongeldige gewicht! (het object dat is aangeduid als '{}' is geen gewicht) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Verkeerd tanklabel! (geen exemplaren aangeduid als '{}' gevonden) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Onduidelijk tanklabel! ({} instanties aangeduid als '{}' gevonden) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Ongeldige tank! (het object dat is aangeduid als '{}' is geen tank) - - - - Computing capacity curves - Berekening van de capaciteitscurves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - De Booleaanse bewerking is mislukt tijdens een poging om de onderwaterzijde te krijgen. Het gereedschap probeert een dergelijke handeling opnieuw uit te voeren door de vrije oppervlaktepositie licht te verplaatsen - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversale vlak berekening mislukt - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionfout: Nulvolume gevonden tijdens de verplaatsing van de berekening! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Zwevend vlak berekening mislukt - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionfout: Nulgebied gevonden tijdens de berekening van het zwevend gebied! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Hoofdkadergebied kan niet worden berekend - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionfout: Nulgebied gevonden tijdens de berekening van de coëfficiënt van het hoofdkadergebied! - - - - ship_create - - - Base line - Basislijn - - - - Free surface - Vrij oppervlak - - - - Forward perpendicular - Voorwaarts loodrecht - - - - After perpendicular - Achterwaarts loodrecht - - - - Main frame - Hoofdframe - - - - Create a new ship - Maak een nieuw schip - - - - Length - Lengte - - - - Breadth - Breedte - - - - Draft - Schets - - - - ship_gz - - - GZ curve computation - Berekening van de GZ-curve - - - - Plot the GZ curve - Plot de GZ-curve - - - - Maximum angle - Maximumhoek - - - - Number of points - Aantal punten - - - - Variable trim - Variabele trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Het schip zal gedraaid worden tot aan de evenwichtstrimhoek voor elke rolhoek. Het zal de benodigde rekentijd aanzienlijk verlengen - - - - GZ curve tool angle selected [deg] - Hoek van het GZ-curvegereedschap geselecteerd [deg] - - - - GZ curve tool number of points selected - Aantal punten van het GZ-curvegereedschap geselecteerd - - - - GZ curve tool variable trim angle selection - Variabele trimhoek van het GZ-curvegereedschap geselecteerd - - - - ship_hydrostatic - - - Plot hydrostatics - Teken hydrostatica - - - - Trim - Trim - - - - Minimum draft - Minimumdiepgang - - - - Maximum draft - Maximumdiepgang - - - - Number of points - Aantal punten - - - - Hydrostatics tool trim selected - Hydrostatica gereedschap trim is geselecteerd - - - - Hydrostatics tool minimum draft selected [m] - Minimumdiepgang van het hydrostatische gereedschap geselecteerd [m] - - - - Hydrostatics tool maximum draft selected [m] - Maximumdiepgang van het hydrostatische gereedschap geselecteerd [m] - - - - Hydrostatics tool number of points selected - Aantal punten van het hydrostatische gereedschap geselecteerd - - - - ship_load - - - Load example ship - Voorbeeldschip laden - - - - Select ship example geometry - Selecteer voorbeeld scheepsgeometrie - - - - ship_loadcondition - - - Create a new loading condition - Maak een nieuwe beladingstoestand - - - - Create a new load condition spreadsheet - Een nieuwe belading voorwaarde rekenblad maken - - - - ship_outline - - - Outline draw - Omtrek tekenen - - - - Auto create - Automatisch aanmaken - - - - Delete all sections - Verwijder alle secties - - - - Create sections - Secties maken - - - - Transversal - Dwars - - - - Longitudinal - Langs - - - - Water lines - Waterlijnen - - - - Transversal section positions [m] - Transversale doorsnede posities [m] - - - - Longitudinal section positions [m] - Langsdoorsnede posities [m] - - - - Water line positions [m] - Waterlijn posities [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Waar als het een geldige tankinstantie is, anders Onwaar - - - - Create a new tank - Een nieuwe tank aanmaken - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tankobjecten kunnen alleen boven op hun geometrie aangemaakt worden (geen objecten geselecteerd) - - - - No solids found in the selected objects - Geen volumemodellen vormen gevonden in de geselecteerde objecten - - - - There are not ship objects to create weights into them - Er zijn geen scheepsobjecten om er gewichten in aan te brengen - - - - Ship - Schip - - - - ship_weight - - - Create a new ship weight - Een nieuw schip maken - - - - True if it is a valid weight instance, False otherwise - Waar als het een geldige gewichtsinstantie is, anders Onwaar - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Lineaire dichtheid [kg / m] - - - - Density [kg / m^3] - Dichtheid [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Gewichtsobjecten kunnen alleen boven op hun geometrie aangemaakt worden (geen objecten geselecteerd) - - - - No geometrical shapes found in the selected objects - Geen geometrische vormen gevonden in de geselecteerde objecten - - - - There are not ship objects to create weights into them - Er zijn geen scheepsobjecten om er gewichten in aan te brengen - - - - Create a new weight - Een nieuw gewicht aanmaken - - - - Ship - Schip - - - - Mass - Massa - - - - Linear density - Lineaire dichtheid - - - - Area density - Vlak dichtheid - - - - Density - Dichtheid - - - - Area density [kg / m^2] - Vlak dichtheid [kg/ m^2] - - - - Unknown object shapes selected - Onbekende objectvormen geselecteerd - - - diff --git a/src/Mod/Ship/resources/translations/Ship_no.qm b/src/Mod/Ship/resources/translations/Ship_no.qm deleted file mode 100644 index 2545f5bbdb..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_no.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_no.ts b/src/Mod/Ship/resources/translations/Ship_no.ts deleted file mode 100644 index 337e52a0d3..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_no.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Skipsdesign - - - - Weights - Vekter - - - - True if it is a valid ship instance, False otherwise - True if it is a valid ship instance, False otherwise - - - - Ship length [m] - Skipets lengde [m] - - - - Ship breadth [m] - Skipets bredde [m] - - - - Ship draft [m] - Ship draft [m] - - - - Set of external faces of the ship hull - Set of external faces of the ship hull - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Opprette et nytt skip - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatikk - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Load an example ship geometry - - - - Load an example ship hull geometry. - Load an example ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - Outline draw - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - Draft - - - - Displacement - Displacement - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trim angle - - - - Number of points - Antall punkter - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Antall punkter - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - More than one ship has been selected (just the first one will be used) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Grunnlinje - - - - Free surface - Fri overflate - - - - Forward perpendicular - Fremover vinkelrett - - - - After perpendicular - Bakre vinkelrett - - - - Main frame - Main frame - - - - Create a new ship - Opprette et nytt skip - - - - Length - Lengde - - - - Breadth - Bredde - - - - Draft - Draft - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximum angle - - - - Number of points - Antall punkter - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Beskjær - - - - Minimum draft - Minimum draft - - - - Maximum draft - Maximum draft - - - - Number of points - Antall punkter - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Load example ship - - - - Select ship example geometry - Select ship example geometry - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Outline draw - - - - Auto create - Auto create - - - - Delete all sections - Delete all sections - - - - Create sections - Create sections - - - - Transversal - Tverrgående - - - - Longitudinal - Langsgående - - - - Water lines - Vannlinjer - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - Water line positions [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Lag en ny tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Skip - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - Masse [kg] - - - - Linear density [kg / m] - Lineær tetthet [kg / m] - - - - Density [kg / m^3] - Tetthet [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Opprette en ny vekt - - - - Ship - Skip - - - - Mass - Masse - - - - Linear density - Lineær tetthet - - - - Area density - Area density - - - - Density - Tetthet - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_pl.qm b/src/Mod/Ship/resources/translations/Ship_pl.qm deleted file mode 100644 index 96199d7872..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_pl.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_pl.ts b/src/Mod/Ship/resources/translations/Ship_pl.ts deleted file mode 100644 index 75a87f33de..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_pl.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Projektowanie statku - - - - Weights - Ciężary - - - - True if it is a valid ship instance, False otherwise - Prawda, jeśli jest to ważny przykład statku, Fałsz w przeciwnym razie - - - - Ship length [m] - Długość statku [m] - - - - Ship breadth [m] - Szerokość statku [m] - - - - Ship draft [m] - Projekt statku [m] - - - - Set of external faces of the ship hull - Zestaw zewnętrznych powierzchni kadłuba statku - - - - Set of weight instances - Zestaw wzorców wag - - - - Set of tank instances - Zestaw wzorców zbiorników - - - - Set of load conditions - Zestaw warunków obciążenia - - - - Ship_AreasCurve - - - Areas curve - Obszary krzywej - - - - Plot the transversal areas curve - Rysuj krzywą obszarów poprzecznych - - - - Ship_CreateShip - - - Create a new ship - Utwórz nowy statek - - - - Create a new ship instance on top of the hull geometry - Tworzenie nowej instancji statku na górze geometrii kadłuba - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatyka - - - - Plot the ship hydrostatics - Rysuj hydrostatyki statku - - - - Ship_LoadExample - - - Load an example ship geometry - Załaduj przykładową geometrię statku - - - - Load an example ship hull geometry. - Załaduj przykład geometrii kadłuba statku. - - - - Ship_OutlineDraw - - - Outline draw - Rysowanie konturu - - - - Plots the ship hull outline draw - Rysuje obrys kadłuba statku - - - - ship_areas - - - Draft - Rysunek roboczy - - - - Displacement - Odkształcenie - - - - Areas curve tool draft selected [m] - Wybrano narzędzie kreślenia obszarów krzywych w [m] - - - - Plot the transversal areas curve - Drukuje krzywą obszaru poprzecznego - - - - Areas curve tool trim selected [deg] - Narzędzie przycinania obszarów krzywej wybrane [stopnie] - - - - Trim angle - Przytnij kąt - - - - Number of points - Liczba punktów - - - - Areas curve tool number of points - Liczba punktów narzędzia krzywej obszarów - - - - ship_capacity - - - Tank capacity curve - Krzywa pojemności zbiornika - - - - Plot the tank capacity curve (level-volume curve) - Kreśl krzywą pojemności zbiornika (krzywa poziomu pojemności) - - - - Plot the tank capacity curve - Kreśl krzywą pojemności zbiornika - - - - Number of points - Liczba punktów - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Przed użyciem tego narzędzia, proszę utworzyć lub załadować geometrię kadłuba statku - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Obiekty statku mogą być utworzone tylko na górze geometrii kadłuba (żadna bryła nie została zaznaczona) - - - - Computing hydrostatics - Obliczanie hydrostatyki - - - - Computing external faces - Obliczanie ścian zewnętrznych - - - - Computing sections - Obliczanie sekcji - - - - Any valid ship section found - Odnaleziono prawidłową sekcję statku - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Obiekty statku mogą być tworzone tylko w górnej części geometrii kadłuba (żaden obiekt nie został zaznaczony) - - - - A ship instance must be selected before using this tool (no objects selected) - Wzorzec statku musi być zaznaczony zanim użyje się tego narzędzia (żaden obiekt nie został wybrany) - - - - More than one ship have been selected (the extra ships will be ignored) - Wybrano więcej niż jeden statek (dodatkowe statki będą pominiete) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Wzożec statku musi być zaznaczony zanim użyje się tego narzędzia (brak prawidłowego statku wśród zaznaczonych obiektów) - - - - Plot module is disabled, so I cannot perform the plot - Moduł wykresów jest wyłączony, nie można wykonać wydruku - - - - A ship instance must be selected before use this tool (no objects selected) - Wzorzec statku musi być zaznaczona zanim użyje się tego narzędzia (żaden obiekt nie został wybrany) - - - - More than one ship has been selected (just the first one will be used) - Wybrano więcej niż jeden statek (tylko pierwszy zostanie użyty) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Wzorzec statku musi być zaznaczony zanim użyje się tego narzędzia (brak prawidłowego statku wśród zaznaczonych obiektów) - - - - Plot module is disabled, tools cannot graph output curves - Moduł wydruku jest wyłączony, narzędzia programu nie są w stanie narysować krzywych wyjściowych - - - - Failure detecting external faces from the ship object - Niepowodzenie w wykrywaniu zewnętrznych powierzchni obiektu statku - - - - A tank instance must be selected before using this tool (no objects selected) - Należy wybrać dany wzorzec zbiornika przed użyciem tego narzędzia (wybranych obiektów) - - - - More than one tank have been selected (the extra tanks will be ignored) - Wybrano więcej niż jeden zbiornik (dodatkowe zbiorniki będą pominięte) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Należy wybrać dany wzorzec zbiornika przed użyciem tego narzędzia (brak prawidłowego zbiornika w wybranych obiektach) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operacja objętości zbiornika nie powiodła się. Narzędzie próbuje ponownie lekko przesunąć pozycję wolnej powierzchni - - - - A loading condition instance must be selected before using this tool (no objects selected) - Należy wybrać dany wzorzec przed użyciem tego narzędzia (brak wybranych obiektów) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Zła etykieta załadunku! (nie znaleziono żadnych przypadków oznaczonych jako "{}") - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Niejednoznaczna etykieta załadunku! (znaleziono przypadek {} oznaczony jako "{}") - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Wybrano więcej niż jeden warunek załadunku (dodatkowe warunki załadunku zostaną zignorowane) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Przed użyciem tego narzędzia należy wybrać przypadek warunku załadunku (nie znaleziono prawidłowego warunku załadunku dla wybranych obiektów) - - - - Too much weight! The ship will never displace water enough - Zbyt duże obciążenie! Statek nigdy nie będzie w stanie wyprzeć wody w wystarczającym stopniu - - - - Wrong Weight label! (no instances labeled as'{}' found) - Niepoprawna etykieta Wagi! (nie znaleziono żadnych przypadków oznaczonych jako "{}") - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Niejednoznaczna etykieta wagi! (znaleziono {} wystąpień oznaczonych jako '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Nieprawidłowa Waga! (obiekt oznaczony jako "{}" nie jest wagą) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Zła etykieta Zbiornika! (nie znaleziono żadnych przypadków oznaczonych jako "{}") - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Niejednoznaczna etykieta Zbiornika! (znaleziono przypadek {} oznaczony jako "{}") - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Nieprawidłowy Zbiornik! (obiekt oznaczony jako "{}" nie jest zbiornikiem) - - - - Computing capacity curves - Obliczanie krzywych pojemności - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operacja logiczna nie powiodła się podczas próby dostanie się pod wodę. Narzędzie ponawia taką operację nieznacznie przesuwając wolną powierzchnię - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Obliczanie obszaru poprzecznego nie powiodło się - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Znaleziono pustą objętość podczas obliczeń przemieszczenia! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Obszar swobodny nie może zostać obliczony - - - - ZeroDivisionError: Null area found during the floating area computation! - Obszar pływającyZeroDivisionError: Znaleziono pusty obszar podczas obliczania obszaru swobodnego! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Nie można obliczyć głównego obszaru obrysu - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Znaleziono pusty obszar podczas obliczania współczynnika obszaru głównego obrysu! - - - - ship_create - - - Base line - Linia bazowa - - - - Free surface - Wolna powierzchnia - - - - Forward perpendicular - Pion dziobowy - - - - After perpendicular - Po przekroju prostopadłym - - - - Main frame - Rama główna - - - - Create a new ship - Utwórz nowy statek - - - - Length - Długość - - - - Breadth - Szerokość - - - - Draft - Rysunek roboczy - - - - ship_gz - - - GZ curve computation - Obliczenie krzywej GZ - - - - Plot the GZ curve - Rysuj krzywą GZ - - - - Maximum angle - Maksymalny kąt - - - - Number of points - Liczba punktów - - - - Variable trim - Zmienne przycięcie - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Statek zostanie obrócony do kąta ustawienia równowagi dla każdego kąta przechyłu. Znacząco zwiększy to wymagany czas obliczeń - - - - GZ curve tool angle selected [deg] - Wybrano narzędzie przycinania obszarów krzywej [deg] - - - - GZ curve tool number of points selected - Numer narzędzia krzywej GZ wybranych punktów - - - - GZ curve tool variable trim angle selection - Wybór kąta zmiennej pozycji narzędzia krzywej GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Wykres hydrostatyki - - - - Trim - Przytnij - - - - Minimum draft - Szkic minimalny - - - - Maximum draft - Szkic maksymalny - - - - Number of points - Liczba punktów - - - - Hydrostatics tool trim selected - Wybrano narzędzie przycinania hydrostatyki - - - - Hydrostatics tool minimum draft selected [m] - Wybrano narzędzie kreślenia minimalnej hydrostatyki w [m] - - - - Hydrostatics tool maximum draft selected [m] - Wybrano narzędzie kreślenia maksymalnej hydrostatyki w [m] - - - - Hydrostatics tool number of points selected - Wybrano narzędzie liczba punktów hydrostatyki - - - - ship_load - - - Load example ship - Załaduj przykład statku - - - - Select ship example geometry - Wybierz przykładową geometrię statku - - - - ship_loadcondition - - - Create a new loading condition - Utwórz nowy warunek obciążenia - - - - Create a new load condition spreadsheet - Utwórz nowy arkusz kalkulacyjny stanu obciążenia - - - - ship_outline - - - Outline draw - Rysowanie konturu - - - - Auto create - Utwórz automatycznie - - - - Delete all sections - Usuń wszystkie sekcje - - - - Create sections - Utwórz sekcje - - - - Transversal - Poprzeczny - - - - Longitudinal - Wzdłużny - - - - Water lines - Linie wodne - - - - Transversal section positions [m] - Położenie sekcji poprzecznych [m] - - - - Longitudinal section positions [m] - Położenie sekcji podłużnych [m] - - - - Water line positions [m] - Pozycja linii wodnej [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Prawda, jeśli jest to prawidłowy wzorzec zbiornika, Fałsz w przeciwnym razie - - - - Create a new tank - Tworzenie nowego zbiornika - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Zbiorniki mogą być tworzone tylko na jego geometrii (brak wybranych obiektów) - - - - No solids found in the selected objects - Nie odnaleziono brył w wybranych obiektach - - - - There are not ship objects to create weights into them - Brak statków aby przypisać do nich wagi - - - - Ship - Statek - - - - ship_weight - - - Create a new ship weight - Tworzenie nowej masy statku - - - - True if it is a valid weight instance, False otherwise - Prawda, jeśli jest to prawidłowy przykład wagi, Fałsz w przeciwnym razie - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Gęstość liniowa [kg / m] - - - - Density [kg / m^3] - Gęstość [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Waga obiektów może być tworzona tylko na jej geometrii (nie wybrano obiektów) - - - - No geometrical shapes found in the selected objects - Nie znaleziono kształtów geometrycznych w wybranych obiektach - - - - There are not ship objects to create weights into them - Brak statków aby przypisać do nich wagi - - - - Create a new weight - Utwórz nową wagę - - - - Ship - Statek - - - - Mass - Masa - - - - Linear density - Gęstość liniowa - - - - Area density - Gęstość powierzchni - - - - Density - Gęstość - - - - Area density [kg / m^2] - Gęstość powierzchni [kg / m^2] - - - - Unknown object shapes selected - Nieznany kształt wybranych obiektów - - - diff --git a/src/Mod/Ship/resources/translations/Ship_pt-BR.qm b/src/Mod/Ship/resources/translations/Ship_pt-BR.qm deleted file mode 100644 index 14978edcdd..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_pt-BR.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_pt-BR.ts b/src/Mod/Ship/resources/translations/Ship_pt-BR.ts deleted file mode 100644 index 9714318700..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_pt-BR.ts +++ /dev/null @@ -1,731 +0,0 @@ - - - - - Ship - - - Ship design - Design naval - - - - Weights - Pesos - - - - True if it is a valid ship instance, False otherwise - Verdadeiro se for uma instância válida do navio, Falso caso contrário - - - - Ship length [m] - Comprimento do navio [m] - - - - Ship breadth [m] - Largura do navio [m] - - - - Ship draft [m] - Projeto do navio [m] - - - - Set of external faces of the ship hull - Conjunto de faces exteriores do casco do navio - - - - Set of weight instances - Conjunto de instâncias de peso - - - - Set of tank instances - Conjunto de instâncias de tanque - - - - Set of load conditions - Conjunto de condições de carga - - - - Ship_AreasCurve - - - Areas curve - Curva de áreas - - - - Plot the transversal areas curve - Traçar a curva das áreas transversais - - - - Ship_CreateShip - - - Create a new ship - Criar um novo navio - - - - Create a new ship instance on top of the hull geometry - Criar uma nova instância de navio em cima da geometria do casco - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostática - - - - Plot the ship hydrostatics - Plotar a hidrostática do navio - - - - Ship_LoadExample - - - Load an example ship geometry - Carregar um exemplo de geometria de navio - - - - Load an example ship hull geometry. - Carrega um exemplo de casco de navio. - - - - Ship_OutlineDraw - - - Outline draw - Contorno - - - - Plots the ship hull outline draw - Plota o contorno do casco do navio - - - - ship_areas - - - Draft - Projeto - - - - Displacement - Deslocamento - - - - Areas curve tool draft selected [m] - Ferramenta de esboço da área da curva selecionada - - - - - Plot the transversal areas curve - Traçar a curva das áreas transversais - - - - Areas curve tool trim selected [deg] - Ferramenta de aparar área da curva selecionada[deg] - - - - Trim angle - Ângulo da aparamento - - - - Number of points - Número de pontos - - - - Areas curve tool number of points - Número de pontos da ferramenta de curvas de área - - - - ship_capacity - - - Tank capacity curve - Curva de capacidade de tanque - - - - Plot the tank capacity curve (level-volume curve) - Traçar a curva de capacidade do tanque (curva de nível-volume) - - - - Plot the tank capacity curve - Traçar a curva de capacidade de tanque - - - - Number of points - Número de pontos - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Por favor crie ou carregue uma geometria de casco de navio antes de usar esta ferramenta - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Navios só podem ser criados a partir de geometria do casco (nenhum sólido encontrado nos objetos selecionados) - - - - Computing hydrostatics - Calculando hidrostática - - - - Computing external faces - Processando faces externas - - - - Computing sections - Calculando cortes - - - - Any valid ship section found - Encontrar qualquer seção do navio - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Navios só podem ser criados a partir de geometria do casco (nenhum objeto selecionado) - - - - A ship instance must be selected before using this tool (no objects selected) - Uma instância do navio deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - More than one ship have been selected (the extra ships will be ignored) - Vários navios foram selecionados (os navios extras serão ignorados) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Uma instância de navio deve ser selecionada antes de usar esta ferramenta (nenhum navio válido encontrado nos objetos selecionados) - - - - Plot module is disabled, so I cannot perform the plot - O módulo de impressão está desabilitado, logo não posso realizar a impressão - - - - A ship instance must be selected before use this tool (no objects selected) - Uma instância do navio deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - More than one ship has been selected (just the first one will be used) - Vários navios foram selecionados (apenas o primeiro será usado) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Uma instância de navio deve ser selecionada antes de usar esta ferramenta (nenhum navio válido encontrado nos objetos selecionados) - - - - Plot module is disabled, tools cannot graph output curves - O módulo de plotagem está desativado, não é possível traçar curvas de saída - - - - Failure detecting external faces from the ship object - Falha na detecção das faces externas do navio - - - - A tank instance must be selected before using this tool (no objects selected) - Uma instância do tanque deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - More than one tank have been selected (the extra tanks will be ignored) - Mais de um tanque estão selecionados (os tanques extra serão ignorados) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Uma instância de tanque deve ser selecionada antes de usar esta ferramenta (nenhum tanque válido encontrado nos objetos selecionados) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Falha na operação de volume do tanque. A ferramenta está tentando mover ligeiramente a posição de superfície livre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Uma instância de condição de carga deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Rótulo de navio errado! (não há instâncias rotuladas como '{}' encontradas) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Rótulo de navio ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Mais de uma condição de carga foram selecionadas (as condições de carregamento extra serão ignoradas) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Uma instância de condição de carga deve ser selecionada antes de usar esta ferramenta (nenhuma condição de carga válida encontrada nos objetos selecionados) - - - - Too much weight! The ship will never displace water enough - Muito peso! O navio nunca deslocará água suficiente - - - - Wrong Weight label! (no instances labeled as'{}' found) - Rótulo de peso errado! (não há instâncias rotuladas como '{}' encontradas) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Rótulo de peso ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Peso inválido! (o objeto rotulado como '{}' não é um peso) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Rótulo de tanque errado! (não há instâncias rotuladas como '{}' encontradas) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Rótulo de tanque ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Tanque inválido! (o objeto rotulado como '{}' não é um tanque) - - - - Computing capacity curves - Calculando curvas de capacidade - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operação booleana falhada ao tentar encontrar o lado submerso. A ferramenta está a tentar executar essa operação movendo ligeiramente a posição da superficie livre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Falha de cálculo de área transversal - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Volume nulo encontrado durante o cálculo de deslocamento! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Área de flutuação não pode ser computada - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Área nula encontrada durante o cálculo de área de flutuação! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Área do quadro principal não pôde ser computada - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Área Nula encontrada durante o cálculo de coeficiente de área do quadro principal! - - - - ship_create - - - Base line - Linha de base - - - - Free surface - Superfície livre - - - - Forward perpendicular - Perpendicular para a frente - - - - After perpendicular - Após perpendicular - - - - Main frame - Quadro principal - - - - Create a new ship - Criar um novo navio - - - - Length - Comprimento - - - - Breadth - Amplitude - - - - Draft - Projeto - - - - ship_gz - - - GZ curve computation - Cálculo da curva GZ - - - - Plot the GZ curve - Traçar a curva de GZ - - - - Maximum angle - Ângulo máximo - - - - Number of points - Número de pontos - - - - Variable trim - Aparar variável - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - O navio será rodado para o ângulo de compensação de equilíbrio para cada ângulo de rolamento. Aumentará significativamente o tempo de computação necessário - - - - GZ curve tool angle selected [deg] - GZ curva ferramenta ângulo selecionado [deg] - - - - GZ curve tool number of points selected - Número de pontos da ferramenta de curva GZ selecionado - - - - GZ curve tool variable trim angle selection - Seleção do ângulo de ajuste variável da ferramenta da curva GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Plotar hidrostática - - - - Trim - Aparar - - - - Minimum draft - Calado mínimo - - - - Maximum draft - Calado máximo - - - - Number of points - Número de pontos - - - - Hydrostatics tool trim selected - Ferramenta de corte hidrostático selecionada - - - - Hydrostatics tool minimum draft selected [m] - Rascunho mínimo da ferramenta hidrostática selecionada [m] - - - - Hydrostatics tool maximum draft selected [m] - Rascunho máximo da ferramenta hidrostática selecionada [m] - - - - Hydrostatics tool number of points selected - Número de pontos da ferramenta hidrostática selecionada - - - - ship_load - - - Load example ship - Carregar um exemplo de navio - - - - Select ship example geometry - Selecione um exemplo de geometria de navio - - - - ship_loadcondition - - - Create a new loading condition - Criar uma nova condição de carga - - - - Create a new load condition spreadsheet - Criar uma nova planilha de condição de carga - - - - ship_outline - - - Outline draw - Contorno - - - - Auto create - Criação automática - - - - Delete all sections - Apagar todos os cortes - - - - Create sections - Criar cortes - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Linhas de água - - - - Transversal section positions [m] - Posição dos cortes transversais [m] - - - - Longitudinal section positions [m] - Posição dos cortes longitudinais [m] - - - - Water line positions [m] - Posição das linhas de água [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Verdadeiro se for uma instância válida do tanque, Falso caso contrário - - - - Create a new tank - Criar um novo tanque - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanques só podem ser criados em cima de sua geometria (não há objetos selecionados) - - - - No solids found in the selected objects - Nenhum sólido encontrado nos objetos selecionados - - - - There are not ship objects to create weights into them - Não há navios para criar pesos neles - - - - Ship - Navio - - - - ship_weight - - - Create a new ship weight - Criar um novo peso de navio - - - - True if it is a valid weight instance, False otherwise - Verdadeiro se for uma instância válida do peso, Falso caso contrário - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Densidade linear [kg / m] - - - - Density [kg / m^3] - Densidade [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Tanques só podem ser criados em cima de sua geometria (não há objetos selecionados) - - - - No geometrical shapes found in the selected objects - Nenhuma forma geométrica encontrada nos objetos selecionados - - - - There are not ship objects to create weights into them - Não há navios para criar pesos neles - - - - Create a new weight - Criar um novo peso - - - - Ship - Navio - - - - Mass - Massa - - - - Linear density - Densidade linear - - - - Area density - Densidade de área - - - - Density - Densidade - - - - Area density [kg / m^2] - Densidade de área [kg / m^2] - - - - Unknown object shapes selected - Objeto selecionado com Formas desconhecidas - - - diff --git a/src/Mod/Ship/resources/translations/Ship_pt-PT.qm b/src/Mod/Ship/resources/translations/Ship_pt-PT.qm deleted file mode 100644 index 8353e91a7f..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_pt-PT.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_pt-PT.ts b/src/Mod/Ship/resources/translations/Ship_pt-PT.ts deleted file mode 100644 index f9820a5ccc..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_pt-PT.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Desenho de Barcos - - - - Weights - Lastro - - - - True if it is a valid ship instance, False otherwise - Verdadeiro se for uma ocorrência válida de navio, Falso caso contrário - - - - Ship length [m] - Comprimento do barco [m] - - - - Ship breadth [m] - Largura do Navio [m] - - - - Ship draft [m] - Calado do navio [m] - - - - Set of external faces of the ship hull - Conjunto de faces exteriores do casco do navio - - - - Set of weight instances - Conjunto de instâncias de lastro - - - - Set of tank instances - Conjunto de instâncias de tanque - - - - Set of load conditions - Conjunto de condições de carga - - - - Ship_AreasCurve - - - Areas curve - Curva de áreas - - - - Plot the transversal areas curve - Traçar a curva de áreas transversais - - - - Ship_CreateShip - - - Create a new ship - Criar um novo barco - - - - Create a new ship instance on top of the hull geometry - Criar uma nova instância de navio em cima da geometria do casco - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostática - - - - Plot the ship hydrostatics - Traçar hidrostática do navio - - - - Ship_LoadExample - - - Load an example ship geometry - Carregar um exemplo de geometria de navio - - - - Load an example ship hull geometry. - Carregar um exemplo de casco de navio. - - - - Ship_OutlineDraw - - - Outline draw - Desenho do contorno - - - - Plots the ship hull outline draw - Traça a linha de contorno do casco do navio - - - - ship_areas - - - Draft - Calado do Navio - - - - Displacement - Deslocamento - - - - Areas curve tool draft selected [m] - Ferramenta das áreas da curva do calado selecionado [m] - - - - Plot the transversal areas curve - Traçar a curva de áreas transversais - - - - Areas curve tool trim selected [deg] - Ferramenta "Aparar áreas curvas" selecionada [deg] - - - - Trim angle - Ângulo de recorte - - - - Number of points - Pontos - - - - Areas curve tool number of points - Número de pontos da ferramenta de curvas de área - - - - ship_capacity - - - Tank capacity curve - Curva de capacidade do tanque - - - - Plot the tank capacity curve (level-volume curve) - Traçar a curva de capacidade do tanque (curva de nível-volume) - - - - Plot the tank capacity curve - Traçar a curva de capacidade de tanque - - - - Number of points - Pontos - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Por favor crie ou carregue uma geometria para o casco do barco antes de utilizar esta ferramenta - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Objetos do barco só podem ser criados no topo da geometria do casco (sólidos não encontrados nos objetos selecionados) - - - - Computing hydrostatics - Computando a hidrostática - - - - Computing external faces - Computando as faces externas - - - - Computing sections - Computando secções - - - - Any valid ship section found - Qualquer secção do navio válida encontrada - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Objetos do barco só podem ser criados no topo da geometria do casco (objetos não selecionados) - - - - A ship instance must be selected before using this tool (no objects selected) - Uma ocorrência de navio deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - More than one ship have been selected (the extra ships will be ignored) - Selecionou-se mais de um navio (os navios extras serão ignorados) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Um objeto navio deve ser selecionado antes de usar esta ferramenta (nenhum navio válido encontrado nos objetos selecionados) - - - - Plot module is disabled, so I cannot perform the plot - O módulo de impressão de gráficos está desactivado, pelo que não posso desenhar gráficos - - - - A ship instance must be selected before use this tool (no objects selected) - Um objeto navio deve ser selecionado antes de usar esta ferramenta (nenhum objeto selecionado) - - - - More than one ship has been selected (just the first one will be used) - Mais que um navio selecionado (apenas o primeiro será usado) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Um objeto navio deve ser selecionado antes de usar esta ferramenta (nenhum navio válido encontrado nos objetos selecionados) - - - - Plot module is disabled, tools cannot graph output curves - O módulo de impressão de gráficos está desactivado, as ferramentas não podem traçar as curvas - - - - Failure detecting external faces from the ship object - Falha a detetar faces externas do objeto de navio - - - - A tank instance must be selected before using this tool (no objects selected) - Uma instância do tanque deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - More than one tank have been selected (the extra tanks will be ignored) - Mais de um tanque selecionado (os tanques extra serão ignorados) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Uma instância de tanque deve ser selecionada antes de usar esta ferramenta (nenhum tanque válido encontrado nos objetos selecionados) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Falha na operação de volume do tanque. A ferramenta está a tentar mover ligeiramente a posição de superfície livre - - - - A loading condition instance must be selected before using this tool (no objects selected) - Uma instância de condição de carga deve ser selecionada antes de usar esta ferramenta (não há objetos selecionados) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Rótulo de navio errado! (não foram encontradas instâncias rotuladas como '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Rótulo de navio ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Mais de uma condição de carga foram selecionadas (as condições de carga extra serão ignoradas) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Uma instância de condição de carga deve ser selecionada antes de usar esta ferramenta (nenhuma condição de carga válida encontrada nos objetos selecionados) - - - - Too much weight! The ship will never displace water enough - Muito peso! O navio nunca deslocará água suficiente - - - - Wrong Weight label! (no instances labeled as'{}' found) - Rótulo de peso errado! (não foram encontradas instâncias rotuladas como '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Rótulo de peso ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Peso inválido! (o objeto rotulado como '{}' não é um peso) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Rótulo de tanque errado! (não foram encontradas instâncias rotuladas como '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Rótulo de tanque ambíguo! ({} instâncias rotuladas como '{}' encontradas) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Tanque inválido! (o objeto rotulado como '{}' não é um tanque) - - - - Computing capacity curves - Calculando curvas de capacidade - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operação booleana falhada ao tentar encontrar o lado submerso. A ferramenta está a tentar executar essa operação movendo ligeiramente a posição da superficie livre - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Falha de cálculo de área transversal - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Volume nulo encontrado durante o cálculo de deslocamento! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Área de flutuação não pode ser computada - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Área nula encontrada durante o cálculo de área de flutuação! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Área da armação principal não pode ser computada - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Área Nula encontrada durante o cálculo de coeficiente de área da armação principal! - - - - ship_create - - - Base line - Linha de base - - - - Free surface - Superfície livre - - - - Forward perpendicular - Perpendicular à proa - - - - After perpendicular - Perpendicular à popa - - - - Main frame - Caixilho principal - - - - Create a new ship - Criar um novo barco - - - - Length - Comprimento - - - - Breadth - Amplitude - - - - Draft - Calado do Navio - - - - ship_gz - - - GZ curve computation - Cálculo de curva GZ - - - - Plot the GZ curve - Traçar a curva de GZ - - - - Maximum angle - Ângulo máximo - - - - Number of points - Pontos - - - - Variable trim - Recorte variável - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - O barco será rodado para o ângulo de compensação de equilíbrio para cada ângulo de balanço. Aumentará significativamente o tempo de computação - - - - GZ curve tool angle selected [deg] - Ferramenta de curva GZ selecionada [deg] - - - - GZ curve tool number of points selected - Número de pontos da ferramenta de curva GZ selecionado - - - - GZ curve tool variable trim angle selection - Selecção do ângulo de ajuste variável da ferramenta da curva GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Traçado da hidrostática - - - - Trim - Aparar - - - - Minimum draft - Calado mínimo - - - - Maximum draft - Calado máximo - - - - Number of points - Pontos - - - - Hydrostatics tool trim selected - Ferramenta de corte hidrostático selecionada - - - - Hydrostatics tool minimum draft selected [m] - Calado mínimo para a ferramenta de cálculo de hidrostática [m] - - - - Hydrostatics tool maximum draft selected [m] - Calado máximo para a ferramenta de cálculo de hidrostática [m] - - - - Hydrostatics tool number of points selected - Número de pontos selecionados para de cálculo de hidrostática - - - - ship_load - - - Load example ship - Carregar Exemplo de Navio - - - - Select ship example geometry - Selecione geometria exemplo de navio - - - - ship_loadcondition - - - Create a new loading condition - Criar uma nova condição de carga - - - - Create a new load condition spreadsheet - Criar uma nova Tabela (folha de cálculo) de condição de carga - - - - ship_outline - - - Outline draw - Desenho do contorno - - - - Auto create - Auto criar - - - - Delete all sections - Apagar todas as secções - - - - Create sections - Criar secções - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Linhas de água - - - - Transversal section positions [m] - Posições da secção transversal [m] - - - - Longitudinal section positions [m] - Posições da seção longitudinal [m] - - - - Water line positions [m] - Posições da linha de água [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Verdadeiro se for uma instância válida de tanque, caso contrário Falso - - - - Create a new tank - Criar um novo tanque - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanques só podem ser criados em cima de sua geometria (não há objetos selecionados) - - - - No solids found in the selected objects - Nenhum sólido encontrado nos objetos selecionados - - - - There are not ship objects to create weights into them - Não há objetos navio para criar pesos neles - - - - Ship - Navio - - - - ship_weight - - - Create a new ship weight - Criar um novo peso de navio - - - - True if it is a valid weight instance, False otherwise - Verdadeiro se for uma instância válida do peso, caso contrário Falso - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Densidade linear [kg / m] - - - - Density [kg / m^3] - Densidade [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Tanques só podem ser criados em cima de sua geometria (não há objetos selecionados) - - - - No geometrical shapes found in the selected objects - Nenhuma forma geométrica encontrada nos objetos selecionados - - - - There are not ship objects to create weights into them - Não há objetos navio para criar pesos neles - - - - Create a new weight - Criar um novo peso - - - - Ship - Navio - - - - Mass - Massa - - - - Linear density - Densidade linear - - - - Area density - Densidade de área - - - - Density - Densidade - - - - Area density [kg / m^2] - Densidade de área [kg / m^2] - - - - Unknown object shapes selected - Objeto selecionado com Formas desconhecidas - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ro.qm b/src/Mod/Ship/resources/translations/Ship_ro.qm deleted file mode 100644 index c97560fd1a..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ro.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ro.ts b/src/Mod/Ship/resources/translations/Ship_ro.ts deleted file mode 100644 index de612957b0..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ro.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Proiectare nave - - - - Weights - Greutati - - - - True if it is a valid ship instance, False otherwise - Adevărat în cazul în care este o instanță de navă valabilă, False în caz contrar - - - - Ship length [m] - Lungime navă [m] - - - - Ship breadth [m] - Lățime navă [m] - - - - Ship draft [m] - Pescajul navei [m] - - - - Set of external faces of the ship hull - Ansamblul fațetelor exterioare al cocii navei - - - - Set of weight instances - Grupare pe greutate - - - - Set of tank instances - Grup de compartimente - - - - Set of load conditions - Ansamblul condițiilor de încărcare - - - - Ship_AreasCurve - - - Areas curve - Aria curbelor - - - - Plot the transversal areas curve - Se trasează curba suprafeței transversale - - - - Ship_CreateShip - - - Create a new ship - Creaza o nava noua - - - - Create a new ship instance on top of the hull geometry - Crează o nouă instanţă de navă deasupra geometria corpului - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatica - - - - Plot the ship hydrostatics - Printeaza elementele hidrostatice ale navei - - - - Ship_LoadExample - - - Load an example ship geometry - Incarca o geometrie exemplificativa de nava - - - - Load an example ship hull geometry. - Incarcă o geometrie exemplificativă de navă. - - - - Ship_OutlineDraw - - - Outline draw - Deseneaza conturul - - - - Plots the ship hull outline draw - Printează profilul cocii navei - - - - ship_areas - - - Draft - Pescaj - - - - Displacement - Deplasare - - - - Areas curve tool draft selected [m] - Ariile curbe - unelte selectate [m] - - - - Plot the transversal areas curve - Se trasează curba suprafeței transversale - - - - Areas curve tool trim selected [deg] - Unealtă de de decupare a curbelor selecționate [deg] - - - - Trim angle - Ajustează unghiul - - - - Number of points - Numărul de puncte - - - - Areas curve tool number of points - Numărul de puncte ale uneltelor curbe din zonă - - - - ship_capacity - - - Tank capacity curve - Curba de capacitate rezervor - - - - Plot the tank capacity curve (level-volume curve) - Se trasează curba de capacitate a rezervorului (curba de nivel-volum) - - - - Plot the tank capacity curve - Se trasează curba de Capacitate a unui compartiment - - - - Number of points - Numărul de puncte - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Creati sau incarcati geometria unui fuselaj de nava inaintea folosirii acestei unelte - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Obiectele-nava pot fi create doar pe o geometrie tip fuslaj (nici un solid printre obiectele selectate) - - - - Computing hydrostatics - Calcul hidrostatic - - - - Computing external faces - Calcul fete externe - - - - Computing sections - Se calculeaza sectiunile - - - - Any valid ship section found - Nici o sectiune de nava nu a fost gasita - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Navele nu pot fi create decât doar deasupra geometrie cocii (nu sunt obiectele selectate) - - - - A ship instance must be selected before using this tool (no objects selected) - Un exemplu de navă trebuie să fie selectate înainte de a utiliza acest instrument (nu sunt obiecte selectate) - - - - More than one ship have been selected (the extra ships will be ignored) - Au fost selectate mai multe nave (navele suplimentare vor fi ignorate) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Un exemplu de navă trebuie să fie selectate înainte de a utiliza acest instrument (nici o navă valabilă printre obiectele selectate) - - - - Plot module is disabled, so I cannot perform the plot - Modul de trasare este dezactivat, astfel încât nu poate efectua această printare - - - - A ship instance must be selected before use this tool (no objects selected) - Un exemplu de navă trebuie să fie selectată înainte de a folosi acest instrument (nu sunt obiecte selectate) - - - - More than one ship has been selected (just the first one will be used) - S-au selectat mai multe nave (doar prima va fi utilizată) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Un exemplu de navă trebuie să fie selectată înainte de a utiliza acest instrument (nave invalide au fost găsite în obiectele selectate) - - - - Plot module is disabled, tools cannot graph output curves - Modul de printarea este dezactivat, trasare imposibilă - - - - Failure detecting external faces from the ship object - Eşec în detectarea feţelor exterioare ale obiectului navă - - - - A tank instance must be selected before using this tool (no objects selected) - Un exemplu de compartiment trebuie selectat înainte de a utiliza acest instrument (nici un obiect selctat) - - - - More than one tank have been selected (the extra tanks will be ignored) - Au fost selectate mai multe compartimente (compartimentele suplimentare vor fi ignorate) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Un compartiment trebuie selectat înainte de a utiliza acest instrument (nici un compartiment valabil printre obiectele selectate) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operația de cubare a compartimentului nu a reușit. Instrumentul va reîncepe deplasând ușor poziția suprafeței libere - - - - A loading condition instance must be selected before using this tool (no objects selected) - Un compartiment trebuie selectat înainte de a utiliza această sculă (nu sunt obiecte selectate) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Eticheta navei este greşită! (nici un fel de etichetă "{}" găsită) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Este Ambiguă Eticheta navei!! (s-a găsit {} caz etichetat drept "{}") - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - S-au selecta mai multe condiții de încărcare( condițiile de încărcare suplimentare vor fi ignorate) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - O condiție de încărcare trebuie selectată înainte de utilizarea acestei scule (nicio condiţie de încărcare valabilă nu se regăsește printre obiectele selectate) - - - - Too much weight! The ship will never displace water enough - Greutate prea mare! Nava nu va dezlocui niciodată așa de multă apă - - - - Wrong Weight label! (no instances labeled as'{}' found) - Eticheta de greutate greşită! (nici un fel de etichetă ca "{}" nu a fost găsită) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Etichetă de greutatea ambiguă! (s-au găsit{} cazuri etichetate drept "{}") - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Greutate eronată! (obiectul etichetat ca "{}" nu este o greutate) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Etichetă greşită a rezervorului! (nu s-au găsit cazuri etichetate drept "{}") - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Rezervor etichetat Ambiguu! ({} cazuri etichetate drept "{}" găsite) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Rezervor nevalid! (obiectul etichetate ca "{}" nu este un rezervor) - - - - Computing capacity curves - Calculul Capacitățile Curbelor - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Operația Booleană nu a reușit când s-a încercat de a obţine partea submersă. Instrumentul lansează o nouă tentativă de calcul încercând schimbarea ușoară a poziției suprafeței libere - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Calcului Ariei transversale a eșuat - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Volum Null găsit în timpul calculului deplasamentului! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Aria plutirii nu poate fi calculată - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Suprafață nulă găsită în calculul ariei plutirii! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Secțiunea maestra nu poate fi calculată - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - Eroarea de împărțirea la 0: s-a găsit zonă de arie nulă în timpul calculului coeficientului de arie a secțiunii maestra! - - - - ship_create - - - Base line - Linia de baza - - - - Free surface - Suprafata libera - - - - Forward perpendicular - Perpendiculara prova - - - - After perpendicular - Perpendiculara pupa - - - - Main frame - Sectiunea maestra - - - - Create a new ship - Creaza o nava noua - - - - Length - Lungime - - - - Breadth - Latimea - - - - Draft - Pescaj - - - - ship_gz - - - GZ curve computation - Calculul curbei GZ (brațul cuplului de redresare GZ [m]) - - - - Plot the GZ curve - Se trasează curba GZ (brațul cuplului de redresare GZ [m]) - - - - Maximum angle - Unghiul maxim - - - - Number of points - Numărul de puncte - - - - Variable trim - Unghi de ruliu - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Nava va fi rotită la unghiul de echilibru pentru fiecare unghi de ruliu. Aceasta va creşte în mod semnificativ timpul de calcul necesar - - - - GZ curve tool angle selected [deg] - Selecția unghiului sculei curbei GZ [deg] - - - - GZ curve tool number of points selected - Selectarea punctelor curbei GZ - - - - GZ curve tool variable trim angle selection - Variabila selecției unghiulare a curbei GZ a fost ajustat - - - - ship_hydrostatic - - - Plot hydrostatics - Printeaza caracteristicile hidrostatice - - - - Trim - Taiere - - - - Minimum draft - Pescaju Minim - - - - Maximum draft - Pescajul Maxim - - - - Number of points - Numărul de puncte - - - - Hydrostatics tool trim selected - Unealta hidrostatica - taiere selectata - - - - Hydrostatics tool minimum draft selected [m] - Unealta hidrostatica - proiectare minima selectata - - - - Hydrostatics tool maximum draft selected [m] - Unelte hidrostatice - ciorna maxima selectata [m] - - - - Hydrostatics tool number of points selected - Unelte hidrostatice - numarul de puncte selectat [m] - - - - ship_load - - - Load example ship - Incarca nava exemplificativa - - - - Select ship example geometry - Selectati geometria pentru nava exemplificativa - - - - ship_loadcondition - - - Create a new loading condition - Crează o nouă condiție de încărcare - - - - Create a new load condition spreadsheet - Creaţi o nouă foaie de calcul a stării de încărcare - - - - ship_outline - - - Outline draw - Deseneaza conturul - - - - Auto create - Creare automata - - - - Delete all sections - Stergeti toate sectiunile - - - - Create sections - Creare sectiuni - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Linia de plutire - - - - Transversal section positions [m] - Poziții secțiune transversală [m] - - - - Longitudinal section positions [m] - Poziții secțiune longitudinală [m] - - - - Water line positions [m] - Poziții liniei de plutire[m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True în cazul în care este un exemplu valabil de compartiment, în caz contrar False - - - - Create a new tank - Creaţi un nou compartiment - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Compartimentele ca obiecte pot fi create doar în topul propriei geometrii (nici un obiect solid selectat) - - - - No solids found in the selected objects - Nu este nici un solid printre obiectele selectate - - - - There are not ship objects to create weights into them - Nu există obiecte tip navă pentru a crea greutate în ele - - - - Ship - Navă - - - - ship_weight - - - Create a new ship weight - Creează o nouă greutate a navei - - - - True if it is a valid weight instance, False otherwise - Dacă aceasta este o navă validă valoarea este True, altfel False - - - - Mass [kg] - Masă [kg] - - - - Linear density [kg / m] - Densitate liniară [kg / m] - - - - Density [kg / m^3] - Densitate [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - O greutate poate fi creată doar pornind de la o geometrie (nici un obiect selectat) - - - - No geometrical shapes found in the selected objects - Nu s-au găsit forme geometrice în obiectele selectate - - - - There are not ship objects to create weights into them - Nu există obiecte tip navă pentru a crea greutate în ele - - - - Create a new weight - Crează o nouă greutate - - - - Ship - Navă - - - - Mass - Masa - - - - Linear density - Densitate liniară - - - - Area density - Densitate pe unitate de suprafață - - - - Density - Densitate - - - - Area density [kg / m^2] - Densitatea pe suprafață [kg / m ^ 2] - - - - Unknown object shapes selected - Formele selectate sunt necunoscute - - - diff --git a/src/Mod/Ship/resources/translations/Ship_ru.qm b/src/Mod/Ship/resources/translations/Ship_ru.qm deleted file mode 100644 index f17c02f152..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_ru.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_ru.ts b/src/Mod/Ship/resources/translations/Ship_ru.ts deleted file mode 100644 index 70e9c4d785..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_ru.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Проектирование судна - - - - Weights - Грузы - - - - True if it is a valid ship instance, False otherwise - Истина — если правильный экземпляр судна, Ложь — в противном случае - - - - Ship length [m] - Длина судна [m] - - - - Ship breadth [m] - Ширина судна [m] - - - - Ship draft [m] - Осадка судна [m] - - - - Set of external faces of the ship hull - Задать внешние грани корпуса судна - - - - Set of weight instances - Набор экземпляров веса - - - - Set of tank instances - Набор экземпляров баков - - - - Set of load conditions - Набор условий нагрузки - - - - Ship_AreasCurve - - - Areas curve - Строевая - - - - Plot the transversal areas curve - Диаграмма кривой поперечных зон - - - - Ship_CreateShip - - - Create a new ship - Задание параметров плавательного судна - - - - Create a new ship instance on top of the hull geometry - Создать экземпляр нового судна на вершине геометрии корпуса - - - - Ship_Hydrostatics - - - Hydrostatics - Гидростатика - - - - Plot the ship hydrostatics - Диаграмма гидродинамики корабля - - - - Ship_LoadExample - - - Load an example ship geometry - Загрузить пример геометрии судна - - - - Load an example ship hull geometry. - Загрузить пример геометрии корпуса судна. - - - - Ship_OutlineDraw - - - Outline draw - Контурный чертёж - - - - Plots the ship hull outline draw - Диаграммы внешних линий корпуса корабля - - - - ship_areas - - - Draft - Осадка - - - - Displacement - Смещение - - - - Areas curve tool draft selected [m] - Заданное значение осадки при расчёте строевой по ватерлинии [м.] - - - - Plot the transversal areas curve - Диаграмма кривой поперечных зон - - - - Areas curve tool trim selected [deg] - Инструмент обрезка области кривой выбран [град] - - - - Trim angle - Трим угол - - - - Number of points - Количество точек - - - - Areas curve tool number of points - Области кривой инструмент количество точек - - - - ship_capacity - - - Tank capacity curve - Кривая ёмкости бака - - - - Plot the tank capacity curve (level-volume curve) - Участок кривой емкости бака (кривой уровня объёма) - - - - Plot the tank capacity curve - Участок кривой емкости бака - - - - Number of points - Количество точек - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Необходимо создать или загрузить геометрию корпуса судна перед использованием этого инструмента - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Объекты судна могут быть созданы в верхней части геометрии корпуса (не найдено твердотельных объектов среди выделенного) - - - - Computing hydrostatics - Вычисление гидростатики - - - - Computing external faces - Вычисление наружных поверхностей - - - - Computing sections - Вычисление сечений - - - - Any valid ship section found - Найдена допустимая секция судна - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Объекты на корабле могут быть созданы только на верхней части корпуса (объекты не выбраны) - - - - A ship instance must be selected before using this tool (no objects selected) - Перед использованием этого инструмента должен быть выбран экземпляр корабля (объекты не выбраны) - - - - More than one ship have been selected (the extra ships will be ignored) - Были выбраны более чем один корабль (дополнительные корабли будут игнорироваться) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Перед использованием этого инструмента должен быть выбран экземпляр корабля(подходящих кораблей не обнаружено в выбранных объектах) - - - - Plot module is disabled, so I cannot perform the plot - Модуль диаграмм отключен, поэтому расчет диаграмм невозможен - - - - A ship instance must be selected before use this tool (no objects selected) - Перед использованием этого инструмента должен быть выбран экземпляр корабля(объекты не выбраны) - - - - More than one ship has been selected (just the first one will be used) - Был выбран более чем один корабль (только первый из них будет использоваться) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Прежде чем использовать этот инструмент необходимо выбрать экземпляр корабля (подходящих кораблей не обнаружено в выбранных объектах) - - - - Plot module is disabled, tools cannot graph output curves - Модуль диаграмм отключен, инструмент не может отобразить кривые - - - - Failure detecting external faces from the ship object - Сбой обнаружения внешних граней судна - - - - A tank instance must be selected before using this tool (no objects selected) - Перед использованием этого инструмента должен быть выбран экземпляр бака(объекты не выбраны) - - - - More than one tank have been selected (the extra tanks will be ignored) - Был выбран более чем один бак (дополнительные баки будут проигнорированы) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Перед использованием этого инструмента должен быть выбран экземпляр бака (не найдено подходящего объекта типа бак в выбранных объектах) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Сбой операции объем бака. Инструмент сделает повторную попытку, слегка переместив позицию волнения - - - - A loading condition instance must be selected before using this tool (no objects selected) - Перед использованием этого инструмента должен быть выбран экземпляр состояния нагрузки (объекты не выбраны) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Неправильная метка корабля! (экземпляры помеченные как «{}» не найдены) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Неоднозначная метка корабля! ({} экземпляров помеченных как «{}» найдено) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Выбрано более одного состояния нагрузки (лишнее состояние нагрузки будет проигнорировано) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Перед использованием этого инструмента должен быть выбран экземпляр состояния нагрузки (подходящих экземпляров состояния нагрузки не обнаружено в выбранных объектах) - - - - Too much weight! The ship will never displace water enough - Слишком большой вес! Недостаточное водоизмещение - - - - Wrong Weight label! (no instances labeled as'{}' found) - Неправильная метка веса! (экземпляры помеченные как «{}» не найдены) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Неоднозначная метка веса! ({} экземпляров помеченных как «{}» найдено) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Недопустимый вес! (объект помечены как «{}» не является весом) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Неправильная метка бака! (экземпляры помеченные как «{}» не найдены) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Неоднозначная метка бака! ({} экземпляров помеченных как «{}» найдено) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Недопустимый бак! (объект помечены как «{}» не является баком) - - - - Computing capacity curves - Вычисление кривых вместимости - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Сбой логической операции при попытке получить подводную часть. Инструмент выполнит повторное выполнение этой операции, слегка переместив позицию волнения - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Ошибка вычисления поперечной области - - - - ZeroDivisionError: Null volume found during the displacement computation! - Ошибка деления на ноль: во время вычисления водоизмещения обнаружен нулевой объем! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Плавающая область не может быть вычислена - - - - ZeroDivisionError: Null area found during the floating area computation! - Ошибка деления на ноль: во время вычисления плавающей области обнаружена нулевая область! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Площадь главного каркаса не может быть вычислена - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - Ошибка деления на ноль: во время вычисления коэффициента площади основного каркаса обнаружена нулевая область! - - - - ship_create - - - Base line - Основная плоскость - - - - Free surface - Волнение - - - - Forward perpendicular - Носовой перпендикуляр - - - - After perpendicular - Кормовой перпендикуляр - - - - Main frame - Мидель-шпангоут - - - - Create a new ship - Задание параметров плавательного судна - - - - Length - Длина - - - - Breadth - Ширина - - - - Draft - Осадка - - - - ship_gz - - - GZ curve computation - Вычисление кривой GZ - - - - Plot the GZ curve - Создать график GZ кривой - - - - Maximum angle - Максимальный угол - - - - Number of points - Количество точек - - - - Variable trim - Переменная обрезка - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Корабль будет поворачиваться на равновесный угол для каждого угла крена. Это значительно увеличит требуемое время вычислений - - - - GZ curve tool angle selected [deg] - GZ кривой угол инструмента выбран [deg] - - - - GZ curve tool number of points selected - GZ кривой инструментом количество точек выбранного - - - - GZ curve tool variable trim angle selection - Инструмент кривой GZ - выбор переменного угла резания - - - - ship_hydrostatic - - - Plot hydrostatics - Расчёт гидростатики - - - - Trim - Подгонка - - - - Minimum draft - Минимальная осадка - - - - Maximum draft - Максиимальная осадка - - - - Number of points - Количество точек - - - - Hydrostatics tool trim selected - Расчётный угол дифферента - - - - Hydrostatics tool minimum draft selected [m] - Расчётное значение мнимальной осадки [м.] - - - - Hydrostatics tool maximum draft selected [m] - Расчётное значение максимальной осадки [м.] - - - - Hydrostatics tool number of points selected - Расчётное количество точек гидростатики - - - - ship_load - - - Load example ship - Загрузка плавательного судна из образцов - - - - Select ship example geometry - Выбор геометрии судна из образцов - - - - ship_loadcondition - - - Create a new loading condition - Создайте новое состояние нагрузки - - - - Create a new load condition spreadsheet - Создать новую электронную таблицу состояния нагрузки - - - - ship_outline - - - Outline draw - Контурный чертёж - - - - Auto create - Создать автоматически - - - - Delete all sections - Удалить все сечения - - - - Create sections - Создать сечения - - - - Transversal - Поперечный - - - - Longitudinal - Продольный - - - - Water lines - Ватерлинии - - - - Transversal section positions [m] - Положение поперечных сечений [m] - - - - Longitudinal section positions [m] - Положение продольных сечений [m] - - - - Water line positions [m] - Положение ватерлинии (м) - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Истина — если правильный экземпляр бака, Ложь — в противном случае - - - - Create a new tank - Создать новый бак - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Объекты баков могут быть созданы только на вершине его геометрия (нет выбранных объектов) - - - - No solids found in the selected objects - Не найдено твердых тел в выбранных объектах - - - - There are not ship objects to create weights into them - Нет объектов корабля для добавления к ним веса - - - - Ship - Корабль - - - - ship_weight - - - Create a new ship weight - Создайте новый вес корабля - - - - True if it is a valid weight instance, False otherwise - Истина — если правильный экземпляр судна, Ложь — в противном случае - - - - Mass [kg] - Масса [кг] - - - - Linear density [kg / m] - Линейная плотность [кг/м] - - - - Density [kg / m^3] - Плотность, кг/м³ - - - - Weight objects can only be created on top of its geometry (no objects selected) - Объекты веса могут быть созданы только на вершине его геометрия (нет выбранных объектов) - - - - No geometrical shapes found in the selected objects - Нет геометрических форм, в выбранных объектах - - - - There are not ship objects to create weights into them - Нет объектов корабля для добавления к ним веса - - - - Create a new weight - Создайте новый вес - - - - Ship - Корабль - - - - Mass - Масса - - - - Linear density - Линейная плотность - - - - Area density - Области плотность - - - - Density - Плотность - - - - Area density [kg / m^2] - Поверхностная плотность, кг/м² - - - - Unknown object shapes selected - Выбраны неизвестные фигуры объекта, - - - diff --git a/src/Mod/Ship/resources/translations/Ship_sk.qm b/src/Mod/Ship/resources/translations/Ship_sk.qm deleted file mode 100644 index fe49a402dc..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_sk.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_sk.ts b/src/Mod/Ship/resources/translations/Ship_sk.ts deleted file mode 100644 index 3a820e2681..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_sk.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Konštrukcia lodí - - - - Weights - Hmotnosť - - - - True if it is a valid ship instance, False otherwise - True if it is a valid ship instance, False otherwise - - - - Ship length [m] - Dĺžka lode [m] - - - - Ship breadth [m] - Šírka lode [m] - - - - Ship draft [m] - Ponor lode [m] - - - - Set of external faces of the ship hull - Sada vonkajších stien lodného trupu - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Krivka oblastí - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Vytvorte novú loď - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatika - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Load an example ship geometry - - - - Load an example ship hull geometry. - Load an example ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - Obrysový nákres - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - Ponor - - - - Displacement - Premiestnenie - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Orezať uhol - - - - Number of points - Počet bodov - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Počet bodov - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Pred použitím tohto nástroja vytvorte alebo vložte geometriu lodného trupu - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Computing hydrostatics - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - Pred použitím tohto nástroja musí byť vybraná inštancia lode (nie sú vybraté žiadne objekty) - - - - More than one ship have been selected (the extra ships will be ignored) - Vybrali ste viac ako jednu loď (ďalšie lode budú ignorované) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - Pred použitím tohto nástroja musí byť vybraná inštancia lode (nie sú vybraté žiadne objekty) - - - - More than one ship has been selected (just the first one will be used) - Vybrali ste viac ako jednu loď (použije sa iba prvá) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Pred použitím tohto nástroja musí byť vybraná inštancia lode (nevalidné lode nájdené vo vybratých objektoch) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - Pred použitím tohto nástroja musí byť vybraná inštancia podmienok načítania (nie sú vybraté žiadne objekty) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Nesprávny štítok lode! (nenašli sa žiadne prípady označené ako '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Nejednoznačný štítok lode! ({} prípadov označených ako '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Nesprávný štítok s hmotnosťou! (nenašli sa žiadne inštancie označené ako '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Nejednoznačný štítok s hmotnosťou! ({} prípady označené ako '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Neplatná váha! (objekt označený ako '{}' nie je váhou) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Base line - - - - Free surface - Free surface - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - Main frame - - - - Create a new ship - Vytvorte novú loď - - - - Length - Dĺžka - - - - Breadth - Breadth - - - - Draft - Ponor - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximálny uhol - - - - Number of points - Počet bodov - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Odrezať - - - - Minimum draft - Minimálny ponor - - - - Maximum draft - Maximálny ponor - - - - Number of points - Počet bodov - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Load example ship - - - - Select ship example geometry - Select ship example geometry - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Obrysový nákres - - - - Auto create - Auto create - - - - Delete all sections - Vymazať všetky časti - - - - Create sections - Create sections - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Water lines - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - Water line positions [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Create a new tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Loď - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - Mass [kg] - - - - Linear density [kg / m] - Linear density [kg / m] - - - - Density [kg / m^3] - Density [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Create a new weight - - - - Ship - Loď - - - - Mass - Mass - - - - Linear density - Linear density - - - - Area density - Area density - - - - Density - Hustota - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_sl.qm b/src/Mod/Ship/resources/translations/Ship_sl.qm deleted file mode 100644 index de6708eda2..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_sl.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_sl.ts b/src/Mod/Ship/resources/translations/Ship_sl.ts deleted file mode 100644 index 882e1de77d..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_sl.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Oblikovanje ladij - - - - Weights - Teže - - - - True if it is a valid ship instance, False otherwise - Prav, če je primerek ladje veljaven, v nasprotnem primeru Napak - - - - Ship length [m] - Dolžin ladje [m] - - - - Ship breadth [m] - Širina ladje [m] - - - - Ship draft [m] - Ugrez ladje [m] - - - - Set of external faces of the ship hull - Niz zunanjih ploskev ladijskega trupa - - - - Set of weight instances - Niz primerkov teže - - - - Set of tank instances - Niz primerkov rezervoarja - - - - Set of load conditions - Niz obremenitev - - - - Ship_AreasCurve - - - Areas curve - Krivulja ugrez. povr. - - - - Plot the transversal areas curve - Izriši krivulje prečnih ugreznih površin - - - - Ship_CreateShip - - - Create a new ship - Ustvari novo ladjo - - - - Create a new ship instance on top of the hull geometry - Ustvari nov primerek ladje na geometriji trupa - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatika - - - - Plot the ship hydrostatics - Izriši hidrostatiko ladje - - - - Ship_LoadExample - - - Load an example ship geometry - Odpri primer geometrije ladje - - - - Load an example ship hull geometry. - Naloži primer geometrije ladijskega trupa. - - - - Ship_OutlineDraw - - - Outline draw - Pripravi oris - - - - Plots the ship hull outline draw - Izriše oris ladijskega trupa - - - - ship_areas - - - Draft - Ugrez - - - - Displacement - Izpodriv - - - - Areas curve tool draft selected [m] - Izbran ugrez orodja za krivuljo ugreznih površin [m] - - - - Plot the transversal areas curve - Izriši krivulje prečnih ugreznih površin - - - - Areas curve tool trim selected [deg] - Izbrana uravnoteženost orodja za krivuljo ugreznih površin [°] - - - - Trim angle - Kot vzd. nagnjenosti - - - - Number of points - Število točk - - - - Areas curve tool number of points - Število točk orodja za krivuljo ugreznih površn - - - - ship_capacity - - - Tank capacity curve - Prostornostna krivulja rezervoarja - - - - Plot the tank capacity curve (level-volume curve) - Izriši prostornostno krivulja rezervoarja (krivulja prostornine v odvisnosti od ravni) - - - - Plot the tank capacity curve - Izriši prostornostno krivuljo rezervoarja - - - - Number of points - Število točk - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Preden uporabite to orodje, ustvarite ali naložite geometrijo trupa - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Objekte ladje lahko ustvarite samo na geometriji trupa (med izbranimi objekti ni teles) - - - - Computing hydrostatics - Preračunavanje hidrostatike - - - - Computing external faces - Računanje zunanjih ploskev - - - - Computing sections - Računanje prerezov - - - - Any valid ship section found - Noben veljaven prerez ladje ni bil najden - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Objekte ladje lahko ustvarite samo na geometriji trupa (noben objekt ni bil izbran) - - - - A ship instance must be selected before using this tool (no objects selected) - Preden uporabite to orodje, izberite primerek ladje (noben objekt ni bil izbran) - - - - More than one ship have been selected (the extra ships will be ignored) - Izbrana je bila več kot ena ladja (dodatna plovila bodo prezrta) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Preden uporabite to orodje, izberite primerek ladje (med izbranimi objekti ni veljavne ladje) - - - - Plot module is disabled, so I cannot perform the plot - Izrisni modul je onemogočen, izris ni mogoč. - - - - A ship instance must be selected before use this tool (no objects selected) - Preden uporabite to orodje, izberite primerek ladje (noben objekt ni bil izbran) - - - - More than one ship has been selected (just the first one will be used) - Izbrana je bila več kot ena ladja (uporabljena bo samo prva) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Preden uporabite to orodje, izberite primerek ladje (med izbranimi objekti ni veljavne ladje) - - - - Plot module is disabled, tools cannot graph output curves - Izrisni modul je onemogočen, orodja ne morejo izrisati izhodnih krivulj - - - - Failure detecting external faces from the ship object - Zaznavanje zunanjih ploskev ladje ni uspelo - - - - A tank instance must be selected before using this tool (no objects selected) - Preden uporabite to orodje, izberite primerek rezervoarja (noben objekt ni bil izbran) - - - - More than one tank have been selected (the extra tanks will be ignored) - Izbran je bil več kot en rezervoar (dodatni rezervoarji bodo prezrti) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Preden uporabite to orodje, izberite primerek rezervoarja (med izbranimi objekti ni veljavnega rezervoarja) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Operacija na prostornini rezervoarja je spodletela. Orodja poizkuša rahlo premakniti položaj proste površine - - - - A loading condition instance must be selected before using this tool (no objects selected) - Preden uporabite to orodje, izberite pogoj obteževanja (noben predmet ni bil izbran) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Napačna oznaka ladje (nobenega primerka z oznako '{}' ni bil najdenega)! - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Nejasna oznaka ladje (najdenih {} primerkov z oznako '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Izbran je bil več kot en pogoj obtežitve (dodatni obtežbeni pogoji bodo prezrti) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Preden uporabite to orodje, izberite pogoj obteževanja (med izbranimi predmeti ni veljavne obtežbe) - - - - Too much weight! The ship will never displace water enough - Preveč teže! Ta ladja no bo izpodrinila dovolj vode - - - - Wrong Weight label! (no instances labeled as'{}' found) - Napačna oznaka teže (nobenega primerka z oznako '{}' ni bil najdenega)! - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Nejasna oznaka teže (najdenih {} primerkov z oznako '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Neveljavna teža (objekt, ki je označen kot '{}', ni teža)! - - - - Wrong Tank label! (no instances labeled as'{}' found) - Napačna oznaka rezervoarja (nobenega primerka z oznako '{}' ni bil najdenega)! - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Nejasna oznaka rezervoarja (najdenih {} primerkov z oznako '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Neveljaven rezervoar (objekt, ki je označen kot '{}', ni rezervoar)! - - - - Computing capacity curves - Računanje prostornostih krivulj - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Logična operacija je med poizkusom pridobivanja podvodne strani spodletela. Orodje poizkuša operacijo z majhnim premikom položaja proste površine - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: izračun prečnih presekov je spodletel - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: med računanjem izpodriva je bila najdena ničelna prostornina! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: plovne površine ni mogoče izračunati - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: med računanjem plovne površine je bila najdena ničelna površina! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: površine glavnega ogrodja ni mogoče izračunati - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: med računanjem koeficienta površine glavnega ogrodja je bila najdena ničelna površina! - - - - ship_create - - - Base line - Osnovna črta - - - - Free surface - Prosta površina - - - - Forward perpendicular - Naprej pravokotno - - - - After perpendicular - Nazaj pravokotno - - - - Main frame - Glavno ogrodje - - - - Create a new ship - Ustvari novo ladjo - - - - Length - Dolžina - - - - Breadth - Širina - - - - Draft - Ugrez - - - - ship_gz - - - GZ curve computation - Računanje krivulje GZ - - - - Plot the GZ curve - Izriši krivuljo GZ - - - - Maximum angle - Največji kot - - - - Number of points - Število točk - - - - Variable trim - Sprem. vzdolžna nagnjenost - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Ladja se bo zavrtela na uravnotežen kot vzdolžne nagnjenosti za vsak kot nagiba. To bo znatno podaljšalo čas izračuna - - - - GZ curve tool angle selected [deg] - Izbran kot orodja za krivuljo GZ [°] - - - - GZ curve tool number of points selected - Izbrano število točk orodja za krivuljo GZ [°] - - - - GZ curve tool variable trim angle selection - Izbran spremenljivi kot vzdolžne nagnjenosti orodja za krivuljo GZ [°] - - - - ship_hydrostatic - - - Plot hydrostatics - Izriši hidrostatiko - - - - Trim - Prireži - - - - Minimum draft - Najmanjši ugrez - - - - Maximum draft - Največji ugrez - - - - Number of points - Število točk - - - - Hydrostatics tool trim selected - Izbrana uravnoteženost orodja za hidrostatiko - - - - Hydrostatics tool minimum draft selected [m] - Orodja za hidrostatiko - izbran najmanjši ugrez [m] - - - - Hydrostatics tool maximum draft selected [m] - Orodja za hidrostatiko - izbran največji ugrez [m] - - - - Hydrostatics tool number of points selected - Orodja za hidrostatiko - izbrano število točk - - - - ship_load - - - Load example ship - Naloži primer ladje - - - - Select ship example geometry - Izberite primer ladijske geometrije - - - - ship_loadcondition - - - Create a new loading condition - Ustvari novo obtežitev - - - - Create a new load condition spreadsheet - Ustvari novo preglednico obtežb - - - - ship_outline - - - Outline draw - Pripravi oris - - - - Auto create - Samodejno ustvari - - - - Delete all sections - Izbriši vse prereze - - - - Create sections - Ustvari prereze - - - - Transversal - Prečno - - - - Longitudinal - Dolžinsko - - - - Water lines - Vodne črte - - - - Transversal section positions [m] - Položaji prečnih prerezov [m] - - - - Longitudinal section positions [m] - Položaji dolžinskih prerezov [m] - - - - Water line positions [m] - Položaji vodnih črt [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Prav, če je primerek rezervoarja veljaven, v nasprotnem primeru Napak - - - - Create a new tank - Ustvari nov rezervoar - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Objekte rezervoarja lahko ustvarite samo na njegovi geometriji (noben objekt ni bil izbran) - - - - No solids found in the selected objects - Med izbranimi objekti ni bilo najdenih teles - - - - There are not ship objects to create weights into them - Ni ladij za ustvarjanje teže - - - - Ship - Ladja - - - - ship_weight - - - Create a new ship weight - Ustvari novo težo ladje - - - - True if it is a valid weight instance, False otherwise - Prav, če je primerek teže veljaven, v nasprotnem primeru Napak - - - - Mass [kg] - Masa [kg] - - - - Linear density [kg / m] - Premočrtna gostota [kg/m] - - - - Density [kg / m^3] - Gostota [kg/m³] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Objekte teže lahko ustvarite samo na njeni geometriji (noben objekt ni bil izbran) - - - - No geometrical shapes found in the selected objects - Med izbranimi objekti ni bilo najdenih geometrijskih oblik - - - - There are not ship objects to create weights into them - Ni ladij za ustvarjanje teže - - - - Create a new weight - Ustvari novo težo - - - - Ship - Ladja - - - - Mass - Masa - - - - Linear density - Premočrtna gostota - - - - Area density - Površinska gostota - - - - Density - Gostota - - - - Area density [kg / m^2] - Površinska gostota [kg/m^3] - - - - Unknown object shapes selected - Izbrane neznane oblike objekta - - - diff --git a/src/Mod/Ship/resources/translations/Ship_sr.qm b/src/Mod/Ship/resources/translations/Ship_sr.qm deleted file mode 100644 index 71e8d00044..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_sr.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_sr.ts b/src/Mod/Ship/resources/translations/Ship_sr.ts deleted file mode 100644 index 141530e390..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_sr.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Дизајн брода - - - - Weights - Тежине - - - - True if it is a valid ship instance, False otherwise - Иcтинито ако је важећа брод иcтанца,Лажно у другом cлучају - - - - Ship length [m] - Дужина брода [m] - - - - Ship breadth [m] - Ширина брода [m] - - - - Ship draft [m] - Ship draft [m] - - - - Set of external faces of the ship hull - Cет cпољашњих површи трупа брода - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - Направи нови брод - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - Хидроcтатика - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - Учитај пример геометрије брода - - - - Load an example ship hull geometry. - Учитај пример геометрије бродcког трупа. - - - - Ship_OutlineDraw - - - Outline draw - Outline draw - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - Цртеж - - - - Displacement - Displacement - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trim angle - - - - Number of points - Број тачака - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Крива капацитета резервоара - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - Број тачака - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - Прорачунавам хидроcтатику - - - - Computing external faces - Прорачунавам cпољашње површи - - - - Computing sections - Прорачунавам cекције - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - Више бродова је одабрано (cамо ће први бити коришћен) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Основна линија - - - - Free surface - Cлободна површина - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - Главни костур - - - - Create a new ship - Направи нови брод - - - - Length - Дужина - - - - Breadth - Ширина - - - - Draft - Цртеж - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Макcимални угао - - - - Number of points - Број тачака - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - Trim - - - - Minimum draft - Minimum draft - - - - Maximum draft - Maximum draft - - - - Number of points - Број тачака - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatics tool minimum draft selected [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatics tool maximum draft selected [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - Учитај пример брода - - - - Select ship example geometry - Select ship example geometry - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Outline draw - - - - Auto create - Аутоматско креирање - - - - Delete all sections - Уклони cве cекције - - - - Create sections - Направи cекције - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Водена линија - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - Позиција водене линије [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Направи нови резервоар - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - Ниcу пронађена чврcта тела у одабраним објектима - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Брод - - - - ship_weight - - - Create a new ship weight - Направи нови тег брода - - - - True if it is a valid weight instance, False otherwise - Иcтинито ако је важећа тег иcтанца,Лажно у другом cлучају - - - - Mass [kg] - Маcа [kg] - - - - Linear density [kg / m] - Линеарна гуcтина [kg / m] - - - - Density [kg / m^3] - Гуcтина [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - Ниcу пронађени геометријcки облици у одабраним објектима - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Направи нови тег - - - - Ship - Брод - - - - Mass - Маcа - - - - Linear density - Линеарна гуcтина - - - - Area density - Area density - - - - Density - Гуcтина - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_sv-SE.qm b/src/Mod/Ship/resources/translations/Ship_sv-SE.qm deleted file mode 100644 index e57e034108..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_sv-SE.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_sv-SE.ts b/src/Mod/Ship/resources/translations/Ship_sv-SE.ts deleted file mode 100644 index cd9f5459fb..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_sv-SE.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Fartygsdesign - - - - Weights - Vikter - - - - True if it is a valid ship instance, False otherwise - Sant om det är ett giltig fartygsobjekt, falskt annars - - - - Ship length [m] - Fartygslängd [m] - - - - Ship breadth [m] - Fartygsbredd [m] - - - - Ship draft [m] - Fartygsdjup [m] - - - - Set of external faces of the ship hull - Uppsättning yttre ytor på skeppets skrov - - - - Set of weight instances - Uppsättning viktobjekt - - - - Set of tank instances - Uppsättning tankobjekt - - - - Set of load conditions - Uppsättning av lastval - - - - Ship_AreasCurve - - - Areas curve - Area kurva - - - - Plot the transversal areas curve - Plotta transversalareakurvan - - - - Ship_CreateShip - - - Create a new ship - Skapa ett nytt fartyg - - - - Create a new ship instance on top of the hull geometry - Skapa ett nytt fartygsobjekt på skrovgeometrin - - - - Ship_Hydrostatics - - - Hydrostatics - Hydrostatik - - - - Plot the ship hydrostatics - Plotta fartygets hydrostatik - - - - Ship_LoadExample - - - Load an example ship geometry - Öppna exempel på fartygsgeometri - - - - Load an example ship hull geometry. - Öppna exempel på fartygskrovsgeometri. - - - - Ship_OutlineDraw - - - Outline draw - Rita kontur - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - Djupgående - - - - Displacement - Deplacement - - - - Areas curve tool draft selected [m] - Area kurvans djupgående verktyg valt [m] - - - - Plot the transversal areas curve - Plotta transversalareakurvan - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - Trimvinkel - - - - Number of points - Antal punkter - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Kapacitetskurvan för tanken - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plottar tankkapacitetskurvan - - - - Number of points - Antal punkter - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Var god skapa eller öppna ett fartygs skrov geometri före - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Farygs objekt kan endast skapas ovanpå toppen av skrovgeometrin (ingen solid funnen vid valda objekt) - - - - Computing hydrostatics - Beräknar hydrostatik - - - - Computing external faces - Beräknar externa ytor - - - - Computing sections - Beräknar sektioner - - - - Any valid ship section found - Ingen giltig fartygs sektion funnen - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Fartygsobjekt kan endast skapas ovanpå skrovgeometrin (inget objekt valt) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - Mer än ett fartyg har valts (De extra fartygen kommer att ignoreras) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - More than one ship has been selected (just the first one will be used) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - En instans av fartyget måste väljas innan detta verktyg används (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Utskriftsmodulen är avaktiverad, verktygen kan inte plotta kurvorna - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Ogiltig tank! (objektet med etiketten '{}' är inte en tank) - - - - Computing capacity curves - Beräkna kapacitetskurvor - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Baslinje - - - - Free surface - Fri yta - - - - Forward perpendicular - Förliga perpendikeln - - - - After perpendicular - Akterliga perpendikeln - - - - Main frame - Huvud spant - - - - Create a new ship - Skapa ett nytt fartyg - - - - Length - Längd - - - - Breadth - Bredd - - - - Draft - Djupgående - - - - ship_gz - - - GZ curve computation - Beräkning av GZ-kurvan - - - - Plot the GZ curve - Plotta GZ-kurvan - - - - Maximum angle - Maximal vinkel - - - - Number of points - Antal punkter - - - - Variable trim - Variabelt trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Fartyget kommer att vridas till jämviktstrim för varje krängningsvinkel. Detta kommer att avsevärt öka den nödvändiga beräkningstiden - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Skriv ut hydrostatiken - - - - Trim - Trimma - - - - Minimum draft - Minimum djupgående - - - - Maximum draft - Maximum djupgående - - - - Number of points - Antal punkter - - - - Hydrostatics tool trim selected - Hydrostatikens trim verktyg valt - - - - Hydrostatics tool minimum draft selected [m] - Hydrostatiska verktyget minimum djupgående valt [m] - - - - Hydrostatics tool maximum draft selected [m] - Hydrostatiska verktyget maximum djupgående valt [m] - - - - Hydrostatics tool number of points selected - Hydrostatiska verktyget antal punkter valt [m] - - - - ship_load - - - Load example ship - Öppna exempelfartyg - - - - Select ship example geometry - Välj exempelfartygs geometri - - - - ship_loadcondition - - - Create a new loading condition - Skapa ett nytt lastval - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Rita kontur - - - - Auto create - Auto skapa - - - - Delete all sections - Radera alla sektioner - - - - Create sections - Skapa sektioner - - - - Transversal - Transversal - - - - Longitudinal - Longitudinell - - - - Water lines - Vattenlinjer - - - - Transversal section positions [m] - Transversala sektioners position [m] - - - - Longitudinal section positions [m] - Longitudinala sektioners position [m] - - - - Water line positions [m] - Vattenlinjesposition [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Skapa en ny tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Fartyg - - - - ship_weight - - - Create a new ship weight - Skapa en ny fartygsvikt - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - Massa [kg] - - - - Linear density [kg / m] - Linjär densitet [kg / m] - - - - Density [kg / m^3] - Densitet [kg/m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Viktobjekt kan endast skapas ovanpå skrovgeometri (inget objekt valt) - - - - No geometrical shapes found in the selected objects - Ingen geometriska former finns i markerade objekt - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Skapa en ny vikt - - - - Ship - Fartyg - - - - Mass - Massa - - - - Linear density - Linjär densitet - - - - Area density - Ytdensitet - - - - Density - Densitet - - - - Area density [kg / m^2] - Ytdensitet [kg / m ^ 2] - - - - Unknown object shapes selected - Okända objektformer markerade - - - diff --git a/src/Mod/Ship/resources/translations/Ship_tr.qm b/src/Mod/Ship/resources/translations/Ship_tr.qm deleted file mode 100644 index 972bbd4fd4..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_tr.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_tr.ts b/src/Mod/Ship/resources/translations/Ship_tr.ts deleted file mode 100644 index 8ffc83a8fb..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_tr.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Gemi tasarımı - - - - Weights - Ağırlık - - - - True if it is a valid ship instance, False otherwise - Bu bir geçerli gemi örneği ise True aksi takdirde ise False - - - - Ship length [m] - Gemi uzunluğu [m] - - - - Ship breadth [m] - Gemi genişliği [m] - - - - Ship draft [m] - Gemi taslağı [m] - - - - Set of external faces of the ship hull - Gemi gövdesinin dış yüzleri seti - - - - Set of weight instances - Ağırlık örnekleri seti - - - - Set of tank instances - Tank örnekleri seti - - - - Set of load conditions - Yük koşulları seti - - - - Ship_AreasCurve - - - Areas curve - Alanlar eğrisi - - - - Plot the transversal areas curve - Enine alan eğrisini çizme - - - - Ship_CreateShip - - - Create a new ship - Yeni bir gemi yarat - - - - Create a new ship instance on top of the hull geometry - Gövde geometrisinin üstüne yeni bir gemi örneği oluşturun - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostatikler - - - - Plot the ship hydrostatics - Gemi hidrostatiklerini çizme - - - - Ship_LoadExample - - - Load an example ship geometry - Bir örnek gemi geometrisi yükle - - - - Load an example ship hull geometry. - Örnek gemi gövde geometrisini yükleyin. - - - - Ship_OutlineDraw - - - Outline draw - Anahat çizimi - - - - Plots the ship hull outline draw - Geminin gövdesindeki çizimleri çizmek - - - - ship_areas - - - Draft - Taslak - - - - Displacement - Yer Değişimi - - - - Areas curve tool draft selected [m] - Alanlar eğri aracı taslağı seçildi [m] - - - - Plot the transversal areas curve - Enine alan eğrisini çizme - - - - Areas curve tool trim selected [deg] - Alanlar eğri aleti seçimi [derece] - - - - Trim angle - Düzeltme Açısı - - - - Number of points - Nokta sayısı - - - - Areas curve tool number of points - Alan eğrisi aracı nokta sayısı - - - - ship_capacity - - - Tank capacity curve - Tank kapasitesi eğrisi - - - - Plot the tank capacity curve (level-volume curve) - Deponun kapasite eğrisini çizin (seviye-hacim eğrisi) - - - - Plot the tank capacity curve - Deponun kapasite eğrisini çizin - - - - Number of points - Nokta sayısı - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Lütfen bu aleti kullanmadan önce bir gemi gövde geometrisi oluşturun veya yükleyin - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Gemi nesneleri yalnızca gövde geometrisinin üstünde oluşturulabilir (seçilen nesnelerde katı bulunmaz) - - - - Computing hydrostatics - Hidrostatik hesaplama - - - - Computing external faces - Dış yüzleri hesaplama - - - - Computing sections - Hesaplama bölümleri - - - - Any valid ship section found - Herhangi bir geçerli gemi bölümü bulundu - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Gemi nesneleri yalnızca gövde geometrisinin üstünde oluşturulabilir (seçilen nesne yok) - - - - A ship instance must be selected before using this tool (no objects selected) - Bu aracı kullanmadan önce bir gemi örneği seçilmelidir (nesneler seçilmemiştir) - - - - More than one ship have been selected (the extra ships will be ignored) - Birden fazla gemi seçildi (ekstra gemi göz ardı edilecek) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Bu aracı kullanmadan önce bir gemi örneği seçilmelidir (seçilen nesnelerde geçerli bir gemi bulunmamaktadır) - - - - Plot module is disabled, so I cannot perform the plot - Arsa modülü devre dışı, bu yüzden komplo gerçekleştirilemiyor - - - - A ship instance must be selected before use this tool (no objects selected) - Bu aracı kullanmadan önce bir gemi örneği seçilmelidir (nesneler seçilmemiştir) - - - - More than one ship has been selected (just the first one will be used) - Birden fazla gemi seçildi (sadece birincisi kullanılacaktır) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Bu aracı kullanmadan önce bir gemi örneği seçilmelidir (seçilen nesnelerde bulunan yeni gemiler) - - - - Plot module is disabled, tools cannot graph output curves - Arsa modülü devre dışı, araçlar çıktı eğrilerini grafikleyemez - - - - Failure detecting external faces from the ship object - Gemi nesnesinin dış yüzlerini tespit etme hatası - - - - A tank instance must be selected before using this tool (no objects selected) - Bu aracı kullanmadan önce bir tank örneği seçilmelidir (nesneler seçilmemiştir) - - - - More than one tank have been selected (the extra tanks will be ignored) - Birden fazla depo seçildi (ekstra depolar göz ardı edilecek) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Bu aracı kullanmadan önce bir tank örneği seçilmelidir (seçilen nesnelerde geçerli bir tank bulunmamaktadır) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank hacmi işlemi başarısız oldu. Araç, serbest yüzey pozisyonunu hafifçe hareket ettirmeyi deniyor - - - - A loading condition instance must be selected before using this tool (no objects selected) - Bu aracı kullanmadan önce bir yükleme durumu örneği seçilmelidir (nesneler seçilmemiştir) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Yanlış gemi etiketi! ('{}' olarak etiketlenmiş hiçbir örnek bulunamadı) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Belirsiz gemi etiketi! ({} '{}' etiketli örnekler bulundu) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Birden fazla yükleme durumu seçildi (ek yükleme koşulları dikkate alınmayacak) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Bu aleti kullanmadan önce bir yükleme durumu örneği seçilmelidir (seçilen nesnelerde geçerli bir yükleme durumu bulunmamaktadır) - - - - Too much weight! The ship will never displace water enough - Çok fazla ağırlık! Gemi asla suyun yerini almaz - - - - Wrong Weight label! (no instances labeled as'{}' found) - Yanlış Ağırlık etiketi! ('{}' olarak etiketlenmiş hiçbir örnek bulunamadı) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Belirsiz Ağırlık etiketi! ({} '{}' etiketli örnekler bulundu) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Geçersiz Ağırlık! ('{}' olarak etiketlenmiş nesne ağırlık değildir) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Yanlış Tank etiketi! ('{}' olarak etiketlenmiş hiçbir örnek bulunamadı) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Belirsiz Tank etiketi! ({} '{}' etiketli örnekler bulundu) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Geçersiz Tank! ('{}' olarak etiketlenmiş nesne bir depo değildir) - - - - Computing capacity curves - Kapasite eğrileri hesaplama - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Sualtı tarafını almaya çalışırken Boolean işlemi başarısız oldu. Alet, böyle bir işlemi, hafifçe serbest yüzey pozisyonunu hareket ettirerek tekrar deniyor - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Enine alan hesaplaması başarısız oldu - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Boşluk hesaplaması sırasında boş hacim bulundu! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Yüzen bölge hesaplanamıyor - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Boş alan hesaplanırken boş alan bulundu! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Ana çerçeve alanı hesaplanamıyor - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Ana çerçeve alanı katsayısı hesaplaması sırasında boş alan bulundu! - - - - ship_create - - - Base line - Taban çizgisi - - - - Free surface - Serbest alan - - - - Forward perpendicular - Dikey doğrultuda ilerle - - - - After perpendicular - Dikey olduktan sonra - - - - Main frame - Ana kare - - - - Create a new ship - Yeni bir gemi yarat - - - - Length - Uzunluk - - - - Breadth - Genişlik - - - - Draft - Taslak - - - - ship_gz - - - GZ curve computation - GZ eğrisi hesaplaması - - - - Plot the GZ curve - GZ eğrisini çizme - - - - Maximum angle - Maksimum açı - - - - Number of points - Nokta sayısı - - - - Variable trim - Değişken düzeltme - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Gemi her rulo açısı için denge açısına döndürülecektir. Gerekli hesaplama süresini önemli ölçüde artıracaktır - - - - GZ curve tool angle selected [deg] - GZ eğri alet açısı seçildi [deg] - - - - GZ curve tool number of points selected - GZ eğri aracı seçilen noktaların sayısı - - - - GZ curve tool variable trim angle selection - GZ eğri aleti değişkeni kırpma açısı seçimi - - - - ship_hydrostatic - - - Plot hydrostatics - Hidrostatikleri çizdir - - - - Trim - Kırp - - - - Minimum draft - En az taslak - - - - Maximum draft - En fazla taslak - - - - Number of points - Nokta sayısı - - - - Hydrostatics tool trim selected - kırpma seçili Hidrostatikler aracı - - - - Hydrostatics tool minimum draft selected [m] - en az taslak seçilmiş [m] Hidrostatikler aracı - - - - Hydrostatics tool maximum draft selected [m] - en fazla taslak seçilmiş [m] Hidrostatikler aracı - - - - Hydrostatics tool number of points selected - nokta sayıları seçilmiş Hidrostatikler aracı - - - - ship_load - - - Load example ship - Örnek gemi yükle - - - - Select ship example geometry - Gemi örneği geometrisini seç - - - - ship_loadcondition - - - Create a new loading condition - Yeni bir yükleme durumu oluştur - - - - Create a new load condition spreadsheet - Yeni bir yükleme koşulu hesap tablosu oluşturun - - - - ship_outline - - - Outline draw - Anahat çizimi - - - - Auto create - Otomatik oluştur - - - - Delete all sections - Tüm bölümleri sil - - - - Create sections - Bölümler oluştur - - - - Transversal - Enine çapraz - - - - Longitudinal - Boyuna - - - - Water lines - Su hatları - - - - Transversal section positions [m] - Enine kesit pozisyonları [m] - - - - Longitudinal section positions [m] - Uzunlamasına kesit pozisyonları [m] - - - - Water line positions [m] - Su hattı konumları [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Geçerli bir depo örneği ise doğru, aksi halde False - - - - Create a new tank - Yeni bir tank oluştur - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tank nesneleri yalnızca geometrisinin üstüne oluşturulabilir (nesneler seçilmemiştir) - - - - No solids found in the selected objects - Seçilen nesnelerde katı madde bulunamadı - - - - There are not ship objects to create weights into them - Ağırlıklar yaratacak gemi nesneleri yok - - - - Ship - Gemi - - - - ship_weight - - - Create a new ship weight - Yeni bir gemi ağırlığı oluştur - - - - True if it is a valid weight instance, False otherwise - Geçerli bir ağırlık örneği ise doğru, aksi halde Yanlış - - - - Mass [kg] - Kütle [kg] - - - - Linear density [kg / m] - Doğrusal yoğunluk [kg / m] - - - - Density [kg / m^3] - Yoğunluk [kg / m ^ 3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Ağırlık nesneleri yalnızca geometrisinin üstüne oluşturulabilir (nesneler seçilmemiştir) - - - - No geometrical shapes found in the selected objects - Seçilen nesnelerde geometrik şekiller bulunamadı - - - - There are not ship objects to create weights into them - Ağırlıklar yaratacak gemi nesneleri yok - - - - Create a new weight - Yeni bir ağırlık oluştu - - - - Ship - Gemi - - - - Mass - Kitle - - - - Linear density - Doğrusal yoğunluk - - - - Area density - Alan yoğunluğu - - - - Density - Yoğunluk - - - - Area density [kg / m^2] - Alan yoğunluğu [kg / m ^ 2] - - - - Unknown object shapes selected - Bilinmeyen nesne şekli seçildi - - - diff --git a/src/Mod/Ship/resources/translations/Ship_uk.qm b/src/Mod/Ship/resources/translations/Ship_uk.qm deleted file mode 100644 index edab14481f..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_uk.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_uk.ts b/src/Mod/Ship/resources/translations/Ship_uk.ts deleted file mode 100644 index dd5109e703..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_uk.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Проектування корабля - - - - Weights - Вантажі - - - - True if it is a valid ship instance, False otherwise - Істина, якщо екземпляр корабля правильний, Брехня в іншому випадку - - - - Ship length [m] - Довжина судна [m] - - - - Ship breadth [m] - Ширина судна [m] - - - - Ship draft [m] - Осадка судна [m] - - - - Set of external faces of the ship hull - Задати зовнішні грані корпусу судна - - - - Set of weight instances - Набір екземплярів вантажу - - - - Set of tank instances - Набір екземплярів ємностей - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Області кривої - - - - Plot the transversal areas curve - Діаграма кривої поперечних зон - - - - Ship_CreateShip - - - Create a new ship - Створити новий корабель - - - - Create a new ship instance on top of the hull geometry - Створити екземпляр нового судна на вершині геометрії корпусу - - - - Ship_Hydrostatics - - - Hydrostatics - Гідростатика - - - - Plot the ship hydrostatics - Діаграма гідростатики судна - - - - Ship_LoadExample - - - Load an example ship geometry - Завантажити приклад геометрії судна - - - - Load an example ship hull geometry. - Завантажити приклад геометрії корпусу судна. - - - - Ship_OutlineDraw - - - Outline draw - Контурне креслення - - - - Plots the ship hull outline draw - Діаграми зовнішніх ліній корпусу корабля - - - - ship_areas - - - Draft - Креслення - - - - Displacement - Зміщення - - - - Areas curve tool draft selected [m] - Задане значення осідання при розрахунку стройової по ватерлінії [m] - - - - Plot the transversal areas curve - Діаграма кривої поперечних зон - - - - Areas curve tool trim selected [deg] - Інструмент обрізка області кривої обраний [deg] - - - - Trim angle - Trim angle - - - - Number of points - Кількість точок - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Крива ємності резервуару - - - - Plot the tank capacity curve (level-volume curve) - Діаграма ємності резервуару (крива рівень-об'єм) - - - - Plot the tank capacity curve - Діаграма ємності резервуару - - - - Number of points - Кількість точок - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Необхідно створити або завантажити геометрію корпусу судна перед використанням цього інструменту - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Об'єкти судна можуть бути створені у верхній частині геометрії корпусу (не знайдено моделей серед виділених об'єктів) - - - - Computing hydrostatics - Обчислення гідростатики - - - - Computing external faces - Обчислення зовнішніх поверхонь - - - - Computing sections - Обчислення перетину - - - - Any valid ship section found - Будь-яка допустима основна секція плавального судна - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Об'єкти на кораблі можуть бути створені тільки на верхній частині корпусу (об'єкти не вибрані) - - - - A ship instance must be selected before using this tool (no objects selected) - Примірник корабля повинен бути обраний перед використанням цього засобу (об'єкти не вибрані) - - - - More than one ship have been selected (the extra ships will be ignored) - Було обрано більше одного корабля (додаткові кораблі будуть ігноруватися) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Примірник корабля повинен бути обраний перед використанням цього інструменту (не підходящий корабель для обраних об'єктів) - - - - Plot module is disabled, so I cannot perform the plot - Модуль діаграм відключений, тому розрахунок діаграм неможливий - - - - A ship instance must be selected before use this tool (no objects selected) - Примірник корабля повинен бути обраний перед використанням цього інструменту (об'єкти не вибрані) - - - - More than one ship has been selected (just the first one will be used) - Був обраний більш ніж один корабель (тільки перший з них буде використовуватися) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Примірник корабля повинен бути обраний перш ніж використовувати цей інструмент (Виявлений невідповідний корабель для обраних об'єктів) - - - - Plot module is disabled, tools cannot graph output curves - Модуль діаграм відключений, інструмент не може відобразити криві - - - - Failure detecting external faces from the ship object - Не вдалося визначити зовнішні поверхні судна - - - - A tank instance must be selected before using this tool (no objects selected) - Перед використанням цього інструмента потрібно вибрати екземпляр ємності (не обрано жодного об'єкта) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - Базова лінія - - - - Free surface - Хвилювання - - - - Forward perpendicular - Носовий перпендикуляр - - - - After perpendicular - Кормовий перпендикуляр - - - - Main frame - Мідель-шпангоут - - - - Create a new ship - Створити новий корабель - - - - Length - Довжина - - - - Breadth - Ширина - - - - Draft - Креслення - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximum angle - - - - Number of points - Кількість точок - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Діаграма гідростатики - - - - Trim - Обрізати - - - - Minimum draft - Мінімальна осадка - - - - Maximum draft - Максимальна осадка - - - - Number of points - Кількість точок - - - - Hydrostatics tool trim selected - Розрахунковий кут дифферента - - - - Hydrostatics tool minimum draft selected [m] - Розрахункове значення мінімального осідання [m] - - - - Hydrostatics tool maximum draft selected [m] - Розрахункове значення максимального осідання [m] - - - - Hydrostatics tool number of points selected - Розрахункова кількість точок гідростатики - - - - ship_load - - - Load example ship - Завантажити приклад судна - - - - Select ship example geometry - Обрати приклад геометрії судна - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - Контурне креслення - - - - Auto create - Автоматичне створення - - - - Delete all sections - Видалити всі розділи - - - - Create sections - Створити перетин - - - - Transversal - Поперечний - - - - Longitudinal - Подовжній - - - - Water lines - Ватерлінії - - - - Transversal section positions [m] - Позиція поперечного перерізу [m] - - - - Longitudinal section positions [m] - Позиція подовжнього перетину [m] - - - - Water line positions [m] - Позиція ватерлінії [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Створити нову ємність - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - Судно - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - Маса [kg] - - - - Linear density [kg / m] - Лінійна щільність [кг / м] - - - - Density [kg / m^3] - Щільність [кг / м^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - No geometrical shapes found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Створити новий вантаж - - - - Ship - Судно - - - - Mass - Маса - - - - Linear density - Лінійна щільність - - - - Area density - Поверхнева щільність - - - - Density - Щільність - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/resources/translations/Ship_val-ES.qm b/src/Mod/Ship/resources/translations/Ship_val-ES.qm deleted file mode 100644 index 618a072923..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_val-ES.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_val-ES.ts b/src/Mod/Ship/resources/translations/Ship_val-ES.ts deleted file mode 100644 index b435010a95..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_val-ES.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Disseny naval - - - - Weights - Pes - - - - True if it is a valid ship instance, False otherwise - Cert si és una instància de vaixell vàlid, fals altrament - - - - Ship length [m] - Vaixell [m] de longitud - - - - Ship breadth [m] - Mànega del vaixell [m] - - - - Ship draft [m] - Calat del vaixell [m] - - - - Set of external faces of the ship hull - Conjunt de cares externs del buc del vaixell - - - - Set of weight instances - Conjunt d'instàncies de pes - - - - Set of tank instances - Conjunt d'instàncies de tanc - - - - Set of load conditions - Conjunt de condicions de càrrega - - - - Ship_AreasCurve - - - Areas curve - Corba de zones - - - - Plot the transversal areas curve - Traçat de la corba d'àrees transversals - - - - Ship_CreateShip - - - Create a new ship - Crea un vaixell nou - - - - Create a new ship instance on top of the hull geometry - Crea una nova instància de vaixell sobre la geometria de buc - - - - Ship_Hydrostatics - - - Hydrostatics - Hidrostàtica - - - - Plot the ship hydrostatics - Traça les línies hidrostàtiques del vaixell - - - - Ship_LoadExample - - - Load an example ship geometry - Carrega un exemple de geometria de vaixell - - - - Load an example ship hull geometry. - Carrega un exemple de geometria de buc de vaixell - - - - Ship_OutlineDraw - - - Outline draw - Dibuix del contorn - - - - Plots the ship hull outline draw - Traça el perfil del buc del vaixell - - - - ship_areas - - - Draft - Calat - - - - Displacement - Desplaçament - - - - Areas curve tool draft selected [m] - Calat [m] per a calcular la corba d'àrees - - - - Plot the transversal areas curve - Traçat de la corba d'àrees transversals - - - - Areas curve tool trim selected [deg] - Assentament [graus] per a calcular la corba d'àrees - - - - Trim angle - Angle d'assentament - - - - Number of points - Nombre de punts - - - - Areas curve tool number of points - Nombre de punts de l'eina de corba d'àrees - - - - ship_capacity - - - Tank capacity curve - Corba de capacitat del tanc - - - - Plot the tank capacity curve (level-volume curve) - Traçat de la corba de capacitat del tanc (corba de nivell de volum) - - - - Plot the tank capacity curve - Traçat de la corba de capacitat del tanc - - - - Number of points - Nombre de punts - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Crea o carrega una geometria de buc de vaixell abans d'utilitzar aquesta eina - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Els objectes vaixell només es poden crear sobre una geometria de buc (no s'ha trobat cap sòlid en els objectes seleccionats) - - - - Computing hydrostatics - Càlcul de les hidrostàtiques - - - - Computing external faces - Càlcul de les cares externes - - - - Computing sections - Càlcul de seccions - - - - Any valid ship section found - No s'ha trobat cap secció vàlida de vaixell. - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Els objectes vaixell només es poden crear sobre una geometria de buc (no s'ha seleccionat cap objecte) - - - - A ship instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one ship have been selected (the extra ships will be ignored) - S'ha seleccionat més d'un vaixell (els vaixells addicionals s'ignoraran) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha trobat cap vaixell vàlid en els objectes seleccionats) - - - - Plot module is disabled, so I cannot perform the plot - El mòdul de gràfiques no està habilitat, per tant no es pot realitzar el traçat - - - - A ship instance must be selected before use this tool (no objects selected) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one ship has been selected (just the first one will be used) - S'ha seleccionat més d'un vaixell (només el primer s'utilitzarà) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Cal seleccionar una instància de vaixell abans d'utilitzar aquesta eina (no s'ha trobat cap vaixell vàlid en els objectes seleccionats) - - - - Plot module is disabled, tools cannot graph output curves - El mòdul de gràfiques no està habilitat, per tant no es poden traçar les corbes d'eixida - - - - Failure detecting external faces from the ship object - Ha fallat la detecció de les cares externes de l'objecte vaixell - - - - A tank instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de tanc abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - More than one tank have been selected (the extra tanks will be ignored) - S'ha seleccionat més d'un tanc (els tancs addicionals s'ignoraran) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Cal seleccionar una instància de tanc abans d'utilitzar aquesta eina (no s'ha trobat cap tanc vàlid en els objectes seleccionats) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - L'operació de volum del tanc ha fallat. L'eina tornarà a intentar-ho movent lleugerament la posició de la superfície lliure - - - - A loading condition instance must be selected before using this tool (no objects selected) - Cal seleccionar una instància de condició de càrrega abans d'utilitzar aquesta eina (no s'ha seleccionat cap objecte) - - - - Wrong Ship label! (no instances labeled as'{}' found) - L'etiqueta del vaixell és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - L'etiqueta del vaixell és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - S'ha seleccionat més d'una condició de càrrega (les condicions de càrrega addicionals s'ignoraran) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Cal seleccionar una instància de condició de càrrega abans d'utilitzar aquesta eina (no s'ha trobat cap condició de càrrega vàlida en els objectes seleccionats) - - - - Too much weight! The ship will never displace water enough - Massa pes. El vaixell no desplaçarà mai prou aigua - - - - Wrong Weight label! (no instances labeled as'{}' found) - L'etiqueta del pes és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - L'etiqueta del pes és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - El pes no és vàlid (l'objecte etiquetat com a '{}' no és un pes) - - - - Wrong Tank label! (no instances labeled as'{}' found) - L'etiqueta del tanc és incorrecta (no s'han trobat instàncies etiquetades com a '{}') - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - L'etiqueta del tanc és ambigua (s'han trobat {} instàncies etiquetades com a '{}') - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - El tanc no és vàlid (l'objecte etiquetat com a '{}' no és un tanc) - - - - Computing capacity curves - Càlcul de les corbes de capacitat - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - L'operació booleana ha fallat quan intentava obtindre la part sota l'aigua. L'eina tornarà a intentar aquesta operació movent lleugerament la posició de la superfície lliure - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: el càlcul de l'àrea transversal ha fallat - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: s'ha trobat un volum nul durant el càlcul del desplaçament - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: no es pot calcular l'àrea flotant - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: s'ha trobat una àrea nul·la durant el càlcul de l'àrea flotant - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: no es pot calcular la quaderna mestra - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: s'ha trobat una àrea nul·la durant el càlcul del coeficient de l'àrea de la quaderna mestra - - - - ship_create - - - Base line - Línia de base - - - - Free surface - Superfície lliure - - - - Forward perpendicular - Perpendicular de proa - - - - After perpendicular - Perpendicular de popa - - - - Main frame - Quaderna mestra - - - - Create a new ship - Crea un vaixell nou - - - - Length - Longitud - - - - Breadth - Mànega - - - - Draft - Calat - - - - ship_gz - - - GZ curve computation - Càlcul de la corba GZ - - - - Plot the GZ curve - Traça la corba GZ - - - - Maximum angle - Angle màxim - - - - Number of points - Nombre de punts - - - - Variable trim - Assentamnet variable - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - El vaixell es girarà a l'angle d'assentament d'equilibri per a cada angle de balanceig. Això augmentarà significativament el temps de càlcul requerit - - - - GZ curve tool angle selected [deg] - Angle seleccionat de l'eina de la corba GZ [graus] - - - - GZ curve tool number of points selected - Nombre de punts seleccionat per a l'eina de la corba GZ - - - - GZ curve tool variable trim angle selection - Selecció de l'angle d'assentament variable de l'eina de la corba GZ - - - - ship_hydrostatic - - - Plot hydrostatics - Traça les hidrostàtiques - - - - Trim - Retalla - - - - Minimum draft - Calat mínim - - - - Maximum draft - Calat màxim - - - - Number of points - Nombre de punts - - - - Hydrostatics tool trim selected - Assentament seleccionat per al càlcul d'hidrostàtiques - - - - Hydrostatics tool minimum draft selected [m] - Calat mínim seleccionat per al càlcul d'hidrostàtiques [m] - - - - Hydrostatics tool maximum draft selected [m] - Calat màxim seleccionat per al càlcul d'hidrostàtiques [m] - - - - Hydrostatics tool number of points selected - Nombre de punts seleccionat per al càlcul d'hidrostàtiques - - - - ship_load - - - Load example ship - Carrega un exemple de vaixell - - - - Select ship example geometry - Seleccioneu un exemple de geometria de vaixell - - - - ship_loadcondition - - - Create a new loading condition - Crea una nova condició de càrrega - - - - Create a new load condition spreadsheet - Crea un nou full de càlcul de condició de càrrega - - - - ship_outline - - - Outline draw - Dibuix del contorn - - - - Auto create - Crea automàticament - - - - Delete all sections - Eliminar totes les seccions - - - - Create sections - Crea seccions - - - - Transversal - Transversal - - - - Longitudinal - Longitudinal - - - - Water lines - Línies de flotació - - - - Transversal section positions [m] - Posicions de les seccions transversals [m] - - - - Longitudinal section positions [m] - Posicions de les seccions longitudinals [m] - - - - Water line positions [m] - Posicions de les línies de flotació [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Cert si és una instància de tanc vàlid, fals altrament - - - - Create a new tank - Crea un tanc nou - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Els objectes tanc només es poden crear sobre la seua geometria (no s'ha seleccionat cap objecte) - - - - No solids found in the selected objects - No s'ha trobat cap sòlid en els objectes seleccionats - - - - There are not ship objects to create weights into them - No hi ha cap objecte vaixell per a crear-hi pesos dins - - - - Ship - Vaixell - - - - ship_weight - - - Create a new ship weight - Crea un nou pes de vaixell - - - - True if it is a valid weight instance, False otherwise - Cert si és una instància de pes vàlid, fals altrament - - - - Mass [kg] - Pes [kg] - - - - Linear density [kg / m] - Densitat lineal [kg/m] - - - - Density [kg / m^3] - Densitat [kg/m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Els objectes pes només es poden crear sobre la seua geometria (no s'ha seleccionat cap objecte) - - - - No geometrical shapes found in the selected objects - No s'ha trobat cap forma geomètrica en els objectes seleccionats - - - - There are not ship objects to create weights into them - No hi ha cap objecte vaixell per a crear-hi pesos dins - - - - Create a new weight - Crea un pes nou - - - - Ship - Vaixell - - - - Mass - Pes - - - - Linear density - Densitat lineal - - - - Area density - Densitat de l'àrea - - - - Density - Densitat - - - - Area density [kg / m^2] - Densitat de l'àrea [kg/m^2] - - - - Unknown object shapes selected - S'han seleccionat formes d'objecte desconegudes - - - diff --git a/src/Mod/Ship/resources/translations/Ship_vi.qm b/src/Mod/Ship/resources/translations/Ship_vi.qm deleted file mode 100644 index 89f91d3526..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_vi.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_vi.ts b/src/Mod/Ship/resources/translations/Ship_vi.ts deleted file mode 100644 index b13e46094a..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_vi.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - Thiết kế tàu - - - - Weights - Trọng lượng - - - - True if it is a valid ship instance, False otherwise - Đúng nếu nó là một bản sao tàu hợp lệ, Sai nếu ngược lại - - - - Ship length [m] - Chiều dài tàu [m] - - - - Ship breadth [m] - Bề rộng tàu [m] - - - - Ship draft [m] - Tàu được thiết kế sơ bộ [m] - - - - Set of external faces of the ship hull - Đặt mặt ngoài của thân tàu - - - - Set of weight instances - Tập hợp các ví dụ trọng lượng - - - - Set of tank instances - Tập hợp các ví dụ bể chứa - - - - Set of load conditions - Tập hợp các điều kiện tải trọng - - - - Ship_AreasCurve - - - Areas curve - Đường cong khu vực - - - - Plot the transversal areas curve - Vẽ đường cong khu vực theo phương ngang - - - - Ship_CreateShip - - - Create a new ship - Tạo ra một con tàu biển mới - - - - Create a new ship instance on top of the hull geometry - Tạo một bản sao tàu biển mới trên đỉnh của hình thân tàu - - - - Ship_Hydrostatics - - - Hydrostatics - Thủy tĩnh học - - - - Plot the ship hydrostatics - Vẽ tàu thủy tĩnh học - - - - Ship_LoadExample - - - Load an example ship geometry - Tải ví dụ của một hình tàu biển - - - - Load an example ship hull geometry. - Tải một ví dụ của hình thân tàu biển. - - - - Ship_OutlineDraw - - - Outline draw - Vẽ phác thảo - - - - Plots the ship hull outline draw - Vẽ phác họa thân tàu - - - - ship_areas - - - Draft - Mớn nước của tàu - - - - Displacement - Chuyển vị - - - - Areas curve tool draft selected [m] - Công cụ làm cong khu vực cho phần mớn nước được chọn [m] - - - - Plot the transversal areas curve - Vẽ đường cong khu vực theo phương ngang - - - - Areas curve tool trim selected [deg] - Công cụ để làm cong khu vực cho phần xoay được chọn [deg] - - - - Trim angle - Góc xoay theo hướng gió - - - - Number of points - Số điểm - - - - Areas curve tool number of points - Công cụ làm cong khu vực tại một số điểm - - - - ship_capacity - - - Tank capacity curve - Đường cong dung tích bình chứa - - - - Plot the tank capacity curve (level-volume curve) - Vẽ đường cong dung tích bình chứa (đường cong mực nước-thể tích) - - - - Plot the tank capacity curve - Vẽ đường cong dung tích bình chứa - - - - Number of points - Số điểm - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Vui lòng tạo hoặc tải hình dạng thân tàu trước khi sử dụng công cụ này - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Các đối tượng tàu chỉ có thể được tạo trên đầu hình thân tàu (không tìm thấy vật thể rắn ở các đối tượng được chọn) - - - - Computing hydrostatics - Tính toán thủy tĩnh - - - - Computing external faces - Tính toán các mặt bên ngoài - - - - Computing sections - Tính toán các mặt cắt - - - - Any valid ship section found - Bất kỳ mặt cắt tàu hợp lệ được tìm thấy - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Các đối tượng tàu chỉ có thể được tạo trên hình thân tàu (không có đối tượng nào được chọn) - - - - A ship instance must be selected before using this tool (no objects selected) - Một ví dụ tàu phải được chọn trước khi sử dụng công cụ này (không có đối tượng nào được chọn) - - - - More than one ship have been selected (the extra ships will be ignored) - Đã chọn nhiều hơn một tàu (các tàu bổ sung sẽ bị bỏ qua) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - Một ví dụ tàu phải được chọn trước khi sử dụng công cụ này (không tìm thấy tàu hợp lệ ở các đối tượng đã chọn) - - - - Plot module is disabled, so I cannot perform the plot - Mô-đun Plot bị tắt, vì vậy tôi không thể thực hiện plot - - - - A ship instance must be selected before use this tool (no objects selected) - Một ví dụ tàu phải được chọn trước khi sử dụng công cụ này (không có đối tượng nào được chọn) - - - - More than one ship has been selected (just the first one will be used) - Đã chọn nhiều hơn một con tàu (chỉ một con tàu đầu tiên được sử dụng) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - Một trường hợp tàu phải được lựa chọn trước khi sử dụng công cụ này (không có tàu nào hợp lệ được tìm thấy trong các đối tượng đã chọn) - - - - Plot module is disabled, tools cannot graph output curves - Mô-đun Plot bị tắt, các công cụ không thể vẽ đồ thị đường cong cho kết quả - - - - Failure detecting external faces from the ship object - Không phát hiện mặt bên ngoài từ đối tượng tàu - - - - A tank instance must be selected before using this tool (no objects selected) - Một ví dụ thùng chứa phải được chọn trước khi sử dụng công cụ này (không có đối tượng nào được chọn) - - - - More than one tank have been selected (the extra tanks will be ignored) - Đã chọn nhiều hơn một thùng chứa (các thùng chứa bổ sung sẽ bị bỏ qua) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - Một ví dụ thùng chứa phải được chọn trước khi sử dụng công cụ này (không có thùng chứa hợp lệ nào ở các đối tượng đã chọn) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Thao tác thể tích thùng không thành công. Công cụ đang thử di chuyển lại vị trí bề mặt tự do một cách từ từ - - - - A loading condition instance must be selected before using this tool (no objects selected) - Một ví dụ điều kiện tải phải được chọn trước khi sử dụng công cụ này (không có đối tượng nào được chọn) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Nhãn tàu sai! (không có trường hợp nào được gắn nhãn là '{}' được tìm thấy) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Nhãn tàu không rõ ràng! ({} trường hợp được gắn nhãn là '{}' được tìm thấy) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - Đã chọn nhiều hơn một điều kiện tải (điều kiện tải bổ sung sẽ bị bỏ qua) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - Một ví dụ tải điều kiện phải được chọn trước khi sử dụng công cụ này (không có điều kiện tải hợp lệ được tìm thấy tại các đối tượng đã chọn) - - - - Too much weight! The ship will never displace water enough - Quá nặng! Con tàu sẽ không bao giờ rẽ nước đủ - - - - Wrong Weight label! (no instances labeled as'{}' found) - Nhãn Trọng lượng sai! (không có trường hợp nào được gắn nhãn là '{}' được tìm thấy) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Nhãn trọng lượng không rõ ràng! ({} trường hợp được gắn nhãn là '{}' được tìm thấy) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Trọng lượng không hợp lệ! (đối tượng được gắn nhãn là '{}' không phải là trọng lượng) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Nhãn thùng chứa sai! (không có trường hợp nào được gắn nhãn là '{}' được tìm thấy) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Nhãn hồ sơ không rõ ràng! ({} trường hợp được gắn nhãn là '{}' được tìm thấy) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Thùng chứa không hợp lệ! (đối tượng được gắn nhãn là '{}' không phải là một thùng chứa) - - - - Computing capacity curves - Tính tón đường cong công suất - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Thao tác Boolean thất bại khi cố gắng để có được mặt dưới nước. Công cụ đang thử lại thao tác như vậy khi di chuyển vị trí bề mặt tự do một cách từ từ - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Tính toán diện tích theo phương ngang không thành công - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null khối lượng tìm thấy trong quá trình tính toán trọng lượng rẽ nước! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Không thể tính toán vùng nổi - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: khu vực vô giá trị được tìm thấy trong quá trình tính toán diện tích nổi! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Không thể tính toán vùng khung chính - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Khu vực vô giá trị được tìm thấy trong quá trình tính toán hệ số khu vực khung chính! - - - - ship_create - - - Base line - Đường cơ sở - - - - Free surface - Mặt tự do - - - - Forward perpendicular - Vuông góc phía trước - - - - After perpendicular - Vuông góc sau - - - - Main frame - Khung chính - - - - Create a new ship - Tạo ra một con tàu biển mới - - - - Length - Chiều dài - - - - Breadth - Khổ - - - - Draft - Mớn nước của tàu - - - - ship_gz - - - GZ curve computation - Tính toán đường cong GZ - - - - Plot the GZ curve - Vẽ đường cong GZ - - - - Maximum angle - Góc tối đa - - - - Number of points - Số điểm - - - - Variable trim - Góc xoay biến đổi theo hướng gió - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - Con tàu sẽ được xoay đến góc cắt cân bằng cho mỗi góc cuộn. Nó sẽ tăng một cách đáng kể thời gian tính toán yêu cầu - - - - GZ curve tool angle selected [deg] - Đã chọn góc công cụ đường cong GZ [deg] - - - - GZ curve tool number of points selected - Công cụ đường cong GZ của số điểm được chọn - - - - GZ curve tool variable trim angle selection - Công cụ đường cong GZ của góc xoay biến đổi theo hướng gió được chọn - - - - ship_hydrostatic - - - Plot hydrostatics - Plot thủy tĩnh - - - - Trim - Cắt bỏ - - - - Minimum draft - Mớn nước tối thiểu - - - - Maximum draft - Mớn nước tối đa - - - - Number of points - Số điểm - - - - Hydrostatics tool trim selected - Công cụ thủy tĩnh của góc xoay theo hướng gió đã chọn - - - - Hydrostatics tool minimum draft selected [m] - Công cụ thủy tĩnh của mớn nước tối thiểu đã chọn [m] - - - - Hydrostatics tool maximum draft selected [m] - Công cụ thủy tĩnh của mớn nước tối đa đã chọn [m] - - - - Hydrostatics tool number of points selected - Công cụ thủy tĩnh của một số điểm đã chọn [m] - - - - ship_load - - - Load example ship - Tải tàu biển mẫu - - - - Select ship example geometry - Chọn hình học ví dụ về tàu - - - - ship_loadcondition - - - Create a new loading condition - Tạo điều kiện tải mới - - - - Create a new load condition spreadsheet - Tạo bảng tính điều kiện tải mới - - - - ship_outline - - - Outline draw - Vẽ phác thảo - - - - Auto create - Tạo tự động - - - - Delete all sections - Xóa tất cả mặt cắt - - - - Create sections - Tạo các mặt cắt - - - - Transversal - Theo chiều ngang - - - - Longitudinal - Theo chiều dọc - - - - Water lines - Đường mực nước - - - - Transversal section positions [m] - Vị trí mặt cắt ngang [m] - - - - Longitudinal section positions [m] - Vị trí mặt cắt dọc [m] - - - - Water line positions [m] - Vị trí đường mực nước [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - Đúng nếu nó là một ví dụ thùng chứa hợp lệ, Sai nếu ngược lại - - - - Create a new tank - Tạo thùng chứa mới - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Các đối tượng thùng chứa chỉ có thể được tạo trên đầu hình của nó (không có đối tượng nào được chọn) - - - - No solids found in the selected objects - Không tìm thấy vật thể rắn nào trong các đối tượng được chọn - - - - There are not ship objects to create weights into them - Không có các đối tượng tàu biển để gắn trọng lượng cho chúng - - - - Ship - Tàu biển - - - - ship_weight - - - Create a new ship weight - Tạo trọng lượng tàu biển - - - - True if it is a valid weight instance, False otherwise - Đúng nếu nó là một ví dụ trọng lượng hợp lệ, Sai nếu ngược lại - - - - Mass [kg] - Khối lượng [kg] - - - - Linear density [kg / m] - Mật độ tuyến tính [kg / m] - - - - Density [kg / m^3] - Mật độ [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Các đối tượng trọng lượng chỉ có thể được tạo trên đầu hình của nó (không có đối tượng nào được chọn) - - - - No geometrical shapes found in the selected objects - Không tìm thấy hình dạng hình học nào trong các đối tượng đã chọn - - - - There are not ship objects to create weights into them - Không có các đối tượng tàu biển để gắn trọng lượng cho chúng - - - - Create a new weight - Tạo một trọng lượng mới - - - - Ship - Tàu biển - - - - Mass - Khối lượng - - - - Linear density - Mật độ tuyến tính - - - - Area density - Mật độ khu vực - - - - Density - Mật độ - - - - Area density [kg / m^2] - Mật độ khu vực [kg / m^2] - - - - Unknown object shapes selected - Không rõ hình dạng đối tượng được chọn - - - diff --git a/src/Mod/Ship/resources/translations/Ship_zh-CN.qm b/src/Mod/Ship/resources/translations/Ship_zh-CN.qm deleted file mode 100644 index 0a25071551..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_zh-CN.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_zh-CN.ts b/src/Mod/Ship/resources/translations/Ship_zh-CN.ts deleted file mode 100644 index cb6b816316..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_zh-CN.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - 船舶设计 - - - - Weights - 重量 - - - - True if it is a valid ship instance, False otherwise - 如果是有效的船舶实例, 则为 True, 否则为 False - - - - Ship length [m] - 船舶长度 [m] - - - - Ship breadth [m] - 船舶宽度 [m] - - - - Ship draft [m] - 船舶吃水 - - - - Set of external faces of the ship hull - 船体外部面集 - - - - Set of weight instances - 配重实例集 - - - - Set of tank instances - 容器实例集 - - - - Set of load conditions - 加载条件集 - - - - Ship_AreasCurve - - - Areas curve - 面积曲线 - - - - Plot the transversal areas curve - 绘制横截面积曲线 - - - - Ship_CreateShip - - - Create a new ship - 创建新的船舶 - - - - Create a new ship instance on top of the hull geometry - 在船体几何形状上创建一个新的船舶实例 - - - - Ship_Hydrostatics - - - Hydrostatics - 流体静力学 - - - - Plot the ship hydrostatics - 绘制船舶流体静力曲线 - - - - Ship_LoadExample - - - Load an example ship geometry - 加载示例船舶几何体 - - - - Load an example ship hull geometry. - 加载一个示例船体几何图像。 - - - - Ship_OutlineDraw - - - Outline draw - 外轮廓绘制 - - - - Plots the ship hull outline draw - 绘制船体轮廓图 - - - - ship_areas - - - Draft - 拔模 - - - - Displacement - 位移 - - - - Areas curve tool draft selected [m] - 区域曲线工具草案被选定[m] - - - - Plot the transversal areas curve - 绘制横截面积曲线 - - - - Areas curve tool trim selected [deg] - 区域曲线工具修剪被选定[度] - - - - Trim angle - 修剪角度 - - - - Number of points - 点的数量 - - - - Areas curve tool number of points - 区域曲线工具点数 - - - - ship_capacity - - - Tank capacity curve - 油箱容量曲线 - - - - Plot the tank capacity curve (level-volume curve) - 绘制油箱容积曲线 (液位曲线) - - - - Plot the tank capacity curve - 绘制油箱容积曲线 - - - - Number of points - 点的数量 - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - 在使用该工具前请创建或加载一个船体几何 - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - 船舶对象只能创建在船体几何之上(选定对象中未发现实体) - - - - Computing hydrostatics - 计算流体静力学 - - - - Computing external faces - 计算外表面 - - - - Computing sections - 计算剖面 - - - - Any valid ship section found - 找到任何有效的船舶部分 - - - - Ship objects can only be created on top of hull geometry (no objects selected) - 只能在船体几何形状上创建船舶对象 (没有选定对象) - - - - A ship instance must be selected before using this tool (no objects selected) - 在使用此工具之前必须选择一个船舶实例 (未选择任何对象) - - - - More than one ship have been selected (the extra ships will be ignored) - 已选择多条船 (多余的船只将被忽略) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - 在使用此工具之前必须选择一个船舶实例 (在所选对象上找不到有效的船舶) - - - - Plot module is disabled, so I cannot perform the plot - 绘图模块已禁用, 因此无法执行绘图 - - - - A ship instance must be selected before use this tool (no objects selected) - 在使用此工具之前必须选择一个船舶实例 (未选择任何对象) - - - - More than one ship has been selected (just the first one will be used) - 已选择了多个船舶 (仅第一个将被使用) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - 在使用此工具之前必须选择一个船舶实例 (在所选对象中发现的不可行的船舶) - - - - Plot module is disabled, tools cannot graph output curves - 绘图模块被禁用, 工具无法绘制输出曲线 - - - - Failure detecting external faces from the ship object - 船舶对象的外表面检测到故障 - - - - A tank instance must be selected before using this tool (no objects selected) - 使用此工具之前必须选择一个油箱实例 (没有选定对象) - - - - More than one tank have been selected (the extra tanks will be ignored) - 已经选择了不止一个油箱 (多余的油箱将被忽略) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - 使用此工具之前必须选择一个油箱实例 (在选定的对象上没有找到有效的油箱) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - 油箱容积操作失败。该工具正在稍微移动自由表面位置的条件下重试 - - - - A loading condition instance must be selected before using this tool (no objects selected) - 使用此工具之前必须选择加载条件实例 (没有选定对象) - - - - Wrong Ship label! (no instances labeled as'{}' found) - 错误的船标签!(未找到标记为 "{}" 的实例) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - 不明确的船舶标签!({} 已找到标记为 "{}" 的实例) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - 已选择多个加载条件 (将忽略额外的加载条件) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - 使用此工具之前必须选择加载条件实例 (在所选对象上找不到有效的加载条件) - - - - Too much weight! The ship will never displace water enough - 太重了! 这艘船永远也不会排出足够的水 - - - - Wrong Weight label! (no instances labeled as'{}' found) - 错误的重量标签!(未找到标记为 "{}" 的实例) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - 不明确的重量标签!({} 已找到标记为 "{}" 的实例) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - 配重无效!(标记为 "{}" 的对象不是配重) - - - - Wrong Tank label! (no instances labeled as'{}' found) - 错误的油箱标签!(未找到标记为 "{}" 的实例) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - 不明确的油箱标签!({} 已找到标记为 "{}" 的实例) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - 无效的油箱!(标为 "{}" 的对象不是油箱) - - - - Computing capacity curves - 计算容量曲线 - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - 尝试获取水下部分时, 布尔运算失败。该工具正在轻微移动自由表面位置的条件下重试此操作 - - - - Part.OCCError: Transversal area computation failed - Part. OCCError: 横向面积计算失败 - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: 在置换计算中发现的空卷! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: 无法计算浮动区域 - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: 在浮动区域计算中发现的空区域! - - - - Part.OCCError: Main frame area cannot be computed - Part. OCCError: 不能计算主框架面积 - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: 在主框架面积系数计算中发现的空区! - - - - ship_create - - - Base line - 基准线 - - - - Free surface - 自由表面 - - - - Forward perpendicular - 艏垂线 - - - - After perpendicular - 艉垂线 - - - - Main frame - 主框架 - - - - Create a new ship - 创建新的船舶 - - - - Length - 长度 - - - - Breadth - 广度 - - - - Draft - 拔模 - - - - ship_gz - - - GZ curve computation - GZ 曲线计算 - - - - Plot the GZ curve - 绘制 GZ 曲线 - - - - Maximum angle - 最大角度 - - - - Number of points - 点的数量 - - - - Variable trim - 可变修剪 - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - 对于每个滚动角度,船将被旋转到相应的平衡修剪角度。这将大大增加所需的计算时间 - - - - GZ curve tool angle selected [deg] - GZ 曲线工具角度选择[度] - - - - GZ curve tool number of points selected - GZ 曲线工具点数选择 - - - - GZ curve tool variable trim angle selection - GZ 曲线工具变量修剪角度选择 - - - - ship_hydrostatic - - - Plot hydrostatics - 绘制流体静力曲线 - - - - Trim - 修剪 - - - - Minimum draft - 最小吃水深度 - - - - Maximum draft - 最大吃水深度 - - - - Number of points - 点的数量 - - - - Hydrostatics tool trim selected - 流体工具修剪选定 - - - - Hydrostatics tool minimum draft selected [m] - 流体力学工具最小吃水深度选择 [m] - - - - Hydrostatics tool maximum draft selected [m] - 流体力学工具最大吃水深度选择 [m] - - - - Hydrostatics tool number of points selected - 流体力学工具点数选择 - - - - ship_load - - - Load example ship - 加载示例船舶 - - - - Select ship example geometry - 选择船舶示例几何体 - - - - ship_loadcondition - - - Create a new loading condition - 创建新的加载条件 - - - - Create a new load condition spreadsheet - 创建新的加载条件电子表格 - - - - ship_outline - - - Outline draw - 外轮廓绘制 - - - - Auto create - 自动创建 - - - - Delete all sections - 删除所有剖面 - - - - Create sections - 创建剖面 - - - - Transversal - 横向 - - - - Longitudinal - 纵向 - - - - Water lines - 水位线 - - - - Transversal section positions [m] - 横截面位置 [m] - - - - Longitudinal section positions [m] - 纵断面位置 [m] - - - - Water line positions [m] - 水位线位置 [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - 如果是有效的船舱实例, 则为True, 否则为 False - - - - Create a new tank - 创建新的船舱 - - - - Tanks objects can only be created on top of its geometry (no objects selected) - 罐体对象只能在其几何形状之上创建 (没有选定对象) - - - - No solids found in the selected objects - 在选定对象中未找到任何实体 - - - - There are not ship objects to create weights into them - 没有船的对象来创造其的配重 - - - - Ship - 船舶 - - - - ship_weight - - - Create a new ship weight - 创建新的船舶配重 - - - - True if it is a valid weight instance, False otherwise - 如果是有效的配重实例, 则为True, 否则为 False - - - - Mass [kg] - 质量 [kg] - - - - Linear density [kg / m] - 线密度 [kg / m^2] - - - - Density [kg / m^3] - 密度 [kg / m ^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - 配重对象只能在其几何图形的顶部创建 (没有选定对象) - - - - No geometrical shapes found in the selected objects - 在所选对象中没有找到几何形状 - - - - There are not ship objects to create weights into them - 没有船的对象来创造其的配重 - - - - Create a new weight - 创建新的权重 - - - - Ship - 船舶 - - - - Mass - 质量 - - - - Linear density - 线密度 - - - - Area density - 面密度 - - - - Density - 密度 - - - - Area density [kg / m^2] - 面密度 [kg / m^2] - - - - Unknown object shapes selected - 选择了未知的对象形状 - - - diff --git a/src/Mod/Ship/resources/translations/Ship_zh-TW.qm b/src/Mod/Ship/resources/translations/Ship_zh-TW.qm deleted file mode 100644 index 2f54e9d6b1..0000000000 Binary files a/src/Mod/Ship/resources/translations/Ship_zh-TW.qm and /dev/null differ diff --git a/src/Mod/Ship/resources/translations/Ship_zh-TW.ts b/src/Mod/Ship/resources/translations/Ship_zh-TW.ts deleted file mode 100644 index bb6d9177d3..0000000000 --- a/src/Mod/Ship/resources/translations/Ship_zh-TW.ts +++ /dev/null @@ -1,730 +0,0 @@ - - - - - Ship - - - Ship design - 船舶設計 - - - - Weights - 重量 - - - - True if it is a valid ship instance, False otherwise - True if it is a valid ship instance, False otherwise - - - - Ship length [m] - 船舶長度 [m] - - - - Ship breadth [m] - 船舶廣度 [m] - - - - Ship draft [m] - 船舶吃水 [m] - - - - Set of external faces of the ship hull - Set of external faces of the ship hull - - - - Set of weight instances - Set of weight instances - - - - Set of tank instances - Set of tank instances - - - - Set of load conditions - Set of load conditions - - - - Ship_AreasCurve - - - Areas curve - Areas curve - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Ship_CreateShip - - - Create a new ship - 建立新的船舶 - - - - Create a new ship instance on top of the hull geometry - Create a new ship instance on top of the hull geometry - - - - Ship_Hydrostatics - - - Hydrostatics - 流體靜力學 - - - - Plot the ship hydrostatics - Plot the ship hydrostatics - - - - Ship_LoadExample - - - Load an example ship geometry - 載入範例船舶幾何 - - - - Load an example ship hull geometry. - Load an example ship hull geometry. - - - - Ship_OutlineDraw - - - Outline draw - 輪廓繪製 - - - - Plots the ship hull outline draw - Plots the ship hull outline draw - - - - ship_areas - - - Draft - 吃水 - - - - Displacement - 位移 - - - - Areas curve tool draft selected [m] - Areas curve tool draft selected [m] - - - - Plot the transversal areas curve - Plot the transversal areas curve - - - - Areas curve tool trim selected [deg] - Areas curve tool trim selected [deg] - - - - Trim angle - 修剪角度 - - - - Number of points - 點數 - - - - Areas curve tool number of points - Areas curve tool number of points - - - - ship_capacity - - - Tank capacity curve - Tank capacity curve - - - - Plot the tank capacity curve (level-volume curve) - Plot the tank capacity curve (level-volume curve) - - - - Plot the tank capacity curve - Plot the tank capacity curve - - - - Number of points - 點數 - - - - ship_console - - - Please create or load a ship hull geometry before using this tool - Please create or load a ship hull geometry before using this tool - - - - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - Ship objects can only be created on top of hull geometry (no solid found at selected objects) - - - - Computing hydrostatics - 運算流體靜力學 - - - - Computing external faces - Computing external faces - - - - Computing sections - Computing sections - - - - Any valid ship section found - Any valid ship section found - - - - Ship objects can only be created on top of hull geometry (no objects selected) - Ship objects can only be created on top of hull geometry (no objects selected) - - - - A ship instance must be selected before using this tool (no objects selected) - A ship instance must be selected before using this tool (no objects selected) - - - - More than one ship have been selected (the extra ships will be ignored) - More than one ship have been selected (the extra ships will be ignored) - - - - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - A ship instance must be selected before using this tool (no valid ship found at the selected objects) - - - - Plot module is disabled, so I cannot perform the plot - Plot module is disabled, so I cannot perform the plot - - - - A ship instance must be selected before use this tool (no objects selected) - A ship instance must be selected before use this tool (no objects selected) - - - - More than one ship has been selected (just the first one will be used) - 選擇了超過一艘船(僅有第1艘會被使用) - - - - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - A ship instance must be selected before use this tool (novalid ships found in the selected objects) - - - - Plot module is disabled, tools cannot graph output curves - Plot module is disabled, tools cannot graph output curves - - - - Failure detecting external faces from the ship object - Failure detecting external faces from the ship object - - - - A tank instance must be selected before using this tool (no objects selected) - A tank instance must be selected before using this tool (no objects selected) - - - - More than one tank have been selected (the extra tanks will be ignored) - More than one tank have been selected (the extra tanks will be ignored) - - - - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - A tank instance must be selected before using this tool (no valid tank found at the selected objects) - - - - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - Tank volume operation failed. The tool is retrying that slightly moving the free surface position - - - - A loading condition instance must be selected before using this tool (no objects selected) - A loading condition instance must be selected before using this tool (no objects selected) - - - - Wrong Ship label! (no instances labeled as'{}' found) - Wrong Ship label! (no instances labeled as'{}' found) - - - - Ambiguous Ship label! ({} instances labeled as'{}' found) - Ambiguous Ship label! ({} instances labeled as'{}' found) - - - - More than one loading condition have been selected (the extra loading conditions will be ignored) - More than one loading condition have been selected (the extra loading conditions will be ignored) - - - - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - A loading condition instance must be selected before using this tool (no valid loading condition found at the selected objects) - - - - Too much weight! The ship will never displace water enough - Too much weight! The ship will never displace water enough - - - - Wrong Weight label! (no instances labeled as'{}' found) - Wrong Weight label! (no instances labeled as'{}' found) - - - - Ambiguous Weight label! ({} instances labeled as'{}' found) - Ambiguous Weight label! ({} instances labeled as'{}' found) - - - - Invalid Weight! (the object labeled as'{}' is not a weight) - Invalid Weight! (the object labeled as'{}' is not a weight) - - - - Wrong Tank label! (no instances labeled as'{}' found) - Wrong Tank label! (no instances labeled as'{}' found) - - - - Ambiguous Tank label! ({} instances labeled as'{}' found) - Ambiguous Tank label! ({} instances labeled as'{}' found) - - - - Invalid Tank! (the object labeled as'{}' is not a tank) - Invalid Tank! (the object labeled as'{}' is not a tank) - - - - Computing capacity curves - Computing capacity curves - - - - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - Boolean operation failed when trying to get the underwater side. The tool is retrying such operation slightly moving the free surface position - - - - Part.OCCError: Transversal area computation failed - Part.OCCError: Transversal area computation failed - - - - ZeroDivisionError: Null volume found during the displacement computation! - ZeroDivisionError: Null volume found during the displacement computation! - - - - Part.OCCError: Floating area cannot be computed - Part.OCCError: Floating area cannot be computed - - - - ZeroDivisionError: Null area found during the floating area computation! - ZeroDivisionError: Null area found during the floating area computation! - - - - Part.OCCError: Main frame area cannot be computed - Part.OCCError: Main frame area cannot be computed - - - - ZeroDivisionError: Null area found during the main frame area coefficient computation! - ZeroDivisionError: Null area found during the main frame area coefficient computation! - - - - ship_create - - - Base line - 基準線 - - - - Free surface - 自由面 - - - - Forward perpendicular - Forward perpendicular - - - - After perpendicular - After perpendicular - - - - Main frame - 主框架 - - - - Create a new ship - 建立新的船舶 - - - - Length - 間距 - - - - Breadth - 寬度 - - - - Draft - 吃水 - - - - ship_gz - - - GZ curve computation - GZ curve computation - - - - Plot the GZ curve - Plot the GZ curve - - - - Maximum angle - Maximum angle - - - - Number of points - 點數 - - - - Variable trim - Variable trim - - - - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - The ship will be rotated to the equilibrium trim angle for each roll angle. It will significantly increase the required computing time - - - - GZ curve tool angle selected [deg] - GZ curve tool angle selected [deg] - - - - GZ curve tool number of points selected - GZ curve tool number of points selected - - - - GZ curve tool variable trim angle selection - GZ curve tool variable trim angle selection - - - - ship_hydrostatic - - - Plot hydrostatics - Plot hydrostatics - - - - Trim - 修剪 - - - - Minimum draft - 最小吃水量 - - - - Maximum draft - 最大吃水量 - - - - Number of points - 點數 - - - - Hydrostatics tool trim selected - Hydrostatics tool trim selected - - - - Hydrostatics tool minimum draft selected [m] - 選取流體靜力學最小吃水量 [m] - - - - Hydrostatics tool maximum draft selected [m] - 選取流體靜力學最大吃水量 [m] - - - - Hydrostatics tool number of points selected - Hydrostatics tool number of points selected - - - - ship_load - - - Load example ship - 載入範例船舶 - - - - Select ship example geometry - 選擇船舶幾何範例 - - - - ship_loadcondition - - - Create a new loading condition - Create a new loading condition - - - - Create a new load condition spreadsheet - Create a new load condition spreadsheet - - - - ship_outline - - - Outline draw - 輪廓繪製 - - - - Auto create - 自動建立 - - - - Delete all sections - Delete all sections - - - - Create sections - Create sections - - - - Transversal - 橫向 - - - - Longitudinal - 縱向 - - - - Water lines - 水線 - - - - Transversal section positions [m] - Transversal section positions [m] - - - - Longitudinal section positions [m] - Longitudinal section positions [m] - - - - Water line positions [m] - 水線位置 [m] - - - - ship_tank - - - True if it is a valid tank instance, False otherwise - True if it is a valid tank instance, False otherwise - - - - Create a new tank - Create a new tank - - - - Tanks objects can only be created on top of its geometry (no objects selected) - Tanks objects can only be created on top of its geometry (no objects selected) - - - - No solids found in the selected objects - No solids found in the selected objects - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Ship - 船舶 - - - - ship_weight - - - Create a new ship weight - Create a new ship weight - - - - True if it is a valid weight instance, False otherwise - True if it is a valid weight instance, False otherwise - - - - Mass [kg] - 質量 [kg] - - - - Linear density [kg / m] - 線密度 [kg / m] - - - - Density [kg / m^3] - 密度 [kg / m^3] - - - - Weight objects can only be created on top of its geometry (no objects selected) - Weight objects can only be created on top of its geometry (no objects selected) - - - - No geometrical shapes found in the selected objects - 無幾何造型於所選物件中 - - - - There are not ship objects to create weights into them - There are not ship objects to create weights into them - - - - Create a new weight - Create a new weight - - - - Ship - 船舶 - - - - Mass - 質量 - - - - Linear density - 線密度 - - - - Area density - 面密度 - - - - Density - 密度 - - - - Area density [kg / m^2] - Area density [kg / m^2] - - - - Unknown object shapes selected - Unknown object shapes selected - - - diff --git a/src/Mod/Ship/ship.dox b/src/Mod/Ship/ship.dox deleted file mode 100644 index 0950044790..0000000000 --- a/src/Mod/Ship/ship.dox +++ /dev/null @@ -1,5 +0,0 @@ -/** \defgroup SHIP Ship - * \ingroup PYTHONWORKBENCHES - * \brief Tools towork with ship hulls - */ - diff --git a/src/Mod/Ship/shipAreasCurve/PlotAux.py b/src/Mod/Ship/shipAreasCurve/PlotAux.py deleted file mode 100644 index ad5fbf2def..0000000000 --- a/src/Mod/Ship/shipAreasCurve/PlotAux.py +++ /dev/null @@ -1,148 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import os -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -from FreeCAD import Base -import Spreadsheet - -class Plot(object): - def __init__(self, x, y, disp, xcb, ship): - """ Constructor. performs the plot and shows it. - @param x X coordinates. - @param y Transversal computed areas. - @param disp Ship displacement. - @param xcb Buoyancy center length. - @param ship Active ship instance. - """ - self.plot(x, y, disp, xcb, ship) - self.spreadSheet(x, y, ship) - - def plot(self, x, y, disp, xcb, ship): - """ Perform the areas curve plot. - @param x X coordinates. - @param y Transversal areas. - @param disp Ship displacement. - @param xcb Buoyancy center length. - @param ship Active ship instance. - @return True if error happens. - """ - try: - import Plot - plt = Plot.figure('Areas curve') - except ImportError: - msg = QtGui.QApplication.translate( - "ship_console", - "Plot module is disabled, so I cannot perform the plot", - None) - FreeCAD.Console.PrintWarning(msg + '\n') - return True - # Plot areas curve - areas = Plot.plot(x, y, 'Transversal areas') - areas.line.set_linestyle('-') - areas.line.set_linewidth(2.0) - areas.line.set_color((0.0, 0.0, 0.0)) - # Get perpendiculars data - Lpp = ship.Length.getValueAs('m').Value - FPx = 0.5 * Lpp - APx = -0.5 * Lpp - maxArea = max(y) - # Plot perpendiculars - FP = Plot.plot([FPx, FPx], [0.0, maxArea]) - FP.line.set_linestyle('-') - FP.line.set_linewidth(1.0) - FP.line.set_color((0.0, 0.0, 0.0)) - AP = Plot.plot([APx, APx], [0.0, maxArea]) - AP.line.set_linestyle('-') - AP.line.set_linewidth(1.0) - AP.line.set_color((0.0, 0.0, 0.0)) - # Add annotations for prependiculars - ax = Plot.axes() - ax.annotate('AP', xy=(APx + 0.01 * Lpp, 0.01 * maxArea), size=15) - ax.annotate('AP', xy=(APx + 0.01 * Lpp, 0.95 * maxArea), size=15) - ax.annotate('FP', xy=(FPx + 0.01 * Lpp, 0.01 * maxArea), size=15) - ax.annotate('FP', xy=(FPx + 0.01 * Lpp, 0.95 * maxArea), size=15) - # Add some additional data - addInfo = ("$XCB = {0} \\; \\mathrm{{m}}$\n" - "$Area_{{max}} = {1} \\; \\mathrm{{m}}^2$\n" - "$\\bigtriangleup = {2} \\; \\mathrm{{tons}}$".format( - xcb.getValueAs("m").Value, - maxArea, - disp.getValueAs("kg").Value / 1000.0)) - ax.text(0.0, - 0.01 * maxArea, - addInfo, - verticalalignment='bottom', - horizontalalignment='center', - fontsize=20) - # Write axes titles - Plot.xlabel(r'$x \; \mathrm{m}$') - Plot.ylabel(r'$Area \; \mathrm{m}^2$') - ax.xaxis.label.set_fontsize(20) - ax.yaxis.label.set_fontsize(20) - # Show grid - Plot.grid(True) - # End - plt.update() - return False - - def spreadSheet(self, x, y, ship): - """ Write the output data file. - @param x X coordinates. - @param y Transversal areas. - @param ship Active ship instance. - """ - s = FreeCAD.activeDocument().addObject('Spreadsheet::Sheet', - 'Areas curve') - - # Print the header - s.set("A1", "x [m]") - s.set("B1", "area [m^2]") - s.set("C1", "FP x") - s.set("D1", "FP y") - s.set("E1", "AP x") - s.set("F1", "AP y") - - # Print the perpendiculars data - Lpp = ship.Length.getValueAs('m').Value - FPx = 0.5 * Lpp - APx = -0.5 * Lpp - maxArea = max(y) - s.set("C2", str(FPx)) - s.set("D2", str(0.0)) - s.set("C3", str(FPx)) - s.set("D3", str(maxArea)) - s.set("E2", str(APx)) - s.set("F2", str(0.0)) - s.set("E3", str(APx)) - s.set("F3", str(maxArea)) - - # Print the data - for i in range(len(x)): - s.set("A{}".format(i + 2), str(x[i])) - s.set("B{}".format(i + 2), str(y[i])) - - # Recompute - FreeCAD.activeDocument().recompute() diff --git a/src/Mod/Ship/shipAreasCurve/Preview.py b/src/Mod/Ship/shipAreasCurve/Preview.py deleted file mode 100644 index 58781d7897..0000000000 --- a/src/Mod/Ship/shipAreasCurve/Preview.py +++ /dev/null @@ -1,72 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD -import FreeCADGui -from FreeCAD import Base -import Part -from FreeCAD import Units -from shipUtils import Paths - - -class Preview(object): - def __init__(self): - """ Constructor. """ - self.reinit() - - def reinit(self): - """ Reinitializate the drawer. """ - self.obj = None - self.clean() - - def update(self, draft, trim, ship): - """ Update the free surface 3D view - @param draft Draft. - @param trim Trim in degrees. - """ - self.clean() - # Set free surface bounds - bbox = ship.Shape.BoundBox - L = 1.5 * bbox.XLength - B = 3.0 * bbox.YLength - # Create the plane - x = -0.5 * L - y = -0.5 * B - point = Base.Vector(x, y, 0.0) - plane = Part.makePlane(L, B, point, Base.Vector(0, 0, 1)) - plane.rotate(Base.Vector(0, 0, 0), Base.Vector(0, 1, 0), trim) - plane.translate(Base.Vector(0, 0, draft)) - Part.show(plane) - objs = FreeCAD.ActiveDocument.Objects - self.obj = objs[len(objs) - 1] - self.obj.Label = 'FreeSurfaceHelper' - guiObj = FreeCADGui.ActiveDocument.getObject(self.obj.Name) - guiObj.ShapeColor = (0.4, 0.8, 0.85) - guiObj.Transparency = 50 - - def clean(self): - """ Erase all the annotations from the 3D view. """ - if not self.obj: - return - FreeCAD.ActiveDocument.removeObject(self.obj.Name) - self.obj = None \ No newline at end of file diff --git a/src/Mod/Ship/shipAreasCurve/TaskPanel.py b/src/Mod/Ship/shipAreasCurve/TaskPanel.py deleted file mode 100644 index 8d719a8945..0000000000 --- a/src/Mod/Ship/shipAreasCurve/TaskPanel.py +++ /dev/null @@ -1,393 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import math -import FreeCAD as App -import FreeCADGui as Gui -import Units -from PySide import QtGui, QtCore -from . import Preview -from . import PlotAux -import Instance -from shipUtils import Paths -import shipUtils.Units as USys -import shipUtils.Locale as Locale -from shipHydrostatics import Tools as Hydrostatics - - -class TaskPanel: - def __init__(self): - self.ui = Paths.modulePath() + "/shipAreasCurve/TaskPanel.ui" - self.preview = Preview.Preview() - self.ship = None - - def accept(self): - if not self.ship: - return False - self.save() - # Plot data - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.num = self.widget(QtGui.QSpinBox, "Num") - draft = Units.parseQuantity(Locale.fromString(form.draft.text())) - trim = Units.parseQuantity(Locale.fromString(form.trim.text())) - num = form.num.value() - - disp, B, _ = Hydrostatics.displacement(self.ship, - draft, - Units.parseQuantity("0 deg"), - trim) - xcb = Units.Quantity(B.x, Units.Length) - data = Hydrostatics.areas(self.ship, - num, - draft=draft, - trim=trim) - x = [] - y = [] - for i in range(0, len(data)): - x.append(data[i][0].getValueAs("m").Value) - y.append(data[i][1].getValueAs("m^2").Value) - PlotAux.Plot(x, y, disp, xcb, self.ship) - self.preview.clean() - return True - - def reject(self): - self.preview.clean() - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.num = self.widget(QtGui.QSpinBox, "Num") - form.output = self.widget(QtGui.QTextEdit, "OutputData") - form.doc = QtGui.QTextDocument(form.output) - self.form = form - if self.initValues(): - return True - self.retranslateUi() - QtCore.QObject.connect(form.draft, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - QtCore.QObject.connect(form.trim, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """ Set initial values for fields - """ - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for i in range(0, len(selObjs)): - obj = selObjs[i] - props = obj.PropertiesList - try: - props.index("IsShip") - except ValueError: - continue - if obj.IsShip: - if self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one ship have been selected (the extra" - " ships will be ignored)", - None) - App.Console.PrintWarning(msg + '\n') - break - self.ship = obj - if not self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " valid ship found at the selected objects)", - None) - App.Console.PrintError(msg + '\n') - return True - - length_format = USys.getLengthFormat() - angle_format = USys.getAngleFormat() - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.num = self.widget(QtGui.QSpinBox, "Num") - form.draft.setText(Locale.toString(length_format.format( - self.ship.Draft.getValueAs(USys.getLengthUnits()).Value))) - form.trim.setText(Locale.toString(angle_format.format(0.0))) - # Try to use saved values - props = self.ship.PropertiesList - try: - props.index("AreaCurveDraft") - form.draft.setText(Locale.toString(length_format.format( - self.ship.AreaCurveDraft.getValueAs( - USys.getLengthUnits()).Value))) - except: - pass - try: - props.index("AreaCurveTrim") - form.trim.setText(Locale.toString(angle_format.format( - self.ship.AreaCurveTrim.getValueAs( - USys.getAngleUnits()).Value))) - except ValueError: - pass - try: - props.index("AreaCurveNum") - form.num.setValue(self.ship.AreaCurveNum) - except ValueError: - pass - # Update GUI - draft = Units.Quantity(form.draft.text()).getValueAs('m').Value - trim = Units.Quantity(form.trim.text()).getValueAs('deg').Value - self.preview.update(draft, trim, self.ship) - self.onUpdate() - return False - - def retranslateUi(self): - """ Set user interface locale strings. """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.setWindowTitle(QtGui.QApplication.translate( - "ship_areas", - "Plot the transversal areas curve", - None)) - self.widget(QtGui.QLabel, "DraftLabel").setText( - QtGui.QApplication.translate( - "ship_areas", - "Draft", - None)) - self.widget(QtGui.QLabel, "TrimLabel").setText( - QtGui.QApplication.translate( - "ship_areas", - "Trim angle", - None)) - self.widget(QtGui.QLabel, "NumLabel").setText( - QtGui.QApplication.translate( - "ship_areas", - "Number of points", - None)) - - def clampValue(self, widget, val_min, val_max, val): - if val_min <= val <= val_max: - return val - val = min(val_max, max(val_min, val)) - widget.setText(val.UserString) - return val - - def onData(self, value): - """ Method called when the tool input data is touched. - @param value Changed value. - """ - if not self.ship: - return - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - - # Get the values (or fix them in bad setting case) - try: - draft = Units.parseQuantity(Locale.fromString(form.draft.text())) - except: - draft = self.ship.Draft - form.draft.setText(draft.UserString) - try: - trim = Units.parseQuantity(Locale.fromString(form.trim.text())) - except: - trim = Units.parseQuantity("0 deg") - form.trim.setText(trim.UserString) - - bbox = self.ship.Shape.BoundBox - draft_min = Units.Quantity(bbox.ZMin, Units.Length) - draft_max = Units.Quantity(bbox.ZMax, Units.Length) - draft = self.clampValue(form.draft, draft_min, draft_max, draft) - - trim_min = Units.parseQuantity("-180 deg") - trim_max = Units.parseQuantity("180 deg") - trim = self.clampValue(form.trim, trim_min, trim_max, trim) - - self.onUpdate() - self.preview.update(draft, trim, self.ship) - - def onUpdate(self): - """ Method called when the data update is requested. """ - if not self.ship: - return - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.output = self.widget(QtGui.QTextEdit, "OutputData") - - draft = Units.parseQuantity(Locale.fromString(form.draft.text())) - trim = Units.parseQuantity(Locale.fromString(form.trim.text())) - - # Calculate the drafts at each perpendicular - angle = trim.getValueAs("rad").Value - L = self.ship.Length.getValueAs('m').Value - B = self.ship.Breadth.getValueAs('m').Value - draftAP = draft + 0.5 * self.ship.Length * math.tan(angle) - if draftAP < 0.0: - draftAP = 0.0 - draftFP = draft - 0.5 * self.ship.Length * math.tan(angle) - if draftFP < 0.0: - draftFP = 0.0 - # Calculate the involved hydrostatics - disp, B, _ = Hydrostatics.displacement(self.ship, - draft, - Units.parseQuantity("0 deg"), - trim) - xcb = Units.Quantity(B.x, Units.Length) - # Setup the html string - string = u'L = {0}
'.format(self.ship.Length.UserString) - string += u'B = {0}
'.format(self.ship.Breadth.UserString) - string += u'T = {0}
'.format(draft.UserString) - string += u'Trim = {0}
'.format(trim.UserString) - string += u'TAP = {0}
'.format(draftAP.UserString) - string += u'TFP = {0}
'.format(draftFP.UserString) - dispText = QtGui.QApplication.translate( - "ship_areas", - 'Displacement', - None) - string += dispText + u' = {0}
'.format(disp.UserString) - string += u'XCB = {0}'.format(xcb.UserString) - form.output.setHtml(string) - - def save(self): - """ Saves the data into ship instance. """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.num = self.widget(QtGui.QSpinBox, "Num") - - draft = Units.parseQuantity(Locale.fromString(form.draft.text())) - trim = Units.parseQuantity(Locale.fromString(form.trim.text())) - num = form.num.value() - - props = self.ship.PropertiesList - try: - props.index("AreaCurveDraft") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_areas", - "Areas curve tool draft selected [m]", - None)) - except: - tooltip = "Areas curve tool draft selected [m]" - self.ship.addProperty("App::PropertyLength", - "AreaCurveDraft", - "Ship", - tooltip) - self.ship.AreaCurveDraft = draft - try: - props.index("AreaCurveTrim") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_areas", - "Areas curve tool trim selected [deg]", - None)) - except: - tooltip = "Areas curve tool trim selected [deg]" - self.ship.addProperty("App::PropertyAngle", - "AreaCurveTrim", - "Ship", - tooltip) - self.ship.AreaCurveTrim = trim - try: - props.index("AreaCurveNum") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_areas", - "Areas curve tool number of points", - None)) - except: - tooltip = "Areas curve tool number of points" - self.ship.addProperty("App::PropertyInteger", - "AreaCurveNum", - "Ship", - tooltip) - self.ship.AreaCurveNum = num - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipAreasCurve/TaskPanel.ui b/src/Mod/Ship/shipAreasCurve/TaskPanel.ui deleted file mode 100644 index 8f1914d03e..0000000000 --- a/src/Mod/Ship/shipAreasCurve/TaskPanel.ui +++ /dev/null @@ -1,91 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 256 - - - - Transversal areas curve - - - - - - Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - - - - - 0 - 0 - - - - Draft - - - - - - - - 0 - 0 - - - - Trim angle - - - - - - - - - - - - - Number of points - - - - - - - 2 - - - 9999 - - - 30 - - - - - - - - - - Gui::InputField - QLineEdit -
Gui/InputField.h
-
-
- - -
diff --git a/src/Mod/Ship/shipAreasCurve/__init__.py b/src/Mod/Ship/shipAreasCurve/__init__.py deleted file mode 100644 index d17a2361f6..0000000000 --- a/src/Mod/Ship/shipAreasCurve/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """ Loads the tool """ - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipCapacityCurve/PlotAux.py b/src/Mod/Ship/shipCapacityCurve/PlotAux.py deleted file mode 100644 index 087ea90161..0000000000 --- a/src/Mod/Ship/shipCapacityCurve/PlotAux.py +++ /dev/null @@ -1,133 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import os -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -from FreeCAD import Base -import Spreadsheet -import matplotlib.ticker as mtick - - -class Plot(object): - def __init__(self, l, z, v, tank): - """ Constructor. performs the plot and shows it. - @param l Percentages of filling level. - @param z Level z coordinates. - @param v Volume of fluid. - @param tank Active tank instance. - """ - self.plot(l, z, v, tank) - self.spreadSheet(l, z, v, tank) - - def plot(self, l, z, v, tank): - """ Perform the areas curve plot. - @param l Percentages of filling level. - @param z Level z coordinates. - @param v Volume of fluid. - @param tank Active tank instance. - @return True if error happens. - """ - try: - import Plot - plt = Plot.figure('Capacity curve') - except ImportError: - msg = QtGui.QApplication.translate( - "ship_console", - "Plot module is disabled, so I cannot perform the plot", - None) - FreeCAD.Console.PrintWarning(msg + '\n') - return True - - # Plot the volume as a function of the level percentage - vols = Plot.plot(l, v, 'Capacity') - vols.line.set_linestyle('-') - vols.line.set_linewidth(2.0) - vols.line.set_color((0.0, 0.0, 0.0)) - Plot.xlabel(r'$\mathrm{level}$') - Plot.ylabel(r'$V \; [\mathrm{m}^3]$') - plt.axes.xaxis.label.set_fontsize(20) - plt.axes.yaxis.label.set_fontsize(20) - Plot.grid(True) - - # Special percentage formatter for the x axis - fmt = '%.0f%%' - xticks = mtick.FormatStrFormatter(fmt) - plt.axes.xaxis.set_major_formatter(xticks) - - # Now duplicate the axes - ax = Plot.addNewAxes() - # Y axis can be placed at right - ax.yaxis.tick_right() - ax.spines['right'].set_color((0.0, 0.0, 0.0)) - ax.spines['left'].set_color('none') - ax.yaxis.set_ticks_position('right') - ax.yaxis.set_label_position('right') - # And X axis can be placed at top - ax.xaxis.tick_top() - ax.spines['top'].set_color((0.0, 0.0, 1.0)) - ax.spines['bottom'].set_color('none') - ax.xaxis.set_ticks_position('top') - ax.xaxis.set_label_position('top') - - # Plot the volume as a function of the level z coordinate - vols = Plot.plot(z, v, 'level') - vols.line.set_linestyle('-') - vols.line.set_linewidth(2.0) - vols.line.set_color((0.0, 0.0, 1.0)) - Plot.xlabel(r'$z \; [\mathrm{m}]$') - Plot.ylabel(r'$V \; [\mathrm{m}^3]$') - ax.xaxis.label.set_fontsize(20) - ax.yaxis.label.set_fontsize(20) - ax.xaxis.label.set_color((0.0, 0.0, 1.0)) - ax.tick_params(axis='x', colors=(0.0, 0.0, 1.0)) - Plot.grid(True) - - # End - plt.update() - return False - - def spreadSheet(self, l, z, v, tank): - """ Write the output data file. - @param l Percentages of filling level. - @param z Level z coordinates. - @param v Volume of fluid. - @param tank Active tank instance. - """ - s = FreeCAD.activeDocument().addObject('Spreadsheet::Sheet', - 'Capacity curve') - - # Print the header - s.set("A1", "Percentage of filling level") - s.set("B1", "Level [m]") - s.set("C1", "Volume [m^3]") - - # Print the data - for i in range(len(l)): - s.set("A{}".format(i + 2), str(l[i])) - s.set("B{}".format(i + 2), str(z[i])) - s.set("C{}".format(i + 2), str(v[i])) - - # Recompute - FreeCAD.activeDocument().recompute() diff --git a/src/Mod/Ship/shipCapacityCurve/TaskPanel.py b/src/Mod/Ship/shipCapacityCurve/TaskPanel.py deleted file mode 100644 index 842d6b0747..0000000000 --- a/src/Mod/Ship/shipCapacityCurve/TaskPanel.py +++ /dev/null @@ -1,172 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import math -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import Tools -from . import PlotAux -import TankInstance as Instance -from shipUtils import Paths -import shipUtils.Units as USys - - -class TaskPanel: - def __init__(self): - self.ui = Paths.modulePath() + "/shipCapacityCurve/TaskPanel.ui" - self.tank = None - - def accept(self): - if self.tank is None: - return False - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.points = self.widget(QtGui.QSpinBox, "Points") - n = form.points.value() - - points = Tools.tankCapacityCurve(self.tank, n) - l = [] - z = [] - v = [] - for p in points: - l.append(p[0] * 100) - z.append(p[1].getValueAs("m").Value) - v.append(p[2].getValueAs("m^3").Value) - - PlotAux.Plot(l, z, v, self.tank) - return True - - def reject(self): - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.points = self.widget(QtGui.QSpinBox, "Points") - self.form = form - if self.initValues(): - return True - self.retranslateUi() - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise Exception("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """ Set initial values for fields - """ - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A tank instance must be selected before using this tool (no" - " objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for i in range(0, len(selObjs)): - obj = selObjs[i] - props = obj.PropertiesList - try: - props.index("IsTank") - except ValueError: - continue - if obj.IsTank: - if self.tank: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one tank have been selected (the extra" - " tanks will be ignored)", - None) - App.Console.PrintWarning(msg + '\n') - break - self.tank = obj - if not self.tank: - msg = QtGui.QApplication.translate( - "ship_console", - "A tank instance must be selected before using this tool (no" - " valid tank found at the selected objects)", - None) - App.Console.PrintError(msg + '\n') - return True - return False - - def retranslateUi(self): - """ Set user interface locale strings. """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.setWindowTitle(QtGui.QApplication.translate( - "ship_capacity", - "Plot the tank capacity curve", - None)) - self.widget(QtGui.QLabel, "PointsLabel").setText( - QtGui.QApplication.translate( - "ship_capacity", - "Number of points", - None)) - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipCapacityCurve/TaskPanel.ui b/src/Mod/Ship/shipCapacityCurve/TaskPanel.ui deleted file mode 100644 index 226164283c..0000000000 --- a/src/Mod/Ship/shipCapacityCurve/TaskPanel.ui +++ /dev/null @@ -1,51 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 128 - - - - Capacity curve - - - - - - - - - 0 - 0 - - - - Number of points - - - - - - - 2 - - - 99999 - - - 51 - - - - - - - - - - diff --git a/src/Mod/Ship/shipCapacityCurve/Tools.py b/src/Mod/Ship/shipCapacityCurve/Tools.py deleted file mode 100644 index 4817180cfc..0000000000 --- a/src/Mod/Ship/shipCapacityCurve/Tools.py +++ /dev/null @@ -1,59 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import FreeCAD as App -import Units -import WeightInstance as Instance -import shipUtils.Units as USys -from PySide import QtGui - - -def tankCapacityCurve(tank, n): - """Create a tank capacity curve - - Position arguments: - tank -- Tank object (see createTank) - ship -- n Number of filling levels to test - - Returned value: - List of computed points. Each point contains the filling level percentage - (interval [0, 1]), the filling level (0 for the bottom of the tank), and - the volume. - """ - bbox = tank.Shape.BoundBox - dz = Units.Quantity(bbox.ZMax - bbox.ZMin, Units.Length) - dlevel = 1.0 / (n - 1) - out = [(0.0, Units.parseQuantity("0 m"), Units.parseQuantity("0 m^3"))] - - msg = QtGui.QApplication.translate( - "ship_console", - "Computing capacity curves", - None) - App.Console.PrintMessage(msg + '...\n') - for i in range(1, n): - App.Console.PrintMessage("\t{} / {}\n".format(i + 1, n)) - level = i * dlevel - vol = tank.Proxy.getVolume(tank, level) - out.append((level, level * dz, level * vol)) - return out diff --git a/src/Mod/Ship/shipCapacityCurve/__init__.py b/src/Mod/Ship/shipCapacityCurve/__init__.py deleted file mode 100644 index d17a2361f6..0000000000 --- a/src/Mod/Ship/shipCapacityCurve/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """ Loads the tool """ - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipCreateLoadCondition/Tools.py b/src/Mod/Ship/shipCreateLoadCondition/Tools.py deleted file mode 100644 index c060e90ea4..0000000000 --- a/src/Mod/Ship/shipCreateLoadCondition/Tools.py +++ /dev/null @@ -1,124 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 detaillc. * -#* * -#* You should have received a copy of the GNU Library General Public * -#* License along with this program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import FreeCAD as App -import Spreadsheet -from FreeCAD import Units - - -READ_ONLY_FOREGROUND = (0.5, 0.5, 0.5) -READ_ONLY_BACKGROUND = (0.9, 0.9, 0.9) - - -def createLoadCondition(ship): - """Create a new loading condition spreadsheet - - Position arguments: - ship -- Ship object - - Returned value: - lc -- The new loading condition spreadsheet object - - The new spreadsheet will initialize all the tanks as empty. To modify the - fluid density and the filling level percentages the columns D and E should - be edited (the first tank can be found at the row 6) - - For instance, the following code snippet can be used to set the first tank - 50% filled with water: - lc.set("D6", "998.0") - lc.set("E6", "0.5") - - The label of the tank can be extracted from the column C, for instance: - lc.get("C6") - Such information can be used to get the tank object (the followinbg code - may fail if either the tank has been removed, or several objects with the - same label already exist): - tank = App.ActiveDocument.getObjectsByLabel(lc.get("C6"))[0] - - The tool will claim the new spreadsheet loading condition as a child of the - ship object. Please do not remove the partner ship object before removing - this new loading condition before. - """ - # Create the spreadsheet - lc = App.activeDocument().addObject('Spreadsheet::Sheet', - 'LoadCondition') - - # Add a description - lc.setForeground('A1:B2', READ_ONLY_FOREGROUND) - lc.setBackground('A1:B2', READ_ONLY_BACKGROUND) - lc.setAlignment('B1:B2', 'center', 'keep') - lc.setStyle('B1:B2', 'italic', 'add') - lc.set("A1", "Ship:") - lc.set("A2", "Load condition:") - lc.set("B1", "=" + ship.Name + ".Label") - lc.set("B2", "=Label") - - # Add the weights data - lc.setAlignment('A4:A5', 'center', 'keep') - lc.setStyle('A4:A5', 'bold', 'add') - lc.setStyle('A4:A5', 'underline', 'add') - lc.set("A4", "WEIGHTS DATA") - lc.set("A5", "name") - for i in range(len(ship.Weights)): - weight = App.activeDocument().getObject(ship.Weights[i]) - lc.set("A{}".format(i + 6), "=" + weight.Name + ".Label") - lc.setForeground('A4:A{}'.format(5 + len(ship.Weights)), READ_ONLY_FOREGROUND) - lc.setBackground('A4:A{}'.format(5 + len(ship.Weights)), READ_ONLY_BACKGROUND) - - # Add the tanks data - lc.mergeCells('C4:E4') - lc.setForeground('C4:E5', READ_ONLY_FOREGROUND) - lc.setBackground('C4:E5', READ_ONLY_BACKGROUND) - lc.setAlignment('C4:E5', 'center', 'keep') - lc.setStyle('C4:E5', 'bold', 'add') - lc.setStyle('C4:E5', 'underline', 'add') - lc.set("C4", "TANKS DATA") - lc.set("C5", "name") - lc.set("D5", "Fluid density [kg/m^3]") - lc.set("E5", "Filling ratio (interval [0, 1])") - if len(ship.Tanks): - for i in range(len(ship.Tanks)): - tank = App.activeDocument().getObject(ship.Tanks[i]) - lc.set("C{}".format(i + 6), "=" + tank.Name + ".Label") - lc.set("D{}".format(i + 6), "998.0") - lc.set("E{}".format(i + 6), "0.0") - lc.setForeground('C6:C{}'.format(5 + len(ship.Tanks)), READ_ONLY_FOREGROUND) - lc.setBackground('C6:C{}'.format(5 + len(ship.Tanks)), READ_ONLY_BACKGROUND) - - lc.setColumnWidth('A', 128) - lc.setColumnWidth('B', 128) - lc.setColumnWidth('C', 128) - lc.setColumnWidth('D', 150) - lc.setColumnWidth('E', 200) - - # Add the spreadsheet to the list of loading conditions of the ship - lcs = ship.LoadConditions[:] - lcs.append(lc.Name) - ship.LoadConditions = lcs - ship.Proxy.cleanLoadConditions(ship) - - # Recompute to take the changes - App.activeDocument().recompute() - - return lc \ No newline at end of file diff --git a/src/Mod/Ship/shipCreateLoadCondition/__init__.py b/src/Mod/Ship/shipCreateLoadCondition/__init__.py deleted file mode 100644 index b59d0321d6..0000000000 --- a/src/Mod/Ship/shipCreateLoadCondition/__init__.py +++ /dev/null @@ -1,74 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -import FreeCADGui as Gui -from PySide import QtGui -from . import Tools - - -READ_ONLY_FOREGROUND = (0.5, 0.5, 0.5) -READ_ONLY_BACKGROUND = (0.9, 0.9, 0.9) - - -def load(): - """Directly create the load condition""" - # Check that a ship has been selected - ship = None - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " objects selected)", - None) - App.Console.PrintError(msg + '\n') - return - for i in range(len(selObjs)): - obj = selObjs[i] - props = obj.PropertiesList - try: - props.index("IsShip") - except ValueError: - continue - if obj.IsShip: - if ship: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one ship have been selected (the extra" - " ships will be ignored)", - None) - App.Console.PrintWarning(msg + '\n') - break - ship = obj - - if not ship: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " valid ship found at the selected objects)", - None) - App.Console.PrintError(msg + '\n') - return - - Tools.createLoadCondition(ship) diff --git a/src/Mod/Ship/shipCreateShip/Preview.py b/src/Mod/Ship/shipCreateShip/Preview.py deleted file mode 100644 index 8e9e6d946f..0000000000 --- a/src/Mod/Ship/shipCreateShip/Preview.py +++ /dev/null @@ -1,190 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD -import FreeCADGui -from FreeCAD import Base -import Part -from FreeCAD import Units -from PySide import QtGui, QtCore -from shipUtils import Paths - - -class Preview(object): - def __init__(self): - """Constructor.""" - self.baseLine = None - self.baseLineLabel = None - self.reinit() - - def reinit(self): - """Reinitializate drawer, removing all the previous annotations""" - self.clean() - - def update(self, L, B, T): - """Update the 3D view printing the annotations. - - Keyword arguments: - L -- Selected ship length. - B -- Selected ship breadth. - T -- Selected ship draft. - """ - self.clean() - # Move to the international system units - L *= Units.Metre.Value - B *= Units.Metre.Value - T *= Units.Metre.Value - # Draw the base line - xStart = -0.6 * L - xEnd = 0.6 * L - baseLine = Part.makeLine((xStart, 0, 0), (xEnd, 0, 0)) - Part.show(baseLine) - objs = FreeCAD.ActiveDocument.Objects - self.baseLine = objs[len(objs) - 1] - self.baseLine.Label = 'BaseLine' - try: - text = str(QtGui.QApplication.translate( - "ship_create", - "Base line", - None)) - except: - text = "Base line" - self.baseLineLabel = DrawText('BaseLineText', - text, - Base.Vector(xEnd, 0, 0)) - # Draw the free surface line - fsLine = Part.makeLine((xStart, 0, T), (xEnd, 0, T)) - Part.show(fsLine) - objs = FreeCAD.ActiveDocument.Objects - self.fsLine = objs[len(objs) - 1] - self.fsLine.Label = 'FreeSurface' - try: - text = str(QtGui.QApplication.translate( - "ship_create", - "Free surface", - None)) - except: - text = "Free surface" - self.fsLineLabel = DrawText('FSText', text, Base.Vector(xEnd, 0, T)) - # Draw the forward perpendicular - zStart = -0.1 * T - zEnd = 1.1 * T - fpLine = Part.makeLine((0.5 * L, 0, zStart), (0.5 * L, 0, zEnd)) - Part.show(fpLine) - objs = FreeCAD.ActiveDocument.Objects - self.fpLine = objs[len(objs) - 1] - self.fpLine.Label = 'ForwardPerpendicular' - try: - text = str(QtGui.QApplication.translate( - "ship_create", - "Forward perpendicular", - None)) - except: - text = "Forward perpendicular" - self.fpLineLabel = DrawText('FPText', - text, - Base.Vector(0.5 * L, 0, zEnd)) - # Draw the after perpendicular - apLine = Part.makeLine((-0.5 * L, 0, zStart), (-0.5 * L, 0, zEnd)) - Part.show(apLine) - objs = FreeCAD.ActiveDocument.Objects - self.apLine = objs[len(objs) - 1] - self.apLine.Label = 'AfterPerpendicular' - try: - text = str(QtGui.QApplication.translate( - "ship_create", - "After perpendicular", - None)) - except: - text = "After perpendicular" - self.apLineLabel = DrawText('APText', - text, - Base.Vector(-0.5 * L, 0, zEnd)) - # Draw the main frame - amLine = Part.makeLine((0, -0.5 * B, zStart), (0, -0.5 * B, zEnd)) - Part.show(amLine) - objs = FreeCAD.ActiveDocument.Objects - self.amLine = objs[len(objs) - 1] - self.amLine.Label = 'AminFrame' - try: - text = str(QtGui.QApplication.translate( - "ship_create", - "Main frame", - None)) - except: - text = "Main frame" - self.amLineLabel = DrawText('AMText', - text, - Base.Vector(0, -0.5 * B, zEnd)) - - def clean(self): - """Remove all previous annotations from screen.""" - if not self.baseLine: - return - FreeCAD.ActiveDocument.removeObject(self.baseLine.Name) - FreeCAD.ActiveDocument.removeObject(self.baseLineLabel.Name) - FreeCAD.ActiveDocument.removeObject(self.fsLine.Name) - FreeCAD.ActiveDocument.removeObject(self.fsLineLabel.Name) - FreeCAD.ActiveDocument.removeObject(self.fpLine.Name) - FreeCAD.ActiveDocument.removeObject(self.fpLineLabel.Name) - FreeCAD.ActiveDocument.removeObject(self.apLine.Name) - FreeCAD.ActiveDocument.removeObject(self.apLineLabel.Name) - FreeCAD.ActiveDocument.removeObject(self.amLine.Name) - FreeCAD.ActiveDocument.removeObject(self.amLineLabel.Name) - - -def DrawText(name, - string, - position, - displayMode="Screen", - angle=0.0, - justification="Left", - colour=(0.0, 0.0, 0.0), - size=12): - """Draw a text in the screen. - - Keyword arguments: - name -- Name (label) of the object to generate. - string -- Text to draw (it is strongly recommended to use format u''). - position -- Point to draw the text. - angle -- Counter clockwise rotation of text. - justification -- Alignment of the text ("Left", "Right" or "Center"). - colour -- Colour of the text. - size -- Font size (in points pt). - - Returns: - A FreeCAD annotation object - """ - # Create the object - text = FreeCAD.ActiveDocument.addObject("App::Annotation", name) - # Set the text - text.LabelText = [string, u''] - # Set the options - text.Position = position - doc = FreeCADGui.ActiveDocument - doc.getObject(text.Name).Rotation = angle - doc.getObject(text.Name).Justification = justification - doc.getObject(text.Name).FontSize = size - doc.getObject(text.Name).TextColor = colour - doc.getObject(text.Name).DisplayMode = displayMode - return FreeCAD.ActiveDocument.getObject(text.Name) diff --git a/src/Mod/Ship/shipCreateShip/TaskPanel.py b/src/Mod/Ship/shipCreateShip/TaskPanel.py deleted file mode 100644 index 80c22b072b..0000000000 --- a/src/Mod/Ship/shipCreateShip/TaskPanel.py +++ /dev/null @@ -1,307 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import Preview -from . import Tools -import Instance # from ship -from shipUtils import Paths -import shipUtils.Units as USys -import shipUtils.Locale as Locale - -class TaskPanel: - def __init__(self): - """Constructor""" - self.ui = Paths.modulePath() + "/shipCreateShip/TaskPanel.ui" - self.preview = Preview.Preview() - - def accept(self): - """Create the ship instance""" - self.preview.clean() - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.length = self.widget(QtGui.QLineEdit, "Length") - form.breadth = self.widget(QtGui.QLineEdit, "Breadth") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - - Tools.createShip(self.solids, - Locale.fromString(form.length.text()), - Locale.fromString(form.breadth.text()), - Locale.fromString(form.draft.text())) - return True - - def reject(self): - """Cancel the job""" - self.preview.clean() - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - """Create and configurate the user interface""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.length = self.widget(QtGui.QLineEdit, "Length") - form.breadth = self.widget(QtGui.QLineEdit, "Breadth") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - form.mainLogo = self.widget(QtGui.QLabel, "MainLogo") - form.mainLogo.setPixmap(QtGui.QPixmap(":/icons/Ship_Logo.svg")) - self.form = form - if self.initValues(): - return True - self.retranslateUi() - self.preview.update(self.L, self.B, self.T) - QtCore.QObject.connect( - form.length, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - QtCore.QObject.connect( - form.breadth, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - QtCore.QObject.connect( - form.draft, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """Setup the initial values""" - self.solids = None - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "Ship objects can only be created on top of hull geometry" - " (no objects selected)", - None) - App.Console.PrintError(msg + '\n') - msg = QtGui.QApplication.translate( - "ship_console", - "Please create or load a ship hull geometry before using" - " this tool", - None) - App.Console.PrintError(msg + '\n') - return True - self.solids = [] - for i in range(0, len(selObjs)): - solids = self.getSolids(selObjs[i]) - for j in range(0, len(solids)): - self.solids.append(solids[j]) - if not self.solids: - msg = QtGui.QApplication.translate( - "ship_console", - "Ship objects can only be created on top of hull geometry" - " (no solid found at selected objects)", - None) - App.Console.PrintError(msg + '\n') - msg = QtGui.QApplication.translate( - "ship_console", - "Please create or load a ship hull geometry before using" - " this tool", - None) - App.Console.PrintError(msg + '\n') - return True - # Get the ship bounds. The ship instance can not have dimensions - # out of these values. - self.bounds = [0.0, 0.0, 0.0] - bbox = self.solids[0].BoundBox - minX = bbox.XMin - maxX = bbox.XMax - minY = bbox.YMin - maxY = bbox.YMax - minZ = bbox.ZMin - maxZ = bbox.ZMax - for i in range(1, len(self.solids)): - bbox = self.solids[i].BoundBox - if minX > bbox.XMin: - minX = bbox.XMin - if maxX < bbox.XMax: - maxX = bbox.XMax - if minY > bbox.YMin: - minY = bbox.YMin - if maxY < bbox.YMax: - maxY = bbox.YMax - if minZ > bbox.ZMin: - minZ = bbox.ZMin - if maxZ < bbox.ZMax: - maxZ = bbox.ZMax - self.bounds[0] = maxX - minX - self.bounds[1] = max(maxY - minY, abs(maxY), abs(minY)) - self.bounds[2] = maxZ - minZ - - input_format = USys.getLengthFormat() - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.length = self.widget(QtGui.QLineEdit, "Length") - form.breadth = self.widget(QtGui.QLineEdit, "Breadth") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - - qty = Units.Quantity(self.bounds[0], Units.Length) - form.length.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - self.L = self.bounds[0] / Units.Metre.Value - qty = Units.Quantity(self.bounds[1], Units.Length) - form.breadth.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - self.B = self.bounds[1] / Units.Metre.Value - qty = Units.Quantity(self.bounds[2], Units.Length) - form.draft.setText(Locale.toString(input_format.format( - 0.5 * qty.getValueAs(USys.getLengthUnits()).Value))) - self.T = 0.5 * self.bounds[2] / Units.Metre.Value - return False - - def retranslateUi(self): - """Set the user interface locale strings.""" - self.form.setWindowTitle(QtGui.QApplication.translate( - "ship_create", - "Create a new ship", - None)) - self.widget(QtGui.QLabel, "LengthLabel").setText( - QtGui.QApplication.translate( - "ship_create", - "Length", - None)) - self.widget(QtGui.QLabel, "BreadthLabel").setText( - QtGui.QApplication.translate( - "ship_create", - "Breadth", - None)) - self.widget(QtGui.QLabel, "DraftLabel").setText( - QtGui.QApplication.translate( - "ship_create", - "Draft", - None)) - - def clampVal(self, widget, val_min, val_max, val): - if val >= val_min and val <= val_max: - return val - input_format = USys.getLengthFormat() - val = min(val_max, max(val_min, val)) - qty = Units.Quantity('{} m'.format(val)) - widget.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - return val - - def onData(self, value): - """Updates the 3D preview on data changes. - - Keyword arguments: - value -- Edited value. This parameter is required in order to use this - method as a callback function, but it is not useful. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.length = self.widget(QtGui.QLineEdit, "Length") - form.breadth = self.widget(QtGui.QLineEdit, "Breadth") - form.draft = self.widget(QtGui.QLineEdit, "Draft") - - qty = Units.Quantity(Locale.fromString(form.length.text())) - val_min = 0.001 - val_max = self.bounds[0] / Units.Metre.Value - val = qty.getValueAs('m').Value - self.L = self.clampVal(form.length, val_min, val_max, val) - qty = Units.Quantity(Locale.fromString(form.breadth.text())) - val_min = 0.001 - val_max = self.bounds[1] / Units.Metre.Value - val = qty.getValueAs('m').Value - self.B = self.clampVal(form.breadth, val_min, val_max, val) - qty = Units.Quantity(Locale.fromString(form.draft.text())) - val_min = 0.001 - val_max = self.bounds[2] / Units.Metre.Value - val = qty.getValueAs('m').Value - self.T = self.clampVal(form.draft, val_min, val_max, val) - self.preview.update(self.L, self.B, self.T) - - def getSolids(self, obj): - """Returns the solid entities from an object - Keyword arguments: - obj -- FreeCAD object to extract the solids from. - - Returns: - The solid entities, None if no solid have been found. - """ - if not obj: - return None - if obj.isDerivedFrom('Part::Feature'): - # get shape - shape = obj.Shape - if not shape: - return None - obj = shape - if not obj.isDerivedFrom('Part::TopoShape'): - return None - # get face - solids = obj.Solids - if not solids: - return None - return solids - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipCreateShip/TaskPanel.ui b/src/Mod/Ship/shipCreateShip/TaskPanel.ui deleted file mode 100644 index 8bc55eaaa1..0000000000 --- a/src/Mod/Ship/shipCreateShip/TaskPanel.ui +++ /dev/null @@ -1,200 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 316 - - - - - 0 - 316 - - - - Create new ship - - - - - - - - - - - 128 - 128 - - - - - 128 - 128 - - - - - - - ../Icons/Ico.xpm - - - true - - - Qt::AlignHCenter|Qt::AlignTop - - - - - - - - - - 240 - 160 - - - - Ship data - - - false - - - - - - 6 - - - QLayout::SetDefaultConstraint - - - - - QLayout::SetDefaultConstraint - - - 10 - - - 0 - - - 10 - - - 0 - - - - - Length - - - - - - - - 0 - 0 - - - - - - - - - - 10 - - - 0 - - - 10 - - - 0 - - - - - Beam - - - - - - - - 0 - 0 - - - - - - - - - - 10 - - - 0 - - - 10 - - - 0 - - - - - Draft - - - - - - - - 0 - 0 - - - - - - - - - - - - - - - - - - Gui::InputField - QLineEdit -
Gui/Inputfield.h
-
-
- - -
diff --git a/src/Mod/Ship/shipCreateShip/Tools.py b/src/Mod/Ship/shipCreateShip/Tools.py deleted file mode 100644 index 8a6fdd70c8..0000000000 --- a/src/Mod/Ship/shipCreateShip/Tools.py +++ /dev/null @@ -1,65 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import FreeCAD as App -import Instance - - -def createShip(solids, L, B, T): - """Create a new ship instance - - Position arguments: - solids -- List of hull solid shapes - L -- Ship length between perpendiculars - B -- Ship Breadth - T -- Ship design draft - - Returned value: - The new ship object - - The solids can be easily extracted from an already existing object. For - instance, to get the solids from the selected object simply type the - following command: - - solids = Gui.ActiveDocument.ActiveObject.Object.Shape.Solids - - Regarding the Length, Breadth, and Draft, it is strongly recommended to use - Units.parseQuantity method, e.g. The following obfuscated code snippet build - such variables: - - import Units - L = Units.parseQuantity("25.5 m") - B = Units.parseQuantity("3.9 m") - T = Units.parseQuantity("1.0 m") - """ - obj = App.ActiveDocument.addObject("Part::FeaturePython", "Ship") - ship = Instance.Ship(obj, solids) - Instance.ViewProviderShip(obj.ViewObject) - - obj.Length = L - obj.Breadth = B - obj.Draft = T - - App.ActiveDocument.recompute() - return obj \ No newline at end of file diff --git a/src/Mod/Ship/shipCreateShip/__init__.py b/src/Mod/Ship/shipCreateShip/__init__.py deleted file mode 100644 index bef0bca9cb..0000000000 --- a/src/Mod/Ship/shipCreateShip/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """Loads the tool in the task panel""" - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipCreateTank/TaskPanel.py b/src/Mod/Ship/shipCreateTank/TaskPanel.py deleted file mode 100644 index 962f2aec27..0000000000 --- a/src/Mod/Ship/shipCreateTank/TaskPanel.py +++ /dev/null @@ -1,177 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import Tools -import TankInstance as Instance -from shipUtils import Paths -import shipUtils.Units as USys - -class TaskPanel: - def __init__(self): - """Constructor""" - self.ui = Paths.modulePath() + "/shipCreateTank/TaskPanel.ui" - - def accept(self): - """Create the ship instance""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - - ship = self.ships[form.ship.currentIndex()] - Tools.createTank(self.solids, ship) - - return True - - def reject(self): - """Cancel the job""" - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - """Create and configurate the user interface""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - self.form = form - if self.initValues(): - return True - self.retranslateUi() - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise Exception("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """Setup the initial values""" - # Ensure that there are at least one valid object to generate the - # tank - selObjs = Gui.Selection.getSelection() - self.solids = [] - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_tank", - "Tanks objects can only be created on top of its geometry" - " (no objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for obj in selObjs: - try: - self.solids.extend(obj.Shape.Solids) - except: - continue - if not len(self.solids): - msg = QtGui.QApplication.translate( - "ship_tank", - "No solids found in the selected objects", - None) - App.Console.PrintError(msg + '\n') - return True - - # Ensure as well that exist at least one valid ship to create the - # entity inside it - self.ships = [] - for obj in App.ActiveDocument.Objects: - try: - if obj.IsShip: - self.ships.append(obj) - except: - continue - if not len(self.ships): - msg = QtGui.QApplication.translate( - "ship_tank", - "There are not ship objects to create weights into them", - None) - App.Console.PrintError(msg + '\n') - return True - - # Fill the ships combo box - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - icon = QtGui.QIcon(QtGui.QPixmap(":/icons/Ship_Instance.svg")) - form.ship.clear() - for ship in self.ships: - form.ship.addItem(icon, ship.Label) - form.ship.setCurrentIndex(0) - - return False - - def retranslateUi(self): - """Set the user interface locale strings.""" - self.form.setWindowTitle(QtGui.QApplication.translate( - "ship_tank", - "Create a new tank", - None)) - self.widget(QtGui.QLabel, "ShipLabel").setText( - QtGui.QApplication.translate( - "ship_tank", - "Ship", - None)) - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipCreateTank/TaskPanel.ui b/src/Mod/Ship/shipCreateTank/TaskPanel.ui deleted file mode 100644 index 6127c62c91..0000000000 --- a/src/Mod/Ship/shipCreateTank/TaskPanel.ui +++ /dev/null @@ -1,60 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 78 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Create new tank - - - - - - - - - 0 - 0 - - - - Ship - - - - - - - - 1 - 0 - - - - - - - - - - - diff --git a/src/Mod/Ship/shipCreateTank/Tools.py b/src/Mod/Ship/shipCreateTank/Tools.py deleted file mode 100644 index 2b91e84c1a..0000000000 --- a/src/Mod/Ship/shipCreateTank/Tools.py +++ /dev/null @@ -1,56 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import FreeCAD as App -from FreeCAD import Units -import TankInstance as Instance - - -def createTank(solids, ship): - """Create a new tank instance - - Position arguments: - solids -- List of solid shapes - ship -- Ship owner - - Returned value: - The new tank object - - The tool will claim the new tank as a child of the ship object. Please do - not remove the partner ship object before removing this new tank before. - """ - obj = App.ActiveDocument.addObject("Part::FeaturePython", "Tank") - tank = Instance.Tank(obj, solids, ship) - Instance.ViewProviderTank(obj.ViewObject) - - # Set it as a child of the ship - tanks = ship.Tanks[:] - tanks.append(obj.Name) - ship.Tanks = tanks - ship.Proxy.cleanWeights(ship) - ship.Proxy.cleanTanks(ship) - ship.Proxy.cleanLoadConditions(ship) - - App.ActiveDocument.recompute() - return obj \ No newline at end of file diff --git a/src/Mod/Ship/shipCreateTank/__init__.py b/src/Mod/Ship/shipCreateTank/__init__.py deleted file mode 100644 index bef0bca9cb..0000000000 --- a/src/Mod/Ship/shipCreateTank/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """Loads the tool in the task panel""" - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipCreateWeight/TaskPanel.py b/src/Mod/Ship/shipCreateWeight/TaskPanel.py deleted file mode 100644 index 43df04bb07..0000000000 --- a/src/Mod/Ship/shipCreateWeight/TaskPanel.py +++ /dev/null @@ -1,254 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import Tools -import WeightInstance as Instance -from shipUtils import Paths -import shipUtils.Units as USys -import shipUtils.Locale as Locale - -class TaskPanel: - def __init__(self): - """Constructor""" - self.ui = Paths.modulePath() + "/shipCreateWeight/TaskPanel.ui" - - def accept(self): - """Create the ship instance""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - form.weight = self.widget(QtGui.QLineEdit, "Weight") - - ship = self.ships[form.ship.currentIndex()] - density = Units.parseQuantity(Locale.fromString(form.weight.text())) - - Tools.createWeight(self.shapes, ship, density) - return True - - def reject(self): - """Cancel the job""" - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - """Create and configurate the user interface""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - form.weight = self.widget(QtGui.QLineEdit, "Weight") - self.form = form - if self.initValues(): - return True - self.retranslateUi() - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise Exception("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """Setup the initial values""" - # Ensure that there are at least one valid object to generate the - # weight - selObjs = Gui.Selection.getSelection() - self.shapes = [] - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_weight", - "Weight objects can only be created on top of its geometry" - " (no objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for obj in selObjs: - try: - self.shapes.append(obj.Shape) - except: - continue - if not len(self.shapes): - msg = QtGui.QApplication.translate( - "ship_weight", - "No geometrical shapes found in the selected objects", - None) - App.Console.PrintError(msg + '\n') - return True - - # Get the element type - # 0 = unknown, 1 = vertex, 2 = line, 3 = face, 4 = solids - self.elem_type = 0 - for shape in self.shapes: - # Doing it in this way we are protected under strange entities, - # and we are prepared to add higher level type of entities in the - # future, just in case... - try: - if len(shape.Solids): - self.elem_type = max(4, self.elem_type) - except: - pass - try: - if len(shape.Faces): - self.elem_type = max(3, self.elem_type) - except: - pass - try: - if len(shape.Edges): - self.elem_type = max(2, self.elem_type) - except: - pass - try: - if len(shape.Vertexes): - self.elem_type = max(1, self.elem_type) - except: - pass - # Could it happens??? - if self.elem_type == 0: - msg = QtGui.QApplication.translate( - "ship_weight", - "Unknown object shapes selected", - None) - App.Console.PrintError(msg + '\n') - return True - - # Ensure as well that exist at least one valid ship to create the - # entity inside it - self.ships = [] - for obj in App.ActiveDocument.Objects: - try: - if obj.IsShip: - self.ships.append(obj) - except: - continue - if not len(self.ships): - msg = QtGui.QApplication.translate( - "ship_weight", - "There are not ship objects to create weights into them", - None) - App.Console.PrintError(msg + '\n') - return True - - # Fill the ships combo box - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - form.weight = self.widget(QtGui.QLineEdit, "Weight") - icon = QtGui.QIcon(QtGui.QPixmap(":/icons/Ship_Instance.svg")) - form.ship.clear() - for ship in self.ships: - form.ship.addItem(icon, ship.Label) - form.ship.setCurrentIndex(0) - - # Initialize the 0 mass/density string field - m_unit = USys.getMassUnits() - l_unit = USys.getLengthUnits() - if self.elem_type == 1: - w_unit = m_unit - elif self.elem_type == 2: - w_unit = m_unit + '/' + l_unit - elif self.elem_type == 3: - w_unit = m_unit + '/' + l_unit + '^2' - elif self.elem_type == 4: - w_unit = m_unit + '/' + l_unit + '^3' - form.weight.setText('0 ' + w_unit) - return False - - def retranslateUi(self): - """Set the user interface locale strings.""" - self.form.setWindowTitle(QtGui.QApplication.translate( - "ship_weight", - "Create a new weight", - None)) - self.widget(QtGui.QLabel, "ShipLabel").setText( - QtGui.QApplication.translate( - "ship_weight", - "Ship", - None)) - if self.elem_type == 1: - self.widget(QtGui.QLabel, "WeightLabel").setText( - QtGui.QApplication.translate( - "ship_weight", - "Mass", - None)) - elif self.elem_type == 2: - self.widget(QtGui.QLabel, "WeightLabel").setText( - QtGui.QApplication.translate( - "ship_weight", - "Linear density", - None)) - elif self.elem_type == 3: - self.widget(QtGui.QLabel, "WeightLabel").setText( - QtGui.QApplication.translate( - "ship_weight", - "Area density", - None)) - elif self.elem_type == 4: - self.widget(QtGui.QLabel, "WeightLabel").setText( - QtGui.QApplication.translate( - "ship_weight", - "Density", - None)) - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipCreateWeight/TaskPanel.ui b/src/Mod/Ship/shipCreateWeight/TaskPanel.ui deleted file mode 100644 index 1a7de87f77..0000000000 --- a/src/Mod/Ship/shipCreateWeight/TaskPanel.ui +++ /dev/null @@ -1,97 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 78 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Create new weight - - - - - - 6 - - - - - - 0 - 0 - - - - Weight - - - - - - - - 0 - 0 - - - - - - - - - - - - - 0 - 0 - - - - Ship - - - - - - - - 1 - 0 - - - - - - - - - - - Gui::InputField - QLineEdit -
Gui/Inputfield.h
-
-
- - -
diff --git a/src/Mod/Ship/shipCreateWeight/Tools.py b/src/Mod/Ship/shipCreateWeight/Tools.py deleted file mode 100644 index 112edb6322..0000000000 --- a/src/Mod/Ship/shipCreateWeight/Tools.py +++ /dev/null @@ -1,91 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import FreeCAD as App -import Units -import WeightInstance as Instance -import shipUtils.Units as USys - - -def createWeight(shapes, ship, density): - """Create a new weight instance - - Position arguments: - shapes -- List of shapes of the weight - ship -- Ship owner - density -- Density of the object. 4 possibilities are considered here: - * Density as Mass/Volume: then the weight will be considered as a - volumetric object. Used for blocks or similar. - * Density as Mass/Area: then the weight will be considered as an area - element. Used for structural shells. - * Density as Mass/Length: then the weight will be cosidered as a linear - element. Used for linear structural reinforcements. - * Mass: Then a punctual mass will be considered. Used for complex - weights, like engines or other machines. - - Returned value: - The new weight object - - It is strongly recommended to pass just shapes matching with the provided - density, e.g. don't use volumetric shapes with a linear density value (kg/m) - - The tool will claim the new weight as a child of the ship object. Please do - not remove the partner ship object before removing this new weight before. - """ - # Create the object - obj = App.ActiveDocument.addObject("Part::FeaturePython", "Weight") - weight = Instance.Weight(obj, shapes, ship) - Instance.ViewProviderWeight(obj.ViewObject) - - # Setup the mass/density value - m_unit = "kg" - l_unit = "m" - m_qty = Units.Quantity(1, Units.Mass) - l_qty = Units.Quantity(1, Units.Length) - a_qty = Units.Quantity(1, Units.Area) - v_qty = Units.Quantity(1, Units.Volume) - if density.Unit == m_qty.Unit: - w_unit = m_unit - obj.Mass = density.getValueAs(w_unit).Value - elif density.Unit == (m_qty / l_qty).Unit: - w_unit = m_unit + '/' + l_unit - obj.LineDens = density.getValueAs(w_unit).Value - elif density.Unit == (m_qty / a_qty).Unit: - w_unit = m_unit + '/' + l_unit + '^2' - obj.AreaDens = density.getValueAs(w_unit).Value - elif density.Unit == (m_qty / v_qty).Unit: - w_unit = m_unit + '/' + l_unit + '^3' - obj.Dens = density.getValueAs(w_unit).Value - - # Set it as a child of the ship - weights = ship.Weights[:] - weights.append(obj.Name) - ship.Weights = weights - ship.Proxy.cleanWeights(ship) - ship.Proxy.cleanTanks(ship) - ship.Proxy.cleanLoadConditions(ship) - - App.ActiveDocument.recompute() - - return obj \ No newline at end of file diff --git a/src/Mod/Ship/shipCreateWeight/__init__.py b/src/Mod/Ship/shipCreateWeight/__init__.py deleted file mode 100644 index bef0bca9cb..0000000000 --- a/src/Mod/Ship/shipCreateWeight/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """Loads the tool in the task panel""" - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipGZ/PlotAux.py b/src/Mod/Ship/shipGZ/PlotAux.py deleted file mode 100644 index e9bb87317e..0000000000 --- a/src/Mod/Ship/shipGZ/PlotAux.py +++ /dev/null @@ -1,105 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import os -import math -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -import Spreadsheet -from shipUtils import Paths - - -class Plot(object): - def __init__(self, roll, gz, draft, trim): - """ Plot the GZ curve - - Position arguments: - roll -- List of roll angles (in degrees). - gz -- List of GZ values (in meters). - draft -- List of equilibrium drafts (in meters). - trim -- List of equilibrium trim angles (in degrees). - """ - self.plot(roll, gz) - self.spreadSheet(roll, gz, draft, trim) - - def plot(self, roll, gz): - """ Plot the GZ curve. - - Position arguments: - roll -- List of roll angles (in degrees). - gz -- List of GZ values (in meters). - """ - try: - import Plot - plt = Plot.figure('GZ') - except ImportError: - msg = QtGui.QApplication.translate( - "ship_console", - "Plot module is disabled, so I cannot perform the plot", - None) - FreeCAD.Console.PrintWarning(msg + '\n') - return True - - gz_plot = Plot.plot(roll, gz, 'GZ curve') - gz_plot.line.set_linestyle('-') - gz_plot.line.set_linewidth(1.0) - gz_plot.line.set_color((0.0, 0.0, 0.0)) - - ax = Plot.axes() - Plot.xlabel(r'$\phi \; [\mathrm{deg}]$') - Plot.ylabel(r'$GZ \; [\mathrm{m}]$') - ax.xaxis.label.set_fontsize(20) - ax.yaxis.label.set_fontsize(20) - - Plot.grid(True) - plt.update() - return False - - def spreadSheet(self, roll, gz, draft, trim): - """ Create a Spreadsheet with the results - - Position arguments: - roll -- List of roll angles (in degrees). - gz -- List of GZ values (in meters). - draft -- List of equilibrium drafts (in meters). - trim -- List of equilibrium trim angles (in degrees). - """ - s = FreeCAD.activeDocument().addObject('Spreadsheet::Sheet', - 'GZ') - - # Print the header - s.set("A1", "roll [deg]") - s.set("B1", "GZ [m]") - s.set("C1", "draft [m]") - s.set("D1", "trim [deg]") - - # Print the data - for i in range(len(roll)): - s.set("A{}".format(i + 2), str(roll[i])) - s.set("B{}".format(i + 2), str(gz[i])) - s.set("C{}".format(i + 2), str(draft[i])) - s.set("D{}".format(i + 2), str(trim[i])) - - # Recompute - FreeCAD.activeDocument().recompute() diff --git a/src/Mod/Ship/shipGZ/TaskPanel.py b/src/Mod/Ship/shipGZ/TaskPanel.py deleted file mode 100644 index bf6040b9a8..0000000000 --- a/src/Mod/Ship/shipGZ/TaskPanel.py +++ /dev/null @@ -1,332 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import math -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import PlotAux -from . import Tools -from shipUtils import Paths -import shipUtils.Units as USys -import shipUtils.Locale as Locale - - -class TaskPanel: - def __init__(self): - self.ui = Paths.modulePath() + "/shipGZ/TaskPanel.ui" - - def accept(self): - if self.lc is None: - return False - self.save() - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.angle = self.widget(QtGui.QLineEdit, "Angle") - form.n_points = self.widget(QtGui.QSpinBox, "NumPoints") - form.var_trim = self.widget(QtGui.QCheckBox, "VariableTrim") - - roll = Units.Quantity(Locale.fromString(form.angle.text())) - n_points = form.n_points.value() - var_trim = form.var_trim.isChecked() - - rolls = [] - for i in range(n_points): - rolls.append(roll * i / float(n_points - 1)) - - points = Tools.gz(self.lc, rolls, var_trim) - gzs = [] - drafts = [] - trims = [] - for p in points: - gzs.append(p[0].getValueAs('m').Value) - drafts.append(p[1].getValueAs('m').Value) - trims.append(p[2].getValueAs('deg').Value) - - PlotAux.Plot(rolls, gzs, drafts, trims) - - return True - - def reject(self): - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - - form.angle = self.widget(QtGui.QLineEdit, "Angle") - form.n_points = self.widget(QtGui.QSpinBox, "NumPoints") - form.var_trim = self.widget(QtGui.QCheckBox, "VariableTrim") - self.form = form - if self.initValues(): - return True - self.retranslateUi() - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """ Set initial values for fields - """ - # Look for selected loading conditions (Spreadsheets) - self.lc = None - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A loading condition instance must be selected before using" - " this tool (no objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for i in range(len(selObjs)): - obj = selObjs[i] - try: - if obj.TypeId != 'Spreadsheet::Sheet': - continue - except ValueError: - continue - # Check if it is a Loading condition: - # B1 cell must be a ship - # B2 cell must be the loading condition itself - doc = App.ActiveDocument - try: - if obj not in doc.getObjectsByLabel(obj.get('B2')): - continue - ships = doc.getObjectsByLabel(obj.get('B1')) - if len(ships) != 1: - if len(ships) == 0: - msg = QtGui.QApplication.translate( - "ship_console", - "Wrong Ship label! (no instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - obj.get('B1'))) - else: - msg = QtGui.QApplication.translate( - "ship_console", - "Ambiguous Ship label! ({} instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ships), - obj.get('B1'))) - continue - ship = ships[0] - if ship is None or not ship.PropertiesList.index("IsShip"): - continue - except ValueError: - continue - # Let's see if several loading conditions have been selected (and - # prompt a warning) - if self.lc: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one loading condition have been selected (the" - " extra loading conditions will be ignored)", - None) - App.Console.PrintWarning(msg + '\n') - break - self.lc = obj - self.ship = ship - if not self.lc: - msg = QtGui.QApplication.translate( - "ship_console", - "A loading condition instance must be selected before using" - " this tool (no valid loading condition found at the selected" - " objects)", - None) - App.Console.PrintError(msg + '\n') - return True - - # We have a valid loading condition, let's set the initial field values - angle_format = USys.getAngleFormat() - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.angle = self.widget(QtGui.QLineEdit, "Angle") - form.n_points = self.widget(QtGui.QSpinBox, "NumPoints") - form.var_trim = self.widget(QtGui.QCheckBox, "VariableTrim") - form.angle.setText(Locale.toString(angle_format.format(90.0))) - # Try to use saved values - props = self.ship.PropertiesList - try: - props.index("GZAngle") - form.angle.setText(Locale.toString(angle_format.format( - self.ship.GZAngle.getValueAs( - USys.getAngleUnits()).Value))) - except: - pass - try: - props.index("GZNumPoints") - form.n_points.setValue(self.ship.GZNumPoints) - except ValueError: - pass - try: - props.index("GZVariableTrim") - if self.ship.GZVariableTrim: - form.var_trim.setCheckState(QtCore.Qt.Checked) - else: - form.var_trim.setCheckState(QtCore.Qt.Unchecked) - except ValueError: - pass - - - return False - - def retranslateUi(self): - """ Set user interface locale strings. """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.setWindowTitle(QtGui.QApplication.translate( - "ship_gz", - "Plot the GZ curve", - None)) - self.widget(QtGui.QLabel, "AngleLabel").setText( - QtGui.QApplication.translate( - "ship_gz", - "Maximum angle", - None)) - self.widget(QtGui.QLabel, "NumPointsLabel").setText( - QtGui.QApplication.translate( - "ship_gz", - "Number of points", - None)) - self.widget(QtGui.QCheckBox, "VariableTrim").setText( - QtGui.QApplication.translate( - "ship_gz", - "Variable trim", - None)) - self.widget(QtGui.QCheckBox, "VariableTrim").setToolTip( - QtGui.QApplication.translate( - "ship_gz", - "The ship will be rotated to the equilibrium trim angle for" + \ - " each roll angle. It will significantly increase the" + \ - " required computing time", - None)) - - def save(self): - """ Saves the data into ship instance. """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.angle = self.widget(QtGui.QLineEdit, "Angle") - form.n_points = self.widget(QtGui.QSpinBox, "NumPoints") - form.var_trim = self.widget(QtGui.QCheckBox, "VariableTrim") - - angle = Units.Quantity(Locale.fromString( - form.angle.text())).getValueAs('deg').Value - n_points = form.n_points.value() - var_trim = form.var_trim.isChecked() - - props = self.ship.PropertiesList - try: - props.index("GZAngle") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_gz", - "GZ curve tool angle selected [deg]", - None)) - except: - tooltip = "GZ curve tool angle selected [deg]" - self.ship.addProperty("App::PropertyAngle", - "GZAngle", - "Ship", - tooltip) - self.ship.GZAngle = '{} deg'.format(angle) - try: - props.index("GZNumPoints") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_gz", - "GZ curve tool number of points selected", - None)) - except: - tooltip = "GZ curve tool number of points selected" - self.ship.addProperty("App::PropertyInteger", - "GZNumPoints", - "Ship", - tooltip) - self.ship.GZNumPoints = n_points - try: - props.index("GZVariableTrim") - except ValueError: - try: - tooltip = str(QtGui.QApplication.translate( - "ship_gz", - "GZ curve tool variable trim angle selection", - None)) - except: - tooltip = "GZ curve tool variable trim angle selection" - self.ship.addProperty("App::PropertyBool", - "GZVariableTrim", - "Ship", - tooltip) - self.ship.GZVariableTrim = var_trim - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipGZ/TaskPanel.ui b/src/Mod/Ship/shipGZ/TaskPanel.ui deleted file mode 100644 index b57157e5f0..0000000000 --- a/src/Mod/Ship/shipGZ/TaskPanel.ui +++ /dev/null @@ -1,75 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 256 - - - - GZ stability curve - - - - - - - - Number of points - - - - - - - 2 - - - 11 - - - - - - - - 0 - 0 - - - - Maximum angle - - - - - - - - - - Variable Trim angle - - - true - - - - - - - - - - Gui::InputField - QLineEdit -
Gui/InputField.h
-
-
- - -
diff --git a/src/Mod/Ship/shipGZ/Tools.py b/src/Mod/Ship/shipGZ/Tools.py deleted file mode 100644 index 1ecf6e5bf4..0000000000 --- a/src/Mod/Ship/shipGZ/Tools.py +++ /dev/null @@ -1,307 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import math -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Vector, Matrix, Placement -import Part -from FreeCAD import Units -import Instance as ShipInstance -import WeightInstance -import TankInstance -from shipHydrostatics import Tools as Hydrostatics - - -G = Units.parseQuantity("9.81 m/s^2") -MAX_EQUILIBRIUM_ITERS = 10 -DENS = Units.parseQuantity("1025 kg/m^3") -TRIM_RELAX_FACTOR = 10.0 - - -def solve(ship, weights, tanks, rolls, var_trim=True): - """Compute the ship GZ stability curve - - Position arguments: - ship -- Ship object - weights -- List of weights to consider - tanks -- List of tanks to consider (each one should be a tuple with the - tank instance, the density of the fluid inside, and the filling level ratio) - rolls -- List of roll angles - - Keyword arguments: - var_trim -- True if the equilibrium trim should be computed for each roll - angle, False if null trim angle can be used instead. - - Returned value: - List of GZ curve points. Each point contains the GZ stability length, the - equilibrium draft, and the equilibrium trim angle (0 deg if var_trim is - False) - """ - # Get the unloaded weight (ignoring the tanks for the moment). - W = Units.parseQuantity("0 kg") - mom_x = Units.parseQuantity("0 kg*m") - mom_y = Units.parseQuantity("0 kg*m") - mom_z = Units.parseQuantity("0 kg*m") - for w in weights: - W += w.Proxy.getMass(w) - m = w.Proxy.getMoment(w) - mom_x += m[0] - mom_y += m[1] - mom_z += m[2] - COG = Vector(mom_x / W, mom_y / W, mom_z / W) - W = W * G - - # Get the tanks weight - TW = Units.parseQuantity("0 kg") - VOLS = [] - for t in tanks: - # t[0] = tank object - # t[1] = load density - # t[2] = filling level - vol = t[0].Proxy.getVolume(t[0], t[2]) - VOLS.append(vol) - TW += vol * t[1] - TW = TW * G - - points = [] - for i,roll in enumerate(rolls): - App.Console.PrintMessage("{0} / {1}\n".format(i + 1, len(rolls))) - point = solve_point(W, COG, TW, VOLS, - ship, tanks, roll, var_trim) - if point is None: - return [] - points.append(point) - - return points - - -def solve_point(W, COG, TW, VOLS, ship, tanks, roll, var_trim=True): - """ Compute the ship GZ value. - @param W Empty ship weight. - @param COG Empty ship Center of mass. - @param TW Tanks weights. - @param VOLS List of tank volumes. - @param tanks Considered tanks. - @param roll Roll angle. - @param var_trim True if the trim angle should be recomputed at each roll - angle, False otherwise. - @return GZ value, equilibrium draft, and equilibrium trim angle (0 if - variable trim has not been requested) - """ - # Look for the equilibrium draft (and eventually the trim angle too) - max_draft = Units.Quantity(ship.Shape.BoundBox.ZMax, Units.Length) - draft = ship.Draft - max_disp = Units.Quantity(ship.Shape.Volume, Units.Volume) * DENS * G - if max_disp < W + TW: - msg = QtGui.QApplication.translate( - "ship_console", - "Too much weight! The ship will never displace water enough", - None) - App.Console.PrintError(msg + ' ({} vs. {})\n'.format( - (max_disp / G).UserString, ((W + TW) / G).UserString)) - return None - - trim = Units.parseQuantity("0 deg") - for i in range(MAX_EQUILIBRIUM_ITERS): - # Get the displacement, and the bouyance application point - disp, B, _ = Hydrostatics.displacement(ship, - draft, - roll, - trim) - disp *= G - - # Add the tanks effect on the center of gravity - mom_x = Units.Quantity(COG.x, Units.Length) * W - mom_y = Units.Quantity(COG.y, Units.Length) * W - mom_z = Units.Quantity(COG.z, Units.Length) * W - for i,t in enumerate(tanks): - tank_weight = VOLS[i] * t[1] * G - tank_cog = t[0].Proxy.getCoG(t[0], VOLS[i], roll, trim) - mom_x += Units.Quantity(tank_cog.x, Units.Length) * tank_weight - mom_y += Units.Quantity(tank_cog.y, Units.Length) * tank_weight - mom_z += Units.Quantity(tank_cog.z, Units.Length) * tank_weight - cog_x = mom_x / (W + TW) - cog_y = mom_y / (W + TW) - cog_z = mom_z / (W + TW) - # Compute the errors - draft_error = -((disp - W - TW) / max_disp).Value - R_x = cog_x - Units.Quantity(B.x, Units.Length) - R_y = cog_y - Units.Quantity(B.y, Units.Length) - R_z = cog_z - Units.Quantity(B.z, Units.Length) - if not var_trim: - trim_error = 0.0 - else: - trim_error = -TRIM_RELAX_FACTOR * R_x / ship.Length - - # Check if we can tolerate the errors - if abs(draft_error) < 0.01 and abs(trim_error) < 0.1: - break - - # Get the new draft and trim - draft += draft_error * max_draft - trim += trim_error * Units.Degree - - # GZ should be provided in the Free surface oriented frame of reference - c = math.cos(roll.getValueAs('rad')) - s = math.sin(roll.getValueAs('rad')) - return c * R_y - s * R_z, draft, trim - - -def gz(lc, rolls, var_trim=True): - """Compute the ship GZ stability curve - - Position arguments: - lc -- Load condition spreadsheet - rolls -- List of roll angles to compute - - Keyword arguments: - var_trim -- True if the equilibrium trim should be computed for each roll - angle, False if null trim angle can be used instead. - - Returned value: - List of GZ curve points. Each point contains the GZ stability length, the - equilibrium draft, and the equilibrium trim angle (0 deg if var_trim is - False) - """ - # B1 cell must be a ship - # B2 cell must be the loading condition itself - doc = lc.Document - try: - if lc not in doc.getObjectsByLabel(lc.get('B2')): - return[] - ships = doc.getObjectsByLabel(lc.get('B1')) - if len(ships) != 1: - if len(ships) == 0: - msg = QtGui.QApplication.translate( - "ship_console", - "Wrong Ship label! (no instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - lc.get('B1'))) - else: - msg = QtGui.QApplication.translate( - "ship_console", - "Ambiguous Ship label! ({} instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ships), - lc.get('B1'))) - return[] - ship = ships[0] - if ship is None or not ship.PropertiesList.index("IsShip"): - return[] - except ValueError: - return[] - # Extract the weights and the tanks - weights = [] - index = 6 - while True: - try: - ws = doc.getObjectsByLabel(lc.get('A{}'.format(index))) - except ValueError: - break - index += 1 - if len(ws) != 1: - if len(ws) == 0: - msg = QtGui.QApplication.translate( - "ship_console", - "Wrong Weight label! (no instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - lc.get('A{}'.format(index - 1)))) - else: - msg = QtGui.QApplication.translate( - "ship_console", - "Ambiguous Weight label! ({} instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ws), - lc.get('A{}'.format(index - 1)))) - continue - w = ws[0] - try: - if w is None or not w.PropertiesList.index("IsWeight"): - msg = QtGui.QApplication.translate( - "ship_console", - "Invalid Weight! (the object labeled as" - "'{}' is not a weight)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ws), - lc.get('A{}'.format(index - 1)))) - continue - except ValueError: - continue - weights.append(w) - tanks = [] - index = 6 - while True: - try: - ts = doc.getObjectsByLabel(lc.get('C{}'.format(index))) - dens = float(lc.get('D{}'.format(index))) - level = float(lc.get('E{}'.format(index))) - dens = Units.parseQuantity("{} kg/m^3".format(dens)) - except ValueError: - break - index += 1 - if len(ts) != 1: - if len(ts) == 0: - msg = QtGui.QApplication.translate( - "ship_console", - "Wrong Tank label! (no instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - lc.get('C{}'.format(index - 1)))) - else: - msg = QtGui.QApplication.translate( - "ship_console", - "Ambiguous Tank label! ({} instances labeled as" - "'{}' found)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ts), - lc.get('C{}'.format(index - 1)))) - continue - t = ts[0] - try: - if t is None or not t.PropertiesList.index("IsTank"): - msg = QtGui.QApplication.translate( - "ship_console", - "Invalid Tank! (the object labeled as" - "'{}' is not a tank)", - None) - App.Console.PrintError(msg + '\n'.format( - len(ws), - lc.get('C{}'.format(index - 1)))) - continue - except ValueError: - continue - tanks.append((t, dens, level)) - - return solve(ship, weights, tanks, rolls, var_trim) diff --git a/src/Mod/Ship/shipGZ/__init__.py b/src/Mod/Ship/shipGZ/__init__.py deleted file mode 100644 index d17a2361f6..0000000000 --- a/src/Mod/Ship/shipGZ/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """ Loads the tool """ - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipHydrostatics/PlotAux.py b/src/Mod/Ship/shipHydrostatics/PlotAux.py deleted file mode 100644 index 3926ab44f5..0000000000 --- a/src/Mod/Ship/shipHydrostatics/PlotAux.py +++ /dev/null @@ -1,348 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import os -import math -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -import Spreadsheet -from shipUtils import Paths - - -class Plot(object): - def __init__(self, ship, trim, points): - """ Constructor. performs plot and show it (Using pyxplot). - @param ship Selected ship instance - @param trim Trim in degrees. - @param points List of computed hydrostatics. - """ - self.points = points[:] - # Try to plot - self.plotVolume() - self.plotStability() - self.plotCoeffs() - # Save data - if self.spreadSheet(ship, trim): - return - - def plotVolume(self): - """ Perform volumetric hydrostatics. - @return True if error happens. - """ - try: - import Plot - plt = Plot.figure('Volume') - except ImportError: - msg = QtGui.QApplication.translate( - "ship_console", - "Plot module is disabled, so I cannot perform the plot", - None) - FreeCAD.Console.PrintWarning(msg + '\n') - return True - - # Generate the set of axes - Plot.grid(True) - for i in range(0, 3): - ax = Plot.addNewAxes() - # Y axis can be placed at right - ax.yaxis.tick_right() - ax.spines['right'].set_color((0.0, 0.0, 0.0)) - ax.spines['left'].set_color('none') - ax.yaxis.set_ticks_position('right') - ax.yaxis.set_label_position('right') - # And X axis can be placed at bottom - for loc, spine in ax.spines.items(): - if loc in ['bottom', 'top']: - spine.set_position(('outward', (i + 1) * 35)) - Plot.grid(True) - - disp = [] - draft = [] - warea = [] - t1cm = [] - xcb = [] - for i in range(len(self.points)): - disp.append(self.points[i].disp.getValueAs("kg").Value / 1000.0) - draft.append(self.points[i].draft.getValueAs("m").Value) - warea.append(self.points[i].wet.getValueAs("m^2").Value) - t1cm.append(self.points[i].mom.getValueAs("kg*m").Value / 1000.0) - xcb.append(self.points[i].xcb.getValueAs("m").Value) - - axes = Plot.axesList() - for ax in axes: - ax.set_position([0.1, 0.2, 0.8, 0.75]) - - plt.axes = axes[0] - serie = Plot.plot(draft, disp, r'$T$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 0.0)) - Plot.xlabel(r'$T \; \left[ \mathrm{m} \right]$') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[1] - serie = Plot.plot(warea, disp, r'Wetted area') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((1.0, 0.0, 0.0)) - Plot.xlabel(r'$Wetted \; area \; \left[ \mathrm{m}^2 \right]$') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[2] - serie = Plot.plot(t1cm, disp, r'Moment to trim 1cm') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 1.0)) - Plot.xlabel(r'$Moment \; to \; trim \; 1 \mathrm{cm} \; \left[' - r' \mathrm{tons} \; \times \; \mathrm{m} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[3] - serie = Plot.plot(xcb, disp, r'$XCB$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.2, 0.8, 0.2)) - Plot.xlabel(r'$XCB \; \left[ \mathrm{m} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - - Plot.legend(True) - plt.update() - return False - - def plotStability(self): - """ Perform stability hydrostatics. - @return True if error happens. - """ - try: - import Plot - plt = Plot.figure('Stability') - except ImportError: - return True - - # Generate the sets of axes - Plot.grid(True) - for i in range(0, 3): - ax = Plot.addNewAxes() - # Y axis can be placed at right - ax.yaxis.tick_right() - ax.spines['right'].set_color((0.0, 0.0, 0.0)) - ax.spines['left'].set_color('none') - ax.yaxis.set_ticks_position('right') - ax.yaxis.set_label_position('right') - # And X axis can be placed at bottom - for loc, spine in ax.spines.items(): - if loc in ['bottom', 'top']: - spine.set_position(('outward', (i + 1) * 35)) - Plot.grid(True) - - disp = [] - draft = [] - farea = [] - kbt = [] - bmt = [] - for i in range(len(self.points)): - disp.append(self.points[i].disp.getValueAs("kg").Value / 1000.0) - draft.append(self.points[i].draft.getValueAs("m").Value) - farea.append(self.points[i].farea.getValueAs("m^2").Value) - kbt.append(self.points[i].KBt.getValueAs("m").Value) - bmt.append(self.points[i].BMt.getValueAs("m").Value) - - axes = Plot.axesList() - for ax in axes: - ax.set_position([0.1, 0.2, 0.8, 0.75]) - - plt.axes = axes[0] - serie = Plot.plot(draft, disp, r'$T$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 0.0)) - Plot.xlabel(r'$T \; \left[ \mathrm{m} \right]$') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[1] - serie = Plot.plot(farea, disp, r'Floating area') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((1.0, 0.0, 0.0)) - Plot.xlabel(r'$Floating \; area \; \left[ \mathrm{m}^2 \right]$') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[2] - serie = Plot.plot(kbt, disp, r'$KB_T$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 1.0)) - Plot.xlabel(r'$KB_T \; \left[ \mathrm{m} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[3] - serie = Plot.plot(bmt, disp, r'$BM_T$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.2, 0.8, 0.2)) - Plot.xlabel(r'$BM_T \; \left[ \mathrm{m} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - - Plot.legend(True) - plt.update() - return False - - def plotCoeffs(self): - """ Perform stability hydrostatics. - @return True if error happens. - """ - # Create plot - try: - import Plot - plt = Plot.figure('Coefficients') - except ImportError: - return True - - # Generate the set of axes - Plot.grid(True) - for i in range(0, 3): - ax = Plot.addNewAxes() - # Y axis can be placed at right - ax.yaxis.tick_right() - ax.spines['right'].set_color((0.0, 0.0, 0.0)) - ax.spines['left'].set_color('none') - ax.yaxis.set_ticks_position('right') - ax.yaxis.set_label_position('right') - # And X axis can be placed at bottom - for loc, spine in ax.spines.items(): - if loc in ['bottom', 'top']: - spine.set_position(('outward', (i + 1) * 35)) - Plot.grid(True) - - disp = [] - draft = [] - cb = [] - cf = [] - cm = [] - for i in range(len(self.points)): - disp.append(self.points[i].disp.getValueAs("kg").Value / 1000.0) - draft.append(self.points[i].draft.getValueAs("m").Value) - cb.append(self.points[i].Cb) - cf.append(self.points[i].Cf) - cm.append(self.points[i].Cm) - - axes = Plot.axesList() - for ax in axes: - ax.set_position([0.1, 0.2, 0.8, 0.75]) - - plt.axes = axes[0] - serie = Plot.plot(draft, disp, r'$T$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 0.0)) - Plot.xlabel(r'$T \; \left[ \mathrm{m} \right]$') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[1] - serie = Plot.plot(cb, disp, r'$Cb$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((1.0, 0.0, 0.0)) - Plot.xlabel(r'$Cb$ (Block coefficient)') - Plot.ylabel(r'$\bigtriangleup \; \left[ \mathrm{tons} \right]$') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[2] - serie = Plot.plot(cf, disp, r'$Cf$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.0, 0.0, 1.0)) - Plot.xlabel(r'$Cf$ (floating area coefficient)') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - plt.axes = axes[3] - serie = Plot.plot(cm, disp, r'$Cm$') - serie.line.set_linestyle('-') - serie.line.set_linewidth(2.0) - serie.line.set_color((0.2, 0.8, 0.2)) - Plot.xlabel(r'$Cm$ (Main section coefficient)') - plt.axes.xaxis.label.set_fontsize(15) - plt.axes.yaxis.label.set_fontsize(15) - - Plot.legend(True) - plt.update() - return False - - def spreadSheet(self, ship, trim): - """ Write data file. - @param ship Selected ship instance - @param trim Trim in degrees. - @return True if error happens. - """ - s = FreeCAD.activeDocument().addObject('Spreadsheet::Sheet', - 'Hydrostatics') - - # Print the header - s.set("A1", "displacement [ton]") - s.set("B1", "draft [m]") - s.set("C1", "wetted surface [m^2]") - s.set("D1", "1cm trimming ship moment [ton*m]") - s.set("E1", "Floating area [m^2]") - s.set("F1", "KBl [m]") - s.set("G1", "KBt [m]") - s.set("H1", "BMt [m]") - s.set("I1", "Cb") - s.set("J1", "Cf") - s.set("K1", "Cm") - - # Print the data - for i in range(len(self.points)): - point = self.points[i] - s.set("A{}".format(i + 2), - str(point.disp.getValueAs("kg").Value / 1000.0)) - s.set("B{}".format(i + 2), - str(point.draft.getValueAs("m").Value)) - s.set("C{}".format(i + 2), - str(point.wet.getValueAs("m^2").Value)) - s.set("D{}".format(i + 2), - str(point.mom.getValueAs("kg*m").Value / 1000.0)) - s.set("E{}".format(i + 2), - str(point.farea.getValueAs("m^2").Value)) - s.set("F{}".format(i + 2), - str(point.xcb.getValueAs("m").Value)) - s.set("G{}".format(i + 2), - str(point.KBt.getValueAs("m").Value)) - s.set("H{}".format(i + 2), - str(point.BMt.getValueAs("m").Value)) - s.set("I{}".format(i + 2), - str(point.Cb)) - s.set("J{}".format(i + 2), - str(point.Cf)) - s.set("K{}".format(i + 2), - str(point.Cm)) - - # Recompute - FreeCAD.activeDocument().recompute() diff --git a/src/Mod/Ship/shipHydrostatics/TaskPanel.py b/src/Mod/Ship/shipHydrostatics/TaskPanel.py deleted file mode 100644 index 870f0a32ef..0000000000 --- a/src/Mod/Ship/shipHydrostatics/TaskPanel.py +++ /dev/null @@ -1,556 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - - -import math -import FreeCAD as App -import FreeCADGui as Gui -from FreeCAD import Base, Vector -import Part -from FreeCAD import Units -from PySide import QtGui, QtCore -from . import PlotAux -import Instance -from shipUtils import Paths -import shipUtils.Units as USys -import shipUtils.Locale as Locale -from . import Tools - - -class TaskPanel: - def __init__(self): - self.ui = Paths.modulePath() + "/shipHydrostatics/TaskPanel.ui" - self.ship = None - self.running = False - - def accept(self): - if not self.ship: - return False - if self.running: - return - self.save() - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.minDraft = self.widget(QtGui.QLineEdit, "MinDraft") - form.maxDraft = self.widget(QtGui.QLineEdit, "MaxDraft") - form.nDraft = self.widget(QtGui.QSpinBox, "NDraft") - - trim = Units.parseQuantity(Locale.fromString(form.trim.text())) - min_draft = Units.parseQuantity(Locale.fromString(form.minDraft.text())) - max_draft = Units.parseQuantity(Locale.fromString(form.maxDraft.text())) - n_draft = form.nDraft.value() - - draft = min_draft - drafts = [draft] - dDraft = (max_draft - min_draft) / (n_draft - 1) - for i in range(1, n_draft): - draft = draft + dDraft - drafts.append(draft) - - # Get external faces - self.loop = QtCore.QEventLoop() - self.timer = QtCore.QTimer() - self.timer.setSingleShot(True) - QtCore.QObject.connect(self.timer, - QtCore.SIGNAL("timeout()"), - self.loop, - QtCore.SLOT("quit()")) - self.running = True - faces = self.externalFaces(self.ship.Shape) - if not self.running: - return False - if len(faces) == 0: - msg = QtGui.QApplication.translate( - "ship_console", - "Failure detecting external faces from the ship object", - None) - App.Console.PrintError(msg + '\n') - return False - faces = Part.makeShell(faces) - - # Get the hydrostatics - msg = QtGui.QApplication.translate( - "ship_console", - "Computing hydrostatics", - None) - App.Console.PrintMessage(msg + '...\n') - points = [] - for i in range(len(drafts)): - App.Console.PrintMessage("\t{} / {}\n".format(i + 1, len(drafts))) - draft = drafts[i] - point = Tools.Point(self.ship, - faces, - draft, - trim) - points.append(point) - self.timer.start(0.0) - self.loop.exec_() - if(not self.running): - break - PlotAux.Plot(self.ship, trim, points) - return True - - def reject(self): - if not self.ship: - return False - if self.running: - self.running = False - return - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.minDraft = self.widget(QtGui.QLineEdit, "MinDraft") - form.maxDraft = self.widget(QtGui.QLineEdit, "MaxDraft") - form.nDraft = self.widget(QtGui.QSpinBox, "NDraft") - self.form = form - # Initial values - if self.initValues(): - return True - self.retranslateUi() - # Connect Signals and Slots - QtCore.QObject.connect(form.trim, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - QtCore.QObject.connect(form.minDraft, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - QtCore.QObject.connect(form.maxDraft, - QtCore.SIGNAL("valueChanged(double)"), - self.onData) - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """ Set initial values for fields - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.minDraft = self.widget(QtGui.QLineEdit, "MinDraft") - form.maxDraft = self.widget(QtGui.QLineEdit, "MaxDraft") - form.nDraft = self.widget(QtGui.QSpinBox, "NDraft") - - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for i in range(len(selObjs)): - obj = selObjs[i] - props = obj.PropertiesList - try: - props.index("IsShip") - except ValueError: - continue - if obj.IsShip: - if self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one ship have been selected (the extra" - " ships will be ignored)", - None) - App.Console.PrintWarning(msg + '\n') - break - self.ship = obj - - if not self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before using this tool (no" - " valid ship found at the selected objects)", - None) - App.Console.PrintError(msg + '\n') - return True - - props = self.ship.PropertiesList - - length_format = USys.getLengthFormat() - angle_format = USys.getAngleFormat() - - try: - props.index("HydrostaticsTrim") - form.trim.setText(Locale.toString(angle_format.format( - self.ship.HydrostaticsTrim.getValueAs( - USys.getLengthUnits()).Value))) - except ValueError: - form.trim.setText(Locale.toString(angle_format.format(0.0))) - - try: - props.index("HydrostaticsMinDraft") - form.minDraft.setText(Locale.toString(length_format.format( - self.ship.HydrostaticsMinDraft.getValueAs( - USys.getLengthUnits()).Value))) - except ValueError: - form.minDraft.setText(Locale.toString(length_format.format( - 0.9 * self.ship.Draft.getValueAs(USys.getLengthUnits()).Value))) - try: - props.index("HydrostaticsMaxDraft") - form.maxDraft.setText(Locale.toString(length_format.format( - self.ship.HydrostaticsMaxDraft.getValueAs( - USys.getLengthUnits()).Value))) - except ValueError: - form.maxDraft.setText(Locale.toString(length_format.format( - 1.1 * self.ship.Draft.getValueAs(USys.getLengthUnits()).Value))) - - try: - props.index("HydrostaticsNDraft") - form.nDraft.setValue(self.ship.HydrostaticsNDraft) - except ValueError: - pass - - return False - - def retranslateUi(self): - """ Set user interface locale strings. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.setWindowTitle(QtGui.QApplication.translate( - "ship_hydrostatic", - "Plot hydrostatics", - None)) - self.widget(QtGui.QLabel, "TrimLabel").setText( - QtGui.QApplication.translate( - "ship_hydrostatic", - "Trim", - None)) - self.widget(QtGui.QLabel, "MinDraftLabel").setText( - QtGui.QApplication.translate( - "ship_hydrostatic", - "Minimum draft", - None)) - self.widget(QtGui.QLabel, "MaxDraftLabel").setText( - QtGui.QApplication.translate( - "ship_hydrostatic", - "Maximum draft", - None)) - self.widget(QtGui.QLabel, "NDraftLabel").setText( - QtGui.QApplication.translate( - "ship_hydrostatic", - "Number of points", - None)) - - def clampLength(self, widget, val_min, val_max, val): - if val >= val_min and val <= val_max: - return val - input_format = USys.getLengthFormat() - val = min(val_max, max(val_min, val)) - qty = Units.Quantity('{} m'.format(val)) - widget.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - return val - - def clampAngle(self, widget, val_min, val_max, val): - if val >= val_min and val <= val_max: - return val - input_format = USys.getAngleFormat() - val = min(val_max, max(val_min, val)) - qty = Units.Quantity('{} deg'.format(val)) - widget.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - return val - - def onData(self, value): - """ Method called when input data is changed. - @param value Changed value. - """ - if not self.ship: - return - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.minDraft = self.widget(QtGui.QLineEdit, "MinDraft") - form.maxDraft = self.widget(QtGui.QLineEdit, "MaxDraft") - - # Get the values (or fix them in bad setting case) - try: - trim = Units.Quantity(Locale.fromString( - form.trim.text())).getValueAs('deg').Value - except: - trim = 0.0 - input_format = USys.getAngleFormat() - qty = Units.Quantity('{} deg'.format(trim)) - form.trim.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - try: - min_draft = Units.Quantity(Locale.fromString( - form.minDraft.text())).getValueAs('m').Value - except: - min_draft = 0.9 * self.ship.Draft.getValueAs('m').Value - input_format = USys.getLengthFormat() - qty = Units.Quantity('{} m'.format(min_draft)) - form.minDraft.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - try: - max_draft = Units.Quantity(Locale.fromString( - form.minDraft.text())).getValueAs('m').Value - except: - max_draft = 0.9 * self.ship.Draft.getValueAs('m').Value - input_format = USys.getLengthFormat() - qty = Units.Quantity('{} m'.format(max_draft)) - form.maxDraft.setText(Locale.toString(input_format.format( - qty.getValueAs(USys.getLengthUnits()).Value))) - - # Clamp the values to the bounds - bbox = self.ship.Shape.BoundBox - draft_min = bbox.ZMin / Units.Metre.Value - draft_max = bbox.ZMax / Units.Metre.Value - min_draft = self.clampLength(form.minDraft, - draft_min, - draft_max, - min_draft) - max_draft = self.clampLength(form.maxDraft, - draft_min, - draft_max, - max_draft) - trim_min = -180.0 - trim_max = 180.0 - trim = self.clampAngle(form.trim, trim_min, trim_max, trim) - - # Clamp draft values to assert that the minimum value is lower than - # the maximum one - min_draft = self.clampLength(form.minDraft, - draft_min, - max_draft, - min_draft) - max_draft = self.clampLength(form.maxDraft, - min_draft, - draft_max, - max_draft) - - - def save(self): - """ Saves data into ship instance. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.trim = self.widget(QtGui.QLineEdit, "Trim") - form.minDraft = self.widget(QtGui.QLineEdit, "MinDraft") - form.maxDraft = self.widget(QtGui.QLineEdit, "MaxDraft") - form.nDraft = self.widget(QtGui.QSpinBox, "NDraft") - - trim = Units.Quantity(Locale.fromString( - form.trim.text())).getValueAs('deg').Value - min_draft = Units.Quantity(Locale.fromString( - form.minDraft.text())).getValueAs('m').Value - max_draft = Units.Quantity(Locale.fromString( - form.maxDraft.text())).getValueAs('m').Value - n_draft = form.nDraft.value() - - props = self.ship.PropertiesList - try: - props.index("HydrostaticsTrim") - except ValueError: - tooltip = str(QtGui.QApplication.translate( - "ship_hydrostatic", - "Hydrostatics tool trim selected", - None)) - self.ship.addProperty("App::PropertyAngle", - "HydrostaticsTrim", - "Ship", - tooltip) - self.ship.HydrostaticsTrim = '{} deg'.format(trim) - - try: - props.index("HydrostaticsMinDraft") - except ValueError: - tooltip = str(QtGui.QApplication.translate( - "ship_hydrostatic", - "Hydrostatics tool minimum draft selected [m]", - None)) - self.ship.addProperty("App::PropertyLength", - "HydrostaticsMinDraft", - "Ship", - tooltip) - self.ship.HydrostaticsMinDraft = '{} m'.format(min_draft) - - try: - props.index("HydrostaticsMaxDraft") - except ValueError: - tooltip = str(QtGui.QApplication.translate( - "ship_hydrostatic", - "Hydrostatics tool maximum draft selected [m]", - None)) - self.ship.addProperty("App::PropertyLength", - "HydrostaticsMaxDraft", - "Ship", - tooltip) - self.ship.HydrostaticsMaxDraft = '{} m'.format(max_draft) - - try: - props.index("HydrostaticsNDraft") - except ValueError: - tooltip = str(QtGui.QApplication.translate( - "ship_hydrostatic", - "Hydrostatics tool number of points selected", - None)) - self.ship.addProperty("App::PropertyInteger", - "HydrostaticsNDraft", - "Ship", - tooltip) - self.ship.HydrostaticsNDraft = form.nDraft.value() - - def lineFaceSection(self, line, surface): - """ Returns the point of section of a line with a face - @param line Line object, that can be a curve. - @param surface Surface object (must be a Part::Shape) - @return Section points array, [] if line don't cut surface - """ - result = [] - vertexes = line.Vertexes - nVertex = len(vertexes) - - section = line.cut(surface) - - points = section.Vertexes - return points - - def externalFaces(self, shape): - """ Returns detected external faces. - @param shape Shape where external faces wanted. - @return List of external faces detected. - """ - result = [] - faces = shape.Faces - bbox = shape.BoundBox - L = bbox.XMax - bbox.XMin - B = bbox.YMax - bbox.YMin - T = bbox.ZMax - bbox.ZMin - dist = math.sqrt(L*L + B*B + T*T) - msg = QtGui.QApplication.translate( - "ship_console", - "Computing external faces", - None) - App.Console.PrintMessage(msg + '...\n') - # Valid/Invalid faces detection loop - for i in range(len(faces)): - App.Console.PrintMessage("\t{} / {}\n".format(i + 1, len(faces))) - f = faces[i] - # Create a line normal to surface at middle point - u = 0.0 - v = 0.0 - try: - surf = f.Surface - u = 0.5*(surf.getUKnots()[0]+surf.getUKnots()[-1]) - v = 0.5*(surf.getVKnots()[0]+surf.getVKnots()[-1]) - except: - cog = f.CenterOfMass - [u, v] = f.Surface.parameter(cog) - p0 = f.valueAt(u, v) - try: - n = f.normalAt(u, v).normalize() - except: - continue - p1 = p0 + n.multiply(1.5 * dist) - line = Part.makeLine(p0, p1) - # Look for faces in front of this - nPoints = 0 - for j in range(len(faces)): - f2 = faces[j] - section = self.lineFaceSection(line, f2) - if len(section) <= 2: - continue - # Add points discarding start and end - nPoints = nPoints + len(section) - 2 - # In order to avoid special directions we can modify line - # normal a little bit. - angle = 5 - line.rotate(p0, Vector(1, 0, 0), angle) - line.rotate(p0, Vector(0, 1, 0), angle) - line.rotate(p0, Vector(0, 0, 1), angle) - nPoints2 = 0 - for j in range(len(faces)): - if i == j: - continue - f2 = faces[j] - section = self.lineFaceSection(line, f2) - if len(section) <= 2: - continue - # Add points discarding start and end - nPoints2 = nPoints + len(section) - 2 - # If the number of intersection points is pair, is a - # external face. So if we found an odd points intersection, - # face must be discarded. - if (nPoints % 2) or (nPoints2 % 2): - continue - result.append(f) - self.timer.start(0.0) - self.loop.exec_() - if(not self.running): - break - return result - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipHydrostatics/TaskPanel.ui b/src/Mod/Ship/shipHydrostatics/TaskPanel.ui deleted file mode 100644 index bf36e6c1e5..0000000000 --- a/src/Mod/Ship/shipHydrostatics/TaskPanel.ui +++ /dev/null @@ -1,140 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 260 - - - - - 0 - 260 - - - - Plot Hydrostatics - - - - - - - - - 0 - 0 - - - - Trim - - - - - - - - - - - - - 0 - 0 - - - - Drafts - - - - - - QLayout::SetDefaultConstraint - - - - - - 0 - 0 - - - - Number of points - - - - - - - - 0 - 0 - - - - Minimum draft - - - - - - - - 0 - 0 - - - - 2 - - - 9999 - - - 11 - - - - - - - - 0 - 0 - - - - Maximum draft - - - - - - - - - - - - - - - - - - - Gui::InputField - QLineEdit -
Gui/Inputfield.h
-
-
- - -
diff --git a/src/Mod/Ship/shipHydrostatics/Tools.py b/src/Mod/Ship/shipHydrostatics/Tools.py deleted file mode 100644 index bc5070879e..0000000000 --- a/src/Mod/Ship/shipHydrostatics/Tools.py +++ /dev/null @@ -1,534 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import math -import random -from FreeCAD import Vector, Rotation, Matrix, Placement -import Part -from FreeCAD import Units -import FreeCAD as App -import FreeCADGui as Gui -from PySide import QtGui, QtCore -import Instance -from shipUtils import Math -import shipUtils.Units as USys - - -DENS = Units.parseQuantity("1025 kg/m^3") # Salt water -COMMON_BOOLEAN_ITERATIONS = 10 - - -def placeShipShape(shape, draft, roll, trim): - """Move the ship shape such that the free surface matches with the plane - z=0. The transformation will be applied on the input shape, so copy it - before calling this method if it should be preserved. - - Position arguments: - shape -- Ship shape - draft -- Ship draft - roll -- Roll angle - trim -- Trim angle - - Returned values: - shape -- The same transformed input shape. Just for debugging purposes, you - can discard it. - base_z -- The new base z coordinate (after applying the roll angle). Useful - if you want to revert back the transformation - """ - # Roll the ship. In order to can deal with large roll angles, we are - # proceeding as follows: - # 1.- Applying the roll with respect the base line - # 2.- Recentering the ship in the y direction - # 3.- Readjusting the base line - shape.rotate(Vector(0.0, 0.0, 0.0), Vector(1.0, 0.0, 0.0), roll) - base_z = shape.BoundBox.ZMin - shape.translate(Vector(0.0, draft * math.sin(math.radians(roll)), -base_z)) - # Trim the ship. In this case we only need to correct the x direction - shape.rotate(Vector(0.0, 0.0, 0.0), Vector(0.0, -1.0, 0.0), trim) - shape.translate(Vector(draft * math.sin(math.radians(trim)), 0.0, 0.0)) - shape.translate(Vector(0.0, 0.0, -draft)) - - return shape, base_z - - -def getUnderwaterSide(shape, force=True): - """Get the underwater shape, simply cropping the provided shape by the z=0 - free surface plane. - - Position arguments: - shape -- Solid shape to be cropped - - Keyword arguments: - force -- True if in case the common boolean operation fails, i.e. returns - no solids, the tool should retry it slightly moving the free surface. False - otherwise. (True by default) - - Returned value: - Cropped shape. It is not modifying the input shape - """ - # Convert the shape into an active object - Part.show(shape) - orig = App.ActiveDocument.Objects[-1] - - bbox = shape.BoundBox - xmin = bbox.XMin - xmax = bbox.XMax - ymin = bbox.YMin - ymax = bbox.YMax - zmin = bbox.ZMin - zmax = bbox.ZMax - - # Create the "sea" box to intersect the ship - L = xmax - xmin - B = ymax - ymin - H = zmax - zmin - - box = App.ActiveDocument.addObject("Part::Box","Box") - length_format = USys.getLengthFormat() - box.Placement = Placement(Vector(xmin - L, ymin - B, zmin - H), - Rotation(App.Vector(0,0,1),0)) - box.Length = length_format.format(3.0 * L) - box.Width = length_format.format(3.0 * B) - box.Height = length_format.format(- zmin + H) - - App.ActiveDocument.recompute() - common = App.activeDocument().addObject("Part::MultiCommon", - "UnderwaterSideHelper") - common.Shapes = [orig, box] - App.ActiveDocument.recompute() - if force and len(common.Shape.Solids) == 0: - # The common operation is failing, let's try moving a bit the free - # surface - msg = QtGui.QApplication.translate( - "ship_console", - "Boolean operation failed when trying to get the underwater side." - " The tool is retrying such operation slightly moving the free" - " surface position", - None) - App.Console.PrintWarning(msg + '\n') - random_bounds = 0.01 * H - i = 0 - while len(common.Shape.Solids) == 0 and i < COMMON_BOOLEAN_ITERATIONS: - i += 1 - box.Height = length_format.format( - - zmin + H + random.uniform(-random_bounds, random_bounds)) - App.ActiveDocument.recompute() - - out = common.Shape - App.ActiveDocument.removeObject(common.Name) - App.ActiveDocument.removeObject(orig.Name) - App.ActiveDocument.removeObject(box.Name) - App.ActiveDocument.recompute() - return out - - -def areas(ship, n, draft=None, - roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Compute the ship transversal areas - - Position arguments: - ship -- Ship object (see createShip) - n -- Number of points to compute - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - roll -- Roll angle (0 degrees by default) - trim -- Trim angle (0 degrees by default) - - Returned value: - List of sections, each section contains 2 values, the x longitudinal - coordinate, and the transversal area. If n < 2, an empty list will be - returned. - """ - if n < 2: - return [] - - if draft is None: - draft = ship.Draft - - shape, _ = placeShipShape(ship.Shape.copy(), draft, roll, trim) - shape = getUnderwaterSide(shape) - - # Sections distance computation - bbox = shape.BoundBox - xmin = bbox.XMin - xmax = bbox.XMax - dx = (xmax - xmin) / (n - 1.0) - - # Since we are computing the sections in the total length (not in the - # length between perpendiculars), we can grant that the starting and - # ending sections have null area - areas = [(Units.Quantity(xmin, Units.Length), - Units.Quantity(0.0, Units.Area))] - # And since we just need to compute areas we will create boxes with its - # front face at the desired transversal area position, computing the - # common solid part, dividing it by faces, and getting only the desired - # ones. - App.Console.PrintMessage("Computing transversal areas...\n") - App.Console.PrintMessage("Some Inventor representation errors can be" - " shown, please ignore them.\n") - for i in range(1, n - 1): - App.Console.PrintMessage("{0} / {1}\n".format(i, n - 2)) - x = xmin + i * dx - try: - f = Part.Face(shape.slice(Vector(1,0,0), x)) - except Part.OCCError: - msg = QtGui.QApplication.translate( - "ship_console", - "Part.OCCError: Transversal area computation failed", - None) - App.Console.PrintError(msg + '\n') - areas.append((Units.Quantity(x, Units.Length), - Units.Quantity(0.0, Units.Area))) - continue - # It is a valid face, so we can add this area - areas.append((Units.Quantity(x, Units.Length), - Units.Quantity(f.Area, Units.Area))) - # Last area is equal to zero (due to the total length usage) - areas.append((Units.Quantity(xmax, Units.Length), - Units.Quantity(0.0, Units.Area))) - App.Console.PrintMessage("Done!\n") - return areas - - -def displacement(ship, draft=None, - roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Compute the ship displacement - - Position arguments: - ship -- Ship object (see createShip) - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - roll -- Roll angle (0 degrees by default) - trim -- Trim angle (0 degrees by default) - - Returned values: - disp -- The ship displacement (a density of the water of 1025 kg/m^3 is - assumed) - B -- Bouyance application point, i.e. Center of mass of the underwater side - Cb -- Block coefficient - - The Bouyance center is referred to the original ship position. - """ - if draft is None: - draft = ship.Draft - - shape, base_z = placeShipShape(ship.Shape.copy(), draft, roll, trim) - shape = getUnderwaterSide(shape) - - vol = 0.0 - cog = Vector() - if len(shape.Solids) > 0: - for solid in shape.Solids: - vol += solid.Volume - sCoG = solid.CenterOfMass - cog.x = cog.x + sCoG.x * solid.Volume - cog.y = cog.y + sCoG.y * solid.Volume - cog.z = cog.z + sCoG.z * solid.Volume - cog.x = cog.x / vol - cog.y = cog.y / vol - cog.z = cog.z / vol - - bbox = shape.BoundBox - Vol = (bbox.XMax - bbox.XMin) * (bbox.YMax - bbox.YMin) * abs(bbox.ZMin) - - # Undo the transformations on the bouyance point - B = Part.Point(Vector(cog.x, cog.y, cog.z)) - m = Matrix() - m.move(Vector(0.0, 0.0, draft)) - m.move(Vector(-draft * math.sin(trim.getValueAs("rad")), 0.0, 0.0)) - m.rotateY(trim.getValueAs("rad")) - m.move(Vector(0.0, - -draft * math.sin(roll.getValueAs("rad")), - base_z)) - m.rotateX(-roll.getValueAs("rad")) - B.transform(m) - - try: - cb = vol / Vol - except ZeroDivisionError: - msg = QtGui.QApplication.translate( - "ship_console", - "ZeroDivisionError: Null volume found during the displacement" - " computation!", - None) - App.Console.PrintError(msg + '\n') - cb = 0.0 - - - # Return the computed data - return (DENS * Units.Quantity(vol, Units.Volume), - Vector(B.X, B.Y, B.Z), - cb) - - -def wettedArea(shape, draft, roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Compute the ship wetted area - - Position arguments: - shape -- External faces of the ship hull - draft -- Ship draft - - Keyword arguments: - roll -- Roll angle (0 degrees by default) - trim -- Trim angle (0 degrees by default) - - Returned value: - The wetted area, i.e. The underwater side area - """ - shape, _ = placeShipShape(shape.copy(), draft, roll, trim) - shape = getUnderwaterSide(shape, force=False) - - area = 0.0 - for f in shape.Faces: - area = area + f.Area - return Units.Quantity(area, Units.Area) - - -def moment(ship, draft=None, - roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Compute the moment required to trim the ship 1cm - - Position arguments: - ship -- Ship object (see createShip) - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - roll -- Roll angle (0 degrees by default) - trim -- Trim angle (0 degrees by default) - - Returned value: - Moment required to trim the ship 1cm. Such moment is positive if it cause a - positive trim angle. The moment is expressed as a mass by a distance, not as - a force by a distance - """ - disp_orig, B_orig, _ = displacement(ship, draft, roll, trim) - xcb_orig = Units.Quantity(B_orig.x, Units.Length) - - factor = 10.0 - x = 0.5 * ship.Length.getValueAs('cm').Value - y = 1.0 - angle = math.atan2(y, x) * Units.Radian - trim_new = trim + factor * angle - disp_new, B_new, _ = displacement(ship, draft, roll, trim_new) - xcb_new = Units.Quantity(B_new.x, Units.Length) - - mom0 = -disp_orig * xcb_orig - mom1 = -disp_new * xcb_new - return (mom1 - mom0) / factor - - -def floatingArea(ship, draft=None, - roll=Units.parseQuantity("0 deg"), - trim=Units.parseQuantity("0 deg")): - """Compute the ship floating area - - Position arguments: - ship -- Ship object (see createShip) - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - roll -- Roll angle (0 degrees by default) - trim -- Trim angle (0 degrees by default) - - Returned values: - area -- Ship floating area - cf -- Floating area coefficient - """ - if draft is None: - draft = ship.Draft - - # We want to intersect the whole ship with the free surface, so in this case - # we must not use the underwater side (or the tool will fail) - shape, _ = placeShipShape(ship.Shape.copy(), draft, roll, trim) - - try: - f = Part.Face(shape.slice(Vector(0,0,1), 0.0)) - area = Units.Quantity(f.Area, Units.Area) - except Part.OCCError: - msg = QtGui.QApplication.translate( - "ship_console", - "Part.OCCError: Floating area cannot be computed", - None) - App.Console.PrintError(msg + '\n') - area = Units.Quantity(0.0, Units.Area) - - bbox = shape.BoundBox - Area = (bbox.XMax - bbox.XMin) * (bbox.YMax - bbox.YMin) - try: - cf = area.Value / Area - except ZeroDivisionError: - msg = QtGui.QApplication.translate( - "ship_console", - "ZeroDivisionError: Null area found during the floating area" - " computation!", - None) - App.Console.PrintError(msg + '\n') - cf = 0.0 - - return area, cf - - -def BMT(ship, draft=None, trim=Units.parseQuantity("0 deg")): - """Calculate "ship Bouyance center" - "transversal metacenter" radius - - Position arguments: - ship -- Ship object (see createShip) - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - trim -- Trim angle (0 degrees by default) - - Returned value: - BMT radius - """ - if draft is None: - draft = ship.Draft - - roll = Units.parseQuantity("0 deg") - _, B0, _ = displacement(ship, draft, roll, trim) - - - nRoll = 2 - maxRoll = Units.parseQuantity("7 deg") - - BM = 0.0 - for i in range(nRoll): - roll = (maxRoll / nRoll) * (i + 1) - _, B1, _ = displacement(ship, draft, roll, trim) - # * M - # / \ - # / \ BM ==|> BM = (BB/2) / sin(alpha/2) - # / \ - # *-------* - # BB - BB = B1 - B0 - BB.x = 0.0 - # nRoll is actually representing the weight function - BM += 0.5 * BB.Length / math.sin(math.radians(0.5 * roll)) / nRoll - return Units.Quantity(BM, Units.Length) - - -def mainFrameCoeff(ship, draft=None): - """Compute the main frame coefficient - - Position arguments: - ship -- Ship object (see createShip) - - Keyword arguments: - draft -- Ship draft (Design ship draft by default) - - Returned value: - Ship main frame area coefficient - """ - if draft is None: - draft = ship.Draft - - shape, _ = placeShipShape(ship.Shape.copy(), draft, - Units.parseQuantity("0 deg"), - Units.parseQuantity("0 deg")) - shape = getUnderwaterSide(shape) - - try: - f = Part.Face(shape.slice(Vector(1,0,0), 0.0)) - area = f.Area - except Part.OCCError: - msg = QtGui.QApplication.translate( - "ship_console", - "Part.OCCError: Main frame area cannot be computed", - None) - App.Console.PrintError(msg + '\n') - area = 0.0 - - bbox = shape.BoundBox - Area = (bbox.YMax - bbox.YMin) * (bbox.ZMax - bbox.ZMin) - - try: - cm = area / Area - except ZeroDivisionError: - msg = QtGui.QApplication.translate( - "ship_console", - "ZeroDivisionError: Null area found during the main frame area" - " coefficient computation!", - None) - App.Console.PrintError(msg + '\n') - cm = 0.0 - - return cm - - -class Point: - """Hydrostatics point, that contains the following members: - - draft -- Ship draft - trim -- Ship trim - disp -- Ship displacement - xcb -- Bouyance center X coordinate - wet -- Wetted ship area - mom -- Trimming 1cm ship moment - farea -- Floating area - KBt -- Transversal KB height - BMt -- Transversal BM height - Cb -- Block coefficient. - Cf -- Floating coefficient. - Cm -- Main frame coefficient. - - The moment to trim the ship 1 cm is positive when is resulting in a positive - trim angle. - """ - def __init__(self, ship, faces, draft, trim): - """Compute all the hydrostatics. - - Position argument: - ship -- Ship instance - faces -- Ship external faces - draft -- Ship draft - trim -- Trim angle - """ - disp, B, cb = displacement(ship, draft=draft, trim=trim) - if not faces: - wet = 0.0 - else: - wet = wettedArea(faces, draft=draft, trim=trim) - mom = moment(ship, draft=draft, trim=trim) - farea, cf = floatingArea(ship, draft=draft, trim=trim) - bm = BMT(ship, draft=draft, trim=trim) - cm = mainFrameCoeff(ship, draft=draft) - # Store final data - self.draft = draft - self.trim = trim - self.disp = disp - self.xcb = Units.Quantity(B.x, Units.Length) - self.wet = wet - self.farea = farea - self.mom = mom - self.KBt = Units.Quantity(B.z, Units.Length) - self.BMt = bm - self.Cb = cb - self.Cf = cf - self.Cm = cm diff --git a/src/Mod/Ship/shipHydrostatics/__init__.py b/src/Mod/Ship/shipHydrostatics/__init__.py deleted file mode 100644 index d17a2361f6..0000000000 --- a/src/Mod/Ship/shipHydrostatics/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """ Loads the tool """ - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipLoadExample/TaskPanel.py b/src/Mod/Ship/shipLoadExample/TaskPanel.py deleted file mode 100644 index 2b57e3faaa..0000000000 --- a/src/Mod/Ship/shipLoadExample/TaskPanel.py +++ /dev/null @@ -1,122 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -import FreeCADGui as Gui -from PySide import QtGui, QtCore -from shipUtils import Paths - - -class TaskPanel: - def __init__(self): - """Constructor.""" - self.ui = Paths.modulePath() + "/shipLoadExample/TaskPanel.ui" - - def accept(self): - """Load the selected hull example.""" - path = Paths.modulePath() + "/resources/examples/" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - if(form.ship.currentIndex() == 0): # s60 from Iowa University - App.open(path + "s60.fcstd") - elif(form.ship.currentIndex() == 1): # Wigley canonical ship - App.open(path + "wigley.fcstd") - elif(form.ship.currentIndex() == 2): # s60 (Katamaran) - App.open(path + "s60_katamaran.fcstd") - elif(form.ship.currentIndex() == 3): # Wigley (Katamaran) - App.open(path + "wigley_katamaran.fcstd") - return True - - def reject(self): - """Cancel the job""" - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - """Setup the task panel user interface.""" - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.ship = self.widget(QtGui.QComboBox, "Ship") - form.mainLogo = self.widget(QtGui.QLabel, "MainLogo") - form.mainLogo.setPixmap(QtGui.QPixmap(":/icons/Ship_Logo.svg")) - self.form = form - self.retranslateUi() - - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def retranslateUi(self): - """Set the user interface locale strings.""" - self.form.setWindowTitle(QtGui.QApplication.translate( - "ship_load", - "Load example ship", - None)) - self.widget(QtGui.QGroupBox, "ShipSelectionBox").setTitle( - QtGui.QApplication.translate("ship_load", - "Select ship example geometry", - None)) - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipLoadExample/TaskPanel.ui b/src/Mod/Ship/shipLoadExample/TaskPanel.ui deleted file mode 100644 index 299c174fa9..0000000000 --- a/src/Mod/Ship/shipLoadExample/TaskPanel.ui +++ /dev/null @@ -1,119 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 260 - 397 - - - - Load example ship - - - - - - - - - - - 128 - 128 - - - - - 128 - 128 - - - - - - - ../Icons/Ico.xpm - - - true - - - Qt::AlignHCenter|Qt::AlignTop - - - - - - - - - - 240 - 80 - - - - Qt::LeftToRight - - - Select ship example geometry - - - - - - - - - Series 60 from Iowa University - - - - - Wigley canonical ship - - - - - Series 60 (Katamaran) - - - - - Wigley (Katamaran) - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - - - - - - - - - - diff --git a/src/Mod/Ship/shipLoadExample/__init__.py b/src/Mod/Ship/shipLoadExample/__init__.py deleted file mode 100644 index e97ab78366..0000000000 --- a/src/Mod/Ship/shipLoadExample/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """Load the examples importing tool""" - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipOutlineDraw/Preview.py b/src/Mod/Ship/shipOutlineDraw/Preview.py deleted file mode 100644 index ed12058266..0000000000 --- a/src/Mod/Ship/shipOutlineDraw/Preview.py +++ /dev/null @@ -1,149 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from PySide import QtGui, QtCore -import FreeCAD -import FreeCADGui -from FreeCAD import Base, Vector -import Part -from FreeCAD import Units -from shipUtils import Paths - - -class Preview(object): - def __init__(self): - """ Constructor. """ - self.obj = None - self.reinit() - - def reinit(self): - """ Reinitializate the drawer. """ - self.clean() - - def update(self, L, B, T, sectionsL, sectionsB, sectionsT, shape): - """ Update the 3D view annotations. - @param L Ship Lpp. - @param B Ship beam. - @param T Ship draft. - @param sectionsL Transversal sections. - @param sectionsB Longitudinal sections. - @param sectionsT Water lines. - @param shape Ship surfaces shell - @return Sections object. None if errors happens. - """ - msg = QtGui.QApplication.translate( - "ship_console", - "Computing sections", - None) - FreeCAD.Console.PrintMessage(msg + '...\n') - # Destroy all previous entities - self.clean() - # Receive data - nL = len(sectionsL) - nB = len(sectionsB) - nT = len(sectionsT) - if not (nL or nB or nT): - return None - # Found sections - sections = [] - for i in range(0, nL): - pos = sectionsL[i] * Units.Metre.Value - # Cut ship - section = shape.slice(Vector(1.0, 0.0, 0.0), pos) - for j in range(0, len(section)): - edges = section[j].Edges - # We have 3 cases, - # * when the section is before midship (starboard side drawn) - # * When the section is midship (both sides drawn) - # * When the section is after midship (board side drawn) - if pos > 0.01 * L * Units.Metre.Value: - for k in range(len(edges) - 1, -1, -1): - edge = edges[k] - bbox = edge.BoundBox - if bbox.YMin < -0.01 * B * Units.Metre.Value: - del edges[k] - elif pos < -0.01 * L * Units.Metre.Value: - for k in range(len(edges) - 1, -1, -1): - edge = edges[k] - bbox = edge.BoundBox - if bbox.YMax > 0.01 * B * Units.Metre.Value: - del edges[k] - sections.extend(edges) - for i in range(0, nB): - pos = sectionsB[i] * Units.Metre.Value - section = shape.slice(Vector(0.0, 1.0, 0.0), pos) - for j in range(0, len(section)): - edges = section[j].Edges - # The longitudinal sections are printed in both sides. - section[j] = section[j].mirror(Vector(0.0, 0.0, 0.0), - Vector(0.0, 1.0, 0.0)) - edges2 = section[j].Edges - sections.extend(edges) - sections.extend(edges2) - for i in range(0, nT): - pos = sectionsT[i] * Units.Metre.Value - section = shape.slice(Vector(0.0, 0.0, 1.0), pos) - for j in range(0, len(section)): - edges = section[j].Edges - # We have 3 cases, - # * when the section is below draft (starboard side drawn) - # * When the section is draft (both sides drawn) - # * When the section is above draft (starboard side drawn) - if pos > T * 1.01 * Units.Metre.Value: - for k in range(len(edges) - 1, -1, -1): - edge = edges[k] - bbox = edge.BoundBox - if bbox.YMax > 0.01 * B * Units.Metre.Value: - del edges[k] - elif pos < T * 0.99 * Units.Metre.Value: - for k in range(len(edges) - 1, -1, -1): - edge = edges[k] - bbox = edge.BoundBox - if bbox.YMin < -0.01 * B * Units.Metre.Value: - del edges[k] - sections.extend(edges) - # Transform and join all the B-splines into a shape - if not sections: - msg = QtGui.QApplication.translate( - "ship_console", - "Any valid ship section found", - None) - FreeCAD.Console.PrintWarning(msg + '\n') - return - obj = sections[0] - for i in range(1, len(sections)): - # Just create a group of edges - obj = obj.oldFuse(sections[i]) - Part.show(obj) - objs = FreeCAD.ActiveDocument.Objects - self.obj = objs[len(objs) - 1] - self.obj.Label = 'OutlineDraw' - return self.obj - - def clean(self): - """ Erase all the annotations from the screen. - """ - if not self.obj: - return - FreeCAD.ActiveDocument.removeObject(self.obj.Name) - self.obj = None diff --git a/src/Mod/Ship/shipOutlineDraw/TaskPanel.py b/src/Mod/Ship/shipOutlineDraw/TaskPanel.py deleted file mode 100644 index e9b6b09588..0000000000 --- a/src/Mod/Ship/shipOutlineDraw/TaskPanel.py +++ /dev/null @@ -1,515 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD as App -from FreeCAD import Base, Vector -import FreeCADGui as Gui -from FreeCAD import Units -import Part -from PySide import QtGui, QtCore -from . import Preview -import Instance -from shipUtils import Paths -import shipUtils.Locale as Locale - - -class TaskPanel: - def __init__(self): - self.ui = Paths.modulePath() + "/shipOutlineDraw/TaskPanel.ui" - self.ship = None - self.skip = False - self.LSections = [] - self.BSections = [] - self.TSections = [] - self.obj = None - self.preview = Preview.Preview() - - def accept(self): - self.saveSections() - # Add ship edges to the object - edges = self.getEdges([self.ship.Shape]) - border = edges[0] - for i in range(len(edges)): - border = border.oldFuse(edges[i]) - border = border.oldFuse(edges[i].mirror(Vector(0.0, 0.0, 0.0), - Vector(0.0, 1.0, 0.0))) - obj = border.oldFuse(self.obj.Shape) - - # Send the generated object to the scene - Part.show(obj) - objs = App.ActiveDocument.Objects - self.obj = objs[len(objs) - 1] - - self.preview.clean() - self.obj.Label = 'OutlineDraw' - return True - - def getEdges(self, objs): - """Return object edges (as a list) - """ - edges = [] - if not objs: - return None - for i in range(len(objs)): - obj = objs[i] - if obj.isDerivedFrom('Part::Feature'): - # get shape - shape = obj.Shape - if not shape: - return None - obj = shape - if not obj.isDerivedFrom('Part::TopoShape'): - return None - objEdges = obj.Edges - if not objEdges: - continue - for j in range(0, len(objEdges)): - edges.append(objEdges[j]) - return edges - - def reject(self): - self.preview.clean() - return True - - def clicked(self, index): - pass - - def open(self): - pass - - def needsFullSpace(self): - return True - - def isAllowedAlterSelection(self): - return False - - def isAllowedAlterView(self): - return True - - def isAllowedAlterDocument(self): - return False - - def helpRequested(self): - pass - - def setupUi(self): - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sections = self.widget(QtGui.QTableWidget, "Sections") - try: - form.sections.setInputMethodHints( - QtCore.Qt.ImhFormattedNumbersOnly) - hasImhFormattedNumbersOnly = True - except: - hasImhFormattedNumbersOnly = False - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - form.deleteButton = self.widget(QtGui.QPushButton, "DeleteButton") - form.nSections = self.widget(QtGui.QSpinBox, "NSections") - form.createButton = self.widget(QtGui.QPushButton, "CreateButton") - self.form = form - # Initial values - if self.initValues(): - return True - self.retranslateUi() - #don't do that here. - #self.obj = self.preview.update(self.ship.Length.getValueAs('m').Value, - # self.ship.Breadth.getValueAs('m').Value, - # self.ship.Draft.getValueAs('m').Value, - # self.LSections, - # self.BSections, - # self.TSections, - # self.ship.Shape) - # Connect Signals and Slots - QtCore.QObject.connect( - form.sectionType, - QtCore.SIGNAL("activated(QString)"), - self.onSectionType) - QtCore.QObject.connect( - form.sections, - QtCore.SIGNAL("cellChanged(int,int)"), - self.onTableItem) - QtCore.QObject.connect( - form.deleteButton, - QtCore.SIGNAL("pressed()"), - self.onDeleteButton) - QtCore.QObject.connect( - form.createButton, - QtCore.SIGNAL("pressed()"), - self.onCreateButton) - - def createPreview(self): - self.obj = self.preview.update(self.ship.Length.getValueAs('m').Value, - self.ship.Breadth.getValueAs('m').Value, - self.ship.Draft.getValueAs('m').Value, - self.LSections, - self.BSections, - self.TSections, - self.ship.Shape) - def getMainWindow(self): - toplevel = QtGui.QApplication.topLevelWidgets() - for i in toplevel: - if i.metaObject().className() == "Gui::MainWindow": - return i - raise RuntimeError("No main window found") - - def widget(self, class_id, name): - """Return the selected widget. - - Keyword arguments: - class_id -- Class identifier - name -- Name of the widget - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - return form.findChild(class_id, name) - - def initValues(self): - """ Set initial values for fields - """ - # Get selected objects - selObjs = Gui.Selection.getSelection() - if not selObjs: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before use this tool (no" - " objects selected)", - None) - App.Console.PrintError(msg + '\n') - return True - for i in range(0, len(selObjs)): - obj = selObjs[i] - # Test if is a ship instance - props = obj.PropertiesList - try: - props.index("IsShip") - except ValueError: - continue - if obj.IsShip: - # Test if another ship already selected - if self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "More than one ship has been selected (just the first" - " one will be used)", - None) - App.Console.PrintWarning(msg + '\n') - break - self.ship = obj - # Test if any valid ship was selected - if not self.ship: - msg = QtGui.QApplication.translate( - "ship_console", - "A ship instance must be selected before use this tool (no" - "valid ships found in the selected objects)", - None) - App.Console.PrintError(msg + '\n') - return True - # Load sections (if exist) - self.loadSections() - return False - - def retranslateUi(self): - """Set the user interface locale strings.""" - self.form.setWindowTitle(QtGui.QApplication.translate( - "ship_outline", - "Outline draw", - None)) - self.widget(QtGui.QGroupBox, "AutoCreateBox").setTitle( - QtGui.QApplication.translate( - "ship_outline", - "Auto create", - None)) - self.widget(QtGui.QPushButton, "DeleteButton").setText( - QtGui.QApplication.translate( - "ship_outline", - "Delete all sections", - None)) - self.widget(QtGui.QPushButton, "CreateButton").setText( - QtGui.QApplication.translate( - "ship_outline", - "Create sections", - None)) - self.widget(QtGui.QComboBox, "SectionType").setItemText( - 0, - QtGui.QApplication.translate( - "ship_outline", - "Transversal", - None)) - self.widget(QtGui.QComboBox, "SectionType").setItemText( - 1, - QtGui.QApplication.translate( - "ship_outline", - "Longitudinal", - None)) - self.widget(QtGui.QComboBox, "SectionType").setItemText( - 2, - QtGui.QApplication.translate( - "ship_outline", - "Water lines", - None)) - - def onSectionType(self): - """ Function called when the section type is changed. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - - ID = form.sectionType.currentIndex() - self.setSectionType(ID) - - def setSectionType(self, ID): - """ Set the table depending on the selected section type. - @param ID Id of the section type to set: - - 0 = Transversal sections - - 1 = Longitudinal sections - - 2 = Water lines - """ - SectionList = [] - if ID == 0: - SectionList = self.LSections[:] - elif ID == 1: - SectionList = self.BSections[:] - elif ID == 2: - SectionList = self.TSections[:] - nRow = len(SectionList) - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sections = self.widget(QtGui.QTableWidget, "Sections") - - form.sections.clearContents() - form.sections.setRowCount(nRow + 1) - self.skip = True - for i in range(0, nRow): - string = '{} m'.format(SectionList[i]) - item = QtGui.QTableWidgetItem(string) - form.sections.setItem(i, 0, item) - self.skip = False - self.obj = self.preview.update(self.ship.Length.getValueAs('m').Value, - self.ship.Breadth.getValueAs('m').Value, - self.ship.Draft.getValueAs('m').Value, - self.LSections, - self.BSections, - self.TSections, - self.ship.Shape) - - - def onTableItem(self, row, column): - """ Function called when an item of the table is touched. - @param row Changed item row - @param column Changed item column - """ - if self.skip: - return - - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sections = self.widget(QtGui.QTableWidget, "Sections") - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - - # Add an empty item at the end of the list - nRow = form.sections.rowCount() - item = form.sections.item(nRow - 1, 0) - if item: - if(item.text() != ''): - form.sections.setRowCount(nRow + 1) - - ID = form.sectionType.currentIndex() - if ID == 0: - SectionList = self.LSections - elif ID == 1: - SectionList = self.BSections - elif ID == 2: - SectionList = self.TSections - - item = form.sections.item(row, column) - # Look for deleted row (empty string) - if not item.text(): - del SectionList[row] - form.sections.removeRow(row) - self.obj = self.preview.update(self.ship.Length.getValueAs('m').Value, - self.ship.Breadth.getValueAs('m').Value, - self.ship.Draft.getValueAs('m').Value, - self.LSections, - self.BSections, - self.TSections, - self.ship.Shape) - return - - # Get the new section value - try: - qty = Units.Quantity(item.text()) - number = qty.getValueAs('m').Value - except: - number = 0.0 - - string = '{} m'.format(number) - item.setText(Locale.toString(string)) - # Regenerate the list - del SectionList[:] - for i in range(0, nRow): - item = form.sections.item(i, 0) - try: - qty = Units.Quantity(item.text()) - number = qty.getValueAs('m').Value - except: - number = 0.0 - SectionList.append(number) - - self.obj = self.preview.update(self.ship.Length.getValueAs('m').Value, - self.ship.Breadth.getValueAs('m').Value, - self.ship.Draft.getValueAs('m').Value, - self.LSections, - self.BSections, - self.TSections, - self.ship.Shape) - - def onDeleteButton(self): - """ Function called when the delete button is pressed. - All the sections of the active type must be erased therefore. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sections = self.widget(QtGui.QTableWidget, "Sections") - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - - form.sections.clearContents() - form.sections.setRowCount(1) - ID = form.sectionType.currentIndex() - if ID == 0: - del self.LSections[:] - elif ID == 1: - del self.BSections[:] - elif ID == 2: - del self.TSections[:] - self.setSectionType(ID) - - def onCreateButton(self): - """ Function called when automatic creating button is pressed. - Several sections must be added to the active sections list - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - form.nSections = self.widget(QtGui.QSpinBox, "NSections") - - # Recolect data - nSections = form.nSections.value() - SectionList = [] - L = 0.0 - ID = form.sectionType.currentIndex() - if ID == 0: - L = self.ship.Length.getValueAs('m').Value - d = L / (nSections - 1) - start = - L / 2.0 - elif ID == 1: - L = -0.5 * self.ship.Breadth.getValueAs('m').Value - d = L / (nSections + 1) - start = d - elif ID == 2: - L = self.ship.Draft.getValueAs('m').Value - d = L / (nSections) - start = d - # Compute the sections positions - for i in range(0, nSections): - sec = i * d + start - SectionList.append(sec) - # Paste it into the corresponding section list - if ID == 0: - self.LSections = SectionList[:] - elif ID == 1: - self.BSections = SectionList[:] - elif ID == 2: - self.TSections = SectionList[:] - self.setSectionType(ID) - self.createPreview() - - def loadSections(self): - """ Loads from the ship object all the previously selected sections. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - form.sectionType = self.widget(QtGui.QComboBox, "SectionType") - - # Load sections - props = self.ship.PropertiesList - flag = True - try: - props.index("LSections") - except ValueError: - flag = False - if flag: - self.LSections = self.ship.LSections[:] - self.BSections = self.ship.BSections[:] - self.TSections = self.ship.TSections[:] - # Set UI - self.setSectionType(form.sectionType.currentIndex()) - - def saveSections(self): - """ Save the selected sections into ship object. - """ - mw = self.getMainWindow() - form = mw.findChild(QtGui.QWidget, "TaskPanel") - - props = self.ship.PropertiesList - try: - props.index("LSections") - except ValueError: - tooltip = str(QtGui.QApplication.translate( - "ship_outline", - "Transversal section positions [m]", - None)) - self.ship.addProperty("App::PropertyFloatList", - "LSections", - "Ship", - tooltip).LSections = [] - tooltip = str(QtGui.QApplication.translate( - "ship_outline", - "Longitudinal section positions [m]", - None)) - self.ship.addProperty("App::PropertyFloatList", - "BSections", - "Ship", - tooltip).BSections = [] - tooltip = str(QtGui.QApplication.translate( - "ship_outline", - "Water line positions [m]", - None)) - self.ship.addProperty("App::PropertyFloatList", - "TSections", - "Ship", - tooltip).TSections = [] - # Save the sections - self.ship.LSections = self.LSections[:] - self.ship.BSections = self.BSections[:] - self.ship.TSections = self.TSections[:] - - -def createTask(): - panel = TaskPanel() - Gui.Control.showDialog(panel) - if panel.setupUi(): - Gui.Control.closeDialog(panel) - return None - return panel diff --git a/src/Mod/Ship/shipOutlineDraw/TaskPanel.ui b/src/Mod/Ship/shipOutlineDraw/TaskPanel.ui deleted file mode 100644 index 78c93a59f8..0000000000 --- a/src/Mod/Ship/shipOutlineDraw/TaskPanel.ui +++ /dev/null @@ -1,244 +0,0 @@ - - - TaskPanel - - - - 0 - 0 - 316 - 402 - - - - Outline draw - - - - - - 0 - - - QLayout::SetDefaultConstraint - - - - - - 0 - 0 - - - - - 142 - 24 - - - - - 16777215 - 32 - - - - 0 - - - 0 - - - - Transversal - - - - - Longitudinal - - - - - Water lines - - - - - - - - - 0 - 0 - - - - - 142 - 24 - - - - - 16777215 - 32 - - - - Delete all sections - - - - - - - - 0 - 0 - - - - - 0 - 256 - - - - - 160 - 350 - - - - Auto create - - - - - - - 0 - 0 - - - - - 142 - 24 - - - - - 16777215 - 32 - - - - - - - - - 0 - 0 - - - - - 142 - 24 - - - - - 16777215 - 32 - - - - Create sections - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 140 - - - - - - - - - - - - - 0 - - - QLayout::SetDefaultConstraint - - - - - - 0 - 0 - - - - - 128 - 256 - - - - - 16777215 - 16777215 - - - - true - - - true - - - 1 - - - 1 - - - false - - - true - - - true - - - - - - - - - - - - diff --git a/src/Mod/Ship/shipOutlineDraw/__init__.py b/src/Mod/Ship/shipOutlineDraw/__init__.py deleted file mode 100644 index d17a2361f6..0000000000 --- a/src/Mod/Ship/shipOutlineDraw/__init__.py +++ /dev/null @@ -1,29 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from . import TaskPanel - - -def load(): - """ Loads the tool """ - TaskPanel.createTask() diff --git a/src/Mod/Ship/shipUtils/Locale.py b/src/Mod/Ship/shipUtils/Locale.py deleted file mode 100644 index 9cace4a76b..0000000000 --- a/src/Mod/Ship/shipUtils/Locale.py +++ /dev/null @@ -1,37 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -from PySide import QtCore - - -def toString(valueStr): - """Natural extension of QtCore.QLocale.toString method, in this case - conveniently transforming a value string""" - dec_sep = QtCore.QLocale.system().decimalPoint() - return valueStr.replace(".", dec_sep) - -def fromString(valueStr): - """Natural extension of QtCore.QLocale.toFloat method, in this case - conveniently transforming a value string""" - grp_sep = QtCore.QLocale.system().groupSeparator() - return valueStr.replace(grp_sep, "") diff --git a/src/Mod/Ship/shipUtils/Math.py b/src/Mod/Ship/shipUtils/Math.py deleted file mode 100644 index fe4084f09c..0000000000 --- a/src/Mod/Ship/shipUtils/Math.py +++ /dev/null @@ -1,57 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -def isAprox(a,b,tol=0.000001): - """returns if a value is into (b-tol,b+tol) - @param a Value to compare. - @param b Center of valid interval - @param tol Radius of valid interval - @return True if a is into (b-tol,b+tol), False otherwise - """ - if (a < b+abs(tol)) and (a > b-abs(tol)): - return True - return False - -def isSamePoint(a,b,tol=0.000001): - """returns if two points are the same with a provided tolerance - @param a Point to compare. - @param b Reference point. - @param tol Radius of valid interval - @return True if twice point are the same, False otherwise - @note FreeCAD::Base::Vector types must be provided - """ - if isAprox(a.x,b.x,tol) and isAprox(a.y,b.y,tol) and isAprox(a.z,b.z,tol): - return True - return False - -def isSameVertex(a,b,tol=0.0001): - """returns if two points are the same with a provided tolerance - @param a Point to compare. - @param b Reference point. - @param tol Radius of valid interval - @return True if twice point are the same, False otherwise - @note FreeCAD::Part::Vertex types must be provided - """ - if isAprox(a.X,b.X,tol) and isAprox(a.Y,b.Y,tol) and isAprox(a.Z,b.Z,tol): - return True - return False diff --git a/src/Mod/Ship/shipUtils/Paths.py b/src/Mod/Ship/shipUtils/Paths.py deleted file mode 100644 index d1f8d0e9ce..0000000000 --- a/src/Mod/Ship/shipUtils/Paths.py +++ /dev/null @@ -1,55 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD, FreeCADGui, os - -def modulePath(): - """returns the current Ship design module path - @return Module path""" - path1 = FreeCAD.ConfigGet("AppHomePath") + "Mod/Ship" - path2 = FreeCAD.ConfigGet("UserAppData") + "Mod/Ship" - if os.path.exists(path2): - return path2 - else: - return path1 - -def iconsPath(): - """returns the current Ship design module icons path - @return Icons path""" - path = modulePath() + "/Resources/icons" - return path - -def getPathFromFile(fileName): - """ Gets the directory path from a file name - @param fileName Name of the file - @return Directory path. - """ - if not fileName: - return '' - i = 1 - try: - while 1: - i = fileName.index("/", i+1) - except ValueError: - pass - return fileName[0:i+1] diff --git a/src/Mod/Ship/shipUtils/Units.py b/src/Mod/Ship/shipUtils/Units.py deleted file mode 100644 index a2871023e6..0000000000 --- a/src/Mod/Ship/shipUtils/Units.py +++ /dev/null @@ -1,84 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -import FreeCAD -from FreeCAD import Units - - -# Systems of length units -LENGTH_UNITS = ('mm', 'm', 'in', 'in') -MASS_UNITS = ('kg', 'kg', 'lb', 'lb') -TIME_UNITS = ('s', 's', 's', 's') -ANGLE_UNITS = ('deg', 'deg', 'deg', 'deg') - - -def getLengthUnits(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - units_id = param.GetInt('UserSchema', 0) - return LENGTH_UNITS[units_id] - - -def getLengthFormat(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - decimals = param.GetInt("Decimals", 2) - units_id = param.GetInt('UserSchema', 0) - return '{0:.' + str(decimals) + 'f} ' + LENGTH_UNITS[units_id] - - -def getMassUnits(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - units_id = param.GetInt('UserSchema', 0) - return MASS_UNITS[units_id] - - -def getMassFormat(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - decimals = param.GetInt("Decimals", 2) - units_id = param.GetInt('UserSchema', 0) - return '{0:.' + str(decimals) + 'f} ' + MASS_UNITS[units_id] - - -def getTimeUnits(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - units_id = param.GetInt('UserSchema', 0) - return TIME_UNITS[units_id] - - -def getTimeFormat(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - decimals = param.GetInt("Decimals", 2) - units_id = param.GetInt('UserSchema', 0) - return '{0:.' + str(decimals) + 'f} ' + TIME_UNITS[units_id] - - -def getAngleUnits(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - units_id = param.GetInt('UserSchema', 0) - return ANGLE_UNITS[units_id] - - -def getAngleFormat(): - param = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Units") - decimals = param.GetInt("Decimals", 2) - units_id = param.GetInt('UserSchema', 0) - return '{0:.' + str(decimals) + 'f} ' + ANGLE_UNITS[units_id] diff --git a/src/Mod/Ship/shipUtils/__init__.py b/src/Mod/Ship/shipUtils/__init__.py deleted file mode 100644 index 67a31832b8..0000000000 --- a/src/Mod/Ship/shipUtils/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -#*************************************************************************** -#* * -#* Copyright (c) 2011, 2016 * -#* Jose Luis Cercos Pita * -#* * -#* 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. * -#* * -#* This program 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 program; if not, write to the Free Software * -#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -#* USA * -#* * -#*************************************************************************** - -# Empty file to treat the folder as a package - diff --git a/src/Tools/updatefromcrowdin.py b/src/Tools/updatefromcrowdin.py index 4c2cf5d082..86f54cd81e 100755 --- a/src/Tools/updatefromcrowdin.py +++ b/src/Tools/updatefromcrowdin.py @@ -91,7 +91,6 @@ locations = [["AddonManager","../Mod/AddonManager/Resources/translations","../Mo ["Sketcher","../Mod/Sketcher/Gui/Resources/translations","../Mod/Sketcher/Gui/Resources/Sketcher.qrc"], ["StartPage","../Mod/Start/Gui/Resources/translations","../Mod/Start/Gui/Resources/Start.qrc"], ["Test","../Mod/Test/Gui/Resources/translations","../Mod/Test/Gui/Resources/Test.qrc"], - ["Ship","../Mod/Ship/resources/translations","../Mod/Ship/resources/Ship.qrc"], ["Plot","../Mod/Plot/resources/translations","../Mod/Plot/resources/Plot.qrc"], ["Web","../Mod/Web/Gui/Resources/translations","../Mod/Web/Gui/Resources/Web.qrc"], ["Spreadsheet","../Mod/Spreadsheet/Gui/Resources/translations","../Mod/Spreadsheet/Gui/Resources/Spreadsheet.qrc"], diff --git a/src/Tools/updatets.py b/src/Tools/updatets.py index 1f9e2a0a43..2a14a78a4d 100755 --- a/src/Tools/updatets.py +++ b/src/Tools/updatets.py @@ -78,8 +78,6 @@ PyCommands = [["src/Mod/Draft", 'lconvert -i Gui/Resources/translations/StartPagepy.ts Gui/Resources/translations/StartPage.ts -o Gui/Resources/translations/StartPage.ts'], ["src/Mod/Start", 'rm Gui/Resources/translations/StartPagepy.ts'], - ["src/Mod/Ship", - 'pylupdate `find ./ -name "*.py"` -ts resources/translations/Ship.ts'], ["src/Mod/Plot", 'pylupdate `find ./ -name "*.py"` -ts resources/translations/Plot.ts'], ["src/Mod/Path",