FreeCAD WebAssembly development snapshot
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
This commit is contained in:
66
src/Mod/Points/App/AppPoints.cpp
Normal file
66
src/Mod/Points/App/AppPoints.cpp
Normal file
@@ -0,0 +1,66 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include "Points.h"
|
||||
#include "PointsPy.h"
|
||||
#include "Properties.h"
|
||||
#include "PropertyPointKernel.h"
|
||||
#include "Structured.h"
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
extern PyObject* initModule();
|
||||
}
|
||||
|
||||
/* Python entry */
|
||||
PyMOD_INIT_FUNC(Points)
|
||||
{
|
||||
// clang-format off
|
||||
PyObject* pointsModule = Points::initModule();
|
||||
Base::Console().log("Loading Points module… done\n");
|
||||
|
||||
// add python types
|
||||
Base::Interpreter().addType(&Points::PointsPy::Type, pointsModule, "Points");
|
||||
|
||||
// add properties
|
||||
Points::PropertyGreyValue ::init();
|
||||
Points::PropertyGreyValueList ::init();
|
||||
Points::PropertyNormalList ::init();
|
||||
Points::PropertyCurvatureList ::init();
|
||||
Points::PropertyPointKernel ::init();
|
||||
|
||||
// add data types
|
||||
Points::Feature ::init();
|
||||
Points::Structured ::init();
|
||||
Points::FeatureCustom ::init();
|
||||
Points::StructuredCustom ::init();
|
||||
Points::FeaturePython ::init();
|
||||
PyMOD_Return(pointsModule);
|
||||
// clang-format on
|
||||
}
|
||||
452
src/Mod/Points/App/AppPointsPy.cpp
Normal file
452
src/Mod/Points/App/AppPointsPy.cpp
Normal file
@@ -0,0 +1,452 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <App/Property.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
#include "Points.h"
|
||||
#include "PointsAlgos.h"
|
||||
#include "PointsPy.h"
|
||||
#include "Properties.h"
|
||||
#include "Structured.h"
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
class Module: public Py::ExtensionModule<Module>
|
||||
{
|
||||
public:
|
||||
Module()
|
||||
: Py::ExtensionModule<Module>("Points")
|
||||
{
|
||||
add_varargs_method("open", &Module::open);
|
||||
add_varargs_method("insert", &Module::importer);
|
||||
add_varargs_method("export", &Module::exporter);
|
||||
add_varargs_method(
|
||||
"show",
|
||||
&Module::show,
|
||||
"show(points,[string]) -- Add the points to the active document or "
|
||||
"create one if no document exists. Returns document object."
|
||||
);
|
||||
initialize("This module is the Points module."); // register with Python
|
||||
}
|
||||
|
||||
private:
|
||||
std::tuple<bool, bool, double> readE57Settings() const
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication()
|
||||
.GetUserParameter()
|
||||
.GetGroup("BaseApp")
|
||||
->GetGroup("Preferences")
|
||||
->GetGroup("Mod/Points/E57");
|
||||
bool useColor = hGrp->GetBool("UseColor", true);
|
||||
bool checkState = hGrp->GetBool("CheckInvalidState", true);
|
||||
double minDistance = hGrp->GetFloat("MinDistance", -1.);
|
||||
|
||||
return std::make_tuple(useColor, checkState, minDistance);
|
||||
}
|
||||
Py::Object open(const Py::Tuple& args)
|
||||
{
|
||||
char* Name {};
|
||||
if (!PyArg_ParseTuple(args.ptr(), "et", "utf-8", &Name)) {
|
||||
throw Py::Exception();
|
||||
}
|
||||
std::string EncodedName = std::string(Name);
|
||||
PyMem_Free(Name);
|
||||
|
||||
try {
|
||||
Base::Console().log("Open in Points with %s", EncodedName.c_str());
|
||||
Base::FileInfo file(EncodedName.c_str());
|
||||
|
||||
// extract ending
|
||||
if (file.extension().empty()) {
|
||||
throw Py::RuntimeError("No file extension");
|
||||
}
|
||||
|
||||
std::unique_ptr<Reader> reader;
|
||||
if (file.hasExtension("asc")) {
|
||||
reader = std::make_unique<AscReader>();
|
||||
}
|
||||
else if (file.hasExtension("e57")) {
|
||||
auto setting = readE57Settings();
|
||||
reader = std::make_unique<E57Reader>(
|
||||
std::get<0>(setting),
|
||||
std::get<1>(setting),
|
||||
std::get<2>(setting)
|
||||
);
|
||||
}
|
||||
else if (file.hasExtension("ply")) {
|
||||
reader = std::make_unique<PlyReader>();
|
||||
}
|
||||
else if (file.hasExtension("pcd")) {
|
||||
reader = std::make_unique<PcdReader>();
|
||||
}
|
||||
else {
|
||||
throw Py::RuntimeError("Unsupported file extension");
|
||||
}
|
||||
|
||||
reader->read(EncodedName);
|
||||
|
||||
App::Document* pcDoc = App::GetApplication().newDocument();
|
||||
|
||||
Points::Feature* pcFeature = nullptr;
|
||||
if (reader->hasProperties()) {
|
||||
// Scattered or structured points?
|
||||
if (reader->isStructured()) {
|
||||
pcFeature = new Points::StructuredCustom();
|
||||
|
||||
App::PropertyInteger* width = static_cast<App::PropertyInteger*>(
|
||||
pcFeature->getPropertyByName("Width")
|
||||
);
|
||||
if (width) {
|
||||
width->setValue(reader->getWidth());
|
||||
}
|
||||
App::PropertyInteger* height = static_cast<App::PropertyInteger*>(
|
||||
pcFeature->getPropertyByName("Height")
|
||||
);
|
||||
if (height) {
|
||||
height->setValue(reader->getHeight());
|
||||
}
|
||||
}
|
||||
else {
|
||||
pcFeature = new Points::FeatureCustom();
|
||||
}
|
||||
|
||||
pcFeature->Points.setValue(reader->getPoints());
|
||||
// add gray values
|
||||
if (reader->hasIntensities()) {
|
||||
Points::PropertyGreyValueList* prop = static_cast<Points::PropertyGreyValueList*>(
|
||||
pcFeature->addDynamicProperty("Points::PropertyGreyValueList", "Intensity")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getIntensities());
|
||||
}
|
||||
}
|
||||
// add colors
|
||||
if (reader->hasColors()) {
|
||||
App::PropertyColorList* prop = static_cast<App::PropertyColorList*>(
|
||||
pcFeature->addDynamicProperty("App::PropertyColorList", "Color")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getColors());
|
||||
}
|
||||
}
|
||||
// add normals
|
||||
if (reader->hasNormals()) {
|
||||
Points::PropertyNormalList* prop = static_cast<Points::PropertyNormalList*>(
|
||||
pcFeature->addDynamicProperty("Points::PropertyNormalList", "Normal")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getNormals());
|
||||
}
|
||||
}
|
||||
|
||||
// delayed adding of the points feature
|
||||
pcDoc->addObject(pcFeature, file.fileNamePure().c_str());
|
||||
pcDoc->recomputeFeature(pcFeature);
|
||||
pcFeature->purgeTouched();
|
||||
}
|
||||
else {
|
||||
if (reader->isStructured()) {
|
||||
Structured* structured = new Points::Structured();
|
||||
structured->Width.setValue(reader->getWidth());
|
||||
structured->Height.setValue(reader->getHeight());
|
||||
pcFeature = structured;
|
||||
}
|
||||
else {
|
||||
pcFeature = new Points::Feature();
|
||||
}
|
||||
|
||||
// delayed adding of the points feature
|
||||
pcFeature->Points.setValue(reader->getPoints());
|
||||
pcDoc->addObject(pcFeature, file.fileNamePure().c_str());
|
||||
pcDoc->recomputeFeature(pcFeature);
|
||||
pcFeature->purgeTouched();
|
||||
}
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
throw Py::RuntimeError(e.what());
|
||||
}
|
||||
|
||||
return Py::None();
|
||||
}
|
||||
|
||||
Py::Object importer(const Py::Tuple& args)
|
||||
{
|
||||
char* Name {};
|
||||
const char* DocName {};
|
||||
if (!PyArg_ParseTuple(args.ptr(), "ets", "utf-8", &Name, &DocName)) {
|
||||
throw Py::Exception();
|
||||
}
|
||||
std::string EncodedName = std::string(Name);
|
||||
PyMem_Free(Name);
|
||||
|
||||
try {
|
||||
Base::Console().log("Import in Points with %s", EncodedName.c_str());
|
||||
Base::FileInfo file(EncodedName.c_str());
|
||||
|
||||
// extract ending
|
||||
if (file.extension().empty()) {
|
||||
throw Py::RuntimeError("No file extension");
|
||||
}
|
||||
|
||||
std::unique_ptr<Reader> reader;
|
||||
if (file.hasExtension("asc")) {
|
||||
reader = std::make_unique<AscReader>();
|
||||
}
|
||||
else if (file.hasExtension("e57")) {
|
||||
auto setting = readE57Settings();
|
||||
reader = std::make_unique<E57Reader>(
|
||||
std::get<0>(setting),
|
||||
std::get<1>(setting),
|
||||
std::get<2>(setting)
|
||||
);
|
||||
}
|
||||
else if (file.hasExtension("ply")) {
|
||||
reader = std::make_unique<PlyReader>();
|
||||
}
|
||||
else if (file.hasExtension("pcd")) {
|
||||
reader = std::make_unique<PcdReader>();
|
||||
}
|
||||
else {
|
||||
throw Py::RuntimeError("Unsupported file extension");
|
||||
}
|
||||
|
||||
reader->read(EncodedName);
|
||||
|
||||
App::Document* pcDoc = App::GetApplication().getDocument(DocName);
|
||||
if (!pcDoc) {
|
||||
pcDoc = App::GetApplication().newDocument(DocName);
|
||||
}
|
||||
|
||||
Points::Feature* pcFeature = nullptr;
|
||||
if (reader->hasProperties()) {
|
||||
// Scattered or structured points?
|
||||
if (reader->isStructured()) {
|
||||
pcFeature = new Points::StructuredCustom();
|
||||
|
||||
App::PropertyInteger* width = static_cast<App::PropertyInteger*>(
|
||||
pcFeature->getPropertyByName("Width")
|
||||
);
|
||||
if (width) {
|
||||
width->setValue(reader->getWidth());
|
||||
}
|
||||
App::PropertyInteger* height = static_cast<App::PropertyInteger*>(
|
||||
pcFeature->getPropertyByName("Height")
|
||||
);
|
||||
if (height) {
|
||||
height->setValue(reader->getHeight());
|
||||
}
|
||||
}
|
||||
else {
|
||||
pcFeature = new Points::FeatureCustom();
|
||||
}
|
||||
|
||||
pcFeature->Points.setValue(reader->getPoints());
|
||||
// add gray values
|
||||
if (reader->hasIntensities()) {
|
||||
Points::PropertyGreyValueList* prop = static_cast<Points::PropertyGreyValueList*>(
|
||||
pcFeature->addDynamicProperty("Points::PropertyGreyValueList", "Intensity")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getIntensities());
|
||||
}
|
||||
}
|
||||
// add colors
|
||||
if (reader->hasColors()) {
|
||||
App::PropertyColorList* prop = static_cast<App::PropertyColorList*>(
|
||||
pcFeature->addDynamicProperty("App::PropertyColorList", "Color")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getColors());
|
||||
}
|
||||
}
|
||||
// add normals
|
||||
if (reader->hasNormals()) {
|
||||
Points::PropertyNormalList* prop = static_cast<Points::PropertyNormalList*>(
|
||||
pcFeature->addDynamicProperty("Points::PropertyNormalList", "Normal")
|
||||
);
|
||||
if (prop) {
|
||||
prop->setValues(reader->getNormals());
|
||||
}
|
||||
}
|
||||
|
||||
// delayed adding of the points feature
|
||||
pcDoc->addObject(pcFeature, file.fileNamePure().c_str());
|
||||
pcDoc->recomputeFeature(pcFeature);
|
||||
pcFeature->purgeTouched();
|
||||
}
|
||||
else {
|
||||
auto* pcFeature = pcDoc->addObject<Points::Feature>(file.fileNamePure().c_str());
|
||||
pcFeature->Points.setValue(reader->getPoints());
|
||||
pcDoc->recomputeFeature(pcFeature);
|
||||
pcFeature->purgeTouched();
|
||||
}
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
throw Py::RuntimeError(e.what());
|
||||
}
|
||||
|
||||
return Py::None();
|
||||
}
|
||||
|
||||
Py::Object exporter(const Py::Tuple& args)
|
||||
{
|
||||
PyObject* object {};
|
||||
char* Name {};
|
||||
|
||||
if (!PyArg_ParseTuple(args.ptr(), "Oet", &object, "utf-8", &Name)) {
|
||||
throw Py::Exception();
|
||||
}
|
||||
|
||||
std::string encodedName = std::string(Name);
|
||||
PyMem_Free(Name);
|
||||
|
||||
Base::FileInfo file(encodedName);
|
||||
|
||||
// extract ending
|
||||
if (file.extension().empty()) {
|
||||
throw Py::RuntimeError("No file extension");
|
||||
}
|
||||
|
||||
Py::Sequence list(object);
|
||||
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
|
||||
PyObject* item = (*it).ptr();
|
||||
if (PyObject_TypeCheck(item, &(App::DocumentObjectPy::Type))) {
|
||||
App::DocumentObject* obj
|
||||
= static_cast<App::DocumentObjectPy*>(item)->getDocumentObjectPtr();
|
||||
if (obj->isDerivedFrom<Points::Feature>()) {
|
||||
// get relative placement
|
||||
Points::Feature* fea = static_cast<Points::Feature*>(obj);
|
||||
Base::Placement globalPlacement = fea->globalPlacement();
|
||||
|
||||
const PointKernel& kernel = fea->Points.getValue();
|
||||
std::unique_ptr<Writer> writer;
|
||||
if (file.hasExtension("asc")) {
|
||||
writer = std::make_unique<AscWriter>(kernel);
|
||||
}
|
||||
else if (file.hasExtension("ply")) {
|
||||
writer = std::make_unique<PlyWriter>(kernel);
|
||||
}
|
||||
else if (file.hasExtension("pcd")) {
|
||||
writer = std::make_unique<PcdWriter>(kernel);
|
||||
}
|
||||
else {
|
||||
throw Py::RuntimeError("Unsupported file extension");
|
||||
}
|
||||
|
||||
// get additional properties if there
|
||||
App::PropertyInteger* width = dynamic_cast<App::PropertyInteger*>(
|
||||
fea->getPropertyByName("Width")
|
||||
);
|
||||
if (width) {
|
||||
writer->setWidth(width->getValue());
|
||||
}
|
||||
App::PropertyInteger* height = dynamic_cast<App::PropertyInteger*>(
|
||||
fea->getPropertyByName("Height")
|
||||
);
|
||||
if (height) {
|
||||
writer->setHeight(height->getValue());
|
||||
}
|
||||
// get gray values
|
||||
Points::PropertyGreyValueList* grey = dynamic_cast<Points::PropertyGreyValueList*>(
|
||||
fea->getPropertyByName("Intensity")
|
||||
);
|
||||
if (grey) {
|
||||
writer->setIntensities(grey->getValues());
|
||||
}
|
||||
// get colors
|
||||
App::PropertyColorList* col = dynamic_cast<App::PropertyColorList*>(
|
||||
fea->getPropertyByName("Color")
|
||||
);
|
||||
if (col) {
|
||||
writer->setColors(col->getValues());
|
||||
}
|
||||
// get normals
|
||||
Points::PropertyNormalList* nor = dynamic_cast<Points::PropertyNormalList*>(
|
||||
fea->getPropertyByName("Normal")
|
||||
);
|
||||
if (nor) {
|
||||
writer->setNormals(nor->getValues());
|
||||
}
|
||||
|
||||
writer->setPlacement(globalPlacement);
|
||||
writer->write(encodedName);
|
||||
|
||||
break;
|
||||
}
|
||||
else {
|
||||
Base::Console().message(
|
||||
"'%s' is not a point object, export will be ignored.\n",
|
||||
obj->Label.getValue()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return Py::None();
|
||||
}
|
||||
|
||||
Py::Object show(const Py::Tuple& args)
|
||||
{
|
||||
PyObject* pcObj {};
|
||||
const char* name = "Points";
|
||||
if (!PyArg_ParseTuple(args.ptr(), "O!|s", &(PointsPy::Type), &pcObj, &name)) {
|
||||
throw Py::Exception();
|
||||
}
|
||||
|
||||
try {
|
||||
App::Document* pcDoc = App::GetApplication().getActiveDocument();
|
||||
if (!pcDoc) {
|
||||
pcDoc = App::GetApplication().newDocument();
|
||||
}
|
||||
auto* pPoints = static_cast<PointsPy*>(pcObj);
|
||||
auto* pcFeature = pcDoc->addObject<Points::Feature>(name);
|
||||
// copy the data
|
||||
pcFeature->Points.setValue(*(pPoints->getPointKernelPtr()));
|
||||
return Py::asObject(pcFeature->getPyObject());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
throw Py::RuntimeError(e.what());
|
||||
}
|
||||
|
||||
return Py::None();
|
||||
}
|
||||
};
|
||||
|
||||
PyObject* initModule()
|
||||
{
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
} // namespace Points
|
||||
94
src/Mod/Points/App/CMakeLists.txt
Normal file
94
src/Mod/Points/App/CMakeLists.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
add_library(Points SHARED)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DFCAppPoints)
|
||||
endif(WIN32)
|
||||
|
||||
target_include_directories(
|
||||
Points
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
Points
|
||||
SYSTEM
|
||||
PUBLIC
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
${QtConcurrent_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if (NOT FREECAD_USE_EXTERNAL_E57FORMAT)
|
||||
target_include_directories(
|
||||
Points
|
||||
SYSTEM
|
||||
PUBLIC
|
||||
${CMAKE_BINARY_DIR}/src/3rdParty/libE57Format
|
||||
${CMAKE_SOURCE_DIR}/src/3rdParty/libE57Format/include
|
||||
)
|
||||
endif()
|
||||
|
||||
set(Points_LIBS
|
||||
FreeCADApp
|
||||
${QtConcurrent_LIBRARIES}
|
||||
)
|
||||
|
||||
generate_from_py(Points)
|
||||
|
||||
SET(Points_SRCS
|
||||
AppPoints.cpp
|
||||
AppPointsPy.cpp
|
||||
Points.cpp
|
||||
Points.h
|
||||
Points.pyi
|
||||
PointsPyImp.cpp
|
||||
PointsAlgos.cpp
|
||||
PointsAlgos.h
|
||||
PointsFeature.cpp
|
||||
PointsFeature.h
|
||||
PointsGrid.cpp
|
||||
PointsGrid.h
|
||||
PreCompiled.h
|
||||
Properties.cpp
|
||||
Properties.h
|
||||
PropertyPointKernel.cpp
|
||||
PropertyPointKernel.h
|
||||
Structured.cpp
|
||||
Structured.h
|
||||
Tools.h
|
||||
)
|
||||
|
||||
set(Points_Scripts
|
||||
../Init.py
|
||||
)
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
target_precompile_headers(Points PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:CXX>:"${CMAKE_CURRENT_LIST_DIR}/PreCompiled.h">
|
||||
)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
target_sources(Points PRIVATE ${Points_SRCS} ${Points_Scripts})
|
||||
|
||||
if (NOT FREECAD_USE_EXTERNAL_E57FORMAT)
|
||||
target_link_directories(Points PUBLIC ${CMAKE_BINARY_DIR}/src/3rdParty/libE57Format)
|
||||
endif()
|
||||
|
||||
target_link_libraries(Points E57Format ${Points_LIBS})
|
||||
if (FREECAD_WARN_ERROR)
|
||||
target_compile_warn_error(Points)
|
||||
endif()
|
||||
|
||||
|
||||
fc_target_copy_resource_flat(Points
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/Mod/Points
|
||||
${Points_Scripts})
|
||||
|
||||
SET_BIN_DIR(Points Points /Mod/Points)
|
||||
SET_PYTHON_PREFIX_SUFFIX(Points)
|
||||
|
||||
INSTALL(TARGETS Points DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
391
src/Mod/Points/App/Points.cpp
Normal file
391
src/Mod/Points/App/Points.cpp
Normal file
@@ -0,0 +1,391 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <QtConcurrentMap>
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Stream.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "Points.h"
|
||||
#include "PointsAlgos.h"
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <ppl.h>
|
||||
#endif
|
||||
|
||||
using namespace Points;
|
||||
using namespace std;
|
||||
|
||||
TYPESYSTEM_SOURCE(Points::PointKernel, Data::ComplexGeoData)
|
||||
|
||||
PointKernel::PointKernel(const PointKernel& pts)
|
||||
: _Mtrx(pts._Mtrx)
|
||||
, _Points(pts._Points)
|
||||
{}
|
||||
|
||||
PointKernel::PointKernel(PointKernel&& pts) noexcept
|
||||
: _Mtrx(pts._Mtrx)
|
||||
, _Points(std::move(pts._Points))
|
||||
{}
|
||||
|
||||
std::vector<const char*> PointKernel::getElementTypes() const
|
||||
{
|
||||
std::vector<const char*> temp;
|
||||
// temp.push_back("Segment");
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
unsigned long PointKernel::countSubElements(const char* /*Type*/) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Data::Segment* PointKernel::getSubElement(const char* /*Type*/, unsigned long /*n*/) const
|
||||
{
|
||||
// unsigned long i = 1;
|
||||
|
||||
// if (strcmp(Type,"Segment") == 0) {
|
||||
// // not implemented
|
||||
// assert(0);
|
||||
// return 0;
|
||||
// }
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void PointKernel::transformGeometry(const Base::Matrix4D& rclMat)
|
||||
{
|
||||
std::vector<value_type>& kernel = getBasicPoints();
|
||||
#ifdef _MSC_VER
|
||||
// Win32-only at the moment since ppl.h is a Microsoft library. Points is not using Qt so we
|
||||
// cannot use QtConcurrent We could also rewrite Points to leverage SIMD instructions Other
|
||||
// option: openMP. But with VC2013 results in high CPU usage even after computation (busy-waits
|
||||
// for >100ms)
|
||||
Concurrency::parallel_for_each(kernel.begin(), kernel.end(), [rclMat](value_type& value) {
|
||||
value = rclMat * value;
|
||||
});
|
||||
#else
|
||||
QtConcurrent::blockingMap(kernel, [rclMat](value_type& value) { rclMat.multVec(value, value); });
|
||||
#endif
|
||||
}
|
||||
|
||||
void PointKernel::moveGeometry(const Base::Vector3d& vec)
|
||||
{
|
||||
Base::Vector3f offset = Base::toVector<float>(vec);
|
||||
std::vector<value_type>& kernel = getBasicPoints();
|
||||
#ifdef _MSC_VER
|
||||
Concurrency::parallel_for_each(kernel.begin(), kernel.end(), [offset](value_type& value) {
|
||||
value += offset;
|
||||
});
|
||||
#else
|
||||
QtConcurrent::blockingMap(kernel, [offset](value_type& value) { value += offset; });
|
||||
#endif
|
||||
}
|
||||
|
||||
Base::BoundBox3d PointKernel::getBoundBox() const
|
||||
{
|
||||
Base::BoundBox3d bnd;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// Thread-local bounding boxes
|
||||
Concurrency::combinable<Base::BoundBox3d> bbs;
|
||||
// Cannot use a const_point_iterator here as it is *not* a proper iterator (fails the for_each
|
||||
// template)
|
||||
Concurrency::parallel_for_each(_Points.begin(), _Points.end(), [this, &bbs](const value_type& value) {
|
||||
Base::Vector3d vertd(value.x, value.y, value.z);
|
||||
bbs.local().Add(this->_Mtrx * vertd);
|
||||
});
|
||||
// Combine each thread-local bounding box in the final bounding box
|
||||
bbs.combine_each([&bnd](const Base::BoundBox3d& lbb) { bnd.Add(lbb); });
|
||||
#else
|
||||
for (const auto& it : *this) {
|
||||
bnd.Add(it);
|
||||
}
|
||||
#endif
|
||||
return bnd;
|
||||
}
|
||||
|
||||
PointKernel& PointKernel::operator=(const PointKernel& Kernel)
|
||||
{
|
||||
if (this != &Kernel) {
|
||||
// copy the mesh structure
|
||||
setTransform(Kernel._Mtrx);
|
||||
this->_Points = Kernel._Points;
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
PointKernel& PointKernel::operator=(PointKernel&& Kernel) noexcept
|
||||
{
|
||||
if (this != &Kernel) {
|
||||
// copy the mesh structure
|
||||
setTransform(Kernel._Mtrx);
|
||||
this->_Points = std::move(Kernel._Points);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
unsigned int PointKernel::getMemSize() const
|
||||
{
|
||||
return _Points.size() * sizeof(value_type);
|
||||
}
|
||||
|
||||
PointKernel::size_type PointKernel::countValid() const
|
||||
{
|
||||
size_type num = 0;
|
||||
for (const auto& it : *this) {
|
||||
if (!(boost::math::isnan(it.x) || boost::math::isnan(it.y) || boost::math::isnan(it.z))) {
|
||||
num++;
|
||||
}
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
std::vector<PointKernel::value_type> PointKernel::getValidPoints() const
|
||||
{
|
||||
std::vector<PointKernel::value_type> valid;
|
||||
valid.reserve(countValid());
|
||||
for (const auto& it : *this) {
|
||||
if (!(boost::math::isnan(it.x) || boost::math::isnan(it.y) || boost::math::isnan(it.z))) {
|
||||
valid.emplace_back(
|
||||
static_cast<float_type>(it.x),
|
||||
static_cast<float_type>(it.y),
|
||||
static_cast<float_type>(it.z)
|
||||
);
|
||||
}
|
||||
}
|
||||
return valid;
|
||||
}
|
||||
|
||||
void PointKernel::Save(Base::Writer& writer) const
|
||||
{
|
||||
if (!writer.isForceXML()) {
|
||||
writer.Stream() << writer.ind() << "<Points file=\""
|
||||
<< writer.addFile(writer.ObjectName.c_str(), this) << "\" "
|
||||
<< "mtrx=\"" << _Mtrx.toString() << "\"/>" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void PointKernel::SaveDocFile(Base::Writer& writer) const
|
||||
{
|
||||
Base::OutputStream str(writer.Stream());
|
||||
uint32_t uCt = (uint32_t)size();
|
||||
str << uCt;
|
||||
// store the data without transforming it
|
||||
for (const auto& pnt : _Points) {
|
||||
str << pnt.x << pnt.y << pnt.z;
|
||||
}
|
||||
}
|
||||
|
||||
void PointKernel::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
clear();
|
||||
|
||||
reader.readElement("Points");
|
||||
std::string file(reader.getAttribute<const char*>("file"));
|
||||
|
||||
if (!file.empty()) {
|
||||
// initiate a file read
|
||||
reader.addFile(file.c_str(), this);
|
||||
}
|
||||
if (reader.DocumentSchema > 3) {
|
||||
std::string Matrix(reader.getAttribute<const char*>("mtrx"));
|
||||
_Mtrx.fromString(Matrix);
|
||||
}
|
||||
}
|
||||
|
||||
void PointKernel::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
Base::InputStream str(reader);
|
||||
uint32_t uCt = 0;
|
||||
str >> uCt;
|
||||
_Points.resize(uCt);
|
||||
for (unsigned long i = 0; i < uCt; i++) {
|
||||
float x {};
|
||||
float y {};
|
||||
float z {};
|
||||
str >> x >> y >> z;
|
||||
_Points[i].Set(x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
void PointKernel::save(const char* file) const
|
||||
{
|
||||
Base::ofstream out(Base::FileInfo(file), std::ios::out);
|
||||
save(out);
|
||||
}
|
||||
|
||||
void PointKernel::load(const char* file)
|
||||
{
|
||||
PointsAlgos::Load(*this, file);
|
||||
}
|
||||
|
||||
void PointKernel::save(std::ostream& out) const
|
||||
{
|
||||
out << "# ASCII" << std::endl;
|
||||
for (const auto& pnt : _Points) {
|
||||
out << pnt.x << " " << pnt.y << " " << pnt.z << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void PointKernel::getPoints(
|
||||
std::vector<Base::Vector3d>& Points,
|
||||
std::vector<Base::Vector3d>& /*Normals*/,
|
||||
double /*Accuracy*/,
|
||||
uint16_t /*flags*/
|
||||
) const
|
||||
{
|
||||
unsigned long ctpoints = _Points.size();
|
||||
Points.reserve(ctpoints);
|
||||
for (unsigned long i = 0; i < ctpoints; i++) {
|
||||
Points.push_back(this->getPoint(i));
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
PointKernel::const_point_iterator::const_point_iterator(
|
||||
const PointKernel* kernel,
|
||||
std::vector<kernel_type>::const_iterator index
|
||||
)
|
||||
: _kernel(kernel)
|
||||
, _p_it(index)
|
||||
{
|
||||
if (_p_it != kernel->_Points.end()) {
|
||||
value_type vertd(_p_it->x, _p_it->y, _p_it->z);
|
||||
this->_point = _kernel->_Mtrx * vertd;
|
||||
}
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator::const_point_iterator(
|
||||
const PointKernel::const_point_iterator& fi
|
||||
) = default;
|
||||
|
||||
PointKernel::const_point_iterator::const_point_iterator(
|
||||
PointKernel::const_point_iterator&& fi
|
||||
) = default;
|
||||
|
||||
PointKernel::const_point_iterator::~const_point_iterator() = default;
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator=(
|
||||
const PointKernel::const_point_iterator& pi
|
||||
) = default;
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator=(
|
||||
PointKernel::const_point_iterator&& pi
|
||||
) = default;
|
||||
|
||||
void PointKernel::const_point_iterator::dereference()
|
||||
{
|
||||
value_type vertd(_p_it->x, _p_it->y, _p_it->z);
|
||||
this->_point = _kernel->_Mtrx * vertd;
|
||||
}
|
||||
|
||||
const PointKernel::const_point_iterator::value_type& PointKernel::const_point_iterator::operator*()
|
||||
{
|
||||
dereference();
|
||||
return this->_point;
|
||||
}
|
||||
|
||||
const PointKernel::const_point_iterator::value_type* PointKernel::const_point_iterator::operator->()
|
||||
{
|
||||
dereference();
|
||||
return &(this->_point);
|
||||
}
|
||||
|
||||
bool PointKernel::const_point_iterator::operator==(const PointKernel::const_point_iterator& pi) const
|
||||
{
|
||||
return (this->_kernel == pi._kernel) && (this->_p_it == pi._p_it);
|
||||
}
|
||||
|
||||
bool PointKernel::const_point_iterator::operator!=(const PointKernel::const_point_iterator& pi) const
|
||||
{
|
||||
return !operator==(pi);
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator++()
|
||||
{
|
||||
++(this->_p_it);
|
||||
return *this;
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator PointKernel::const_point_iterator::operator++(int)
|
||||
{
|
||||
PointKernel::const_point_iterator tmp = *this;
|
||||
++(this->_p_it);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator--()
|
||||
{
|
||||
--(this->_p_it);
|
||||
return *this;
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator PointKernel::const_point_iterator::operator--(int)
|
||||
{
|
||||
PointKernel::const_point_iterator tmp = *this;
|
||||
--(this->_p_it);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator PointKernel::const_point_iterator::operator+(difference_type off) const
|
||||
{
|
||||
PointKernel::const_point_iterator tmp = *this;
|
||||
return (tmp += off);
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator PointKernel::const_point_iterator::operator-(difference_type off) const
|
||||
{
|
||||
PointKernel::const_point_iterator tmp = *this;
|
||||
return (tmp -= off);
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator+=(difference_type off)
|
||||
{
|
||||
(this->_p_it) += off;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PointKernel::const_point_iterator& PointKernel::const_point_iterator::operator-=(difference_type off)
|
||||
{
|
||||
(this->_p_it) -= off;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PointKernel::difference_type PointKernel::const_point_iterator::operator-(
|
||||
const PointKernel::const_point_iterator& right
|
||||
) const
|
||||
{
|
||||
return this->_p_it - right._p_it;
|
||||
}
|
||||
239
src/Mod/Points/App/Points.h
Normal file
239
src/Mod/Points/App/Points.h
Normal file
@@ -0,0 +1,239 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
|
||||
#include <Mod/Points/PointsGlobal.h>
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
/** Point kernel
|
||||
*/
|
||||
class PointsExport PointKernel: public Data::ComplexGeoData
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
using float_type = float;
|
||||
using value_type = Base::Vector3<float_type>;
|
||||
using difference_type = std::vector<value_type>::difference_type;
|
||||
using size_type = std::vector<value_type>::size_type;
|
||||
|
||||
PointKernel() = default;
|
||||
explicit PointKernel(size_type size)
|
||||
{
|
||||
resize(size);
|
||||
}
|
||||
PointKernel(const PointKernel&);
|
||||
PointKernel(PointKernel&&) noexcept;
|
||||
~PointKernel() override = default;
|
||||
|
||||
PointKernel& operator=(const PointKernel&);
|
||||
PointKernel& operator=(PointKernel&&) noexcept;
|
||||
|
||||
/** @name Subelement management */
|
||||
//@{
|
||||
/** Sub type list
|
||||
* List of different subelement types
|
||||
* its NOT a list of the subelements itself
|
||||
*/
|
||||
std::vector<const char*> getElementTypes() const override;
|
||||
unsigned long countSubElements(const char* Type) const override;
|
||||
/// get the subelement by type and number
|
||||
Data::Segment* getSubElement(const char* Type, unsigned long) const override;
|
||||
//@}
|
||||
|
||||
inline void setTransform(const Base::Matrix4D& rclTrf) override
|
||||
{
|
||||
_Mtrx = rclTrf;
|
||||
}
|
||||
inline Base::Matrix4D getTransform() const override
|
||||
{
|
||||
return _Mtrx;
|
||||
}
|
||||
std::vector<value_type>& getBasicPoints()
|
||||
{
|
||||
return this->_Points;
|
||||
}
|
||||
const std::vector<value_type>& getBasicPoints() const
|
||||
{
|
||||
return this->_Points;
|
||||
}
|
||||
void setBasicPoints(const std::vector<value_type>& pts)
|
||||
{
|
||||
this->_Points = pts;
|
||||
}
|
||||
void swap(std::vector<value_type>& pts)
|
||||
{
|
||||
this->_Points.swap(pts);
|
||||
}
|
||||
|
||||
void getPoints(
|
||||
std::vector<Base::Vector3d>& Points,
|
||||
std::vector<Base::Vector3d>& Normals,
|
||||
double Accuracy,
|
||||
uint16_t flags = 0
|
||||
) const override;
|
||||
void transformGeometry(const Base::Matrix4D& rclMat) override;
|
||||
void moveGeometry(const Base::Vector3d& vec);
|
||||
Base::BoundBox3d getBoundBox() const override;
|
||||
|
||||
/** @name I/O */
|
||||
//@{
|
||||
// Implemented from Persistence
|
||||
unsigned int getMemSize() const override;
|
||||
void Save(Base::Writer& writer) const override;
|
||||
void SaveDocFile(Base::Writer& writer) const override;
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
void save(const char* file) const;
|
||||
void save(std::ostream&) const;
|
||||
void load(const char* file);
|
||||
void load(std::istream&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
Base::Matrix4D _Mtrx;
|
||||
std::vector<value_type> _Points;
|
||||
|
||||
public:
|
||||
/// number of points stored
|
||||
size_type size() const
|
||||
{
|
||||
return this->_Points.size();
|
||||
}
|
||||
size_type countValid() const;
|
||||
std::vector<value_type> getValidPoints() const;
|
||||
void resize(size_type n)
|
||||
{
|
||||
_Points.resize(n);
|
||||
}
|
||||
void reserve(size_type n)
|
||||
{
|
||||
_Points.reserve(n);
|
||||
}
|
||||
inline void erase(size_type first, size_type last)
|
||||
{
|
||||
_Points.erase(_Points.begin() + first, _Points.begin() + last);
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
_Points.clear();
|
||||
}
|
||||
|
||||
|
||||
/// get the points
|
||||
inline const Base::Vector3d getPoint(const int idx) const
|
||||
{
|
||||
return transformPointToOutside(_Points[idx]);
|
||||
}
|
||||
/// set the points
|
||||
inline void setPoint(const int idx, const Base::Vector3d& point)
|
||||
{
|
||||
_Points[idx] = transformPointToInside(point);
|
||||
}
|
||||
/// insert the points
|
||||
inline void push_back(const Base::Vector3d& point)
|
||||
{
|
||||
_Points.push_back(transformPointToInside(point));
|
||||
}
|
||||
|
||||
class PointsExport const_point_iterator
|
||||
{
|
||||
public:
|
||||
using kernel_type = PointKernel::value_type;
|
||||
using value_type = Base::Vector3d;
|
||||
using iter_type = std::vector<kernel_type>::const_iterator;
|
||||
using difference_type = iter_type::difference_type;
|
||||
using iterator_category = iter_type::iterator_category;
|
||||
using pointer = const value_type*;
|
||||
using reference = const value_type&;
|
||||
|
||||
const_point_iterator(const PointKernel*, std::vector<kernel_type>::const_iterator index);
|
||||
const_point_iterator(const const_point_iterator& pi);
|
||||
const_point_iterator(const_point_iterator&& pi);
|
||||
~const_point_iterator();
|
||||
|
||||
const_point_iterator& operator=(const const_point_iterator& pi);
|
||||
const_point_iterator& operator=(const_point_iterator&& pi);
|
||||
const value_type& operator*();
|
||||
const value_type* operator->();
|
||||
bool operator==(const const_point_iterator& pi) const;
|
||||
bool operator!=(const const_point_iterator& pi) const;
|
||||
const_point_iterator& operator++();
|
||||
const_point_iterator operator++(int);
|
||||
const_point_iterator& operator--();
|
||||
const_point_iterator operator--(int);
|
||||
const_point_iterator operator+(difference_type off) const;
|
||||
const_point_iterator operator-(difference_type off) const;
|
||||
const_point_iterator& operator+=(difference_type off);
|
||||
const_point_iterator& operator-=(difference_type off);
|
||||
difference_type operator-(const const_point_iterator& right) const;
|
||||
|
||||
private:
|
||||
void dereference();
|
||||
const PointKernel* _kernel;
|
||||
value_type _point;
|
||||
std::vector<kernel_type>::const_iterator _p_it;
|
||||
};
|
||||
|
||||
using const_iterator = const_point_iterator;
|
||||
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
|
||||
|
||||
/** @name Iterator */
|
||||
//@{
|
||||
const_point_iterator begin() const
|
||||
{
|
||||
return {this, _Points.begin()};
|
||||
}
|
||||
const_point_iterator end() const
|
||||
{
|
||||
return {this, _Points.end()};
|
||||
}
|
||||
const_reverse_iterator rbegin() const
|
||||
{
|
||||
return const_reverse_iterator(end());
|
||||
}
|
||||
const_reverse_iterator rend() const
|
||||
{
|
||||
return const_reverse_iterator(begin());
|
||||
}
|
||||
//@}
|
||||
};
|
||||
|
||||
} // namespace Points
|
||||
71
src/Mod/Points/App/Points.pyi
Normal file
71
src/Mod/Points/App/Points.pyi
Normal file
@@ -0,0 +1,71 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Final
|
||||
|
||||
from Base.Metadata import constmethod, export
|
||||
from Data import object
|
||||
|
||||
@export(
|
||||
Father="ComplexGeoDataPy",
|
||||
Twin="PointKernel",
|
||||
TwinPointer="PointKernel",
|
||||
Include="Mod/Points/App/Points.h",
|
||||
Namespace="Points",
|
||||
FatherInclude="App/ComplexGeoDataPy.h",
|
||||
FatherNamespace="Data",
|
||||
Constructor=True,
|
||||
)
|
||||
class Points(object):
|
||||
"""
|
||||
Points() -- Create an empty points object.
|
||||
|
||||
This class allows one to manipulate the Points object by adding new points, deleting facets, importing from an STL file,
|
||||
transforming and much more.
|
||||
|
||||
Author: Juergen Riegel (Juergen.Riegel@web.de)
|
||||
License: LGPL-2.1-or-later
|
||||
"""
|
||||
|
||||
@constmethod
|
||||
def copy(self) -> Any:
|
||||
"""Create a copy of this points object"""
|
||||
...
|
||||
|
||||
def read(self) -> Any:
|
||||
"""Read in a points object from file."""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def write(self) -> Any:
|
||||
"""Write the points object into file."""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def writeInventor(self) -> Any:
|
||||
"""Write the points in OpenInventor format to a string."""
|
||||
...
|
||||
|
||||
def addPoints(self) -> Any:
|
||||
"""add one or more (list of) points to the object"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def fromSegment(self) -> Any:
|
||||
"""Get a new point object from a given segment"""
|
||||
...
|
||||
|
||||
@constmethod
|
||||
def fromValid(self) -> Any:
|
||||
"""Get a new point object from points with valid coordinates (i.e. that are not NaN)"""
|
||||
...
|
||||
CountPoints: Final[int]
|
||||
"""Return the number of vertices of the points object."""
|
||||
|
||||
Points: Final[list]
|
||||
"""A collection of points
|
||||
With this attribute it is possible to get access to the points of the object
|
||||
|
||||
for p in pnt.Points:
|
||||
print p"""
|
||||
2295
src/Mod/Points/App/PointsAlgos.cpp
Normal file
2295
src/Mod/Points/App/PointsAlgos.cpp
Normal file
File diff suppressed because it is too large
Load Diff
204
src/Mod/Points/App/PointsAlgos.h
Normal file
204
src/Mod/Points/App/PointsAlgos.h
Normal file
@@ -0,0 +1,204 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Eigen/Core>
|
||||
|
||||
#include "Points.h"
|
||||
#include "Properties.h"
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
/** The Points algorithms container class
|
||||
*/
|
||||
class PointsExport PointsAlgos
|
||||
{
|
||||
public:
|
||||
/** Load a point cloud
|
||||
*/
|
||||
static void Load(PointKernel&, const char* FileName);
|
||||
/** Load a point cloud
|
||||
*/
|
||||
static void LoadAscii(PointKernel&, const char* FileName);
|
||||
};
|
||||
|
||||
class PointsExport Reader
|
||||
{
|
||||
public:
|
||||
Reader();
|
||||
virtual ~Reader();
|
||||
virtual void read(const std::string& filename) = 0;
|
||||
|
||||
void clear();
|
||||
const PointKernel& getPoints() const;
|
||||
bool hasProperties() const;
|
||||
const std::vector<float>& getIntensities() const;
|
||||
bool hasIntensities() const;
|
||||
const std::vector<Base::Color>& getColors() const;
|
||||
bool hasColors() const;
|
||||
const std::vector<Base::Vector3f>& getNormals() const;
|
||||
bool hasNormals() const;
|
||||
bool isStructured() const;
|
||||
int getWidth() const;
|
||||
int getHeight() const;
|
||||
|
||||
Reader(const Reader&) = delete;
|
||||
Reader(Reader&&) = delete;
|
||||
Reader& operator=(const Reader&) = delete;
|
||||
Reader& operator=(Reader&&) = delete;
|
||||
|
||||
protected:
|
||||
// NOLINTBEGIN
|
||||
PointKernel points;
|
||||
std::vector<float> intensity;
|
||||
std::vector<Base::Color> colors;
|
||||
std::vector<Base::Vector3f> normals;
|
||||
int width {0};
|
||||
int height {1};
|
||||
// NOLINTEND
|
||||
};
|
||||
|
||||
class PointsExport AscReader: public Reader
|
||||
{
|
||||
public:
|
||||
AscReader();
|
||||
void read(const std::string& filename) override;
|
||||
};
|
||||
|
||||
class PointsExport PlyReader: public Reader
|
||||
{
|
||||
public:
|
||||
PlyReader();
|
||||
void read(const std::string& filename) override;
|
||||
|
||||
private:
|
||||
std::size_t readHeader(
|
||||
std::istream&,
|
||||
std::string& format,
|
||||
std::size_t& offset,
|
||||
std::vector<std::string>& fields,
|
||||
std::vector<std::string>& types,
|
||||
std::vector<int>& sizes
|
||||
);
|
||||
void readAscii(std::istream&, std::size_t offset, Eigen::MatrixXd& data);
|
||||
void readBinary(
|
||||
bool swapByteOrder,
|
||||
std::istream&,
|
||||
std::size_t offset,
|
||||
const std::vector<std::string>& types,
|
||||
const std::vector<int>& sizes,
|
||||
Eigen::MatrixXd& data
|
||||
);
|
||||
};
|
||||
|
||||
class PointsExport PcdReader: public Reader
|
||||
{
|
||||
public:
|
||||
PcdReader();
|
||||
void read(const std::string& filename) override;
|
||||
|
||||
private:
|
||||
std::size_t readHeader(
|
||||
std::istream&,
|
||||
std::string& format,
|
||||
std::vector<std::string>& fields,
|
||||
std::vector<std::string>& types,
|
||||
std::vector<int>& sizes
|
||||
);
|
||||
void readAscii(std::istream&, Eigen::MatrixXd& data);
|
||||
void readBinary(
|
||||
bool transpose,
|
||||
std::istream&,
|
||||
const std::vector<std::string>& types,
|
||||
const std::vector<int>& sizes,
|
||||
Eigen::MatrixXd& data
|
||||
);
|
||||
};
|
||||
|
||||
class PointsExport E57Reader: public Reader
|
||||
{
|
||||
public:
|
||||
E57Reader(bool Color, bool State, double Distance);
|
||||
void read(const std::string& filename) override;
|
||||
|
||||
protected:
|
||||
bool useColor, checkState;
|
||||
double minDistance;
|
||||
};
|
||||
|
||||
class PointsExport Writer
|
||||
{
|
||||
public:
|
||||
explicit Writer(const PointKernel&);
|
||||
virtual ~Writer();
|
||||
virtual void write(const std::string& filename) = 0;
|
||||
|
||||
void setIntensities(const std::vector<float>&);
|
||||
void setColors(const std::vector<Base::Color>&);
|
||||
void setNormals(const std::vector<Base::Vector3f>&);
|
||||
void setWidth(int);
|
||||
void setHeight(int);
|
||||
void setPlacement(const Base::Placement&);
|
||||
|
||||
Writer(const Writer&) = delete;
|
||||
Writer(Writer&&) = delete;
|
||||
Writer& operator=(const Writer&) = delete;
|
||||
Writer& operator=(Writer&&) = delete;
|
||||
|
||||
protected:
|
||||
// NOLINTBEGIN
|
||||
const PointKernel& points;
|
||||
std::vector<float> intensity;
|
||||
std::vector<Base::Color> colors;
|
||||
std::vector<Base::Vector3f> normals;
|
||||
int width, height;
|
||||
Base::Placement placement;
|
||||
// NOLINTEND
|
||||
};
|
||||
|
||||
class PointsExport AscWriter: public Writer
|
||||
{
|
||||
public:
|
||||
explicit AscWriter(const PointKernel&);
|
||||
void write(const std::string& filename) override;
|
||||
};
|
||||
|
||||
class PointsExport PlyWriter: public Writer
|
||||
{
|
||||
public:
|
||||
explicit PlyWriter(const PointKernel&);
|
||||
void write(const std::string& filename) override;
|
||||
};
|
||||
|
||||
class PointsExport PcdWriter: public Writer
|
||||
{
|
||||
public:
|
||||
explicit PcdWriter(const PointKernel&);
|
||||
void write(const std::string& filename) override;
|
||||
};
|
||||
|
||||
} // namespace Points
|
||||
116
src/Mod/Points/App/PointsFeature.cpp
Normal file
116
src/Mod/Points/App/PointsFeature.cpp
Normal file
@@ -0,0 +1,116 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
#include "PointsFeature.h"
|
||||
|
||||
|
||||
using namespace Points;
|
||||
|
||||
//===========================================================================
|
||||
// Feature
|
||||
//===========================================================================
|
||||
|
||||
PROPERTY_SOURCE(Points::Feature, App::GeoFeature)
|
||||
|
||||
Feature::Feature()
|
||||
{
|
||||
ADD_PROPERTY(Points, (PointKernel()));
|
||||
}
|
||||
|
||||
short Feature::mustExecute() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* Feature::execute()
|
||||
{
|
||||
this->Points.touch();
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
void Feature::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
GeoFeature::Restore(reader);
|
||||
}
|
||||
|
||||
void Feature::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
// This gets only invoked if a points file has been added from Restore()
|
||||
Points.RestoreDocFile(reader);
|
||||
}
|
||||
|
||||
void Feature::onChanged(const App::Property* prop)
|
||||
{
|
||||
// if the placement has changed apply the change to the point data as well
|
||||
if (prop == &this->Placement) {
|
||||
this->Points.setTransform(this->Placement.getValue().toMatrix());
|
||||
}
|
||||
// if the point data has changed check and adjust the transformation as well
|
||||
else if (prop == &this->Points) {
|
||||
try {
|
||||
Base::Placement p;
|
||||
p.fromMatrix(this->Points.getTransform());
|
||||
if (p != this->Placement.getValue()) {
|
||||
this->Placement.setValue(p);
|
||||
}
|
||||
}
|
||||
catch (const Base::ValueError&) {
|
||||
}
|
||||
}
|
||||
|
||||
GeoFeature::onChanged(prop);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
namespace App
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Points::FeatureCustom, Points::Feature)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PointsExport FeatureCustomT<Points::Feature>;
|
||||
} // namespace App
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
namespace App
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Points::FeaturePython, Points::Feature)
|
||||
template<>
|
||||
const char* Points::FeaturePython::getViewProviderName() const
|
||||
{
|
||||
return "PointsGui::ViewProviderPython";
|
||||
}
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PointsExport FeaturePythonT<Points::Feature>;
|
||||
} // namespace App
|
||||
91
src/Mod/Points/App/PointsFeature.h
Normal file
91
src/Mod/Points/App/PointsFeature.h
Normal file
@@ -0,0 +1,91 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <App/FeatureCustom.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/GeoFeature.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
|
||||
#include "Points.h"
|
||||
#include "PropertyPointKernel.h"
|
||||
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class Writer;
|
||||
}
|
||||
|
||||
namespace App
|
||||
{
|
||||
class Color;
|
||||
}
|
||||
|
||||
namespace Points
|
||||
{
|
||||
class Property;
|
||||
class PointsFeaturePy;
|
||||
|
||||
/** Base class of all Points feature classes in FreeCAD.
|
||||
* This class holds an PointsKernel object.
|
||||
*/
|
||||
class PointsExport Feature: public App::GeoFeature
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Points::Feature);
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
Feature();
|
||||
|
||||
/** @name methods override Feature */
|
||||
//@{
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
short mustExecute() const override;
|
||||
/// recalculate the Feature
|
||||
App::DocumentObjectExecReturn* execute() override;
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "PointsGui::ViewProviderScattered";
|
||||
}
|
||||
|
||||
const App::PropertyComplexGeoData* getPropertyOfGeometry() const override
|
||||
{
|
||||
return &Points;
|
||||
}
|
||||
|
||||
protected:
|
||||
void onChanged(const App::Property* prop) override;
|
||||
//@}
|
||||
|
||||
public:
|
||||
PropertyPointKernel Points; /**< The point kernel property. */
|
||||
};
|
||||
|
||||
using FeatureCustom = App::FeatureCustomT<Feature>;
|
||||
using FeaturePython = App::FeaturePythonT<Feature>;
|
||||
|
||||
} // namespace Points
|
||||
938
src/Mod/Points/App/PointsGrid.cpp
Normal file
938
src/Mod/Points/App/PointsGrid.cpp
Normal file
@@ -0,0 +1,938 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PointsGrid.h"
|
||||
|
||||
|
||||
using namespace Points;
|
||||
|
||||
PointsGrid::PointsGrid(const PointKernel& rclM)
|
||||
: _pclPoints(&rclM)
|
||||
, _ulCtElements(0)
|
||||
, _ulCtGridsX(0)
|
||||
, _ulCtGridsY(0)
|
||||
, _ulCtGridsZ(0)
|
||||
, _fGridLenX(0.0F)
|
||||
, _fGridLenY(0.0F)
|
||||
, _fGridLenZ(0.0F)
|
||||
, _fMinX(0.0F)
|
||||
, _fMinY(0.0F)
|
||||
, _fMinZ(0.0F)
|
||||
{
|
||||
PointsGrid::RebuildGrid();
|
||||
}
|
||||
|
||||
PointsGrid::PointsGrid()
|
||||
: _pclPoints(nullptr)
|
||||
, _ulCtElements(0)
|
||||
, _ulCtGridsX(POINTS_CT_GRID)
|
||||
, _ulCtGridsY(POINTS_CT_GRID)
|
||||
, _ulCtGridsZ(POINTS_CT_GRID)
|
||||
, _fGridLenX(0.0F)
|
||||
, _fGridLenY(0.0F)
|
||||
, _fGridLenZ(0.0F)
|
||||
, _fMinX(0.0F)
|
||||
, _fMinY(0.0F)
|
||||
, _fMinZ(0.0F)
|
||||
{}
|
||||
|
||||
PointsGrid::PointsGrid(const PointKernel& rclM, unsigned long ulX, unsigned long ulY, unsigned long ulZ)
|
||||
: _pclPoints(&rclM)
|
||||
, _ulCtElements(0)
|
||||
, _ulCtGridsX(0)
|
||||
, _ulCtGridsY(0)
|
||||
, _ulCtGridsZ(0)
|
||||
, _fGridLenX(0.0F)
|
||||
, _fGridLenY(0.0F)
|
||||
, _fGridLenZ(0.0F)
|
||||
, _fMinX(0.0F)
|
||||
, _fMinY(0.0F)
|
||||
, _fMinZ(0.0F)
|
||||
{
|
||||
PointsGrid::Rebuild(ulX, ulY, ulZ);
|
||||
}
|
||||
|
||||
PointsGrid::PointsGrid(const PointKernel& rclM, int iCtGridPerAxis)
|
||||
: _pclPoints(&rclM)
|
||||
, _ulCtElements(0)
|
||||
, _ulCtGridsX(0)
|
||||
, _ulCtGridsY(0)
|
||||
, _ulCtGridsZ(0)
|
||||
, _fGridLenX(0.0F)
|
||||
, _fGridLenY(0.0F)
|
||||
, _fGridLenZ(0.0F)
|
||||
, _fMinX(0.0F)
|
||||
, _fMinY(0.0F)
|
||||
, _fMinZ(0.0F)
|
||||
{
|
||||
PointsGrid::Rebuild(iCtGridPerAxis);
|
||||
}
|
||||
|
||||
PointsGrid::PointsGrid(const PointKernel& rclM, double fGridLen)
|
||||
: _pclPoints(&rclM)
|
||||
, _ulCtElements(0)
|
||||
, _ulCtGridsX(0)
|
||||
, _ulCtGridsY(0)
|
||||
, _ulCtGridsZ(0)
|
||||
, _fGridLenX(0.0F)
|
||||
, _fGridLenY(0.0F)
|
||||
, _fGridLenZ(0.0F)
|
||||
, _fMinX(0.0F)
|
||||
, _fMinY(0.0F)
|
||||
, _fMinZ(0.0F)
|
||||
{
|
||||
Base::BoundBox3d clBBPts; // = _pclPoints->GetBoundBox();
|
||||
for (const auto& pnt : *_pclPoints) {
|
||||
clBBPts.Add(pnt);
|
||||
}
|
||||
PointsGrid::Rebuild(
|
||||
std::max<unsigned long>((unsigned long)(clBBPts.LengthX() / fGridLen), 1),
|
||||
std::max<unsigned long>((unsigned long)(clBBPts.LengthY() / fGridLen), 1),
|
||||
std::max<unsigned long>((unsigned long)(clBBPts.LengthZ() / fGridLen), 1)
|
||||
);
|
||||
}
|
||||
|
||||
void PointsGrid::Attach(const PointKernel& rclM)
|
||||
{
|
||||
_pclPoints = &rclM;
|
||||
RebuildGrid();
|
||||
}
|
||||
|
||||
void PointsGrid::Clear()
|
||||
{
|
||||
_aulGrid.clear();
|
||||
_pclPoints = nullptr;
|
||||
}
|
||||
|
||||
void PointsGrid::Rebuild(unsigned long ulX, unsigned long ulY, unsigned long ulZ)
|
||||
{
|
||||
_ulCtGridsX = ulX;
|
||||
_ulCtGridsY = ulY;
|
||||
_ulCtGridsZ = ulZ;
|
||||
_ulCtElements = HasElements();
|
||||
RebuildGrid();
|
||||
}
|
||||
|
||||
void PointsGrid::Rebuild(unsigned long ulPerGrid, unsigned long ulMaxGrid)
|
||||
{
|
||||
_ulCtElements = HasElements();
|
||||
CalculateGridLength(ulPerGrid, ulMaxGrid);
|
||||
RebuildGrid();
|
||||
}
|
||||
|
||||
void PointsGrid::Rebuild(int iCtGridPerAxis)
|
||||
{
|
||||
_ulCtElements = HasElements();
|
||||
CalculateGridLength(iCtGridPerAxis);
|
||||
RebuildGrid();
|
||||
}
|
||||
|
||||
void PointsGrid::InitGrid()
|
||||
{
|
||||
assert(_pclPoints);
|
||||
|
||||
// Calculate grid lengths if not initialized
|
||||
//
|
||||
if ((_ulCtGridsX == 0) || (_ulCtGridsY == 0) || (_ulCtGridsZ == 0)) {
|
||||
CalculateGridLength(POINTS_CT_GRID, POINTS_MAX_GRIDS);
|
||||
}
|
||||
|
||||
// Determine the grid length and offset
|
||||
//
|
||||
{
|
||||
Base::BoundBox3d clBBPts; // = _pclPoints->GetBoundBox();
|
||||
for (const auto& pnt : *_pclPoints) {
|
||||
clBBPts.Add(pnt);
|
||||
}
|
||||
|
||||
double fLengthX = clBBPts.LengthX();
|
||||
double fLengthY = clBBPts.LengthY();
|
||||
double fLengthZ = clBBPts.LengthZ();
|
||||
|
||||
{
|
||||
// Offset fGridLen/2
|
||||
//
|
||||
unsigned long num = _ulCtGridsX;
|
||||
if (num == 0) {
|
||||
num = 1;
|
||||
}
|
||||
_fGridLenX = (1.0F + fLengthX) / double(num);
|
||||
_fMinX = clBBPts.MinX - 0.5F;
|
||||
}
|
||||
|
||||
{
|
||||
unsigned long num = _ulCtGridsY;
|
||||
if (num == 0) {
|
||||
num = 1;
|
||||
}
|
||||
_fGridLenY = (1.0F + fLengthY) / double(num);
|
||||
_fMinY = clBBPts.MinY - 0.5F;
|
||||
}
|
||||
|
||||
{
|
||||
unsigned long num = _ulCtGridsZ;
|
||||
if (num == 0) {
|
||||
num = 1;
|
||||
}
|
||||
_fGridLenZ = (1.0F + fLengthZ) / double(num);
|
||||
_fMinZ = clBBPts.MinZ - 0.5F;
|
||||
}
|
||||
}
|
||||
|
||||
// Create data structure
|
||||
_aulGrid.clear();
|
||||
_aulGrid.resize(_ulCtGridsX);
|
||||
for (unsigned long i = 0; i < _ulCtGridsX; i++) {
|
||||
_aulGrid[i].resize(_ulCtGridsY);
|
||||
for (unsigned long j = 0; j < _ulCtGridsY; j++) {
|
||||
_aulGrid[i][j].resize(_ulCtGridsZ);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsigned long PointsGrid::InSide(
|
||||
const Base::BoundBox3d& rclBB,
|
||||
std::vector<unsigned long>& raulElements,
|
||||
bool bDelDoubles
|
||||
) const
|
||||
{
|
||||
unsigned long ulMinX {};
|
||||
unsigned long ulMinY {};
|
||||
unsigned long ulMinZ {};
|
||||
unsigned long ulMaxX {};
|
||||
unsigned long ulMaxY {};
|
||||
unsigned long ulMaxZ {};
|
||||
|
||||
raulElements.clear();
|
||||
|
||||
// Grid boxes for a more detailed selection
|
||||
Position(Base::Vector3d(rclBB.MinX, rclBB.MinY, rclBB.MinZ), ulMinX, ulMinY, ulMinZ);
|
||||
Position(Base::Vector3d(rclBB.MaxX, rclBB.MaxY, rclBB.MaxZ), ulMaxX, ulMaxY, ulMaxZ);
|
||||
|
||||
for (auto i = ulMinX; i <= ulMaxX; i++) {
|
||||
for (auto j = ulMinY; j <= ulMaxY; j++) {
|
||||
for (auto k = ulMinZ; k <= ulMaxZ; k++) {
|
||||
raulElements
|
||||
.insert(raulElements.end(), _aulGrid[i][j][k].begin(), _aulGrid[i][j][k].end());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (bDelDoubles) {
|
||||
// remove duplicate mentions
|
||||
std::sort(raulElements.begin(), raulElements.end());
|
||||
raulElements.erase(std::unique(raulElements.begin(), raulElements.end()), raulElements.end());
|
||||
}
|
||||
|
||||
return raulElements.size();
|
||||
}
|
||||
|
||||
unsigned long PointsGrid::InSide(
|
||||
const Base::BoundBox3d& rclBB,
|
||||
std::vector<unsigned long>& raulElements,
|
||||
const Base::Vector3d& rclOrg,
|
||||
double fMaxDist,
|
||||
bool bDelDoubles
|
||||
) const
|
||||
{
|
||||
unsigned long ulMinX {}, ulMinY {}, ulMinZ {};
|
||||
unsigned long ulMaxX {}, ulMaxY {}, ulMaxZ {};
|
||||
double fGridDiag = GetBoundBox(0, 0, 0).CalcDiagonalLength();
|
||||
double fMinDistP2 = (fGridDiag * fGridDiag) + (fMaxDist * fMaxDist);
|
||||
|
||||
raulElements.clear();
|
||||
|
||||
// Grid boxes for a more detailed selection
|
||||
Position(Base::Vector3d(rclBB.MinX, rclBB.MinY, rclBB.MinZ), ulMinX, ulMinY, ulMinZ);
|
||||
Position(Base::Vector3d(rclBB.MaxX, rclBB.MaxY, rclBB.MaxZ), ulMaxX, ulMaxY, ulMaxZ);
|
||||
|
||||
for (auto i = ulMinX; i <= ulMaxX; i++) {
|
||||
for (auto j = ulMinY; j <= ulMaxY; j++) {
|
||||
for (auto k = ulMinZ; k <= ulMaxZ; k++) {
|
||||
if (Base::DistanceP2(GetBoundBox(i, j, k).GetCenter(), rclOrg) < fMinDistP2) {
|
||||
raulElements.insert(
|
||||
raulElements.end(),
|
||||
_aulGrid[i][j][k].begin(),
|
||||
_aulGrid[i][j][k].end()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (bDelDoubles) {
|
||||
// remove duplicate mentions
|
||||
std::sort(raulElements.begin(), raulElements.end());
|
||||
raulElements.erase(std::unique(raulElements.begin(), raulElements.end()), raulElements.end());
|
||||
}
|
||||
|
||||
return raulElements.size();
|
||||
}
|
||||
|
||||
unsigned long PointsGrid::InSide(const Base::BoundBox3d& rclBB, std::set<unsigned long>& raulElements) const
|
||||
{
|
||||
unsigned long ulMinX {}, ulMinY {}, ulMinZ {};
|
||||
unsigned long ulMaxX {}, ulMaxY {}, ulMaxZ {};
|
||||
|
||||
raulElements.clear();
|
||||
|
||||
// Grid boxes for a more detailed selection
|
||||
Position(Base::Vector3d(rclBB.MinX, rclBB.MinY, rclBB.MinZ), ulMinX, ulMinY, ulMinZ);
|
||||
Position(Base::Vector3d(rclBB.MaxX, rclBB.MaxY, rclBB.MaxZ), ulMaxX, ulMaxY, ulMaxZ);
|
||||
|
||||
for (auto i = ulMinX; i <= ulMaxX; i++) {
|
||||
for (auto j = ulMinY; j <= ulMaxY; j++) {
|
||||
for (auto k = ulMinZ; k <= ulMaxZ; k++) {
|
||||
raulElements.insert(_aulGrid[i][j][k].begin(), _aulGrid[i][j][k].end());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return raulElements.size();
|
||||
}
|
||||
|
||||
void PointsGrid::Position(
|
||||
const Base::Vector3d& rclPoint,
|
||||
unsigned long& rulX,
|
||||
unsigned long& rulY,
|
||||
unsigned long& rulZ
|
||||
) const
|
||||
{
|
||||
if (rclPoint.x <= _fMinX) {
|
||||
rulX = 0;
|
||||
}
|
||||
else {
|
||||
rulX = std::min<unsigned long>(
|
||||
(unsigned long)((rclPoint.x - _fMinX) / _fGridLenX),
|
||||
_ulCtGridsX - 1
|
||||
);
|
||||
}
|
||||
|
||||
if (rclPoint.y <= _fMinY) {
|
||||
rulY = 0;
|
||||
}
|
||||
else {
|
||||
rulY = std::min<unsigned long>(
|
||||
(unsigned long)((rclPoint.y - _fMinY) / _fGridLenY),
|
||||
_ulCtGridsY - 1
|
||||
);
|
||||
}
|
||||
|
||||
if (rclPoint.z <= _fMinZ) {
|
||||
rulZ = 0;
|
||||
}
|
||||
else {
|
||||
rulZ = std::min<unsigned long>(
|
||||
(unsigned long)((rclPoint.z - _fMinZ) / _fGridLenZ),
|
||||
_ulCtGridsZ - 1
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::CalculateGridLength(unsigned long ulCtGrid, unsigned long ulMaxGrids)
|
||||
{
|
||||
// Calculate grid lengths or number of grids per dimension
|
||||
// There should be about 10 (?!?!) facets per grid
|
||||
// or max grids should not exceed 10000
|
||||
Base::BoundBox3d clBBPtsEnlarged; // = _pclPoints->GetBoundBox();
|
||||
for (const auto& pnt : *_pclPoints) {
|
||||
clBBPtsEnlarged.Add(pnt);
|
||||
}
|
||||
double fVolElem {};
|
||||
|
||||
if (_ulCtElements > (ulMaxGrids * ulCtGrid)) {
|
||||
fVolElem = (clBBPtsEnlarged.LengthX() * clBBPtsEnlarged.LengthY() * clBBPtsEnlarged.LengthZ())
|
||||
/ float(ulMaxGrids * ulCtGrid);
|
||||
}
|
||||
else {
|
||||
fVolElem = (clBBPtsEnlarged.LengthX() * clBBPtsEnlarged.LengthY() * clBBPtsEnlarged.LengthZ())
|
||||
/ float(_ulCtElements);
|
||||
}
|
||||
|
||||
double fVol = fVolElem * float(ulCtGrid);
|
||||
double fGridLen = float(pow((float)fVol, 1.0F / 3.0F));
|
||||
|
||||
if (fGridLen > 0) {
|
||||
_ulCtGridsX = std::max<unsigned long>((unsigned long)(clBBPtsEnlarged.LengthX() / fGridLen), 1);
|
||||
_ulCtGridsY = std::max<unsigned long>((unsigned long)(clBBPtsEnlarged.LengthY() / fGridLen), 1);
|
||||
_ulCtGridsZ = std::max<unsigned long>((unsigned long)(clBBPtsEnlarged.LengthZ() / fGridLen), 1);
|
||||
}
|
||||
else {
|
||||
// Degenerated grid
|
||||
_ulCtGridsX = 1;
|
||||
_ulCtGridsY = 1;
|
||||
_ulCtGridsZ = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::CalculateGridLength(int iCtGridPerAxis)
|
||||
{
|
||||
if (iCtGridPerAxis <= 0) {
|
||||
CalculateGridLength(POINTS_CT_GRID, POINTS_MAX_GRIDS);
|
||||
return;
|
||||
}
|
||||
|
||||
// Calculate grid lengths or number of grids per dimension
|
||||
// There should be about 10 (?!?!) facets per grid
|
||||
// or max grids should not exceed 10000
|
||||
Base::BoundBox3d clBBPts; // = _pclPoints->GetBoundBox();
|
||||
for (const auto& pnt : *_pclPoints) {
|
||||
clBBPts.Add(pnt);
|
||||
}
|
||||
|
||||
double fLenghtX = clBBPts.LengthX();
|
||||
double fLenghtY = clBBPts.LengthY();
|
||||
double fLenghtZ = clBBPts.LengthZ();
|
||||
|
||||
double fLenghtD = clBBPts.CalcDiagonalLength();
|
||||
|
||||
double fLengthTol = 0.05F * fLenghtD;
|
||||
|
||||
bool bLenghtXisZero = (fLenghtX <= fLengthTol);
|
||||
bool bLenghtYisZero = (fLenghtY <= fLengthTol);
|
||||
bool bLenghtZisZero = (fLenghtZ <= fLengthTol);
|
||||
|
||||
int iFlag = 0;
|
||||
|
||||
int iMaxGrids = 1;
|
||||
|
||||
if (bLenghtXisZero) {
|
||||
iFlag += 1;
|
||||
}
|
||||
else {
|
||||
iMaxGrids *= iCtGridPerAxis;
|
||||
}
|
||||
|
||||
if (bLenghtYisZero) {
|
||||
iFlag += 2;
|
||||
}
|
||||
else {
|
||||
iMaxGrids *= iCtGridPerAxis;
|
||||
}
|
||||
|
||||
if (bLenghtZisZero) {
|
||||
iFlag += 4;
|
||||
}
|
||||
else {
|
||||
iMaxGrids *= iCtGridPerAxis;
|
||||
}
|
||||
|
||||
unsigned long ulGridsFacets = 10;
|
||||
|
||||
double fFactorVolumen = 40.0;
|
||||
double fFactorArea = 10.0;
|
||||
|
||||
switch (iFlag) {
|
||||
case 0: {
|
||||
double fVolumen = fLenghtX * fLenghtY * fLenghtZ;
|
||||
|
||||
double fVolumenGrid = (fVolumen * ulGridsFacets) / (fFactorVolumen * _ulCtElements);
|
||||
|
||||
if ((fVolumenGrid * iMaxGrids) < fVolumen) {
|
||||
fVolumenGrid = fVolumen / (float)iMaxGrids;
|
||||
}
|
||||
|
||||
double fLengthGrid = float(pow((float)fVolumenGrid, 1.0F / 3.0F));
|
||||
|
||||
_ulCtGridsX = std::max<unsigned long>((unsigned long)(fLenghtX / fLengthGrid), 1);
|
||||
_ulCtGridsY = std::max<unsigned long>((unsigned long)(fLenghtY / fLengthGrid), 1);
|
||||
_ulCtGridsZ = std::max<unsigned long>((unsigned long)(fLenghtZ / fLengthGrid), 1);
|
||||
|
||||
} break;
|
||||
case 1: {
|
||||
_ulCtGridsX = 1; // bLenghtXisZero
|
||||
|
||||
double fArea = fLenghtY * fLenghtZ;
|
||||
|
||||
double fAreaGrid = (fArea * ulGridsFacets) / (fFactorArea * _ulCtElements);
|
||||
|
||||
if ((fAreaGrid * iMaxGrids) < fArea) {
|
||||
fAreaGrid = fArea / (double)iMaxGrids;
|
||||
}
|
||||
|
||||
double fLengthGrid = double(sqrt(fAreaGrid));
|
||||
|
||||
_ulCtGridsY = std::max<unsigned long>((unsigned long)(fLenghtY / fLengthGrid), 1);
|
||||
_ulCtGridsZ = std::max<unsigned long>((unsigned long)(fLenghtZ / fLengthGrid), 1);
|
||||
} break;
|
||||
case 2: {
|
||||
_ulCtGridsY = 1; // bLenghtYisZero
|
||||
|
||||
double fArea = fLenghtX * fLenghtZ;
|
||||
|
||||
double fAreaGrid = (fArea * ulGridsFacets) / (fFactorArea * _ulCtElements);
|
||||
|
||||
if ((fAreaGrid * iMaxGrids) < fArea) {
|
||||
fAreaGrid = fArea / (double)iMaxGrids;
|
||||
}
|
||||
|
||||
double fLengthGrid = double(sqrt(fAreaGrid));
|
||||
|
||||
_ulCtGridsX = std::max<unsigned long>((unsigned long)(fLenghtX / fLengthGrid), 1);
|
||||
_ulCtGridsZ = std::max<unsigned long>((unsigned long)(fLenghtZ / fLengthGrid), 1);
|
||||
} break;
|
||||
case 3: {
|
||||
_ulCtGridsX = 1; // bLenghtXisZero
|
||||
_ulCtGridsY = 1; // bLenghtYisZero
|
||||
_ulCtGridsZ = iMaxGrids; // bLenghtYisZero
|
||||
} break;
|
||||
case 4: {
|
||||
_ulCtGridsZ = 1; // bLenghtZisZero
|
||||
|
||||
double fArea = fLenghtX * fLenghtY;
|
||||
|
||||
double fAreaGrid = (fArea * ulGridsFacets) / (fFactorArea * _ulCtElements);
|
||||
|
||||
if ((fAreaGrid * iMaxGrids) < fArea) {
|
||||
fAreaGrid = fArea / (float)iMaxGrids;
|
||||
}
|
||||
|
||||
double fLengthGrid = double(sqrt(fAreaGrid));
|
||||
|
||||
_ulCtGridsX = std::max<unsigned long>((unsigned long)(fLenghtX / fLengthGrid), 1);
|
||||
_ulCtGridsY = std::max<unsigned long>((unsigned long)(fLenghtY / fLengthGrid), 1);
|
||||
} break;
|
||||
case 5: {
|
||||
_ulCtGridsX = 1; // bLenghtXisZero
|
||||
_ulCtGridsZ = 1; // bLenghtZisZero
|
||||
_ulCtGridsY = iMaxGrids; // bLenghtYisZero
|
||||
} break;
|
||||
case 6: {
|
||||
_ulCtGridsY = 1; // bLenghtYisZero
|
||||
_ulCtGridsZ = 1; // bLenghtZisZero
|
||||
_ulCtGridsX = iMaxGrids; // bLenghtYisZero
|
||||
} break;
|
||||
case 7: {
|
||||
_ulCtGridsX = iMaxGrids; // bLenghtXisZero
|
||||
_ulCtGridsY = iMaxGrids; // bLenghtYisZero
|
||||
_ulCtGridsZ = iMaxGrids; // bLenghtZisZero
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::SearchNearestFromPoint(const Base::Vector3d& rclPt, std::set<unsigned long>& raclInd) const
|
||||
{
|
||||
raclInd.clear();
|
||||
Base::BoundBox3d clBB = GetBoundBox();
|
||||
|
||||
if (clBB.IsInBox(rclPt)) { // Point lies within
|
||||
unsigned long ulX {};
|
||||
unsigned long ulY {};
|
||||
unsigned long ulZ {};
|
||||
Position(rclPt, ulX, ulY, ulZ);
|
||||
unsigned long ulLevel = 0;
|
||||
while (raclInd.empty()) {
|
||||
GetHull(ulX, ulY, ulZ, ulLevel++, raclInd);
|
||||
}
|
||||
GetHull(ulX, ulY, ulZ, ulLevel, raclInd);
|
||||
}
|
||||
else { // Point outside
|
||||
Base::BoundBox3d::SIDE tSide = clBB.GetSideFromRay(rclPt, clBB.GetCenter() - rclPt);
|
||||
switch (tSide) {
|
||||
case Base::BoundBox3d::RIGHT: {
|
||||
int nX = 0;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsY; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsZ; j++) {
|
||||
raclInd.insert(_aulGrid[nX][i][j].begin(), _aulGrid[nX][i][j].end());
|
||||
}
|
||||
}
|
||||
nX++;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Base::BoundBox3d::LEFT: {
|
||||
int nX = _ulCtGridsX - 1;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsY; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsZ; j++) {
|
||||
raclInd.insert(_aulGrid[nX][i][j].begin(), _aulGrid[nX][i][j].end());
|
||||
}
|
||||
}
|
||||
nX++;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Base::BoundBox3d::TOP: {
|
||||
int nY = 0;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsX; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsZ; j++) {
|
||||
raclInd.insert(_aulGrid[i][nY][j].begin(), _aulGrid[i][nY][j].end());
|
||||
}
|
||||
}
|
||||
nY++;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Base::BoundBox3d::BOTTOM: {
|
||||
int nY = _ulCtGridsY - 1;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsX; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsZ; j++) {
|
||||
raclInd.insert(_aulGrid[i][nY][j].begin(), _aulGrid[i][nY][j].end());
|
||||
}
|
||||
}
|
||||
nY--;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Base::BoundBox3d::BACK: {
|
||||
int nZ = 0;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsX; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsY; j++) {
|
||||
raclInd.insert(_aulGrid[i][j][nZ].begin(), _aulGrid[i][j][nZ].end());
|
||||
}
|
||||
}
|
||||
nZ++;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Base::BoundBox3d::FRONT: {
|
||||
int nZ = _ulCtGridsZ - 1;
|
||||
while (raclInd.empty()) {
|
||||
for (unsigned long i = 0; i < _ulCtGridsX; i++) {
|
||||
for (unsigned long j = 0; j < _ulCtGridsY; j++) {
|
||||
raclInd.insert(_aulGrid[i][j][nZ].begin(), _aulGrid[i][j][nZ].end());
|
||||
}
|
||||
}
|
||||
nZ--;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::GetHull(
|
||||
unsigned long ulX,
|
||||
unsigned long ulY,
|
||||
unsigned long ulZ,
|
||||
unsigned long ulDistance,
|
||||
std::set<unsigned long>& raclInd
|
||||
) const
|
||||
{
|
||||
int nX1 = std::max<int>(0, int(ulX) - int(ulDistance));
|
||||
int nY1 = std::max<int>(0, int(ulY) - int(ulDistance));
|
||||
int nZ1 = std::max<int>(0, int(ulZ) - int(ulDistance));
|
||||
int nX2 = std::min<int>(int(_ulCtGridsX) - 1, int(ulX) + int(ulDistance));
|
||||
int nY2 = std::min<int>(int(_ulCtGridsY) - 1, int(ulY) + int(ulDistance));
|
||||
int nZ2 = std::min<int>(int(_ulCtGridsZ) - 1, int(ulZ) + int(ulDistance));
|
||||
|
||||
// top plane
|
||||
for (int i = nX1; i <= nX2; i++) {
|
||||
for (int j = nY1; j <= nY2; j++) {
|
||||
GetElements(i, j, nZ1, raclInd);
|
||||
}
|
||||
}
|
||||
// bottom plane
|
||||
for (int i = nX1; i <= nX2; i++) {
|
||||
for (int j = nY1; j <= nY2; j++) {
|
||||
GetElements(i, j, nZ2, raclInd);
|
||||
}
|
||||
}
|
||||
// left plane
|
||||
for (int i = nY1; i <= nY2; i++) {
|
||||
for (int j = (nZ1 + 1); j <= (nZ2 - 1); j++) {
|
||||
GetElements(nX1, i, j, raclInd);
|
||||
}
|
||||
}
|
||||
// right plane
|
||||
for (int i = nY1; i <= nY2; i++) {
|
||||
for (int j = (nZ1 + 1); j <= (nZ2 - 1); j++) {
|
||||
GetElements(nX2, i, j, raclInd);
|
||||
}
|
||||
}
|
||||
// front plane
|
||||
for (int i = (nX1 + 1); i <= (nX2 - 1); i++) {
|
||||
for (int j = (nZ1 + 1); j <= (nZ2 - 1); j++) {
|
||||
GetElements(i, nY1, j, raclInd);
|
||||
}
|
||||
}
|
||||
// back plane
|
||||
for (int i = (nX1 + 1); i <= (nX2 - 1); i++) {
|
||||
for (int j = (nZ1 + 1); j <= (nZ2 - 1); j++) {
|
||||
GetElements(i, nY2, j, raclInd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsigned long PointsGrid::GetElements(
|
||||
unsigned long ulX,
|
||||
unsigned long ulY,
|
||||
unsigned long ulZ,
|
||||
std::set<unsigned long>& raclInd
|
||||
) const
|
||||
{
|
||||
const std::set<unsigned long>& rclSet = _aulGrid[ulX][ulY][ulZ];
|
||||
if (!rclSet.empty()) {
|
||||
raclInd.insert(rclSet.begin(), rclSet.end());
|
||||
return rclSet.size();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void PointsGrid::AddPoint(const Base::Vector3d& rclPt, unsigned long ulPtIndex, float /*fEpsilon*/)
|
||||
{
|
||||
unsigned long ulX {}, ulY {}, ulZ {};
|
||||
Pos(Base::Vector3d(rclPt.x, rclPt.y, rclPt.z), ulX, ulY, ulZ);
|
||||
if ((ulX < _ulCtGridsX) && (ulY < _ulCtGridsY) && (ulZ < _ulCtGridsZ)) {
|
||||
_aulGrid[ulX][ulY][ulZ].insert(ulPtIndex);
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::Validate(const PointKernel& rclPoints)
|
||||
{
|
||||
if (_pclPoints != &rclPoints) {
|
||||
Attach(rclPoints);
|
||||
}
|
||||
else if (rclPoints.size() != _ulCtElements) {
|
||||
RebuildGrid();
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::Validate()
|
||||
{
|
||||
if (!_pclPoints) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_pclPoints->size() != _ulCtElements) {
|
||||
RebuildGrid();
|
||||
}
|
||||
}
|
||||
|
||||
bool PointsGrid::Verify() const
|
||||
{
|
||||
if (!_pclPoints) {
|
||||
return false; // no point cloud attached
|
||||
}
|
||||
if (_pclPoints->size() != _ulCtElements) {
|
||||
return false; // not up-to-date
|
||||
}
|
||||
|
||||
PointsGridIterator it(*this);
|
||||
for (it.Init(); it.More(); it.Next()) {
|
||||
std::vector<unsigned long> aulElements;
|
||||
it.GetElements(aulElements);
|
||||
for (unsigned long element : aulElements) {
|
||||
const Base::Vector3d& cP = _pclPoints->getPoint(element);
|
||||
if (!it.GetBoundBox().IsInBox(cP)) {
|
||||
return false; // point doesn't lie inside the grid element
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void PointsGrid::RebuildGrid()
|
||||
{
|
||||
_ulCtElements = _pclPoints->size();
|
||||
|
||||
InitGrid();
|
||||
|
||||
// Fill data structure
|
||||
|
||||
unsigned long i = 0;
|
||||
for (const auto& pnt : *_pclPoints) {
|
||||
AddPoint(pnt, i++);
|
||||
}
|
||||
}
|
||||
|
||||
void PointsGrid::Pos(
|
||||
const Base::Vector3d& rclPoint,
|
||||
unsigned long& rulX,
|
||||
unsigned long& rulY,
|
||||
unsigned long& rulZ
|
||||
) const
|
||||
{
|
||||
rulX = (unsigned long)((rclPoint.x - _fMinX) / _fGridLenX);
|
||||
rulY = (unsigned long)((rclPoint.y - _fMinY) / _fGridLenY);
|
||||
rulZ = (unsigned long)((rclPoint.z - _fMinZ) / _fGridLenZ);
|
||||
}
|
||||
|
||||
unsigned long PointsGrid::FindElements(
|
||||
const Base::Vector3d& rclPoint,
|
||||
std::set<unsigned long>& aulElements
|
||||
) const
|
||||
{
|
||||
unsigned long ulX {}, ulY {}, ulZ {};
|
||||
Pos(rclPoint, ulX, ulY, ulZ);
|
||||
|
||||
// check if the given point is inside the grid structure
|
||||
if ((ulX < _ulCtGridsX) && (ulY < _ulCtGridsY) && (ulZ < _ulCtGridsZ)) {
|
||||
return GetElements(ulX, ulY, ulZ, aulElements);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
PointsGridIterator::PointsGridIterator(const PointsGrid& rclG)
|
||||
: _rclGrid(rclG)
|
||||
, _clPt(0.0F, 0.0F, 0.0F)
|
||||
, _clDir(0.0F, 0.0F, 0.0F)
|
||||
{}
|
||||
|
||||
bool PointsGridIterator::InitOnRay(
|
||||
const Base::Vector3d& rclPt,
|
||||
const Base::Vector3d& rclDir,
|
||||
float fMaxSearchArea,
|
||||
std::vector<unsigned long>& raulElements
|
||||
)
|
||||
{
|
||||
bool ret = InitOnRay(rclPt, rclDir, raulElements);
|
||||
_fMaxSearchArea = fMaxSearchArea;
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool PointsGridIterator::InitOnRay(
|
||||
const Base::Vector3d& rclPt,
|
||||
const Base::Vector3d& rclDir,
|
||||
std::vector<unsigned long>& raulElements
|
||||
)
|
||||
{
|
||||
// needed in NextOnRay() to avoid an infinite loop
|
||||
_cSearchPositions.clear();
|
||||
|
||||
_fMaxSearchArea = std::numeric_limits<float>::max();
|
||||
|
||||
raulElements.clear();
|
||||
|
||||
_clPt = rclPt;
|
||||
_clDir = rclDir;
|
||||
_bValidRay = false;
|
||||
|
||||
// point lies within global BB
|
||||
if (_rclGrid.GetBoundBox().IsInBox(rclPt)) { // determine the voxel by the starting point
|
||||
_rclGrid.Position(rclPt, _ulX, _ulY, _ulZ);
|
||||
raulElements.insert(
|
||||
raulElements.end(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].begin(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].end()
|
||||
);
|
||||
_bValidRay = true;
|
||||
}
|
||||
else { // StartPoint outside
|
||||
Base::Vector3d cP0, cP1;
|
||||
if (_rclGrid.GetBoundBox().IntersectWithLine(
|
||||
rclPt,
|
||||
rclDir,
|
||||
cP0,
|
||||
cP1
|
||||
)) { // determine the next point
|
||||
if ((cP0 - rclPt).Length() < (cP1 - rclPt).Length()) {
|
||||
_rclGrid.Position(cP0, _ulX, _ulY, _ulZ);
|
||||
}
|
||||
else {
|
||||
_rclGrid.Position(cP1, _ulX, _ulY, _ulZ);
|
||||
}
|
||||
|
||||
raulElements.insert(
|
||||
raulElements.end(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].begin(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].end()
|
||||
);
|
||||
_bValidRay = true;
|
||||
}
|
||||
}
|
||||
|
||||
return _bValidRay;
|
||||
}
|
||||
|
||||
bool PointsGridIterator::NextOnRay(std::vector<unsigned long>& raulElements)
|
||||
{
|
||||
if (!_bValidRay) {
|
||||
return false; // not initialized or beam exited
|
||||
}
|
||||
|
||||
raulElements.clear();
|
||||
|
||||
Base::Vector3d clIntersectPoint;
|
||||
|
||||
// Look for the next adjacent BB on the search beam
|
||||
Base::BoundBox3d::SIDE tSide
|
||||
= _rclGrid.GetBoundBox(_ulX, _ulY, _ulZ).GetSideFromRay(_clPt, _clDir, clIntersectPoint);
|
||||
|
||||
// Search area
|
||||
//
|
||||
if ((_clPt - clIntersectPoint).Length() > _fMaxSearchArea) {
|
||||
_bValidRay = false;
|
||||
}
|
||||
else {
|
||||
switch (tSide) {
|
||||
case Base::BoundBox3d::LEFT:
|
||||
_ulX--;
|
||||
break;
|
||||
case Base::BoundBox3d::RIGHT:
|
||||
_ulX++;
|
||||
break;
|
||||
case Base::BoundBox3d::BOTTOM:
|
||||
_ulY--;
|
||||
break;
|
||||
case Base::BoundBox3d::TOP:
|
||||
_ulY++;
|
||||
break;
|
||||
case Base::BoundBox3d::FRONT:
|
||||
_ulZ--;
|
||||
break;
|
||||
case Base::BoundBox3d::BACK:
|
||||
_ulZ++;
|
||||
break;
|
||||
|
||||
default:
|
||||
case Base::BoundBox3d::INVALID:
|
||||
_bValidRay = false;
|
||||
break;
|
||||
}
|
||||
|
||||
GridElement pos(_ulX, _ulY, _ulZ);
|
||||
if (_cSearchPositions.find(pos) != _cSearchPositions.end()) {
|
||||
_bValidRay = false; // grid element already visited => result from GetSideFromRay invalid
|
||||
}
|
||||
}
|
||||
|
||||
if (_bValidRay && _rclGrid.CheckPos(_ulX, _ulY, _ulZ)) {
|
||||
GridElement pos(_ulX, _ulY, _ulZ);
|
||||
_cSearchPositions.insert(pos);
|
||||
raulElements.insert(
|
||||
raulElements.end(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].begin(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].end()
|
||||
);
|
||||
}
|
||||
else {
|
||||
_bValidRay = false; // ray exited
|
||||
}
|
||||
|
||||
return _bValidRay;
|
||||
}
|
||||
378
src/Mod/Points/App/PointsGrid.h
Normal file
378
src/Mod/Points/App/PointsGrid.h
Normal file
@@ -0,0 +1,378 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <limits>
|
||||
#include <set>
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
#include "Points.h"
|
||||
|
||||
static constexpr int POINTS_CT_GRID = 256; // Default value for number of elements per grid
|
||||
static constexpr int POINTS_MAX_GRIDS = 100000; // Default value for maximum number of grids
|
||||
static constexpr int POINTS_CT_GRID_PER_AXIS = 20;
|
||||
static constexpr float PONTSGRID_BBOX_EXTENSION = 10.0F;
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
class PointsGrid;
|
||||
|
||||
/**
|
||||
* The PointsGrid allows one to divide a global point cloud into smaller regions of elements
|
||||
* depending on the resolution of the grid. All grid elements in the grid structure have the same
|
||||
* size.
|
||||
*
|
||||
* Grids can be used within algorithms to avoid to iterate through all elements, so grids can speed
|
||||
* up algorithms dramatically.
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class PointsExport PointsGrid
|
||||
{
|
||||
public:
|
||||
/** @name Construction */
|
||||
//@{
|
||||
/// Construction
|
||||
explicit PointsGrid(const PointKernel& rclM);
|
||||
/// Construction
|
||||
PointsGrid();
|
||||
/// Construction
|
||||
PointsGrid(const PointKernel& rclM, int iCtGridPerAxis);
|
||||
/// Construction
|
||||
PointsGrid(const PointKernel& rclM, double fGridLen);
|
||||
/// Construction
|
||||
PointsGrid(const PointKernel& rclM, unsigned long ulX, unsigned long ulY, unsigned long ulZ);
|
||||
PointsGrid(const PointsGrid&) = default;
|
||||
PointsGrid(PointsGrid&&) = default;
|
||||
/// Destruction
|
||||
virtual ~PointsGrid() = default;
|
||||
PointsGrid& operator=(const PointsGrid&) = default;
|
||||
PointsGrid& operator=(PointsGrid&&) = default;
|
||||
//@}
|
||||
|
||||
public:
|
||||
/** Attaches the point kernel to this grid, an already attached point cloud gets detached. The
|
||||
* grid gets rebuilt automatically. */
|
||||
virtual void Attach(const PointKernel& rclM);
|
||||
/** Rebuilds the grid structure. */
|
||||
virtual void Rebuild(
|
||||
unsigned long ulPerGrid = POINTS_CT_GRID,
|
||||
unsigned long ulMaxGrid = POINTS_MAX_GRIDS
|
||||
);
|
||||
/** Rebuilds the grid structure. */
|
||||
virtual void Rebuild(int iCtGridPerAxis = POINTS_CT_GRID_PER_AXIS);
|
||||
/** Rebuilds the grid structure. */
|
||||
virtual void Rebuild(unsigned long ulX, unsigned long ulY, unsigned long ulZ);
|
||||
|
||||
/** @name Search */
|
||||
//@{
|
||||
/** Searches for elements lying in the intersection area of the grid and the bounding box. */
|
||||
virtual unsigned long InSide(
|
||||
const Base::BoundBox3d& rclBB,
|
||||
std::vector<unsigned long>& raulElements,
|
||||
bool bDelDoubles = true
|
||||
) const;
|
||||
/** Searches for elements lying in the intersection area of the grid and the bounding box. */
|
||||
virtual unsigned long InSide(
|
||||
const Base::BoundBox3d& rclBB,
|
||||
std::set<unsigned long>& raulElementss
|
||||
) const;
|
||||
/** Searches for elements lying in the intersection area of the grid and the bounding box. */
|
||||
virtual unsigned long InSide(
|
||||
const Base::BoundBox3d& rclBB,
|
||||
std::vector<unsigned long>& raulElements,
|
||||
const Base::Vector3d& rclOrg,
|
||||
double fMaxDist,
|
||||
bool bDelDoubles = true
|
||||
) const;
|
||||
/** Searches for the nearest grids that contain elements from a point, the result are grid
|
||||
* indices. */
|
||||
void SearchNearestFromPoint(const Base::Vector3d& rclPt, std::set<unsigned long>& rclInd) const;
|
||||
//@}
|
||||
|
||||
/** Returns the lengths of the grid elements in x,y and z direction. */
|
||||
virtual void GetGridLengths(double& rfLenX, double& rfLenY, double& rfLenZ) const
|
||||
{
|
||||
rfLenX = _fGridLenX;
|
||||
rfLenY = _fGridLenY;
|
||||
rfLenZ = _fGridLenZ;
|
||||
}
|
||||
/** Returns the number of grid elements in x,y and z direction. */
|
||||
virtual void GetCtGrids(unsigned long& rulX, unsigned long& rulY, unsigned long& rulZ) const
|
||||
{
|
||||
rulX = _ulCtGridsX;
|
||||
rulY = _ulCtGridsY;
|
||||
rulZ = _ulCtGridsZ;
|
||||
}
|
||||
|
||||
/** @name Boundings */
|
||||
//@{
|
||||
/** Returns the bounding box of a given grid element. */
|
||||
inline Base::BoundBox3d GetBoundBox(unsigned long ulX, unsigned long ulY, unsigned long ulZ) const;
|
||||
/** Returns the bounding box of the whole. */
|
||||
inline Base::BoundBox3d GetBoundBox() const;
|
||||
//@}
|
||||
/** Returns the number of elements in a given grid. */
|
||||
unsigned long GetCtElements(unsigned long ulX, unsigned long ulY, unsigned long ulZ) const
|
||||
{
|
||||
return _aulGrid[ulX][ulY][ulZ].size();
|
||||
}
|
||||
/** Finds all points that lie in the same grid as the point \a rclPoint. */
|
||||
unsigned long FindElements(const Base::Vector3d& rclPoint, std::set<unsigned long>& aulElements) const;
|
||||
/** Validates the grid structure and rebuilds it if needed. */
|
||||
virtual void Validate(const PointKernel& rclM);
|
||||
/** Validates the grid structure and rebuilds it if needed. */
|
||||
virtual void Validate();
|
||||
/** Verifies the grid structure and returns false if inconsistencies are found. */
|
||||
virtual bool Verify() const;
|
||||
/** Returns the indices of the grid this point lies in. If the point is outside the grid then
|
||||
* the indices of the nearest grid element are taken.*/
|
||||
virtual void Position(
|
||||
const Base::Vector3d& rclPoint,
|
||||
unsigned long& rulX,
|
||||
unsigned long& rulY,
|
||||
unsigned long& rulZ
|
||||
) const;
|
||||
/** Returns the indices of the elements in the given grid. */
|
||||
unsigned long GetElements(
|
||||
unsigned long ulX,
|
||||
unsigned long ulY,
|
||||
unsigned long ulZ,
|
||||
std::set<unsigned long>& raclInd
|
||||
) const;
|
||||
|
||||
protected:
|
||||
/** Checks if this is a valid grid position. */
|
||||
inline bool CheckPos(unsigned long ulX, unsigned long ulY, unsigned long ulZ) const;
|
||||
/** Initializes the size of the internal structure. */
|
||||
virtual void InitGrid();
|
||||
/** Deletes the grid structure. */
|
||||
virtual void Clear();
|
||||
/** Calculates the grid length dependent on maximum number of grids. */
|
||||
virtual void CalculateGridLength(unsigned long ulCtGrid, unsigned long ulMaxGrids);
|
||||
/** Calculates the grid length dependent on the number of grids per axis. */
|
||||
virtual void CalculateGridLength(int iCtGridPerAxis);
|
||||
/** Rebuilds the grid structure. */
|
||||
virtual void RebuildGrid();
|
||||
/** Returns the number of stored elements. */
|
||||
unsigned long HasElements() const
|
||||
{
|
||||
return _pclPoints->size();
|
||||
}
|
||||
/** Get the indices of all elements lying in the grids around a given grid with distance \a
|
||||
* ulDistance. */
|
||||
void GetHull(
|
||||
unsigned long ulX,
|
||||
unsigned long ulY,
|
||||
unsigned long ulZ,
|
||||
unsigned long ulDistance,
|
||||
std::set<unsigned long>& raclInd
|
||||
) const;
|
||||
|
||||
private:
|
||||
std::vector<std::vector<std::vector<std::set<unsigned long>>>> _aulGrid; /**< Grid data
|
||||
structure. */
|
||||
const PointKernel* _pclPoints; /**< The point kernel. */
|
||||
unsigned long _ulCtElements; /**< Number of grid elements for validation issues. */
|
||||
unsigned long _ulCtGridsX; /**< Number of grid elements in z. */
|
||||
unsigned long _ulCtGridsY; /**< Number of grid elements in z. */
|
||||
unsigned long _ulCtGridsZ; /**< Number of grid elements in z. */
|
||||
double _fGridLenX; /**< Length of grid elements in x. */
|
||||
double _fGridLenY; /**< Length of grid elements in y. */
|
||||
double _fGridLenZ; /**< Length of grid elements in z. */
|
||||
double _fMinX; /**< Grid null position in x. */
|
||||
double _fMinY; /**< Grid null position in y. */
|
||||
double _fMinZ; /**< Grid null position in z. */
|
||||
|
||||
// friends
|
||||
friend class PointsGridIterator;
|
||||
friend class PointsGridIteratorStatistic;
|
||||
|
||||
public:
|
||||
protected:
|
||||
/** Adds a new point element to the grid structure. \a rclPt is the geometric point and \a
|
||||
* ulPtIndex the corresponding index in the point kernel. */
|
||||
void AddPoint(const Base::Vector3d& rclPt, unsigned long ulPtIndex, float fEpsilon = 0.0F);
|
||||
/** Returns the grid numbers to the given point \a rclPoint. */
|
||||
void Pos(
|
||||
const Base::Vector3d& rclPoint,
|
||||
unsigned long& rulX,
|
||||
unsigned long& rulY,
|
||||
unsigned long& rulZ
|
||||
) const;
|
||||
};
|
||||
|
||||
/**
|
||||
* The PointsGridIterator class provides an interface to walk through
|
||||
* all grid elements of a point grid.
|
||||
*/
|
||||
class PointsExport PointsGridIterator
|
||||
{
|
||||
public:
|
||||
/// Construction
|
||||
explicit PointsGridIterator(const PointsGrid& rclG);
|
||||
/** Returns the bounding box of the current grid element. */
|
||||
Base::BoundBox3d GetBoundBox() const
|
||||
{
|
||||
return _rclGrid.GetBoundBox(_ulX, _ulY, _ulZ);
|
||||
}
|
||||
/** Returns indices of the elements in the current grid. */
|
||||
void GetElements(std::vector<unsigned long>& raulElements) const
|
||||
{
|
||||
raulElements.insert(
|
||||
raulElements.end(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].begin(),
|
||||
_rclGrid._aulGrid[_ulX][_ulY][_ulZ].end()
|
||||
);
|
||||
}
|
||||
/** @name Iteration */
|
||||
//@{
|
||||
/** Sets the iterator to the first element*/
|
||||
void Init()
|
||||
{
|
||||
_ulX = _ulY = _ulZ = 0;
|
||||
}
|
||||
/** Checks if the iterator has not yet reached the end position. */
|
||||
bool More() const
|
||||
{
|
||||
return (_ulZ < _rclGrid._ulCtGridsZ);
|
||||
}
|
||||
/** Go to the next grid. */
|
||||
void Next()
|
||||
{
|
||||
if (++_ulX >= (_rclGrid._ulCtGridsX)) {
|
||||
_ulX = 0;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
if (++_ulY >= (_rclGrid._ulCtGridsY)) {
|
||||
_ulY = 0;
|
||||
_ulZ++;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
//@}
|
||||
|
||||
/** @name Tests with rays */
|
||||
//@{
|
||||
/** Searches for facets around the ray. */
|
||||
bool InitOnRay(
|
||||
const Base::Vector3d& rclPt,
|
||||
const Base::Vector3d& rclDir,
|
||||
std::vector<unsigned long>& raulElements
|
||||
);
|
||||
/** Searches for facets around the ray. */
|
||||
bool InitOnRay(
|
||||
const Base::Vector3d& rclPt,
|
||||
const Base::Vector3d& rclDir,
|
||||
float fMaxSearchArea,
|
||||
std::vector<unsigned long>& raulElements
|
||||
);
|
||||
/** Searches for facets around the ray. */
|
||||
bool NextOnRay(std::vector<unsigned long>& raulElements);
|
||||
//@}
|
||||
|
||||
/** Returns the grid number of the current position. */
|
||||
void GetGridPos(unsigned long& rulX, unsigned long& rulY, unsigned long& rulZ) const
|
||||
{
|
||||
rulX = _ulX;
|
||||
rulY = _ulY;
|
||||
rulZ = _ulZ;
|
||||
}
|
||||
|
||||
private:
|
||||
const PointsGrid& _rclGrid; /**< The point grid. */
|
||||
unsigned long _ulX {0}; /**< Number of grids in x. */
|
||||
unsigned long _ulY {0}; /**< Number of grids in y. */
|
||||
unsigned long _ulZ {0}; /**< Number of grids in z. */
|
||||
Base::Vector3d _clPt; /**< Base point of search ray. */
|
||||
Base::Vector3d _clDir; /**< Direction of search ray. */
|
||||
bool _bValidRay {false}; /**< Search ray ok? */
|
||||
float _fMaxSearchArea {std::numeric_limits<float>::max()};
|
||||
/** Checks if a grid position is already visited by NextOnRay(). */
|
||||
struct GridElement
|
||||
{
|
||||
GridElement(unsigned long x, unsigned long y, unsigned long z)
|
||||
: x {x}
|
||||
, y {y}
|
||||
, z {z}
|
||||
{}
|
||||
bool operator<(const GridElement& pos) const
|
||||
{
|
||||
if (x == pos.x) {
|
||||
if (y == pos.y) {
|
||||
return z < pos.z;
|
||||
}
|
||||
else {
|
||||
return y < pos.y;
|
||||
}
|
||||
}
|
||||
else {
|
||||
return x < pos.x;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
unsigned long x, y, z;
|
||||
};
|
||||
std::set<GridElement> _cSearchPositions;
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
inline Base::BoundBox3d PointsGrid::GetBoundBox(unsigned long ulX, unsigned long ulY, unsigned long ulZ) const
|
||||
{
|
||||
double fX = _fMinX + (double(ulX) * _fGridLenX);
|
||||
double fY = _fMinY + (double(ulY) * _fGridLenY);
|
||||
double fZ = _fMinZ + (double(ulZ) * _fGridLenZ);
|
||||
|
||||
return Base::BoundBox3d(fX, fY, fZ, fX + _fGridLenX, fY + _fGridLenY, fZ + _fGridLenZ);
|
||||
}
|
||||
|
||||
inline Base::BoundBox3d PointsGrid::GetBoundBox() const
|
||||
{
|
||||
return Base::BoundBox3d(
|
||||
_fMinX,
|
||||
_fMinY,
|
||||
_fMinZ,
|
||||
_fMinX + (_fGridLenX * double(_ulCtGridsX)),
|
||||
_fMinY + (_fGridLenY * double(_ulCtGridsY)),
|
||||
_fMinZ + (_fGridLenZ * double(_ulCtGridsZ))
|
||||
);
|
||||
}
|
||||
|
||||
inline bool PointsGrid::CheckPos(unsigned long ulX, unsigned long ulY, unsigned long ulZ) const
|
||||
{
|
||||
return ((ulX < _ulCtGridsX) && (ulY < _ulCtGridsY) && (ulZ < _ulCtGridsZ));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
} // namespace Points
|
||||
270
src/Mod/Points/App/PointsPyImp.cpp
Normal file
270
src/Mod/Points/App/PointsPyImp.cpp
Normal file
@@ -0,0 +1,270 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2008 Juergen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
|
||||
|
||||
#include <Base/Builder3D.h>
|
||||
#include <Base/Converter.h>
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/VectorPy.h>
|
||||
|
||||
#include "Points.h"
|
||||
// inclusion of the generated files (generated out of PointsPy.xml)
|
||||
#include "PointsPy.h"
|
||||
#include "PointsPy.cpp"
|
||||
|
||||
|
||||
using namespace Points;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string PointsPy::representation() const
|
||||
{
|
||||
return {"<PointKernel object>"};
|
||||
}
|
||||
|
||||
PyObject* PointsPy::PyMake(struct _typeobject*, PyObject*, PyObject*)
|
||||
{
|
||||
// create a new instance of PointsPy and the Twin object
|
||||
return new PointsPy(new PointKernel);
|
||||
}
|
||||
|
||||
// constructor method
|
||||
int PointsPy::PyInit(PyObject* args, PyObject* /*kwd*/)
|
||||
{
|
||||
PyObject* pcObj = nullptr;
|
||||
if (!PyArg_ParseTuple(args, "|O", &pcObj)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
// if no mesh is given
|
||||
if (!pcObj) {
|
||||
return 0;
|
||||
}
|
||||
if (PyObject_TypeCheck(pcObj, &(PointsPy::Type))) {
|
||||
*getPointKernelPtr() = *(static_cast<PointsPy*>(pcObj)->getPointKernelPtr());
|
||||
}
|
||||
else if (PyList_Check(pcObj)) {
|
||||
if (!addPoints(args)) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else if (PyTuple_Check(pcObj)) {
|
||||
if (!addPoints(args)) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else if (PyUnicode_Check(pcObj)) {
|
||||
getPointKernelPtr()->load(PyUnicode_AsUTF8(pcObj));
|
||||
}
|
||||
else {
|
||||
PyErr_SetString(PyExc_TypeError, "optional argument must be list, tuple or string");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject* PointsPy::copy(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
PointKernel* kernel = new PointKernel();
|
||||
// assign data
|
||||
*kernel = *getPointKernelPtr();
|
||||
return new PointsPy(kernel);
|
||||
}
|
||||
|
||||
PyObject* PointsPy::read(PyObject* args)
|
||||
{
|
||||
const char* Name {};
|
||||
if (!PyArg_ParseTuple(args, "s", &Name)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
PY_TRY
|
||||
{
|
||||
getPointKernelPtr()->load(Name);
|
||||
}
|
||||
PY_CATCH;
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* PointsPy::write(PyObject* args) const
|
||||
{
|
||||
const char* Name {};
|
||||
if (!PyArg_ParseTuple(args, "s", &Name)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
PY_TRY
|
||||
{
|
||||
getPointKernelPtr()->save(Name);
|
||||
}
|
||||
PY_CATCH;
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* PointsPy::writeInventor(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::stringstream result;
|
||||
Base::InventorBuilder builder(result);
|
||||
builder.beginSeparator();
|
||||
std::vector<Base::Vector3f> points;
|
||||
PointKernel* kernel = getPointKernelPtr();
|
||||
points.reserve(kernel->size());
|
||||
for (const auto& it : *kernel) {
|
||||
points.push_back(Base::convertTo<Base::Vector3f>(it));
|
||||
}
|
||||
builder.addNode(Base::Coordinate3Item {points});
|
||||
builder.addNode(Base::PointSetItem {});
|
||||
builder.endSeparator();
|
||||
|
||||
return Py::new_reference_to(Py::String(result.str()));
|
||||
}
|
||||
|
||||
PyObject* PointsPy::addPoints(PyObject* args)
|
||||
{
|
||||
PyObject* obj {};
|
||||
if (!PyArg_ParseTuple(args, "O", &obj)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
try {
|
||||
Py::Sequence list(obj);
|
||||
Py::Type vType(Base::getTypeAsObject(&Base::VectorPy::Type));
|
||||
|
||||
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
|
||||
if ((*it).isType(vType)) {
|
||||
Py::Vector p(*it);
|
||||
getPointKernelPtr()->push_back(p.toVector());
|
||||
}
|
||||
else {
|
||||
Base::Vector3d pnt;
|
||||
Py::Tuple tuple(*it);
|
||||
pnt.x = (double)Py::Float(tuple[0]);
|
||||
pnt.y = (double)Py::Float(tuple[1]);
|
||||
pnt.z = (double)Py::Float(tuple[2]);
|
||||
getPointKernelPtr()->push_back(pnt);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (const Py::Exception&) {
|
||||
PyErr_SetString(
|
||||
PyExc_TypeError,
|
||||
"either expect\n"
|
||||
"-- [Vector,...] \n"
|
||||
"-- [(x,y,z),...]"
|
||||
);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
PyObject* PointsPy::fromSegment(PyObject* args) const
|
||||
{
|
||||
PyObject* obj {};
|
||||
if (!PyArg_ParseTuple(args, "O", &obj)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
try {
|
||||
const PointKernel* points = getPointKernelPtr();
|
||||
Py::Sequence list(obj);
|
||||
std::unique_ptr<PointKernel> pts(new PointKernel());
|
||||
pts->reserve(list.size());
|
||||
int numPoints = static_cast<int>(points->size());
|
||||
for (Py::Sequence::iterator it = list.begin(); it != list.end(); ++it) {
|
||||
long index = static_cast<long>(Py::Long(*it));
|
||||
if (index >= 0 && index < numPoints) {
|
||||
pts->push_back(points->getPoint(index));
|
||||
}
|
||||
}
|
||||
|
||||
return new PointsPy(pts.release());
|
||||
}
|
||||
catch (const Py::Exception&) {
|
||||
PyErr_SetString(PyExc_TypeError, "expect a list of int");
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
PyObject* PointsPy::fromValid(PyObject* args) const
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, "")) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
try {
|
||||
const PointKernel* points = getPointKernelPtr();
|
||||
std::unique_ptr<PointKernel> pts(new PointKernel());
|
||||
pts->reserve(points->size());
|
||||
for (const auto& point : *points) {
|
||||
if (!boost::math::isnan(point.x) && !boost::math::isnan(point.y)
|
||||
&& !boost::math::isnan(point.z)) {
|
||||
pts->push_back(point);
|
||||
}
|
||||
}
|
||||
|
||||
return new PointsPy(pts.release());
|
||||
}
|
||||
catch (const Py::Exception&) {
|
||||
PyErr_SetString(PyExc_TypeError, "expect a list of int");
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Py::Long PointsPy::getCountPoints() const
|
||||
{
|
||||
return Py::Long((long)getPointKernelPtr()->size());
|
||||
}
|
||||
|
||||
Py::List PointsPy::getPoints() const
|
||||
{
|
||||
Py::List PointList;
|
||||
const PointKernel* points = getPointKernelPtr();
|
||||
for (const auto& point : *points) {
|
||||
PointList.append(Py::asObject(new Base::VectorPy(point)));
|
||||
}
|
||||
return PointList;
|
||||
}
|
||||
|
||||
PyObject* PointsPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int PointsPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
48
src/Mod/Points/App/PreCompiled.h
Normal file
48
src/Mod/Points/App/PreCompiled.h
Normal file
@@ -0,0 +1,48 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// standard
|
||||
#include <cstdio>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
// boost
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
// Qt
|
||||
#include <QtConcurrentMap>
|
||||
638
src/Mod/Points/App/Properties.cpp
Normal file
638
src/Mod/Points/App/Properties.cpp
Normal file
@@ -0,0 +1,638 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <QtConcurrentMap>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#include <Base/Converter.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Persistence.h>
|
||||
#include <Base/Stream.h>
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "Points.h"
|
||||
#include "Properties.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <ppl.h>
|
||||
#endif
|
||||
|
||||
|
||||
using namespace Points;
|
||||
using namespace std;
|
||||
|
||||
TYPESYSTEM_SOURCE(Points::PropertyGreyValue, App::PropertyFloat)
|
||||
TYPESYSTEM_SOURCE(Points::PropertyGreyValueList, App::PropertyLists)
|
||||
TYPESYSTEM_SOURCE(Points::PropertyNormalList, App::PropertyLists)
|
||||
TYPESYSTEM_SOURCE(Points::PropertyCurvatureList, App::PropertyLists)
|
||||
|
||||
PropertyGreyValueList::PropertyGreyValueList() = default;
|
||||
|
||||
void PropertyGreyValueList::setSize(int newSize)
|
||||
{
|
||||
_lValueList.resize(newSize);
|
||||
}
|
||||
|
||||
int PropertyGreyValueList::getSize() const
|
||||
{
|
||||
return static_cast<int>(_lValueList.size());
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::setValue(float lValue)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList.resize(1);
|
||||
_lValueList[0] = lValue;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::setValues(const std::vector<float>& values)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList = values;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
PyObject* PropertyGreyValueList::getPyObject()
|
||||
{
|
||||
PyObject* list = PyList_New(getSize());
|
||||
for (int i = 0; i < getSize(); i++) {
|
||||
PyList_SetItem(list, i, PyFloat_FromDouble(_lValueList[i]));
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::setPyObject(PyObject* value)
|
||||
{
|
||||
if (PyList_Check(value)) {
|
||||
Py_ssize_t nSize = PyList_Size(value);
|
||||
std::vector<float> values;
|
||||
values.resize(nSize);
|
||||
|
||||
for (Py_ssize_t i = 0; i < nSize; ++i) {
|
||||
PyObject* item = PyList_GetItem(value, i);
|
||||
if (!PyFloat_Check(item)) {
|
||||
std::string error = std::string("type in list must be float, not ");
|
||||
error += item->ob_type->tp_name;
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
|
||||
values[i] = PyFloat_AsDouble(item);
|
||||
}
|
||||
|
||||
setValues(values);
|
||||
}
|
||||
else if (PyFloat_Check(value)) {
|
||||
setValue(PyFloat_AsDouble(value));
|
||||
}
|
||||
else {
|
||||
std::string error = std::string("type must be float or list of float, not ");
|
||||
error += value->ob_type->tp_name;
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::Save(Base::Writer& writer) const
|
||||
{
|
||||
if (writer.isForceXML()) {
|
||||
writer.Stream() << writer.ind() << "<FloatList count=\"" << getSize() << "\">" << endl;
|
||||
writer.incInd();
|
||||
for (int i = 0; i < getSize(); i++) {
|
||||
writer.Stream() << writer.ind() << "<F v=\"" << _lValueList[i] << "\"/>" << endl;
|
||||
};
|
||||
writer.decInd();
|
||||
writer.Stream() << writer.ind() << "</FloatList>" << endl;
|
||||
}
|
||||
else {
|
||||
writer.Stream() << writer.ind() << "<FloatList file=\"" << writer.addFile(getName(), this)
|
||||
<< "\"/>" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
reader.readElement("FloatList");
|
||||
string file(reader.getAttribute<const char*>("file"));
|
||||
|
||||
if (!file.empty()) {
|
||||
// initiate a file read
|
||||
reader.addFile(file.c_str(), this);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::SaveDocFile(Base::Writer& writer) const
|
||||
{
|
||||
Base::OutputStream str(writer.Stream());
|
||||
uint32_t uCt = (uint32_t)getSize();
|
||||
str << uCt;
|
||||
for (float it : _lValueList) {
|
||||
str << it;
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
Base::InputStream str(reader);
|
||||
uint32_t uCt = 0;
|
||||
str >> uCt;
|
||||
std::vector<float> values(uCt);
|
||||
for (float& value : values) {
|
||||
str >> value;
|
||||
}
|
||||
setValues(values);
|
||||
}
|
||||
|
||||
App::Property* PropertyGreyValueList::Copy() const
|
||||
{
|
||||
PropertyGreyValueList* p = new PropertyGreyValueList();
|
||||
p->_lValueList = _lValueList;
|
||||
return p;
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::Paste(const App::Property& from)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList = dynamic_cast<const PropertyGreyValueList&>(from)._lValueList;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
unsigned int PropertyGreyValueList::getMemSize() const
|
||||
{
|
||||
return static_cast<unsigned int>(_lValueList.size() * sizeof(float));
|
||||
}
|
||||
|
||||
void PropertyGreyValueList::removeIndices(const std::vector<unsigned long>& uIndices)
|
||||
{
|
||||
// We need a sorted array
|
||||
std::vector<unsigned long> uSortedInds = uIndices;
|
||||
std::sort(uSortedInds.begin(), uSortedInds.end());
|
||||
|
||||
const std::vector<float>& rValueList = getValues();
|
||||
|
||||
assert(uSortedInds.size() <= rValueList.size());
|
||||
if (uSortedInds.size() > rValueList.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<float> remainValue;
|
||||
remainValue.reserve(rValueList.size() - uSortedInds.size());
|
||||
|
||||
std::vector<unsigned long>::iterator pos = uSortedInds.begin();
|
||||
for (std::vector<float>::const_iterator it = rValueList.begin(); it != rValueList.end(); ++it) {
|
||||
unsigned long index = it - rValueList.begin();
|
||||
if (pos == uSortedInds.end()) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else if (index != *pos) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else {
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
setValues(remainValue);
|
||||
}
|
||||
|
||||
PropertyNormalList::PropertyNormalList() = default;
|
||||
|
||||
void PropertyNormalList::setSize(int newSize)
|
||||
{
|
||||
_lValueList.resize(newSize);
|
||||
}
|
||||
|
||||
int PropertyNormalList::getSize() const
|
||||
{
|
||||
return static_cast<int>(_lValueList.size());
|
||||
}
|
||||
|
||||
void PropertyNormalList::setValue(const Base::Vector3f& lValue)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList.resize(1);
|
||||
_lValueList[0] = lValue;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyNormalList::setValue(float x, float y, float z)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList.resize(1);
|
||||
_lValueList[0].Set(x, y, z);
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyNormalList::setValues(const std::vector<Base::Vector3f>& values)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList = values;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
PyObject* PropertyNormalList::getPyObject()
|
||||
{
|
||||
PyObject* list = PyList_New(getSize());
|
||||
|
||||
for (int i = 0; i < getSize(); i++) {
|
||||
PyList_SetItem(list, i, new Base::VectorPy(_lValueList[i]));
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
void PropertyNormalList::setPyObject(PyObject* value)
|
||||
{
|
||||
if (PyList_Check(value)) {
|
||||
Py_ssize_t nSize = PyList_Size(value);
|
||||
std::vector<Base::Vector3f> values;
|
||||
values.resize(nSize);
|
||||
|
||||
for (Py_ssize_t i = 0; i < nSize; ++i) {
|
||||
PyObject* item = PyList_GetItem(value, i);
|
||||
App::PropertyVector val;
|
||||
val.setPyObject(item);
|
||||
values[i] = Base::convertTo<Base::Vector3f>(val.getValue());
|
||||
}
|
||||
|
||||
setValues(values);
|
||||
}
|
||||
else if (PyObject_TypeCheck(value, &(Base::VectorPy::Type))) {
|
||||
Base::VectorPy* pcObject = static_cast<Base::VectorPy*>(value);
|
||||
Base::Vector3d* val = pcObject->getVectorPtr();
|
||||
setValue(Base::convertTo<Base::Vector3f>(*val));
|
||||
}
|
||||
else if (PyTuple_Check(value) && PyTuple_Size(value) == 3) {
|
||||
App::PropertyVector val;
|
||||
val.setPyObject(value);
|
||||
setValue(Base::convertTo<Base::Vector3f>(val.getValue()));
|
||||
}
|
||||
else {
|
||||
std::string error = std::string("type must be 'Vector' or list of 'Vector', not ");
|
||||
error += value->ob_type->tp_name;
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyNormalList::Save(Base::Writer& writer) const
|
||||
{
|
||||
if (!writer.isForceXML()) {
|
||||
writer.Stream() << writer.ind() << "<VectorList file=\"" << writer.addFile(getName(), this)
|
||||
<< "\"/>" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyNormalList::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
reader.readElement("VectorList");
|
||||
std::string file(reader.getAttribute<const char*>("file"));
|
||||
|
||||
if (!file.empty()) {
|
||||
// initiate a file read
|
||||
reader.addFile(file.c_str(), this);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyNormalList::SaveDocFile(Base::Writer& writer) const
|
||||
{
|
||||
Base::OutputStream str(writer.Stream());
|
||||
uint32_t uCt = (uint32_t)getSize();
|
||||
str << uCt;
|
||||
for (const auto& it : _lValueList) {
|
||||
str << it.x << it.y << it.z;
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyNormalList::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
Base::InputStream str(reader);
|
||||
uint32_t uCt = 0;
|
||||
str >> uCt;
|
||||
std::vector<Base::Vector3f> values(uCt);
|
||||
for (auto& value : values) {
|
||||
str >> value.x >> value.y >> value.z;
|
||||
}
|
||||
setValues(values);
|
||||
}
|
||||
|
||||
App::Property* PropertyNormalList::Copy() const
|
||||
{
|
||||
PropertyNormalList* p = new PropertyNormalList();
|
||||
p->_lValueList = _lValueList;
|
||||
return p;
|
||||
}
|
||||
|
||||
void PropertyNormalList::Paste(const App::Property& from)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList = dynamic_cast<const PropertyNormalList&>(from)._lValueList;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
unsigned int PropertyNormalList::getMemSize() const
|
||||
{
|
||||
return static_cast<unsigned int>(_lValueList.size() * sizeof(Base::Vector3f));
|
||||
}
|
||||
|
||||
void PropertyNormalList::transformGeometry(const Base::Matrix4D& mat)
|
||||
{
|
||||
// A normal vector is only a direction with unit length, so we only need to rotate it
|
||||
// (no translations or scaling)
|
||||
|
||||
// Extract scale factors (assumes an orthogonal rotation matrix)
|
||||
// Use the fact that the length of the row vectors of R are all equal to 1
|
||||
// And that scaling is applied after rotating
|
||||
double s[3];
|
||||
s[0] = sqrt(mat[0][0] * mat[0][0] + mat[0][1] * mat[0][1] + mat[0][2] * mat[0][2]);
|
||||
s[1] = sqrt(mat[1][0] * mat[1][0] + mat[1][1] * mat[1][1] + mat[1][2] * mat[1][2]);
|
||||
s[2] = sqrt(mat[2][0] * mat[2][0] + mat[2][1] * mat[2][1] + mat[2][2] * mat[2][2]);
|
||||
|
||||
// Set up the rotation matrix: zero the translations and make the scale factors = 1
|
||||
Base::Matrix4D rot;
|
||||
rot.setToUnity();
|
||||
for (unsigned short i = 0; i < 3; i++) {
|
||||
for (unsigned short j = 0; j < 3; j++) {
|
||||
rot[i][j] = mat[i][j] / s[i];
|
||||
}
|
||||
}
|
||||
|
||||
aboutToSetValue();
|
||||
|
||||
// Rotate the normal vectors
|
||||
#ifdef _MSC_VER
|
||||
Concurrency::parallel_for_each(_lValueList.begin(), _lValueList.end(), [rot](Base::Vector3f& value) {
|
||||
value = rot * value;
|
||||
});
|
||||
#else
|
||||
QtConcurrent::blockingMap(_lValueList, [rot](Base::Vector3f& value) {
|
||||
rot.multVec(value, value);
|
||||
});
|
||||
#endif
|
||||
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyNormalList::removeIndices(const std::vector<unsigned long>& uIndices)
|
||||
{
|
||||
// We need a sorted array
|
||||
std::vector<unsigned long> uSortedInds = uIndices;
|
||||
std::sort(uSortedInds.begin(), uSortedInds.end());
|
||||
|
||||
const std::vector<Base::Vector3f>& rValueList = getValues();
|
||||
|
||||
assert(uSortedInds.size() <= rValueList.size());
|
||||
if (uSortedInds.size() > rValueList.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<Base::Vector3f> remainValue;
|
||||
remainValue.reserve(rValueList.size() - uSortedInds.size());
|
||||
|
||||
std::vector<unsigned long>::iterator pos = uSortedInds.begin();
|
||||
for (std::vector<Base::Vector3f>::const_iterator it = rValueList.begin(); it != rValueList.end();
|
||||
++it) {
|
||||
unsigned long index = it - rValueList.begin();
|
||||
if (pos == uSortedInds.end()) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else if (index != *pos) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else {
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
setValues(remainValue);
|
||||
}
|
||||
|
||||
PropertyCurvatureList::PropertyCurvatureList() = default;
|
||||
|
||||
void PropertyCurvatureList::setValue(const CurvatureInfo& lValue)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList.resize(1);
|
||||
_lValueList[0] = lValue;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::setValues(const std::vector<CurvatureInfo>& lValues)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_lValueList = lValues;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
std::vector<float> PropertyCurvatureList::getCurvature(int mode) const
|
||||
{
|
||||
const std::vector<Points::CurvatureInfo>& fCurvInfo = getValues();
|
||||
std::vector<float> fValues;
|
||||
fValues.reserve(fCurvInfo.size());
|
||||
|
||||
// Mean curvature
|
||||
if (mode == MeanCurvature) {
|
||||
for (const auto& it : fCurvInfo) {
|
||||
fValues.push_back(0.5f * (it.fMaxCurvature + it.fMinCurvature));
|
||||
}
|
||||
}
|
||||
// Gaussian curvature
|
||||
else if (mode == GaussCurvature) {
|
||||
for (const auto& it : fCurvInfo) {
|
||||
fValues.push_back(it.fMaxCurvature * it.fMinCurvature);
|
||||
}
|
||||
}
|
||||
// Maximum curvature
|
||||
else if (mode == MaxCurvature) {
|
||||
for (const auto& it : fCurvInfo) {
|
||||
fValues.push_back(it.fMaxCurvature);
|
||||
}
|
||||
}
|
||||
// Minimum curvature
|
||||
else if (mode == MinCurvature) {
|
||||
for (const auto& it : fCurvInfo) {
|
||||
fValues.push_back(it.fMinCurvature);
|
||||
}
|
||||
}
|
||||
// Absolute curvature
|
||||
else if (mode == AbsCurvature) {
|
||||
for (const auto& it : fCurvInfo) {
|
||||
if (fabs(it.fMaxCurvature) > fabs(it.fMinCurvature)) {
|
||||
fValues.push_back(it.fMaxCurvature);
|
||||
}
|
||||
else {
|
||||
fValues.push_back(it.fMinCurvature);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return fValues;
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::transformGeometry(const Base::Matrix4D& mat)
|
||||
{
|
||||
// The principal direction is only a vector with unit length, so we only need to rotate it
|
||||
// (no translations or scaling)
|
||||
|
||||
// Extract scale factors (assumes an orthogonal rotation matrix)
|
||||
// Use the fact that the length of the row vectors of R are all equal to 1
|
||||
// And that scaling is applied after rotating
|
||||
double s[3];
|
||||
s[0] = sqrt(mat[0][0] * mat[0][0] + mat[0][1] * mat[0][1] + mat[0][2] * mat[0][2]);
|
||||
s[1] = sqrt(mat[1][0] * mat[1][0] + mat[1][1] * mat[1][1] + mat[1][2] * mat[1][2]);
|
||||
s[2] = sqrt(mat[2][0] * mat[2][0] + mat[2][1] * mat[2][1] + mat[2][2] * mat[2][2]);
|
||||
|
||||
// Set up the rotation matrix: zero the translations and make the scale factors = 1
|
||||
Base::Matrix4D rot;
|
||||
rot.setToUnity();
|
||||
for (unsigned short i = 0; i < 3; i++) {
|
||||
for (unsigned short j = 0; j < 3; j++) {
|
||||
rot[i][j] = mat[i][j] / s[i];
|
||||
}
|
||||
}
|
||||
|
||||
aboutToSetValue();
|
||||
|
||||
// Rotate the principal directions
|
||||
for (int ii = 0; ii < getSize(); ii++) {
|
||||
CurvatureInfo ci = operator[](ii);
|
||||
ci.cMaxCurvDir = rot * ci.cMaxCurvDir;
|
||||
ci.cMinCurvDir = rot * ci.cMinCurvDir;
|
||||
set1Value(ii, ci);
|
||||
}
|
||||
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::removeIndices(const std::vector<unsigned long>& uIndices)
|
||||
{
|
||||
// We need a sorted array
|
||||
std::vector<unsigned long> uSortedInds = uIndices;
|
||||
std::sort(uSortedInds.begin(), uSortedInds.end());
|
||||
|
||||
assert(uSortedInds.size() <= _lValueList.size());
|
||||
if (uSortedInds.size() > _lValueList.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<CurvatureInfo> remainValue;
|
||||
remainValue.reserve(_lValueList.size() - uSortedInds.size());
|
||||
|
||||
std::vector<unsigned long>::iterator pos = uSortedInds.begin();
|
||||
for (std::vector<CurvatureInfo>::const_iterator it = _lValueList.begin(); it != _lValueList.end();
|
||||
++it) {
|
||||
unsigned long index = it - _lValueList.begin();
|
||||
if (pos == uSortedInds.end()) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else if (index != *pos) {
|
||||
remainValue.push_back(*it);
|
||||
}
|
||||
else {
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
setValues(remainValue);
|
||||
}
|
||||
|
||||
PyObject* PropertyCurvatureList::getPyObject()
|
||||
{
|
||||
throw Py::NotImplementedError("Not yet implemented");
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::setPyObject(PyObject*)
|
||||
{
|
||||
throw Py::NotImplementedError("Not yet implemented");
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::Save(Base::Writer& writer) const
|
||||
{
|
||||
if (!writer.isForceXML()) {
|
||||
writer.Stream() << writer.ind() << "<CurvatureList file=\""
|
||||
<< writer.addFile(getName(), this) << "\"/>" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
reader.readElement("CurvatureList");
|
||||
std::string file(reader.getAttribute<const char*>("file"));
|
||||
|
||||
if (!file.empty()) {
|
||||
// initiate a file read
|
||||
reader.addFile(file.c_str(), this);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::SaveDocFile(Base::Writer& writer) const
|
||||
{
|
||||
Base::OutputStream str(writer.Stream());
|
||||
uint32_t uCt = (uint32_t)getSize();
|
||||
str << uCt;
|
||||
if (uCt > 0) {
|
||||
for (const auto& it : _lValueList) {
|
||||
str << it.fMaxCurvature << it.fMinCurvature;
|
||||
str << it.cMaxCurvDir.x << it.cMaxCurvDir.y << it.cMaxCurvDir.z;
|
||||
str << it.cMinCurvDir.x << it.cMinCurvDir.y << it.cMinCurvDir.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
Base::InputStream str(reader);
|
||||
uint32_t uCt = 0;
|
||||
str >> uCt;
|
||||
std::vector<CurvatureInfo> values(uCt);
|
||||
for (auto& value : values) {
|
||||
str >> value.fMaxCurvature >> value.fMinCurvature;
|
||||
str >> value.cMaxCurvDir.x >> value.cMaxCurvDir.y >> value.cMaxCurvDir.z;
|
||||
str >> value.cMinCurvDir.x >> value.cMinCurvDir.y >> value.cMinCurvDir.z;
|
||||
}
|
||||
|
||||
setValues(values);
|
||||
}
|
||||
|
||||
App::Property* PropertyCurvatureList::Copy() const
|
||||
{
|
||||
PropertyCurvatureList* prop = new PropertyCurvatureList();
|
||||
prop->_lValueList = this->_lValueList;
|
||||
return prop;
|
||||
}
|
||||
|
||||
void PropertyCurvatureList::Paste(const App::Property& from)
|
||||
{
|
||||
aboutToSetValue();
|
||||
const PropertyCurvatureList& prop = dynamic_cast<const PropertyCurvatureList&>(from);
|
||||
this->_lValueList = prop._lValueList;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
unsigned int PropertyCurvatureList::getMemSize() const
|
||||
{
|
||||
return sizeof(CurvatureInfo) * this->_lValueList.size();
|
||||
}
|
||||
240
src/Mod/Points/App/Properties.h
Normal file
240
src/Mod/Points/App/Properties.h
Normal file
@@ -0,0 +1,240 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2011 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "Points.h"
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
/** Greyvalue property.
|
||||
*/
|
||||
class PointsExport PropertyGreyValue: public App::PropertyFloat
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
PropertyGreyValue() = default;
|
||||
};
|
||||
|
||||
class PointsExport PropertyGreyValueList: public App::PropertyLists
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
PropertyGreyValueList();
|
||||
|
||||
void setSize(int newSize) override;
|
||||
int getSize() const override;
|
||||
|
||||
/** Sets the property
|
||||
*/
|
||||
void setValue(float);
|
||||
|
||||
/// index operator
|
||||
float operator[](const int idx) const
|
||||
{
|
||||
return _lValueList[idx];
|
||||
}
|
||||
|
||||
void set1Value(const int idx, float value)
|
||||
{
|
||||
_lValueList[idx] = value;
|
||||
}
|
||||
void setValues(const std::vector<float>& values);
|
||||
|
||||
const std::vector<float>& getValues() const
|
||||
{
|
||||
return _lValueList;
|
||||
}
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
void setPyObject(PyObject*) override;
|
||||
|
||||
void Save(Base::Writer& writer) const override;
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
|
||||
void SaveDocFile(Base::Writer& writer) const override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
|
||||
App::Property* Copy() const override;
|
||||
void Paste(const App::Property& from) override;
|
||||
unsigned int getMemSize() const override;
|
||||
|
||||
/** @name Modify */
|
||||
//@{
|
||||
void removeIndices(const std::vector<unsigned long>&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
std::vector<float> _lValueList;
|
||||
};
|
||||
|
||||
class PointsExport PropertyNormalList: public App::PropertyLists
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
PropertyNormalList();
|
||||
|
||||
void setSize(int newSize) override;
|
||||
int getSize() const override;
|
||||
|
||||
void setValue(const Base::Vector3f&);
|
||||
void setValue(float x, float y, float z);
|
||||
|
||||
const Base::Vector3f& operator[](const int idx) const
|
||||
{
|
||||
return _lValueList[idx];
|
||||
}
|
||||
|
||||
void set1Value(const int idx, const Base::Vector3f& value)
|
||||
{
|
||||
_lValueList[idx] = value;
|
||||
}
|
||||
|
||||
void setValues(const std::vector<Base::Vector3f>& values);
|
||||
|
||||
const std::vector<Base::Vector3f>& getValues() const
|
||||
{
|
||||
return _lValueList;
|
||||
}
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
void setPyObject(PyObject*) override;
|
||||
|
||||
void Save(Base::Writer& writer) const override;
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
|
||||
void SaveDocFile(Base::Writer& writer) const override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
|
||||
App::Property* Copy() const override;
|
||||
void Paste(const App::Property& from) override;
|
||||
|
||||
unsigned int getMemSize() const override;
|
||||
|
||||
/** @name Modify */
|
||||
//@{
|
||||
void transformGeometry(const Base::Matrix4D& rclMat);
|
||||
void removeIndices(const std::vector<unsigned long>&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
std::vector<Base::Vector3f> _lValueList;
|
||||
};
|
||||
|
||||
/** Curvature information. */
|
||||
struct PointsExport CurvatureInfo
|
||||
{
|
||||
float fMaxCurvature {}, fMinCurvature {};
|
||||
Base::Vector3f cMaxCurvDir, cMinCurvDir;
|
||||
};
|
||||
|
||||
/** The Curvature property class.
|
||||
*/
|
||||
class PointsExport PropertyCurvatureList: public App::PropertyLists
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
enum
|
||||
{
|
||||
MeanCurvature = 0, /**< Mean curvature */
|
||||
GaussCurvature = 1, /**< Gaussian curvature */
|
||||
MaxCurvature = 2, /**< Maximum curvature */
|
||||
MinCurvature = 3, /**< Minimum curvature */
|
||||
AbsCurvature = 4 /**< Absolute curvature */
|
||||
};
|
||||
|
||||
public:
|
||||
PropertyCurvatureList();
|
||||
|
||||
void setSize(int newSize) override
|
||||
{
|
||||
_lValueList.resize(newSize);
|
||||
}
|
||||
int getSize() const override
|
||||
{
|
||||
return _lValueList.size();
|
||||
}
|
||||
void setValue(const CurvatureInfo&);
|
||||
void setValues(const std::vector<CurvatureInfo>&);
|
||||
std::vector<float> getCurvature(int tMode) const;
|
||||
|
||||
/// index operator
|
||||
const CurvatureInfo& operator[](const int idx) const
|
||||
{
|
||||
return _lValueList[idx];
|
||||
}
|
||||
void set1Value(const int idx, const CurvatureInfo& value)
|
||||
{
|
||||
_lValueList[idx] = value;
|
||||
}
|
||||
const std::vector<CurvatureInfo>& getValues() const
|
||||
{
|
||||
return _lValueList;
|
||||
}
|
||||
|
||||
PyObject* getPyObject() override;
|
||||
void setPyObject(PyObject*) override;
|
||||
|
||||
/** @name Save/restore */
|
||||
//@{
|
||||
void Save(Base::Writer& writer) const override;
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
|
||||
void SaveDocFile(Base::Writer& writer) const override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
//@}
|
||||
|
||||
/** @name Undo/Redo */
|
||||
//@{
|
||||
/// returns a new copy of the property (mainly for Undo/Redo and transactions)
|
||||
App::Property* Copy() const override;
|
||||
/// paste the value from the property (mainly for Undo/Redo and transactions)
|
||||
void Paste(const App::Property& from) override;
|
||||
unsigned int getMemSize() const override;
|
||||
//@}
|
||||
|
||||
/** @name Modify */
|
||||
//@{
|
||||
void transformGeometry(const Base::Matrix4D& rclMat);
|
||||
void removeIndices(const std::vector<unsigned long>&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
std::vector<CurvatureInfo> _lValueList;
|
||||
};
|
||||
|
||||
} // namespace Points
|
||||
204
src/Mod/Points/App/PropertyPointKernel.cpp
Normal file
204
src/Mod/Points/App/PropertyPointKernel.cpp
Normal file
@@ -0,0 +1,204 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2006 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "PointsPy.h"
|
||||
#include "PropertyPointKernel.h"
|
||||
|
||||
|
||||
using namespace Points;
|
||||
|
||||
TYPESYSTEM_SOURCE(Points::PropertyPointKernel, App::PropertyComplexGeoData)
|
||||
|
||||
PropertyPointKernel::PropertyPointKernel()
|
||||
: _cPoints(new PointKernel())
|
||||
{}
|
||||
|
||||
void PropertyPointKernel::setValue(const PointKernel& m)
|
||||
{
|
||||
aboutToSetValue();
|
||||
*_cPoints = m;
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
const PointKernel& PropertyPointKernel::getValue() const
|
||||
{
|
||||
return *_cPoints;
|
||||
}
|
||||
|
||||
const Data::ComplexGeoData* PropertyPointKernel::getComplexData() const
|
||||
{
|
||||
return _cPoints;
|
||||
}
|
||||
|
||||
void PropertyPointKernel::setTransform(const Base::Matrix4D& rclTrf)
|
||||
{
|
||||
_cPoints->setTransform(rclTrf);
|
||||
}
|
||||
|
||||
Base::Matrix4D PropertyPointKernel::getTransform() const
|
||||
{
|
||||
return _cPoints->getTransform();
|
||||
}
|
||||
|
||||
Base::BoundBox3d PropertyPointKernel::getBoundingBox() const
|
||||
{
|
||||
return _cPoints->getBoundBox();
|
||||
}
|
||||
|
||||
PyObject* PropertyPointKernel::getPyObject()
|
||||
{
|
||||
PointsPy* points = new PointsPy(&*_cPoints);
|
||||
points->setConst(); // set immutable
|
||||
return points;
|
||||
}
|
||||
|
||||
void PropertyPointKernel::setPyObject(PyObject* value)
|
||||
{
|
||||
if (PyObject_TypeCheck(value, &(PointsPy::Type))) {
|
||||
PointsPy* pcObject = static_cast<PointsPy*>(value);
|
||||
setValue(*(pcObject->getPointKernelPtr()));
|
||||
}
|
||||
else {
|
||||
std::string error = std::string("type must be 'Points', not ");
|
||||
error += value->ob_type->tp_name;
|
||||
throw Base::TypeError(error);
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyPointKernel::Save(Base::Writer& writer) const
|
||||
{
|
||||
_cPoints->Save(writer);
|
||||
}
|
||||
|
||||
void PropertyPointKernel::Restore(Base::XMLReader& reader)
|
||||
{
|
||||
reader.readElement("Points");
|
||||
std::string file(reader.getAttribute<const char*>("file"));
|
||||
|
||||
if (!file.empty()) {
|
||||
// initiate a file read
|
||||
reader.addFile(file.c_str(), this);
|
||||
}
|
||||
if (reader.DocumentSchema > 3) {
|
||||
std::string Matrix(reader.getAttribute<const char*>("mtrx"));
|
||||
Base::Matrix4D mtrx;
|
||||
mtrx.fromString(Matrix);
|
||||
|
||||
aboutToSetValue();
|
||||
_cPoints->setTransform(mtrx);
|
||||
hasSetValue();
|
||||
}
|
||||
}
|
||||
|
||||
void PropertyPointKernel::SaveDocFile(Base::Writer& writer) const
|
||||
{
|
||||
// does nothing
|
||||
(void)writer;
|
||||
}
|
||||
|
||||
void PropertyPointKernel::RestoreDocFile(Base::Reader& reader)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_cPoints->RestoreDocFile(reader);
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
App::Property* PropertyPointKernel::Copy() const
|
||||
{
|
||||
PropertyPointKernel* prop = new PropertyPointKernel();
|
||||
(*prop->_cPoints) = (*this->_cPoints);
|
||||
return prop;
|
||||
}
|
||||
|
||||
void PropertyPointKernel::Paste(const App::Property& from)
|
||||
{
|
||||
aboutToSetValue();
|
||||
const PropertyPointKernel& prop = dynamic_cast<const PropertyPointKernel&>(from);
|
||||
*(this->_cPoints) = *(prop._cPoints);
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
unsigned int PropertyPointKernel::getMemSize() const
|
||||
{
|
||||
return sizeof(Base::Vector3f) * this->_cPoints->size();
|
||||
}
|
||||
|
||||
PointKernel* PropertyPointKernel::startEditing()
|
||||
{
|
||||
aboutToSetValue();
|
||||
return static_cast<PointKernel*>(_cPoints);
|
||||
}
|
||||
|
||||
void PropertyPointKernel::finishEditing()
|
||||
{
|
||||
hasSetValue();
|
||||
}
|
||||
|
||||
void PropertyPointKernel::removeIndices(const std::vector<unsigned long>& uIndices)
|
||||
{
|
||||
// We need a sorted array
|
||||
std::vector<unsigned long> uSortedInds = uIndices;
|
||||
std::sort(uSortedInds.begin(), uSortedInds.end());
|
||||
|
||||
assert(uSortedInds.size() <= _cPoints->size());
|
||||
if (uSortedInds.size() > _cPoints->size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
PointKernel kernel;
|
||||
kernel.setTransform(_cPoints->getTransform());
|
||||
kernel.reserve(_cPoints->size() - uSortedInds.size());
|
||||
|
||||
std::vector<unsigned long>::iterator pos = uSortedInds.begin();
|
||||
unsigned long index = 0;
|
||||
for (PointKernel::const_iterator it = _cPoints->begin(); it != _cPoints->end(); ++it, ++index) {
|
||||
if (pos == uSortedInds.end()) {
|
||||
kernel.push_back(*it);
|
||||
}
|
||||
else if (index != *pos) {
|
||||
kernel.push_back(*it);
|
||||
}
|
||||
else {
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
setValue(kernel);
|
||||
}
|
||||
|
||||
void PropertyPointKernel::transformGeometry(const Base::Matrix4D& rclMat)
|
||||
{
|
||||
aboutToSetValue();
|
||||
_cPoints->transformGeometry(rclMat);
|
||||
hasSetValue();
|
||||
}
|
||||
95
src/Mod/Points/App/PropertyPointKernel.h
Normal file
95
src/Mod/Points/App/PropertyPointKernel.h
Normal file
@@ -0,0 +1,95 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2006 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Points.h"
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
/** The point kernel property
|
||||
*/
|
||||
class PointsExport PropertyPointKernel: public App::PropertyComplexGeoData
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
PropertyPointKernel();
|
||||
|
||||
/** @name Getter/setter */
|
||||
//@{
|
||||
/// Sets the points to the property
|
||||
void setValue(const PointKernel& m);
|
||||
/// get the points (only const possible!)
|
||||
const PointKernel& getValue() const;
|
||||
const Data::ComplexGeoData* getComplexData() const override;
|
||||
void setTransform(const Base::Matrix4D& rclTrf) override;
|
||||
Base::Matrix4D getTransform() const override;
|
||||
//@}
|
||||
|
||||
/** @name Getting basic geometric entities */
|
||||
//@{
|
||||
/** Returns the bounding box around the underlying mesh kernel */
|
||||
Base::BoundBox3d getBoundingBox() const override;
|
||||
//@}
|
||||
|
||||
/** @name Python interface */
|
||||
//@{
|
||||
PyObject* getPyObject() override;
|
||||
void setPyObject(PyObject* value) override;
|
||||
//@}
|
||||
|
||||
/** @name Undo/Redo */
|
||||
//@{
|
||||
/// returns a new copy of the property (mainly for Undo/Redo and transactions)
|
||||
App::Property* Copy() const override;
|
||||
/// paste the value from the property (mainly for Undo/Redo and transactions)
|
||||
void Paste(const App::Property& from) override;
|
||||
unsigned int getMemSize() const override;
|
||||
//@}
|
||||
|
||||
/** @name Save/restore */
|
||||
//@{
|
||||
void Save(Base::Writer& writer) const override;
|
||||
void Restore(Base::XMLReader& reader) override;
|
||||
void SaveDocFile(Base::Writer& writer) const override;
|
||||
void RestoreDocFile(Base::Reader& reader) override;
|
||||
//@}
|
||||
|
||||
/** @name Modification */
|
||||
//@{
|
||||
PointKernel* startEditing();
|
||||
void finishEditing();
|
||||
/// Transform the real 3d point kernel
|
||||
void transformGeometry(const Base::Matrix4D& rclMat) override;
|
||||
void removeIndices(const std::vector<unsigned long>&);
|
||||
//@}
|
||||
|
||||
private:
|
||||
Base::Reference<PointKernel> _cPoints;
|
||||
};
|
||||
|
||||
} // namespace Points
|
||||
93
src/Mod/Points/App/Structured.cpp
Normal file
93
src/Mod/Points/App/Structured.cpp
Normal file
@@ -0,0 +1,93 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2015 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
#include "Structured.h"
|
||||
|
||||
|
||||
using namespace Points;
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Structured
|
||||
//===========================================================================
|
||||
/*
|
||||
import Points
|
||||
import random
|
||||
import math
|
||||
|
||||
r=random.Random()
|
||||
|
||||
p=Points.Points()
|
||||
pts=[]
|
||||
for i in range(21):
|
||||
for j in range(21):
|
||||
pts.append(App.Vector(i,j,r.gauss(5,0.05)))
|
||||
|
||||
p.addPoints(pts)
|
||||
doc=App.ActiveDocument
|
||||
pts=doc.addObject('Points::Structured','View')
|
||||
pts.Points=p
|
||||
pts.Width=21
|
||||
pts.Height=21
|
||||
*/
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
PROPERTY_SOURCE(Points::Structured, Points::Feature)
|
||||
|
||||
Structured::Structured()
|
||||
{
|
||||
// App::PropertyType type = static_cast<App::PropertyType>(App::Prop_None);
|
||||
App::PropertyType type = static_cast<App::PropertyType>(App::Prop_ReadOnly);
|
||||
ADD_PROPERTY_TYPE(Width, (1), "Structured points", type, "Width of the image");
|
||||
ADD_PROPERTY_TYPE(Height, (1), "Structured points", type, "Height of the image");
|
||||
// Width.setStatus(App::Property::ReadOnly, true);
|
||||
// Height.setStatus(App::Property::ReadOnly, true);
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* Structured::execute()
|
||||
{
|
||||
std::size_t size = Height.getValue() * Width.getValue();
|
||||
if (size != Points.getValue().size()) {
|
||||
throw Base::ValueError("(Width * Height) doesn't match with number of points");
|
||||
}
|
||||
this->Points.touch();
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
namespace App
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Points::StructuredCustom, Points::Structured)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PointsExport FeatureCustomT<Points::Structured>;
|
||||
} // namespace App
|
||||
63
src/Mod/Points/App/Structured.h
Normal file
63
src/Mod/Points/App/Structured.h
Normal file
@@ -0,0 +1,63 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2015 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "PointsFeature.h"
|
||||
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
/*! For the Structured class it is expected that the Point property has Width*Height vertices
|
||||
and that with respect to their x,y coordinates they are ordered in a grid structure.
|
||||
If a point is marked invalid then one of its coordinates is set to NaN.
|
||||
*/
|
||||
class PointsExport Structured: public Feature
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Points::Structured);
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
Structured();
|
||||
|
||||
App::PropertyInteger Width; /**< The width of the structured cloud. */
|
||||
App::PropertyInteger Height; /**< The height of the structured cloud. */
|
||||
|
||||
/** @name methods override Feature */
|
||||
//@{
|
||||
/// recalculate the Feature
|
||||
App::DocumentObjectExecReturn* execute() override;
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName() const override
|
||||
{
|
||||
return "PointsGui::ViewProviderStructured";
|
||||
}
|
||||
//@}
|
||||
};
|
||||
|
||||
using StructuredCustom = App::FeatureCustomT<Structured>;
|
||||
|
||||
} // namespace Points
|
||||
65
src/Mod/Points/App/Tools.h
Normal file
65
src/Mod/Points/App/Tools.h
Normal file
@@ -0,0 +1,65 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2023 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of FreeCAD. *
|
||||
* *
|
||||
* FreeCAD is free software: you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU Lesser General Public License as *
|
||||
* published by the Free Software Foundation, either version 2.1 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* FreeCAD is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with FreeCAD. If not, see *
|
||||
* <https://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
**************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace Points
|
||||
{
|
||||
|
||||
template<typename PropertyT>
|
||||
bool copyProperty(
|
||||
App::DocumentObject* target,
|
||||
std::vector<App::DocumentObject*> source,
|
||||
const char* propertyName
|
||||
)
|
||||
{
|
||||
// check for properties
|
||||
if (std::all_of(std::begin(source), std::end(source), [=](auto obj) {
|
||||
return freecad_cast<PropertyT*>(obj->getPropertyByName(propertyName)) != nullptr;
|
||||
})) {
|
||||
|
||||
auto target_prop = freecad_cast<PropertyT*>(
|
||||
target->addDynamicProperty(PropertyT::getClassTypeId().getName(), propertyName)
|
||||
);
|
||||
if (target_prop) {
|
||||
auto values = target_prop->getValues();
|
||||
for (auto it : source) {
|
||||
auto source_prop = freecad_cast<PropertyT*>(it->getPropertyByName(propertyName));
|
||||
if (source_prop) {
|
||||
auto source_values = source_prop->getValues();
|
||||
values.insert(values.end(), source_values.begin(), source_values.end());
|
||||
}
|
||||
}
|
||||
|
||||
target_prop->setValues(values);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace Points
|
||||
36
src/Mod/Points/CMakeLists.txt
Normal file
36
src/Mod/Points/CMakeLists.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
add_subdirectory(App)
|
||||
if(BUILD_GUI)
|
||||
add_subdirectory(Gui)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
set(Points_Scripts
|
||||
Init.py
|
||||
)
|
||||
|
||||
if(BUILD_GUI)
|
||||
list (APPEND Points_Scripts InitGui.py)
|
||||
endif(BUILD_GUI)
|
||||
|
||||
# ************************************************************************************************
|
||||
# ****** Python non Gui packages and modules *****************************************************
|
||||
# ************************************************************************************************
|
||||
|
||||
SET(PointsCommands_SRCS
|
||||
pointscommands/__init__.py
|
||||
pointscommands/commands.py
|
||||
)
|
||||
|
||||
SET(PointsAllScripts
|
||||
${PointsCommands_SRCS}
|
||||
)
|
||||
|
||||
ADD_CUSTOM_TARGET(PointsScripts ALL
|
||||
SOURCES ${PointsAllScripts}
|
||||
)
|
||||
fc_copy_sources(PointsScripts "${CMAKE_BINARY_DIR}/Mod/Points" ${PointsAllScripts})
|
||||
|
||||
# install directories for Python packages
|
||||
INSTALL(FILES ${Points_Scripts} DESTINATION Mod/Points)
|
||||
INSTALL(FILES ${PointsCommands_SRCS} DESTINATION Mod/Points/pointscommands)
|
||||
107
src/Mod/Points/Gui/AppPointsGui.cpp
Normal file
107
src/Mod/Points/Gui/AppPointsGui.cpp
Normal file
@@ -0,0 +1,107 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Language/Translator.h>
|
||||
#include <Mod/Points/App/PropertyPointKernel.h>
|
||||
|
||||
#include "ViewProvider.h"
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
// use a different name to CreateCommand()
|
||||
void CreatePointsCommands();
|
||||
|
||||
void loadPointsResource()
|
||||
{
|
||||
// add resources and reloads the translators
|
||||
Q_INIT_RESOURCE(Points);
|
||||
Q_INIT_RESOURCE(Points_translation);
|
||||
Gui::Translator::instance()->refresh();
|
||||
}
|
||||
|
||||
namespace PointsGui
|
||||
{
|
||||
class Module: public Py::ExtensionModule<Module>
|
||||
{
|
||||
public:
|
||||
Module()
|
||||
: Py::ExtensionModule<Module>("PointsGui")
|
||||
{
|
||||
initialize("This module is the PointsGui module."); // register with Python
|
||||
}
|
||||
};
|
||||
|
||||
PyObject* initModule()
|
||||
{
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
} // namespace PointsGui
|
||||
|
||||
|
||||
/* Python entry */
|
||||
PyMOD_INIT_FUNC(PointsGui)
|
||||
{
|
||||
if (!Gui::Application::Instance) {
|
||||
PyErr_SetString(PyExc_ImportError, "Cannot load Gui module in console application.");
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
|
||||
// load dependent module
|
||||
try {
|
||||
Base::Interpreter().loadModule("Points");
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
PyErr_SetString(PyExc_ImportError, e.what());
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
|
||||
Base::Console().log("Loading GUI of Points module… done\n");
|
||||
PyObject* mod = PointsGui::initModule();
|
||||
|
||||
// instantiating the commands
|
||||
CreatePointsCommands();
|
||||
|
||||
// clang-format off
|
||||
PointsGui::ViewProviderPoints ::init();
|
||||
PointsGui::ViewProviderScattered ::init();
|
||||
PointsGui::ViewProviderStructured ::init();
|
||||
PointsGui::ViewProviderPython ::init();
|
||||
PointsGui::Workbench ::init();
|
||||
// clang-format on
|
||||
Gui::ViewProviderBuilder::add(
|
||||
Points::PropertyPointKernel::getClassTypeId(),
|
||||
PointsGui::ViewProviderPoints::getClassTypeId()
|
||||
);
|
||||
|
||||
// add resources and reloads the translators
|
||||
loadPointsResource();
|
||||
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
87
src/Mod/Points/Gui/CMakeLists.txt
Normal file
87
src/Mod/Points/Gui/CMakeLists.txt
Normal file
@@ -0,0 +1,87 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
set(PointsGui_LIBS
|
||||
Points
|
||||
FreeCADGui
|
||||
)
|
||||
|
||||
set(Dialog_UIC_SRCS
|
||||
DlgPointsRead.ui
|
||||
)
|
||||
|
||||
SET(Dialogs_SRCS
|
||||
${Dialogs_UIC_HDRS}
|
||||
DlgPointsRead.ui
|
||||
DlgPointsReadImp.cpp
|
||||
DlgPointsReadImp.h
|
||||
)
|
||||
SOURCE_GROUP("Dialogs" FILES ${Dialogs_SRCS})
|
||||
|
||||
set (Points_TR_QRC ${CMAKE_CURRENT_BINARY_DIR}/Resources/Points_translation.qrc)
|
||||
qt_find_and_add_translation(QM_SRCS "Resources/translations/*_*.ts"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Resources/translations)
|
||||
qt_create_resource_file(${Points_TR_QRC} ${QM_SRCS})
|
||||
qt_add_resources(Resource_SRCS Resources/Points.qrc ${Points_TR_QRC})
|
||||
|
||||
SET(Resource_SRCS
|
||||
${Resource_SRCS}
|
||||
Resources/Points.qrc
|
||||
)
|
||||
SOURCE_GROUP("Resource" FILES ${Resource_SRCS})
|
||||
|
||||
SET(PointsGui_SRCS
|
||||
${Dialogs_SRCS}
|
||||
${Resource_SRCS}
|
||||
AppPointsGui.cpp
|
||||
Command.cpp
|
||||
PreCompiled.h
|
||||
ViewProvider.cpp
|
||||
ViewProvider.h
|
||||
Workbench.cpp
|
||||
Workbench.h
|
||||
)
|
||||
|
||||
set(PointsGui_Scripts
|
||||
../InitGui.py
|
||||
)
|
||||
|
||||
SET(PointsGuiIcon_SVG
|
||||
Resources/icons/PointsWorkbench.svg
|
||||
)
|
||||
|
||||
add_library(PointsGui SHARED
|
||||
${PointsGui_SRCS}
|
||||
${PointsGui_Scripts}
|
||||
${PointsGuiIcon_SVG}
|
||||
)
|
||||
|
||||
if(FREECAD_USE_PCH)
|
||||
target_precompile_headers(PointsGui PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:CXX>:"${CMAKE_CURRENT_LIST_DIR}/PreCompiled.h">
|
||||
)
|
||||
endif(FREECAD_USE_PCH)
|
||||
|
||||
target_include_directories(
|
||||
PointsGui
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(PointsGui ${PointsGui_LIBS})
|
||||
if (FREECAD_WARN_ERROR)
|
||||
target_compile_warn_error(PointsGui)
|
||||
endif()
|
||||
|
||||
fc_target_copy_resource_flat(PointsGui
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/Mod/Points
|
||||
${PointsGui_Scripts})
|
||||
|
||||
SET_BIN_DIR(PointsGui PointsGui /Mod/Points)
|
||||
SET_PYTHON_PREFIX_SUFFIX(PointsGui)
|
||||
|
||||
fc_copy_sources(PointsGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Points" ${PointsGuiIcon_SVG})
|
||||
|
||||
INSTALL(TARGETS PointsGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
INSTALL(FILES ${PointsGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Points/Resources/icons")
|
||||
518
src/Mod/Points/Gui/Command.cpp
Normal file
518
src/Mod/Points/Gui/Command.cpp
Normal file
@@ -0,0 +1,518 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2006 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <Inventor/events/SoMouseButtonEvent.h>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/Document.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/FileDialog.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Selection/Selection.h>
|
||||
#include <Gui/View3DInventor.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include <Gui/ViewProviderDocumentObject.h>
|
||||
#include <Gui/WaitCursor.h>
|
||||
|
||||
#include "../App/PointsFeature.h"
|
||||
#include "../App/Properties.h"
|
||||
#include "../App/Structured.h"
|
||||
#include "../App/Tools.h"
|
||||
|
||||
#include "DlgPointsReadImp.h"
|
||||
#include "ViewProvider.h"
|
||||
|
||||
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
//===========================================================================
|
||||
// CmdPointsImport
|
||||
//===========================================================================
|
||||
DEF_STD_CMD_A(CmdPointsImport)
|
||||
|
||||
CmdPointsImport::CmdPointsImport()
|
||||
: Command("Points_Import")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Import Points…");
|
||||
sToolTipText = QT_TR_NOOP("Imports a point cloud");
|
||||
sWhatsThis = "Points_Import";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Points_Import_Point_cloud";
|
||||
}
|
||||
|
||||
void CmdPointsImport::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
QString fn = Gui::FileDialog::getOpenFileName(
|
||||
Gui::getMainWindow(),
|
||||
QString(),
|
||||
QString(),
|
||||
QStringLiteral("%1 (*.asc *.pcd *.ply *.e57);;%2 (*.*)")
|
||||
.arg(QObject::tr("Point formats"), QObject::tr("All Files"))
|
||||
);
|
||||
if (fn.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fn.isEmpty()) {
|
||||
fn = Base::Tools::escapeEncodeFilename(fn);
|
||||
App::Document* doc = getActiveDocument();
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Import points"));
|
||||
addModule(Command::App, "Points");
|
||||
doCommand(Command::Doc, "Points.insert(\"%s\", \"%s\")", fn.toUtf8().data(), doc->getName());
|
||||
commitCommand();
|
||||
|
||||
updateActive();
|
||||
|
||||
/** check if boundbox contains the origin, offer to move it to the origin if not
|
||||
* addresses issue #5808 where an imported points cloud that was far from the
|
||||
* origin had inaccuracies in the relative positioning of the points due to
|
||||
* imprecise floating point variables used in COIN
|
||||
**/
|
||||
if (auto pcFtr = dynamic_cast<Points::Feature*>(doc->getActiveObject())) {
|
||||
auto points = pcFtr->Points.getValue();
|
||||
auto bbox = points.getBoundBox();
|
||||
auto center = bbox.GetCenter();
|
||||
|
||||
if (!bbox.IsInBox(Base::Vector3d(0, 0, 0))) {
|
||||
QMessageBox msgBox(Gui::getMainWindow());
|
||||
msgBox.setIcon(QMessageBox::Question);
|
||||
msgBox.setWindowTitle(QObject::tr("Points not at Origin"));
|
||||
msgBox.setText(
|
||||
QObject::tr(
|
||||
"The bounding box of the imported points does not contain the origin. "
|
||||
"Translate it to the origin?"
|
||||
)
|
||||
);
|
||||
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||
msgBox.setDefaultButton(QMessageBox::Yes);
|
||||
auto ret = msgBox.exec();
|
||||
|
||||
if (ret == QMessageBox::Yes) {
|
||||
Points::PointKernel* kernel = pcFtr->Points.startEditing();
|
||||
kernel->moveGeometry(-center);
|
||||
pcFtr->Points.finishEditing();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdPointsImport::isActive()
|
||||
{
|
||||
if (getActiveGuiDocument()) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
DEF_STD_CMD_A(CmdPointsExport)
|
||||
|
||||
CmdPointsExport::CmdPointsExport()
|
||||
: Command("Points_Export")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Export Points…");
|
||||
sToolTipText = QT_TR_NOOP("Exports a point cloud");
|
||||
sWhatsThis = "Points_Export";
|
||||
sStatusTip = QT_TR_NOOP("Exports a point cloud");
|
||||
sPixmap = "Points_Export_Point_cloud";
|
||||
}
|
||||
|
||||
void CmdPointsExport::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
addModule(Command::App, "Points");
|
||||
std::vector<App::DocumentObject*> points = getSelection().getObjectsOfType(
|
||||
Points::Feature::getClassTypeId()
|
||||
);
|
||||
for (auto point : points) {
|
||||
QString fn = Gui::FileDialog::getSaveFileName(
|
||||
Gui::getMainWindow(),
|
||||
QString(),
|
||||
QString(),
|
||||
QStringLiteral("%1 (*.asc *.pcd *.ply);;%2 (*.*)")
|
||||
.arg(QObject::tr("Point formats"), QObject::tr("All Files"))
|
||||
);
|
||||
if (fn.isEmpty()) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!fn.isEmpty()) {
|
||||
fn = Base::Tools::escapeEncodeFilename(fn);
|
||||
doCommand(
|
||||
Command::Doc,
|
||||
"Points.export([App.ActiveDocument.%s], \"%s\")",
|
||||
point->getNameInDocument(),
|
||||
fn.toUtf8().data()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdPointsExport::isActive()
|
||||
{
|
||||
return getSelection().countObjectsOfType<Points::Feature>() > 0;
|
||||
}
|
||||
|
||||
DEF_STD_CMD_A(CmdPointsConvert)
|
||||
|
||||
CmdPointsConvert::CmdPointsConvert()
|
||||
: Command("Points_Convert")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Convert to Points");
|
||||
sToolTipText = QT_TR_NOOP("Converts to points");
|
||||
sWhatsThis = "Points_Convert";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Points_Convert";
|
||||
}
|
||||
|
||||
void CmdPointsConvert::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
double STD_OCC_TOLERANCE = 1e-6;
|
||||
|
||||
int decimals = Base::UnitsApi::getDecimals();
|
||||
double tolerance_from_decimals = pow(10., -decimals);
|
||||
|
||||
double minimal_tolerance = tolerance_from_decimals < STD_OCC_TOLERANCE ? STD_OCC_TOLERANCE
|
||||
: tolerance_from_decimals;
|
||||
|
||||
bool ok;
|
||||
double tol = QInputDialog::getDouble(
|
||||
Gui::getMainWindow(),
|
||||
QObject::tr("Distance"),
|
||||
QObject::tr("Enter maximum distance:"),
|
||||
0.1,
|
||||
minimal_tolerance,
|
||||
10.0,
|
||||
decimals,
|
||||
&ok,
|
||||
Qt::MSWindowsFixedSizeDialogHint
|
||||
);
|
||||
if (!ok) {
|
||||
return;
|
||||
}
|
||||
|
||||
Gui::WaitCursor wc;
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Convert to points"));
|
||||
std::vector<App::GeoFeature*> geoObject = getSelection().getObjectsOfType<App::GeoFeature>();
|
||||
|
||||
auto run_python = [](const std::vector<App::GeoFeature*>& geoObject, double tol) -> bool {
|
||||
Py::List list;
|
||||
for (auto it : geoObject) {
|
||||
const App::PropertyComplexGeoData* prop = it->getPropertyOfGeometry();
|
||||
if (prop) {
|
||||
list.append(Py::asObject(it->getPyObject()));
|
||||
}
|
||||
}
|
||||
|
||||
if (list.size() > 0) {
|
||||
PyObject* module = PyImport_ImportModule("pointscommands.commands");
|
||||
if (!module) {
|
||||
throw Py::Exception();
|
||||
}
|
||||
|
||||
Py::Module commands(module, true);
|
||||
commands.callMemberFunction("make_points_from_geometry", Py::TupleN(list, Py::Float(tol)));
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
Base::PyGILStateLocker lock;
|
||||
try {
|
||||
if (run_python(geoObject, tol)) {
|
||||
commitCommand();
|
||||
}
|
||||
else {
|
||||
abortCommand();
|
||||
}
|
||||
}
|
||||
catch (const Py::Exception&) {
|
||||
abortCommand();
|
||||
Base::PyException e;
|
||||
e.reportException();
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdPointsConvert::isActive()
|
||||
{
|
||||
return getSelection().countObjectsOfType<App::GeoFeature>() > 0;
|
||||
}
|
||||
|
||||
DEF_STD_CMD_A(CmdPointsPolyCut)
|
||||
|
||||
CmdPointsPolyCut::CmdPointsPolyCut()
|
||||
: Command("Points_PolyCut")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Cut Point Cloud");
|
||||
sToolTipText = QT_TR_NOOP("Cuts a point cloud with a selected polygon");
|
||||
sWhatsThis = "Points_PolyCut";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "PolygonPick";
|
||||
}
|
||||
|
||||
void CmdPointsPolyCut::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
std::vector<App::DocumentObject*> docObj = Gui::Selection().getObjectsOfType(
|
||||
Points::Feature::getClassTypeId()
|
||||
);
|
||||
for (std::vector<App::DocumentObject*>::iterator it = docObj.begin(); it != docObj.end(); ++it) {
|
||||
if (it == docObj.begin()) {
|
||||
Gui::Document* doc = getActiveGuiDocument();
|
||||
Gui::MDIView* view = doc->getActiveView();
|
||||
if (view->isDerivedFrom<Gui::View3DInventor>()) {
|
||||
Gui::View3DInventorViewer* viewer = ((Gui::View3DInventor*)view)->getViewer();
|
||||
viewer->setEditing(true);
|
||||
viewer->startSelection(Gui::View3DInventorViewer::Lasso);
|
||||
viewer->addEventCallback(
|
||||
SoMouseButtonEvent::getClassTypeId(),
|
||||
PointsGui::ViewProviderPoints::clipPointsCallback
|
||||
);
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Gui::ViewProvider* pVP = getActiveGuiDocument()->getViewProvider(*it);
|
||||
pVP->startEditing(Gui::ViewProvider::Cutting);
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdPointsPolyCut::isActive()
|
||||
{
|
||||
// Check for the selected mesh feature (all Mesh types)
|
||||
return getSelection().countObjectsOfType<Points::Feature>() > 0;
|
||||
}
|
||||
|
||||
DEF_STD_CMD_A(CmdPointsMerge)
|
||||
|
||||
CmdPointsMerge::CmdPointsMerge()
|
||||
: Command("Points_Merge")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Merge Point Clouds");
|
||||
sToolTipText = QT_TR_NOOP("Merges several point clouds into one");
|
||||
sWhatsThis = "Points_Merge";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Points_Merge";
|
||||
}
|
||||
|
||||
void CmdPointsMerge::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
App::Document* doc = App::GetApplication().getActiveDocument();
|
||||
doc->openTransaction("Merge point clouds");
|
||||
Points::Feature* pts = doc->addObject<Points::Feature>("Merged Points");
|
||||
Points::PointKernel* kernel = pts->Points.startEditing();
|
||||
|
||||
std::vector<App::DocumentObject*> docObj = Gui::Selection().getObjectsOfType(
|
||||
Points::Feature::getClassTypeId()
|
||||
);
|
||||
for (auto it : docObj) {
|
||||
const Points::PointKernel& k = static_cast<Points::Feature*>(it)->Points.getValue();
|
||||
std::size_t numPts = kernel->size();
|
||||
kernel->resize(numPts + k.size());
|
||||
for (std::size_t i = 0; i < k.size(); ++i) {
|
||||
kernel->setPoint(i + numPts, k.getPoint(i));
|
||||
}
|
||||
}
|
||||
|
||||
pts->Points.finishEditing();
|
||||
|
||||
// Add properties
|
||||
std::string displayMode = "Points";
|
||||
if (Points::copyProperty<App::PropertyColorList>(pts, docObj, "Color")) {
|
||||
displayMode = "Color";
|
||||
}
|
||||
if (Points::copyProperty<Points::PropertyNormalList>(pts, docObj, "Normal")) {
|
||||
displayMode = "Shaded";
|
||||
}
|
||||
if (Points::copyProperty<Points::PropertyGreyValueList>(pts, docObj, "Intensity")) {
|
||||
displayMode = "Intensity";
|
||||
}
|
||||
|
||||
if (auto vp = dynamic_cast<Gui::ViewProviderDocumentObject*>(
|
||||
Gui::Application::Instance->getViewProvider(pts)
|
||||
)) {
|
||||
vp->DisplayMode.setValue(displayMode.c_str());
|
||||
}
|
||||
|
||||
doc->commitTransaction();
|
||||
updateActive();
|
||||
}
|
||||
|
||||
bool CmdPointsMerge::isActive()
|
||||
{
|
||||
return getSelection().countObjectsOfType<Points::Feature>() > 1;
|
||||
}
|
||||
|
||||
DEF_STD_CMD_A(CmdPointsStructure)
|
||||
|
||||
CmdPointsStructure::CmdPointsStructure()
|
||||
: Command("Points_Structure")
|
||||
{
|
||||
sAppModule = "Points";
|
||||
sGroup = QT_TR_NOOP("Points");
|
||||
sMenuText = QT_TR_NOOP("Structured Point Cloud");
|
||||
sToolTipText = QT_TR_NOOP("Converts points to a structured point cloud");
|
||||
sWhatsThis = "Points_Structure";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Points_Structure";
|
||||
}
|
||||
|
||||
void CmdPointsStructure::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
App::Document* doc = App::GetApplication().getActiveDocument();
|
||||
doc->openTransaction("Structure point cloud");
|
||||
|
||||
std::vector<App::DocumentObject*> docObj = Gui::Selection().getObjectsOfType(
|
||||
Points::Feature::getClassTypeId()
|
||||
);
|
||||
for (auto it : docObj) {
|
||||
std::string name = it->Label.getValue();
|
||||
name += " (Structured)";
|
||||
Points::Structured* output = doc->addObject<Points::Structured>(name.c_str());
|
||||
output->Label.setValue(name);
|
||||
|
||||
// Already sorted, so just make a copy
|
||||
if (it->isDerivedFrom<Points::Structured>()) {
|
||||
Points::Structured* input = static_cast<Points::Structured*>(it);
|
||||
|
||||
Points::PointKernel* kernel = output->Points.startEditing();
|
||||
const Points::PointKernel& k = input->Points.getValue();
|
||||
|
||||
kernel->resize(k.size());
|
||||
for (std::size_t i = 0; i < k.size(); ++i) {
|
||||
kernel->setPoint(i, k.getPoint(i));
|
||||
}
|
||||
output->Points.finishEditing();
|
||||
output->Width.setValue(input->Width.getValue());
|
||||
output->Height.setValue(input->Height.getValue());
|
||||
}
|
||||
// Sort the points
|
||||
else {
|
||||
Points::Feature* input = static_cast<Points::Feature*>(it);
|
||||
|
||||
Points::PointKernel* kernel = output->Points.startEditing();
|
||||
const Points::PointKernel& k = input->Points.getValue();
|
||||
|
||||
Base::BoundBox3d bbox = input->Points.getBoundingBox();
|
||||
double width = bbox.LengthX();
|
||||
double height = bbox.LengthY();
|
||||
|
||||
// Count the number of different x or y values to get the size
|
||||
std::set<double> countX, countY;
|
||||
for (std::size_t i = 0; i < k.size(); ++i) {
|
||||
Base::Vector3d pnt = k.getPoint(i);
|
||||
countX.insert(pnt.x);
|
||||
countY.insert(pnt.y);
|
||||
}
|
||||
|
||||
long width_l = long(countX.size());
|
||||
long height_l = long(countY.size());
|
||||
|
||||
double dx = width / (width_l - 1);
|
||||
double dy = height / (height_l - 1);
|
||||
|
||||
// Pre-fill the vector with <nan, nan, nan> points and afterwards replace them
|
||||
// with valid point coordinates
|
||||
double nan = std::numeric_limits<double>::quiet_NaN();
|
||||
std::vector<Base::Vector3d> sortedPoints(width_l * height_l, Base::Vector3d(nan, nan, nan));
|
||||
|
||||
for (std::size_t i = 0; i < k.size(); ++i) {
|
||||
Base::Vector3d pnt = k.getPoint(i);
|
||||
double xi = (pnt.x - bbox.MinX) / dx;
|
||||
double yi = (pnt.y - bbox.MinY) / dy;
|
||||
|
||||
double xx = std::fabs(xi - std::round(xi));
|
||||
double yy = std::fabs(yi - std::round(yi));
|
||||
if (xx < 0.01 && yy < 0.01) {
|
||||
xi = std::round(xi);
|
||||
yi = std::round(yi);
|
||||
long index = long(yi * width_l + xi);
|
||||
sortedPoints[index] = pnt;
|
||||
}
|
||||
}
|
||||
|
||||
kernel->resize(sortedPoints.size());
|
||||
for (std::size_t index = 0; index < sortedPoints.size(); index++) {
|
||||
kernel->setPoint(index, sortedPoints[index]);
|
||||
}
|
||||
|
||||
output->Points.finishEditing();
|
||||
output->Width.setValue(width_l);
|
||||
output->Height.setValue(height_l);
|
||||
}
|
||||
}
|
||||
|
||||
doc->commitTransaction();
|
||||
updateActive();
|
||||
}
|
||||
|
||||
bool CmdPointsStructure::isActive()
|
||||
{
|
||||
return getSelection().countObjectsOfType<Points::Feature>() == 1;
|
||||
}
|
||||
|
||||
void CreatePointsCommands()
|
||||
{
|
||||
Gui::CommandManager& rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
rcCmdMgr.addCommand(new CmdPointsImport());
|
||||
rcCmdMgr.addCommand(new CmdPointsExport());
|
||||
rcCmdMgr.addCommand(new CmdPointsConvert());
|
||||
rcCmdMgr.addCommand(new CmdPointsPolyCut());
|
||||
rcCmdMgr.addCommand(new CmdPointsMerge());
|
||||
rcCmdMgr.addCommand(new CmdPointsStructure());
|
||||
}
|
||||
380
src/Mod/Points/Gui/DlgPointsRead.ui
Normal file
380
src/Mod/Points/Gui/DlgPointsRead.ui
Normal file
@@ -0,0 +1,380 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PointsGui::DlgPointsRead</class>
|
||||
<widget class="QDialog" name="PointsGui::DlgPointsRead">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>394</width>
|
||||
<height>631</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>ASCII Points Import</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="textLabel1">
|
||||
<property name="text">
|
||||
<string>Template</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBoxTrmplate"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox1">
|
||||
<property name="title">
|
||||
<string>Special Lines</string>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<property name="margin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>First Line</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radioButtonIgnore">
|
||||
<property name="text">
|
||||
<string>Ignore</string>
|
||||
</property>
|
||||
<property name="autoExclusive">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="radioButtonNbrOfPoints">
|
||||
<property name="text">
|
||||
<string>Number of points</string>
|
||||
</property>
|
||||
<property name="autoExclusive">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<layout class="QGridLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="textLabel3">
|
||||
<property name="text">
|
||||
<string>Cluster by lines starting with</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEditClusterStart"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="textLabel4">
|
||||
<property name="text">
|
||||
<string>Ignore lines starting with</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLineEdit" name="lineEditComments"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox2">
|
||||
<property name="title">
|
||||
<string>Point Format</string>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<property name="margin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<layout class="QGridLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="textLabel6">
|
||||
<property name="text">
|
||||
<string>Number separator</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="comboBoxSeparator">
|
||||
<property name="editable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">,</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">;</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>\t</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>\w</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="textLabel7">
|
||||
<property name="text">
|
||||
<string>Points format</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QComboBox" name="comboBoxPointsFormat">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>X,Y,Z</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>X,Y</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="textLabel8">
|
||||
<property name="text">
|
||||
<string>Next block</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QComboBox" name="comboBoxNextBlock1">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,J,K (normal vector)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,K (normal vector 2D)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>R,G,B (color)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I (gray value)</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="textLabel8_2">
|
||||
<property name="text">
|
||||
<string>Next block</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QComboBox" name="comboBoxNextBlock2">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,J,K (normal vector)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,K (normal vector 2D)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>R,G,B (color)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I (gray value)</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="textLabel8_2_2">
|
||||
<property name="text">
|
||||
<string>Next block</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QComboBox" name="comboBoxNextBlock3">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,J,K (normal vector)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I,K (normal vector 2D)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>R,G,B (color)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>I (gray value)</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox3">
|
||||
<property name="title">
|
||||
<string>Preview</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEditFileName">
|
||||
<property name="readOnly">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout">
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="textLabel5">
|
||||
<property name="text">
|
||||
<string>Number of previewed lines</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEditPreviewLines">
|
||||
<property name="text">
|
||||
<string notr="true">100</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTextEdit" name="textEditPreview"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<tabstops>
|
||||
<tabstop>comboBoxTrmplate</tabstop>
|
||||
<tabstop>radioButtonIgnore</tabstop>
|
||||
<tabstop>radioButtonNbrOfPoints</tabstop>
|
||||
<tabstop>lineEditClusterStart</tabstop>
|
||||
<tabstop>lineEditComments</tabstop>
|
||||
<tabstop>comboBoxSeparator</tabstop>
|
||||
<tabstop>comboBoxPointsFormat</tabstop>
|
||||
<tabstop>comboBoxNextBlock1</tabstop>
|
||||
<tabstop>comboBoxNextBlock2</tabstop>
|
||||
<tabstop>comboBoxNextBlock3</tabstop>
|
||||
<tabstop>lineEditFileName</tabstop>
|
||||
<tabstop>lineEditPreviewLines</tabstop>
|
||||
<tabstop>textEditPreview</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
46
src/Mod/Points/Gui/DlgPointsReadImp.cpp
Normal file
46
src/Mod/Points/Gui/DlgPointsReadImp.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "DlgPointsReadImp.h"
|
||||
#include "ui_DlgPointsRead.h"
|
||||
|
||||
|
||||
using namespace PointsGui;
|
||||
|
||||
DlgPointsReadImp::DlgPointsReadImp(const char* FileName, QWidget* parent, Qt::WindowFlags fl)
|
||||
: QDialog(parent, fl)
|
||||
, ui(new Ui_DlgPointsRead)
|
||||
, _FileName(FileName)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
DlgPointsReadImp::~DlgPointsReadImp() = default;
|
||||
|
||||
|
||||
#include "moc_DlgPointsReadImp.cpp"
|
||||
58
src/Mod/Points/Gui/DlgPointsReadImp.h
Normal file
58
src/Mod/Points/Gui/DlgPointsReadImp.h
Normal file
@@ -0,0 +1,58 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FCGlobal.h>
|
||||
|
||||
#include <QDialog>
|
||||
#include <memory>
|
||||
|
||||
|
||||
namespace PointsGui
|
||||
{
|
||||
class Ui_DlgPointsRead;
|
||||
|
||||
/** The points read dialog
|
||||
*/
|
||||
class DlgPointsReadImp: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DlgPointsReadImp(
|
||||
const char* FileName,
|
||||
QWidget* parent = nullptr,
|
||||
Qt::WindowFlags fl = Qt::WindowFlags()
|
||||
);
|
||||
~DlgPointsReadImp() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui_DlgPointsRead> ui;
|
||||
std::string _FileName;
|
||||
|
||||
Q_DISABLE_COPY_MOVE(DlgPointsReadImp)
|
||||
};
|
||||
|
||||
} // namespace PointsGui
|
||||
54
src/Mod/Points/Gui/PreCompiled.h
Normal file
54
src/Mod/Points/Gui/PreCompiled.h
Normal file
@@ -0,0 +1,54 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
|
||||
// boost
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
|
||||
// Qt
|
||||
#include <QDialog>
|
||||
#include <QInputDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
// Inventor
|
||||
#include <Inventor/SbVec2f.h>
|
||||
#include <Inventor/errors/SoDebugError.h>
|
||||
#include <Inventor/events/SoMouseButtonEvent.h>
|
||||
#include <Inventor/nodes/SoCamera.h>
|
||||
#include <Inventor/nodes/SoCoordinate3.h>
|
||||
#include <Inventor/nodes/SoDrawStyle.h>
|
||||
#include <Inventor/nodes/SoIndexedPointSet.h>
|
||||
#include <Inventor/nodes/SoMaterial.h>
|
||||
#include <Inventor/nodes/SoMaterialBinding.h>
|
||||
#include <Inventor/nodes/SoNormal.h>
|
||||
#include <Inventor/nodes/SoPointSet.h>
|
||||
10
src/Mod/Points/Gui/Resources/Points.qrc
Normal file
10
src/Mod/Points/Gui/Resources/Points.qrc
Normal file
@@ -0,0 +1,10 @@
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file>icons/Points_Convert.svg</file>
|
||||
<file>icons/Points_Export_Point_cloud.svg</file>
|
||||
<file>icons/Points_Import_Point_cloud.svg</file>
|
||||
<file>icons/Points_Merge.svg</file>
|
||||
<file>icons/Points_Structure.svg</file>
|
||||
<file>icons/PointsWorkbench.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
106
src/Mod/Points/Gui/Resources/icons/PointsWorkbench.svg
Normal file
106
src/Mod/Points/Gui/Resources/icons/PointsWorkbench.svg
Normal file
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
height="100%"
|
||||
width="100%"
|
||||
id="svg2"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.0">
|
||||
<metadata
|
||||
id="metadata56">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>$committer</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title></dc:title>
|
||||
<dc:date>2016-02-26</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Points/Gui/Resources/icons/PointsWorkbench.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs54" />
|
||||
<path
|
||||
transform="translate(15,3)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(33,-1)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-1"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(59,-1)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-2"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(49,11)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-7"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(61,23)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-0"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(23,13)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-9"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(29,27)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-3"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(25,43)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-6"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(49,43)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-06"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(45,27)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-26"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
<path
|
||||
transform="translate(63,47)"
|
||||
d="m -4,8 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-18"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0.6" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.0 KiB |
341
src/Mod/Points/Gui/Resources/icons/Points_Convert.svg
Normal file
341
src/Mod/Points/Gui/Resources/icons/Points_Convert.svg
Normal file
@@ -0,0 +1,341 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2985"
|
||||
version="1.1">
|
||||
<title
|
||||
id="title889">Points_Convert</title>
|
||||
<defs
|
||||
id="defs2987">
|
||||
<linearGradient
|
||||
id="linearGradient4387">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6321">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6323" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6325" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3692"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3377-3">
|
||||
<stop
|
||||
id="stop3379-8"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-3"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377-3"
|
||||
id="radialGradient6412"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.67067175,0,0,0.64145918,-63.380792,0.83845403)"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436" />
|
||||
<linearGradient
|
||||
y2="56.000233"
|
||||
x2="20.93985"
|
||||
y1="50.468616"
|
||||
x1="14.824193"
|
||||
gradientTransform="matrix(0.83065033,0.55679442,-0.55679442,0.83065033,34.695117,-1.7840615)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient3049"
|
||||
xlink:href="#linearGradient3036" />
|
||||
<linearGradient
|
||||
id="linearGradient3036">
|
||||
<stop
|
||||
id="stop3038"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3040"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2990">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Points_Convert</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[bitacovir]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Shape_from_Mesh</dc:title>
|
||||
<dc:date>2020-11-21</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier />
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Based on Alexander Gryson's work</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<g
|
||||
style="stroke-width:3.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="g3060"
|
||||
transform="matrix(0.67067175,0,0,0.55048347,-70.90697,-30.046251)">
|
||||
<path
|
||||
id="path3150-7"
|
||||
d="M 181.76846,74.564006 V 110.8957 l -17.89251,14.53268 v -36.3317 z"
|
||||
style="fill:#204a87;stroke:none" />
|
||||
<path
|
||||
id="path3930"
|
||||
d="m 163.87595,121.79521 17.89251,-14.53268"
|
||||
style="fill:none;stroke:#3465a4;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3932"
|
||||
d="M 178.78637,114.52887 V 78.197173"
|
||||
style="fill:none;stroke:#3465a4;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3934"
|
||||
d="m 181.76846,78.197173 -17.89251,14.53268"
|
||||
style="fill:none;stroke:#3465a4;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3936"
|
||||
d="M 166.85803,85.463513 V 121.79521"
|
||||
style="fill:none;stroke:#3465a4;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3152-1"
|
||||
d="M 163.87595,125.42838 140.01927,110.8957 V 74.564003 l 23.85668,14.532677 z"
|
||||
style="fill:#3465a4;stroke:none" />
|
||||
<path
|
||||
id="path3938"
|
||||
d="M 160.89386,89.096683 V 121.79521"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3940"
|
||||
d="m 140.01927,107.26253 23.85668,14.53268"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3942"
|
||||
d="M 143.00136,110.8957 V 78.197173"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3150"
|
||||
d="M 181.76846,74.564003 V 110.8957 l -17.89251,14.53268 V 89.096683 Z"
|
||||
style="fill:none;stroke:#0b1521;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3944"
|
||||
d="M 163.87595,92.729853 140.01927,78.197173"
|
||||
style="fill:none;stroke:#729fcf;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3152"
|
||||
d="M 163.87595,125.42838 140.01927,110.8957 V 74.564003 l 23.85668,14.53268 z"
|
||||
style="fill:none;stroke:#0b1521;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3156"
|
||||
d="m 181.76846,74.564003 -17.89251,14.53268 -23.85668,-14.53268 17.89251,-14.53268 23.85668,14.53268"
|
||||
style="fill:#729fcf;stroke:#0b1521;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
style="stroke-width:3.5;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="g3042"
|
||||
transform="matrix(0.67067175,0,0,0.55048347,-120.90697,-52.046252)">
|
||||
<path
|
||||
id="path3150-7-4"
|
||||
d="m 226.49973,114.52887 v 36.3317 l -17.89251,14.53268 v -36.33171 z"
|
||||
style="fill:#4e9a06;stroke:none" />
|
||||
<path
|
||||
id="path3930-0"
|
||||
d="M 208.60722,161.76008 226.49973,147.2274"
|
||||
style="fill:none;stroke:#73d216;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3932-9"
|
||||
d="m 223.51764,154.49374 v -36.3317"
|
||||
style="fill:none;stroke:#73d216;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3934-4"
|
||||
d="m 226.49973,118.16204 -17.89251,14.53267"
|
||||
style="fill:none;stroke:#73d216;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3936-8"
|
||||
d="m 211.5893,125.42838 v 36.3317"
|
||||
style="fill:none;stroke:#73d216;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3152-1-8"
|
||||
d="m 208.60722,165.39325 -23.85668,-14.53268 v -36.3317 l 23.85668,14.53267 z"
|
||||
style="fill:#73d216;stroke:none" />
|
||||
<path
|
||||
id="path3938-2"
|
||||
d="m 205.62513,129.06154 v 32.69854"
|
||||
style="fill:none;stroke:#8ae234;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3940-4"
|
||||
d="m 184.75054,147.2274 23.85668,14.53268"
|
||||
style="fill:none;stroke:#8ae234;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3942-5"
|
||||
d="M 187.73263,150.86057 V 118.16204"
|
||||
style="fill:none;stroke:#8ae234;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3150-5"
|
||||
d="m 226.49973,114.52887 v 36.3317 l -17.89251,14.53268 v -36.33171 z"
|
||||
style="fill:none;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3944-1"
|
||||
d="M 208.60722,132.69471 184.75054,118.16204"
|
||||
style="fill:none;stroke:#8ae234;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3152-7"
|
||||
d="m 208.60722,165.39325 -23.85668,-14.53268 v -36.3317 l 23.85668,14.53267 z"
|
||||
style="fill:none;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3156-1"
|
||||
d="m 226.49973,114.52887 -17.89251,14.53267 -23.85668,-14.53267 17.89251,-14.532675 23.85668,14.532675"
|
||||
style="fill:#8ae234;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3928-5"
|
||||
d="m 184.75054,114.52887 h 41.74919"
|
||||
style="fill:none;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3928-5-3"
|
||||
d="m 184.75054,150.86057 23.85668,-21.79902"
|
||||
style="fill:none;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3928-5-6"
|
||||
d="m 208.60722,165.39325 17.89251,-50.86438"
|
||||
style="fill:none;stroke:#172a04;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3049);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.2;marker:none;enable-background:accumulate"
|
||||
d="m 14.577858,56.963669 14.422159,0.03633 -5.51345,-13.326736 -2.227176,3.322601 -9.967806,-6.681533 -4.4543552,6.645202 9.9678062,6.681534 z"
|
||||
id="rect3165" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 18.466336,54.754657 1.113588,-1.6613 -9.9678041,-6.681534 3.3407661,-4.983901"
|
||||
id="path4087" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 15.768199,54.861321 12.089968,0.0052"
|
||||
id="path4089" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 17.918624,51.979768 0.547712,2.774889"
|
||||
id="path4091" />
|
||||
<path
|
||||
style="fill:none;stroke:#ef2929;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 27.041007,56.356585 22.755847,45.99721"
|
||||
id="path4042" />
|
||||
<path
|
||||
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#280000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="m 15.058839,56.727355 14.422158,0.03633 -5.51345,-13.326735 -2.227175,3.322601 -9.967805,-6.681534 -4.4543552,6.645203 9.9678052,6.681533 z"
|
||||
id="rect3165-1" />
|
||||
<ellipse
|
||||
id="path3896-0-1-8"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
cx="43.892834"
|
||||
cy="43.457188"
|
||||
rx="1.9999998"
|
||||
ry="2.0000005" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="44.457188"
|
||||
cx="54.825619"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-6" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="51.416862"
|
||||
cx="46.986927"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-4" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="58.006577"
|
||||
cx="38.569645"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-9" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="49.42271"
|
||||
cx="35.920319"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-92" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="58.979542"
|
||||
cx="49.133045"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-41" />
|
||||
<ellipse
|
||||
ry="2.0000005"
|
||||
rx="1.9999998"
|
||||
cy="52.966244"
|
||||
cx="58.995705"
|
||||
style="display:inline;fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="path3896-0-1-8-3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
1078
src/Mod/Points/Gui/Resources/icons/Points_Export_Point_cloud.svg
Normal file
1078
src/Mod/Points/Gui/Resources/icons/Points_Export_Point_cloud.svg
Normal file
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 40 KiB |
223
src/Mod/Points/Gui/Resources/icons/Points_Import_Point_cloud.svg
Normal file
223
src/Mod/Points/Gui/Resources/icons/Points_Import_Point_cloud.svg
Normal file
@@ -0,0 +1,223 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64" height="64" id="svg1307" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="Points_Import_Point_cloud.svg" inkscape:export-filename="/home/user/Downloads/cad/mystuff/icons/mesh/Mesh_Import_Mesh3.png" inkscape:export-xdpi="45" inkscape:export-ydpi="45" version="1.0" inkscape:r_cx="true" inkscape:r_cy="true" inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs id="defs1309">
|
||||
<linearGradient id="linearGradient5040">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="0" id="stop5042"/>
|
||||
<stop style="stop-color:#8e0000;stop-opacity:1;" offset="1" id="stop5044"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient5007">
|
||||
<stop id="stop5009" offset="0" style="stop-color:#ff0000;stop-opacity:0.08695652;"/>
|
||||
<stop id="stop5011" offset="1" style="stop-color:#d40000;stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4362">
|
||||
<stop id="stop4364" offset="0" style="stop-color:#cabd55;stop-opacity:1;"/>
|
||||
<stop id="stop4366" offset="1" style="stop-color:#e3d032;stop-opacity:0.06034483;"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4191">
|
||||
<stop style="stop-color:#0040ff;stop-opacity:1;" offset="0" id="stop4193"/>
|
||||
<stop style="stop-color:#0087ff;stop-opacity:0;" offset="1" id="stop4195"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient4150">
|
||||
<stop style="stop-color:#ff0000;stop-opacity:0.39130434;" offset="0" id="stop4152"/>
|
||||
<stop style="stop-color:#ff0000;stop-opacity:1;" offset="1" id="stop4154"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient3867">
|
||||
<stop style="stop-color:#31d900;stop-opacity:1;" offset="0" id="stop3869"/>
|
||||
<stop style="stop-color:#6dff00;stop-opacity:0.99137932;" offset="1" id="stop3871"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient2817">
|
||||
<stop style="stop-color:#000000;stop-opacity:1;" offset="0" id="stop2819"/>
|
||||
<stop style="stop-color:#ffffff;stop-opacity:0.48453608;" offset="1" id="stop2821"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient2584">
|
||||
<stop style="stop-color:#000000;stop-opacity:1;" offset="0" id="stop2586"/>
|
||||
<stop style="stop-color:#ffffff;stop-opacity:0;" offset="1" id="stop2588"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient2697">
|
||||
<stop id="stop2699" offset="0" style="stop-color:#babdb6"/>
|
||||
<stop id="stop2701" offset="1" style="stop-color:#555753"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient2679" inkscape:collect="always">
|
||||
<stop id="stop2681" offset="0" style="stop-color:#f7f7f7;stop-opacity:1"/>
|
||||
<stop id="stop2683" offset="1" style="stop-color:#ccd0c7;stop-opacity:1"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" id="linearGradient3081">
|
||||
<stop style="stop-color:#ffffff;stop-opacity:1;" offset="0" id="stop3083"/>
|
||||
<stop style="stop-color:#ffffff;stop-opacity:0;" offset="1" id="stop3085"/>
|
||||
</linearGradient>
|
||||
<linearGradient inkscape:collect="always" id="linearGradient8662">
|
||||
<stop style="stop-color:#000000;stop-opacity:1;" offset="0" id="stop8664"/>
|
||||
<stop style="stop-color:#000000;stop-opacity:0;" offset="1" id="stop8666"/>
|
||||
</linearGradient>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2112" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-42.61165,283.7891)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2122" gradientUnits="userSpaceOnUse" gradientTransform="translate(-12,0)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2124" gradientUnits="userSpaceOnUse" gradientTransform="translate(133,70.99999)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2137" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2139" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2725" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2727" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2729" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-42.61165,283.7891)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2731" gradientUnits="userSpaceOnUse" gradientTransform="translate(-12,0)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2733" gradientUnits="userSpaceOnUse" gradientTransform="translate(133,70.99999)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2745" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient8662" id="radialGradient2747" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.536723,0,16.87306)" cx="24.837126" cy="36.421127" fx="24.837126" fy="36.421127" r="15.644737"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2749" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-42.61165,283.7891)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2751" gradientUnits="userSpaceOnUse" gradientTransform="translate(-12,0)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2753" gradientUnits="userSpaceOnUse" gradientTransform="translate(133,70.99999)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2791" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-42.61165,283.7891)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2793" gradientUnits="userSpaceOnUse" gradientTransform="translate(-12,0)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2795" gradientUnits="userSpaceOnUse" gradientTransform="translate(-12,0)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2797" gradientUnits="userSpaceOnUse" gradientTransform="translate(133,70.99999)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2800" gradientUnits="userSpaceOnUse" gradientTransform="translate(-4e-4,-0.09426)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2803" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.004384,-145.0004,-71.4625)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2806" gradientUnits="userSpaceOnUse" gradientTransform="translate(-145.0004,-97.0943)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2809" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-175.6121,212.6949)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2817" id="linearGradient2823" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.103262,0,0,1.054917,-163.1228,-76.31138)" x1="174.83363" y1="84.263489" x2="174.74524" y2="105.49083"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2825" gradientUnits="userSpaceOnUse" gradientTransform="translate(-4e-4,-26.09426)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2831" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-175.6121,186.6949)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2817" id="linearGradient2858" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.103262,0,0,1.054917,-163.1228,-76.31138)" x1="174.83363" y1="84.263489" x2="174.74524" y2="105.49083"/>
|
||||
<radialGradient inkscape:collect="always" xlink:href="#linearGradient2679" id="radialGradient2860" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.562309e-6,-1.07205,1.992104,-1.250658e-6,-175.6121,212.6949)" cx="169.77171" cy="100.20107" fx="169.77171" fy="100.20107" r="11"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient2862" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,1.004384,-145.0004,-71.4625)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient2864" gradientUnits="userSpaceOnUse" gradientTransform="translate(-4e-4,-0.09426)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3081" id="linearGradient3421" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3.000198,0,0,1,-35.670225,-22.756043)" x1="15.089521" y1="15.291994" x2="14" y2="52.510574"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2697" id="linearGradient3424" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.498884,0,0,1.004384,-383.7419,-95.062012)" x1="169" y1="110.33805" x2="169" y2="93.204849"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient2817" id="linearGradient3430" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.624525,0,0,1.054917,-407.89189,-96.394408)" x1="174.83363" y1="84.263489" x2="174.74524" y2="105.49083"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient5040" id="linearGradient5005" x1="38.450672" y1="-8.9239225" x2="25.651308" y2="-4.0745406" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.01225123,-1.1559627,0.99918447,-0.02952797,16.35622,53.752959)"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient5007" id="linearGradient5019" x1="40.255886" y1="7.0561166" x2="40.393703" y2="16.873611" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.83621615,-0.79013626,0.80073297,0.82514986,-6.1843205,29.343172)"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3193" id="linearGradient3191" x1="11.757756" y1="27.363932" x2="16.379398" y2="39.648712" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.99999999,-1.5781242e-4,1.5781242e-4,0.99999999,6.120919,-11.149122)"/>
|
||||
<linearGradient id="linearGradient3193">
|
||||
<stop id="stop3195" offset="0" style="stop-color:#ffc800;stop-opacity:1;"/>
|
||||
<stop id="stop3197" offset="1" style="stop-color:#d72600;stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="39.648712" x2="16.379398" y1="27.363932" x1="11.757756" gradientTransform="matrix(0.99999999,-1.5781242e-4,1.5781242e-4,0.99999999,10.866287,-7.1999575)" gradientUnits="userSpaceOnUse" id="linearGradient3013" xlink:href="#linearGradient3193" inkscape:collect="always"/>
|
||||
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3193-8" id="linearGradient3191-2" x1="21.956446" y1="55.424431" x2="12.023713" y2="32.910343" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.99998269,0.00588453,-0.00588453,-0.99998269,37.288484,69.720996)"/>
|
||||
<linearGradient id="linearGradient3193-8">
|
||||
<stop id="stop3195-6" offset="0" style="stop-color:#68ff00;stop-opacity:1;"/>
|
||||
<stop id="stop3197-4" offset="1" style="stop-color:#078b00;stop-opacity:1;"/>
|
||||
</linearGradient>
|
||||
<linearGradient y2="32.910343" x2="12.023713" y1="55.424431" x1="21.956446" gradientTransform="matrix(-0.99998269,0.00588453,-0.00588453,-0.99998269,46.851483,72.745975)" gradientUnits="userSpaceOnUse" id="linearGradient3013-7" xlink:href="#linearGradient3193-8" inkscape:collect="always"/>
|
||||
<linearGradient y2="60" x2="16" y1="48" x1="12" gradientTransform="translate(3.100033,-14.999995)" gradientUnits="userSpaceOnUse" id="linearGradient3049" xlink:href="#linearGradient4081-6" inkscape:collect="always"/>
|
||||
<linearGradient id="linearGradient4081-6">
|
||||
<stop style="stop-color:#8ae234;stop-opacity:1" offset="0" id="stop4083-7"/>
|
||||
<stop style="stop-color:#4e9a06;stop-opacity:1" offset="1" id="stop4085-53"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="0.19607843" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="4.9234347" inkscape:cx="3.7431231" inkscape:cy="32.282798" inkscape:current-layer="layer1" showgrid="true" inkscape:grid-bbox="true" inkscape:document-units="px" inkscape:grid-points="true" fill="#fcaf3e" showguides="false" inkscape:guide-bbox="true" guidetolerance="1px" stroke="#729fcf" inkscape:window-width="800" inkscape:window-height="836" inkscape:window-x="0" inkscape:window-y="27" showborder="true" inkscape:showpageshadow="false" inkscape:window-maximized="0" inkscape:snap-global="true" inkscape:snap-nodes="false" inkscape:snap-bbox="true">
|
||||
<sodipodi:guide orientation="horizontal" position="38.996647" id="guide2194"/>
|
||||
<sodipodi:guide orientation="horizontal" position="9.0140845" id="guide2196"/>
|
||||
<sodipodi:guide orientation="vertical" position="9.0140845" id="guide2198"/>
|
||||
<sodipodi:guide orientation="vertical" position="38.975184" id="guide2200"/>
|
||||
<sodipodi:guide orientation="horizontal" position="22.988281" id="guide2202"/>
|
||||
<sodipodi:guide orientation="vertical" position="23.908786" id="guide2204"/>
|
||||
<sodipodi:guide orientation="vertical" position="157.99417" id="guide4332"/>
|
||||
<sodipodi:guide orientation="horizontal" position="-36.062446" id="guide4334"/>
|
||||
<sodipodi:guide orientation="horizontal" position="-58.02695" id="guide4336"/>
|
||||
<sodipodi:guide orientation="vertical" position="180.00287" id="guide4338"/>
|
||||
<sodipodi:guide orientation="vertical" position="107.92217" id="guide4417"/>
|
||||
<sodipodi:guide orientation="vertical" position="129.93087" id="guide4419"/>
|
||||
<sodipodi:guide orientation="horizontal" position="19.996875" id="guide5106"/>
|
||||
<sodipodi:guide orientation="horizontal" position="63.039674" id="guide5119"/>
|
||||
<sodipodi:guide orientation="horizontal" position="49.066305" id="guide5121"/>
|
||||
<sodipodi:guide orientation="horizontal" position="-86.007168" id="guide5307"/>
|
||||
<sodipodi:guide orientation="horizontal" position="-108.09009" id="guide5309"/>
|
||||
<sodipodi:guide orientation="horizontal" position="-100.15429" id="guide3111"/>
|
||||
<inkscape:grid id="GridFromPre046Settings" type="xygrid" originx="0px" originy="0px" spacingx="1px" spacingy="1px" color="#3f3fff" empcolor="#3f3fff" opacity="0.15" empopacity="0.38" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
|
||||
</sodipodi:namedview>
|
||||
<metadata id="metadata1312">
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] ALexadner Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<cc:license rdf:resource=""/>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>media</rdf:li>
|
||||
<rdf:li>stop</rdf:li>
|
||||
<rdf:li>playback</rdf:li>
|
||||
<rdf:li>video</rdf:li>
|
||||
<rdf:li>music</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title/>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<dc:title>Points_Import_Point_cloud</dc:title>
|
||||
<dc:date>2014-01-26</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>FreeCAD/src/Mod/Points/Gui/Resources/icons/Points_Import_Point_cloud.svg</dc:identifier>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:source>http://agryson.net</dc:source>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>[agryson] Alexander Gryson</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
<cc:License rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
|
||||
<cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
|
||||
<cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
|
||||
<cc:requires rdf:resource="http://web.resource.org/cc/Notice"/>
|
||||
<cc:requires rdf:resource="http://web.resource.org/cc/Attribution"/>
|
||||
<cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
|
||||
<cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike"/>
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer" style="display:inline" inkscape:r_cx="true" inkscape:r_cy="true" transform="translate(0,16)">
|
||||
<path style="fill:none;stroke:none;display:inline" d="M 36.999999,3.0000018 36.999999,39 61,39 61,11.000001 53,3.0000018 z" id="path4219" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#ffffff;stroke:none;display:inline" d="m 37.000032,3.0000043 0,35.9999977 23.999998,0 0,-27.999998 -8,-7.9999997 z" id="path4219-6" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:#888a85;stroke:none;display:inline" d="m 53.00003,3.0000043 0,7.9999997 8,0 z" id="path4245" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#2e3436;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;display:inline" d="m 53.00003,3.0000043 0,7.9999997 8,0" id="path4221" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;display:inline" d="m 40.99996,7.0000023 8,0" id="path4247" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;display:inline" d="m 40.99996,17.000002 16,0" id="path4251" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;display:inline" d="m 40.99993,11.000002 8,0" id="path4247-3" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;display:inline" d="m 37.000033,3.0000043 0,35.9999977 23.999997,0 0,-27.999998 -8,-7.9999997 z" id="path4219-6-6" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:url(#linearGradient3049);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.20000005;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="m 19.100034,45.000004 12,-8 -12,-8 0,4 -12.000001,0 0,8 12.000001,0 z" id="rect3165-3" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccc"/>
|
||||
<path style="fill:none;stroke:#8ae234;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;display:inline" d="m 21.100034,41.000004 0,-2 -12.000002,0 0,-4" id="path4087" inkscape:connector-curvature="0" sodipodi:nodetypes="ccc"/>
|
||||
<path style="fill:none;stroke:#8ae234;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline" d="M 18.918216,42.590913 28.963671,35.863641" id="path4089" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
|
||||
<path style="fill:none;stroke:#8ae234;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline" d="m 19.100034,39.000004 2,2" id="path4091" inkscape:connector-curvature="0"/>
|
||||
<path style="fill:none;stroke:#172a04;stroke-width:2.20000005;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" d="m 19.000033,45.000004 12,-8 -12,-8 0,4 -12.000002,0 0,8 12.000002,0 z" id="rect3165-1" inkscape:connector-curvature="0" sodipodi:nodetypes="cccccccc"/>
|
||||
<g id="g3362" transform="translate(-75.999998,-28)">
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,105.7,28.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,111.7,28.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-6" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,101.7,34.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-7" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,108.7,34.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-5" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,115.7,34.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-3" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,111.7,40.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-56" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(1.2593748,0,0,1.4816176,105.7,40.647059)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-2" style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:1.46414614;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
</g>
|
||||
<g style="display:inline" id="g3362-9" transform="translate(-45.999998,18)">
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,20.400003,-67.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,28.400003,-71.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-0" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,38.400003,-67.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-6" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,24.400003,-61.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-2" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,34.400003,-61.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-61" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,18.400003,-53.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-8" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,28.400003,-47.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-7" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,38.400003,-51.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-9" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
<path transform="matrix(2.5187496,0,0,2.963236,40.400003,-41.705894)" d="m 13.736973,14.411911 c 0,0.372758 -0.355506,0.674938 -0.794045,0.674938 -0.438538,0 -0.794044,-0.30218 -0.794044,-0.674938 0,-0.372758 0.355506,-0.674938 0.794044,-0.674938 0.438539,0 0.794045,0.30218 0.794045,0.674938 z" sodipodi:ry="0.67493796" sodipodi:rx="0.79404467" sodipodi:cy="14.411911" sodipodi:cx="12.942928" id="path3896-0-1-20" style="fill:#d3d7cf;fill-opacity:1;fill-rule:nonzero;stroke:#2e3436;stroke-width:0.73207295;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;display:inline" sodipodi:type="arc"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 33 KiB |
193
src/Mod/Points/Gui/Resources/icons/Points_Merge.svg
Normal file
193
src/Mod/Points/Gui/Resources/icons/Points_Merge.svg
Normal file
@@ -0,0 +1,193 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2985"
|
||||
version="1.1">
|
||||
<title
|
||||
id="title889">Points_Merge</title>
|
||||
<defs
|
||||
id="defs2987">
|
||||
<linearGradient
|
||||
id="linearGradient4387">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6321">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6323" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6325" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3692"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3377-3">
|
||||
<stop
|
||||
id="stop3379-8"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-3"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377-3"
|
||||
id="radialGradient6412"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.67067175,0,0,0.64145918,-63.380792,0.83845403)"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436" />
|
||||
<linearGradient
|
||||
id="linearGradient3036">
|
||||
<stop
|
||||
id="stop3038"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3040"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
y2="17"
|
||||
x2="15"
|
||||
y1="47"
|
||||
x1="29"
|
||||
gradientTransform="matrix(0.47516502,-0.46153841,0.47516502,0.46153841,5.4307688,29.261145)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient951"
|
||||
xlink:href="#linearGradient1014" />
|
||||
<linearGradient
|
||||
id="linearGradient1014">
|
||||
<stop
|
||||
style="stop-color:#204a87;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1010" />
|
||||
<stop
|
||||
style="stop-color:#729fcf;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop1012" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2990">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Points_Merge</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[bitacovir]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Shape_from_Mesh</dc:title>
|
||||
<dc:date>2020-11-21</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier />
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Based on Alexander Gryson's work</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035"
|
||||
d="m 15,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-1"
|
||||
d="m 29,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-9"
|
||||
d="m 15,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-26"
|
||||
d="m 57,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
d="m 15,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-1-2"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 57,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-7-0"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 57,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-0-3"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 43,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-26-7"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient951);fill-opacity:1;fill-rule:evenodd;stroke:#0b1521;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="m 19.685719,29.261145 v 5.538461 h 9.503301 v 9.230768 H 34.891 v -9.230768 l 9.503301,-10e-7 v -5.538461 l -9.503301,10e-7 v -9.230769 h -5.70198 v 9.230769 z"
|
||||
id="rect3761" />
|
||||
<path
|
||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#729fcf;stroke-width:1.32456;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||
d="m 21.111214,30.64576 v 2.769231 h 9.503301 v 9.230767 h 2.85099 v -9.230767 l 9.503301,-10e-7 v -2.769231 l -9.503301,10e-7 10e-7,-9.230768 h -2.85099 l -10e-7,9.230768 z"
|
||||
id="rect3761-3" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.5 KiB |
197
src/Mod/Points/Gui/Resources/icons/Points_Structure.svg
Normal file
197
src/Mod/Points/Gui/Resources/icons/Points_Structure.svg
Normal file
@@ -0,0 +1,197 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg2985"
|
||||
version="1.1">
|
||||
<title
|
||||
id="title889">Points_Structure</title>
|
||||
<defs
|
||||
id="defs2987">
|
||||
<linearGradient
|
||||
id="linearGradient4387">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4389" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop4391" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient6321">
|
||||
<stop
|
||||
style="stop-color:#71b2f8;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop6323" />
|
||||
<stop
|
||||
style="stop-color:#002795;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop6325" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377"
|
||||
id="radialGradient3692"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-0.23443224,0.23443198)" />
|
||||
<linearGradient
|
||||
id="linearGradient3377">
|
||||
<stop
|
||||
id="stop3379"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3377-3">
|
||||
<stop
|
||||
id="stop3379-8"
|
||||
offset="0"
|
||||
style="stop-color:#faff2b;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop3381-3"
|
||||
offset="1"
|
||||
style="stop-color:#ffaa00;stop-opacity:1;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
xlink:href="#linearGradient3377-3"
|
||||
id="radialGradient6412"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.67067175,0,0,0.64145918,-63.380792,0.83845403)"
|
||||
cx="45.883327"
|
||||
cy="28.869568"
|
||||
fx="45.883327"
|
||||
fy="28.869568"
|
||||
r="19.467436" />
|
||||
<linearGradient
|
||||
id="linearGradient3036">
|
||||
<stop
|
||||
id="stop3038"
|
||||
offset="0"
|
||||
style="stop-color:#ef2929;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3040"
|
||||
offset="1"
|
||||
style="stop-color:#a40000;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<metadata
|
||||
id="metadata2990">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Points_Structure</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>[bitacovir]</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:title>Part_Shape_from_Mesh</dc:title>
|
||||
<dc:date>2020-11-21</dc:date>
|
||||
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier />
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>FreeCAD LGPL2+</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Based on Alexander Gryson's work</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035"
|
||||
d="m 15,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-1"
|
||||
d="m 29,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-2"
|
||||
d="m 43,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-7"
|
||||
d="m 57,11 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-0"
|
||||
d="m 57,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-9"
|
||||
d="m 15,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-3"
|
||||
d="m 29,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1"
|
||||
id="path3035-26"
|
||||
d="m 43,25 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z" />
|
||||
<path
|
||||
d="m 15,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-6"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 29,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-1-2"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 43,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-2-3"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 57,39 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-7-0"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 57,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-0-3"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 15,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-9-3"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 29,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-3-4"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
<path
|
||||
d="m 43,53 a 4,4 0 1 1 -8,0 4,4 0 1 1 8,0 z"
|
||||
id="path3035-26-7"
|
||||
style="fill:#d3d7cf;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.6;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.2 KiB |
333
src/Mod/Points/Gui/Resources/translations/Points.ts
Normal file
333
src/Mod/Points/Gui/Resources/translations/Points.ts
Normal file
@@ -0,0 +1,333 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="234"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="235"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="236"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="148"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="149"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="150"/>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="66"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="370"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="371"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="372"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="323"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="432"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="433"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="434"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="195"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="196"/>
|
||||
<source>Transform Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="197"/>
|
||||
<source>Performs tests to transform a point cloud</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="91"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="211"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="268"/>
|
||||
<source>Convert to points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="482"/>
|
||||
<location filename="../../ViewProvider.cpp" line="650"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="83"/>
|
||||
<location filename="../../Command.cpp" line="169"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="83"/>
|
||||
<location filename="../../Command.cpp" line="169"/>
|
||||
<source>All Files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="115"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="255"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="256"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="33"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>&Points</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
344
src/Mod/Points/Gui/Resources/translations/Points_af.ts
Normal file
344
src/Mod/Points/Gui/Resources/translations/Points_af.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="af" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="190"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Omskep na punte...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<location filename="../../Command.cpp" line="193"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Omskep na punte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="113"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Voer punte uit...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Voer 'n puntwolk uit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Voer punte in...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Voer 'n puntwolk in</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="320"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="321"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Smelt punt wolke saam</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Smelt verskeie punt wolke saam</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="275"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="276"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Sny 'n puntwolk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="277"/>
|
||||
<location filename="../../Command.cpp" line="279"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Sny 'n puntwolk met 'n gekose veelhoek</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="363"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="364"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation type="unfinished">Structured point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="365"/>
|
||||
<location filename="../../Command.cpp" line="367"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation type="unfinished">Convert points to structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Points</source>
|
||||
<translation>Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformeer Punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<location filename="../../Command.cpp" line="156"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Toets om 'n puntwolk te transformeer</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="88"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Omskep na punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="468"/>
|
||||
<location filename="../../ViewProvider.cpp" line="627"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Voer ASCII-punte in</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Standaardvorm:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Spesiale lyne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="72"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignoreer lyne wat begin met:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="79"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Groepeer lyne wat begin met:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="88"/>
|
||||
<source>First line:</source>
|
||||
<translation>Eerste lyn:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="100"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignoreer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="110"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Aantal punte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Puntformaat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="147"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="176"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="233"/>
|
||||
<source>none</source>
|
||||
<translation>geen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="152"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="181"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="238"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normale vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="157"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="186"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="243"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (gewone vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="162"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="191"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="248"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (kleur)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="196"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="253"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (Gryswaarde)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="204"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Nommerskeier:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="211"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="218"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="225"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Volgende blok:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<source>,</source>
|
||||
<translation>,</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="270"/>
|
||||
<source>;</source>
|
||||
<translation>;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="275"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="280"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="289"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="294"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="302"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Puntformaat:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Voorskou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Aantal voorskoulyne:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="348"/>
|
||||
<source>100</source>
|
||||
<translation>100</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Punt formate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>All Files</source>
|
||||
<translation type="unfinished">All Files</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Distance</source>
|
||||
<translation>Afstand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Tik maksimum afstand:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="37"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Punte-gereedskap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="38"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punte</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
344
src/Mod/Points/Gui/Resources/translations/Points_ar.ts
Normal file
344
src/Mod/Points/Gui/Resources/translations/Points_ar.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ar" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="190"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>تحويل إلى نقاط...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<location filename="../../Command.cpp" line="193"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>تحويل إلى نقاط</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="113"/>
|
||||
<source>Export points...</source>
|
||||
<translation>تصدير النقاط...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>تصدير سحابة نقط</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>استيراد نقاط...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>استيراد سحابة نقط</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="320"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="321"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>دمج سُحُب النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>دمج العديد من سُحُب النقط في واحدة</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="275"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="276"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>قص سحابة نقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="277"/>
|
||||
<location filename="../../Command.cpp" line="279"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>قص سحابة النقط باستخدام المضلع المحدد</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="363"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="364"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation type="unfinished">Structured point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="365"/>
|
||||
<location filename="../../Command.cpp" line="367"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation type="unfinished">Convert points to structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Points</source>
|
||||
<translation>النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>تحويل النقاط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<location filename="../../Command.cpp" line="156"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation type="unfinished">Test to transform a point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="88"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>تحويل إلى نقاط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="468"/>
|
||||
<location filename="../../ViewProvider.cpp" line="627"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation type="unfinished">ASCII points import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>القالب:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>الخطوط المميزة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="72"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>تجاهل الخطوط التي تبدأ بـ:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="79"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation type="unfinished">Cluster by lines starting with:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="88"/>
|
||||
<source>First line:</source>
|
||||
<translation>الخط الأول:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="100"/>
|
||||
<source>Ignore</source>
|
||||
<translation>تجاهل</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="110"/>
|
||||
<source>Number of points</source>
|
||||
<translation>عدد النقاط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation type="unfinished">Point format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="147"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="176"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="233"/>
|
||||
<source>none</source>
|
||||
<translation>لا شيء</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="152"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="181"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="238"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation type="unfinished">I,J,K (normal vector)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="157"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="186"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="243"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation type="unfinished">I,K (normal vector 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="162"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="191"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="248"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation type="unfinished">R,G,B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="196"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="253"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation type="unfinished">I (Gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="204"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>فاصل الأرقام:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="211"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="218"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="225"/>
|
||||
<source>Next block:</source>
|
||||
<translation>الكتلة التالية:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<source>,</source>
|
||||
<translation>،</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="270"/>
|
||||
<source>;</source>
|
||||
<translation>;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="275"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="280"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="289"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="294"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="302"/>
|
||||
<source>Points format:</source>
|
||||
<translation type="unfinished">Points format:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>المعاينة</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation type="unfinished">Number of previewed lines:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="348"/>
|
||||
<source>100</source>
|
||||
<translation>100</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished">Point formats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>All Files</source>
|
||||
<translation>كل الملفات</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>قم بإدخال المسافة القصوى:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="37"/>
|
||||
<source>Points tools</source>
|
||||
<translation>أدوات النقط</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="38"/>
|
||||
<source>&Points</source>
|
||||
<translation>&النقط</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
311
src/Mod/Points/Gui/Resources/translations/Points_be.ts
Normal file
311
src/Mod/Points/Gui/Resources/translations/Points_be.ts
Normal file
@@ -0,0 +1,311 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="be" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Пераўтварыць у кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Пераўтварае ў кропкі</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Экспартаваць кропкі…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Экспарт воблака кропак</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Імпартаваць кропкі…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Імпарт воблака кропак</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Аб'яднаць воблака кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Аб'ядноўвае некалькі воблакаў кропак у адно воблака</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Выразаць воблака кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Выразаць воблака кропак, якое абмежавана абраным шматкутнікам</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Воблакі структураваных кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Пераўтварае кропкі ў воблака структураваных кропак</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Імпарт кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Пераўтварыць у кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Выразаць кропкі</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Прапускаць</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Колькасць кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Імпартаваць кропкі ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Шаблон</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Спецыяльныя лініі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Першая лінія</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Групавана па лініі, якія пачынаюцца з</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Прапускаць лініі, якія пачынаецца з</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Фармат кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Падзельнік лічбаў</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Фармат кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Наступны блок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Нічога</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (вектар нармалі)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (дзвюхмерны вектар нармалі)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (колер)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (значэнне Шэрага)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Колькасць радкоў для папярэдняга выгляду</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Папярэдні выгляд</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Фарматы кропкі</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Усе файлы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Кропкі, якія не знаходзяцца ў пачатку каардынат</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Габарыты імпартаваных кропак не змяшчаюць кропку пачатка каардынат.
|
||||
Ці перанесці яе ў пачатак каардынат?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Адлегласць</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Увядзіце найбольшую адлегласць:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Інструменты кропак</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Кропкі</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
344
src/Mod/Points/Gui/Resources/translations/Points_bg.ts
Normal file
344
src/Mod/Points/Gui/Resources/translations/Points_bg.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="bg" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="190"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Превръщане в точки...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<location filename="../../Command.cpp" line="193"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Превръщане в точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="113"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Износ на точки...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Износ на облака от точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Внос на точки...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Внасяне облак от точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="320"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="321"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Сливане на облака от точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Обединяване няколко облака от точки в един</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="275"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="276"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Изрязване на точка от облака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="277"/>
|
||||
<location filename="../../Command.cpp" line="279"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Разделя облак от точки с избран полигон</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="363"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="364"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Подреден облак от точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="365"/>
|
||||
<location filename="../../Command.cpp" line="367"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Превръщане на точките в подреден облак от точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Преобразуване на точките</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<location filename="../../Command.cpp" line="156"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Тест за преобразуване на облак от точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="88"/>
|
||||
<source>Import points</source>
|
||||
<translation>Внасяне на точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Трансформиране на точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Превръщане в точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="468"/>
|
||||
<location filename="../../ViewProvider.cpp" line="627"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Разрязване на точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Внос на точки ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Шаблон:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Специални линии</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="72"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Игнориране на линиите, започващи с:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="79"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Клъстер по линии, започващ с:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="88"/>
|
||||
<source>First line:</source>
|
||||
<translation>Първа линия:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="100"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Игнориране</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="110"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Брой на точките</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Формат на точката</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="147"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="176"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="233"/>
|
||||
<source>none</source>
|
||||
<translation>няма</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="152"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="181"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="238"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (вектор нормала)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="157"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="186"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="243"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,J,K (вектор нормала 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="162"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="191"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="248"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (цвят)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="196"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="253"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (стойност на сивото)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="204"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Десетичен разделител:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="211"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="218"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="225"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Следващ блок:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<source>,</source>
|
||||
<translation>,</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="270"/>
|
||||
<source>;</source>
|
||||
<translation>;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="275"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="280"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="289"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="294"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="302"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Формат на точките:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Предварителен преглед</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Брой прегледани линии:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="348"/>
|
||||
<source>100</source>
|
||||
<translation>100</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Формати на точката</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>All Files</source>
|
||||
<translation>Всички файлове</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Въведете максимално разстояние:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="37"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Средства за точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="38"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ca.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ca.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ca" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Convertir en punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Convertir en punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportar punts…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta un núvol de punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importa els punts…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importa un núvol de punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Fusiona els núvols de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Fusiona diversos núvols de punts en un de sol</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Tallar núvol de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Talla un núvol de punts amb un polígon seleccionat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Núvol de punts estructurat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Converteix els punts en un núvol de punts estructurat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importa els punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir en punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Talla els punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignora</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Nombre de Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importar punts ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Plantilla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Línies especials</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Primera línia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Agrupa les línies que comencen amb</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorar les línies que comencin amb</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Format de punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Número separador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Format de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Bloc següent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Cap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>M, J, K (vector normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (vector normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valor de gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Nombre de línies previsualitzades</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Previsualització</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formats de punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tots els fitxers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Els punts no estan a l'origen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>La caixa delimitadora dels punts importats no conté l'origen. Vols moure'l a l'origen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distància</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Introduïu la distància màxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Eines de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_cs.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_cs.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="cs" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Export množiny bodů</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Import množiny bodů</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importovat body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Převést na body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Body řezu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorovat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Počet bodů</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Šablona</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Žádný</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normálový vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normálový vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (barvy)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Náhled</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formáty bodů</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Všechny soubory</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Vzdálenost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Zadejte maximální vzdálenost:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Body</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_da.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_da.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="da" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Konverter til punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Konverterer til punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Eksporter punkter…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Eksporterer en punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importer punkter…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importerer en punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Flet punktskyer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Fletter flere punktskyer sammen til en</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Klip punktsky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Klipper en punktsky med en valgt polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Struktureret punktsky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Konverterer punkter til en struktureret punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importer punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Konverter til punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Klip punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Antal points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importer ASCII-punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Skabelon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Særlige linjer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Første linje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Saml linjer der starter med</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorer linjer som starter med</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Talseparator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Næste blok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ingen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (normal vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normal vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (farve)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (grå værdi)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Antal forhåndsviste linjer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Forhåndsvisning</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Punktformater</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Alle filer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Punkter ikke på origo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Afgrænsningsboksen for de importerede punkter indeholder ikke origo. Forskyd den til origo?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Afstand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Indtast maksimal afstand:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Punktværktøjer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_de.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_de.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>In Punkte umwandeln</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>In Punkte umwandeln</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Punkte exportieren…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exportiert eine Punktwolke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Punkte importieren…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importiert eine Punktwolke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Punktwolken vereinigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Mehrere Punktwolken vereinigen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Punktwolke schneiden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Schneidet eine Punktwolke mit dem ausgewählten Polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Strukturierte Punktwolke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Wandelt Punkte in eine strukturierte Punktwolke um</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Punkte importieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Wandelt ausgewählte Objekte in Punkte um</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Punkte ausschneiden</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Anzahl der Punkte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII-Punkte-Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Vorlage</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Besondere Zeilen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Erste Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Gruppierung nach Zeilen, die mit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignoriere Zeilen, beginnend mit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Zahlentrennzeichen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Punkte-Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Nächster Block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Kein</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (Normalenvektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (Normalenvektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (Farbe)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (Grauwert)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Anzahl der in der Vorschau angezeigten Zeilen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Vorschau</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Punkt-Formate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Alle Dateien</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Punkte nicht am Ursprung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Der Begrenzungsrahmen der importierten Punkte enthält den Ursprung nicht. Zum Ursprung verschieben?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Abstand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Maximale Entfernung eingeben:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Points-Werkzeuge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Points</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_el.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_el.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="el" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Μετατροπή σε Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Τα μετατρέπει σε σημεία</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Εξαγωγή Σημείων…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Πραγματοποιεί εξαγωγή ενός νέφους σημείων</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Εισαγωγή Σημείων…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Πραγματοποιεί εισαγωγή ενός νέφους σημείων</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Συγχώνευση συνόλων σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Συγχωνεύει αρκετά σύνολα σημείων σε ένα</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Αποκοπή συνόλου σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Αποκόπτει ένα σύνολο σημείων χρησιμοποιώντας ένα επιλεγμένο πολύγωνο</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Δομημένο σύνολο σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Μετατρέπει σημεία σε δομημένο σύνολο σημείων</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Μετατροπή σε σημεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Αποκοπή σημείων</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Παράβλεψη</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Αριθμός σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Εισαγωγή σημείων ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Πρότυπο</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Ειδικές γραμμές</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Πρώτη γραμμή</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Ομαδοποίηση βάσει γραμμών που ξεκινούν με</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Παράβλεψη γραμμών που ξεκινούν με</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Μορφή σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Διαχωριστικό αριθμών</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Μορφή σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Επόμενη ομάδα δεδομένων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Κανένα</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (κάθετο διάνυσμα)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (κάθετο διάνυσμα στον Δισδιάστατο Χώρο)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (χρώμα)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (τιμή του γκρι)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Αριθμός γραμμών προεπισκόπησης</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Προεπισκόπηση</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Μορφές σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Όλα τα Αρχεία</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Σημεία που δεν προέρχονται από την αρχική</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Το πλαίσιο οριοθέτησης των εισηγμένων σημείων δεν περιέχει την αρχή των αξόνων. Θέλετε να μετατοπιστεί στην αρχή των αξόνων;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Απόσταση</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Εισαγωγή μέγιστης απόστασης:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Εργαλεία Σημείων</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>Σημεία</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_es-AR.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_es-AR.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es-AR" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Convertir a puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Convertir a puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportar puntos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta una nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importar puntos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importar nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Combinar nubes de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Combina varias nubes de puntos en una</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Cortar nube de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Corta una nube de puntos con un polígono seleccionado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Nube de puntos estructurados</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Convierte puntos a una nube de puntos estructurados</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importar puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir en puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Puntos de corte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Número de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importación de puntos ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Plantilla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Líneas especiales</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Primera línea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Clúster por líneas que comienzan con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorar líneas que comienzan con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formato de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separador de números</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formato de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Siguiente bloque</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ninguno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vector normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vector normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valor gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Número de líneas de vista previa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Vista previa</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formatos de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Todos los Archivos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Puntos no en el origen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>El cuadro delimitador de los puntos importados no contiene un origen. ¿Desea trasladarlo al origen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distancia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Ingresa la distancia máxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Herramientas de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_es-ES.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_es-ES.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="es-ES" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Convertir a puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Convertir a puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportar puntos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta una nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importar puntos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importa una nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Combinar nubes de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Combina varias nubes de puntos en una</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Cortar nube de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Corta una nube de puntos con un polígono seleccionado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Nube de puntos estructurados</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Convierte puntos a una nube de puntos estructurados</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importar puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir a puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Recortar puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Número de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importación de puntos ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Plantilla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Líneas especiales</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Primera línea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Clúster por líneas que comienzan con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorar líneas que comienzan con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formato de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separador de números</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formato de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Siguiente bloque</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ninguno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vector normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vector normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valor gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Número de líneas de vista previa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pre-visualizar</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formatos de los puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Todos los Archivos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Puntos no en el origen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>El cuadro delimitador de los puntos importados no contiene un origen. ¿Desea trasladarlo al origen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distancia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Ingrese la distancia máxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Herramientas de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_eu.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_eu.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="eu" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Esportatu puntuen hodei bat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Inportatu puntuen hodei bat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Inportatu puntuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Bihurtu puntuetara</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Moztu puntuak</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ezikusi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Puntu kopurua</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Txantiloia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Bat ere ez</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (bektore normala)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (2Dko bektore normala)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (kolorea)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Aurrebista</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Puntu-formatuak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Fitxategi guztiak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distantzia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Sartu distantzia maximoa:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Puntuak</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_fi.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_fi.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fi" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Vie pistepilven</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Tuo pistepilven</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Tuo pisteet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Muunna pisteiksi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Leikkaa pisteet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ohita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Pisteiden määrä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\T</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>/w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Mallipohja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ei mitään</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normaali vektori)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normaali vektori 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (väri)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Esikatselu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Pisteen muodot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Kaikki tiedostot</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Etäisyys</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Syötä enimmäisetäisyys:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Pisteet</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_fil.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_fil.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fil" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="187"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="188"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>I-convert sa mga point...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>I-convert sa mga point</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="110"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="111"/>
|
||||
<source>Export points...</source>
|
||||
<translation>I-export ang mga point...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Nag eexport ng point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="65"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="66"/>
|
||||
<source>Import points...</source>
|
||||
<translation>I-import ang mga point...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Nag-iimport ng point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="308"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="309"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Pagsamahin ang mga point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="310"/>
|
||||
<location filename="../../Command.cpp" line="312"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Pagsamahin ang ilang point cloud sa isa</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="263"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="264"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Gupitin ang point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="265"/>
|
||||
<location filename="../../Command.cpp" line="267"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Nag-gugupit ng point cloud gamit ang napiling polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="351"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="352"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation type="unfinished">Structured point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="353"/>
|
||||
<location filename="../../Command.cpp" line="355"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation type="unfinished">Convert points to structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="150"/>
|
||||
<source>Points</source>
|
||||
<translation>Mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Ibahin ang anyo mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Pagsubok sa pag transform ng point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="86"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="166"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="212"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>I-convert sa mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="456"/>
|
||||
<location filename="../../ViewProvider.cpp" line="615"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>ASCII points import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Template:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Espesyal na mga linya</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Unang linya:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Balewalain</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Bilang ng mga point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Pag ugnay-ugnayin ang mga linya simula sa:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Huwag pansinin ang mga linya na nagsisimula sa:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Format ng Point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Naghihiwalay sa numero:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Format ng mga point:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Sunod na block:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>walang</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (normal na vector)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, J, K (normal na vector 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (kulay)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (Gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Preview</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Bilang ng mga na preview na mga linya:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished">Point formats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>All Files</source>
|
||||
<translation>Lahat ng mga File</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Ipasok ang pinakamataas na distansya:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Mga tool ng mga Point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Points</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_fr.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_fr.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="fr" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Convertir en points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Convertir en points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exporter les points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporter un nuage de points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importer des points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importer un nuage de points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Fusionner des nuages de points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Fusionner plusieurs nuages de points en un seul</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Couper un nuage de points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Couper un nuage de points à l'aide d'un polygone sélectionné</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Convertir en un nuage de points structuré</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Convertir des points en un nuage de points structuré</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importer des points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir en points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Enlever des points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Nombre de points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importation de points ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Modèle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Lignes spéciales</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Première ligne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Regrouper des lignes commençant par</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorer les lignes commençant par</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Format du point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Séparateur de nombre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Format des points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Bloc suivant</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Aucun</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (vecteur normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (vecteur normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, V, B (couleur)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valeur grise)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Nombre de lignes prévisualisées</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Aperçu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formats des points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tous les fichiers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Les points ne sont pas à l'origine.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>La boîte englobante des points importés ne contient pas l'origine. Faut-il la déplacée à l'origine ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Entrer la distance maximale :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Outils Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Points</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ga-IE.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ga-IE.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ga-IE" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Tiontaigh go Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Tiontaíonn sé go pointí</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Pointí Easpórtála…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Onnmhairíonn sé scamall pointe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Pointí Iompórtála…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Iompórtálann sé scamall pointe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Cumaisc Scamall Pointe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Cumascann roinnt scamall pointe i gceann amháin</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Scamall Pointe Gearrtha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Gearrann sé scamall pointe le polagán roghnaithe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Scamall Pointe Struchtúrtha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Tiontaíonn sé pointí go scamall pointí struchtúrtha</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Pointí allmhairithe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Tiontaigh go pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Pointí gearrtha</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Déan neamhaird de</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Líon na bpointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Iompórtáil Pointí ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Teimpléad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Línte Speisialta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>An Chéad Líne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Braislí de réir línte ag tosú le</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Déan neamhaird de línte ag tosú le</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formáid Pointe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Deighilteoir uimhreacha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formáid pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>An chéad bhloc eile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Dada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (veicteoir gnáth)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (veicteoir gnáth 2T)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (dath)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (luach liath)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Líon na línte réamhamhairc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Réamhamharc</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formáidí pointe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Gach Comhad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Pointí nach bhfuil ag an mBunús</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Níl an bunús sa bhosca teorann de na pointí allmhairithe. An bhfuil sé uait é a aistriú go dtí an bunús?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Fad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Cuir isteach an fad uasta:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Uirlisí Pointí</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Pointí</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_gl.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_gl.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="gl" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Converter en puntos...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<location filename="../../Command.cpp" line="210"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converter en puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="120"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="121"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Exportar puntos...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="122"/>
|
||||
<location filename="../../Command.cpp" line="124"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta a nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importar puntos...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importa unha nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Misturar nube de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="344"/>
|
||||
<location filename="../../Command.cpp" line="346"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Misturar varias nubes de puntos nunha</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="294"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="295"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Cortar nube de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="296"/>
|
||||
<location filename="../../Command.cpp" line="298"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Corta unha nube de puntos cun polígono escollido</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Nube de puntos estruturados</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<location filename="../../Command.cpp" line="409"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Converter os puntos nunha nube de puntos estruturados</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="167"/>
|
||||
<source>Points</source>
|
||||
<translation>Puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformar puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="169"/>
|
||||
<location filename="../../Command.cpp" line="171"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Test para transformar unha nube de puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="92"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importar puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="183"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Transformar puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="240"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converter en puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="485"/>
|
||||
<location filename="../../ViewProvider.cpp" line="653"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Puntos de corte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Importar puntos ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Modelo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Liñas especiais</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Primeira liña:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Número de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Agrupar por liñas que comezan por:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignorar liñas que comezan por:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Formato de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Separador de número:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Formato de puntos:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Bloque seguinte:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>ningún</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vector normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vector normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (Cor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (valor de gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pre-visualizar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Número de liñas pre-visualizadas:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formatos de punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tódolos ficheiros</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="227"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="228"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Insira a distancia máxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Ferramentas de puntos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Puntos</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_hr.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_hr.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="hr" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Pretvori u točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Pretvara u točke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Izvoz Točki...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>prenesi pokazni oblak </translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Uvoz točaka...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>prenesi pokazni oblak</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Sjedini oblake točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Sjedini nekoliko oblaka točaka u jedan</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Skraćivanje oblaka točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Reže oblak točaka odabranim višekutnikom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Strukturirani Oblaci točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Pretvori točke u strukturirani oblak točaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Uvoz točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Pretvori u točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Izreži točke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Zanemari</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Broj točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII uvoz Točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Predložak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Specialne linije</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Prva linija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Grupiraj po linijama koje počinju s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignoriraj linije koje počinju s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Format točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separator za brojeve</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Format točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Slijedeći blok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Prazno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vektor normale)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vektor normale 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (u boji)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (vrednost sive)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Broj pregledanih linija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pregled</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formati točaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Sve datoteke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Tačke nisu u koordinatnom ishodištu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Granični okvir uvezenih točaka ne sadrži ishodište. Premjestiti ga u ishodište?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Udaljenost</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Unesite maksimalnu udaljenost:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Alati za rad sa tačkama</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Točke</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_hu.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_hu.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="hu" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Átváltás pontokra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Átalakítás pontokra</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Pontok exportálása…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Pontfelhő exportálása</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Pontok importálása…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Egy pontfelhő importálása</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Pontfelhők egyesítése</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Több pontfelhő egyesítése egyetlenbe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Egy pontfelhő vágása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Egy pontfelhő kivágása egy kiválasztott poligon segítségével</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Strukturált pontfelhő</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Pontok átalakítása strukturált pontfelhővé</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Pontokat importál</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Pontokká alakít</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Pontokat csökkent</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Kihagy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Pontok száma</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII pontok importálása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Sablon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Speciális vonalak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Első vonal</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Sorok csoportosítása a következőkkel kezdődő karakterek alapján</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ezzel kezdő vonalak kihagyása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Pont formátum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Szám elválasztó jel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Pont formátum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Következő blokk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Egyik sem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (normál vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (normál vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (szín)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (szürke árnyalat érték)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Előnézeti sorok száma</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Előnézet</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Pont formátumok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Összes fájl</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Pontok nem a kiindulási helyen vannak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>A beimportált pontok köré rajzolt téglalap nem tartalmazza a koordináta rendszer kezdőpontját. Áthelyezzük az kezdőpontba?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Távolság</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Maximális távolság beírása:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Pont eszközök</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Pontok</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_id.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_id.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="id" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Ubah ke titik...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<location filename="../../Command.cpp" line="210"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Ubah ke titik</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="120"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="121"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Poin Ekspor...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="122"/>
|
||||
<location filename="../../Command.cpp" line="124"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Ekspor titik awan</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Import points...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Imports a point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Gabungkan titik awan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="344"/>
|
||||
<location filename="../../Command.cpp" line="346"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Gabungkan beberapa titik awan menjadi satu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="294"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="295"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Cut point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="296"/>
|
||||
<location filename="../../Command.cpp" line="298"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Memotong awan titik dengan sebuah poligon yang dipilih</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Awan titik terstruktur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<location filename="../../Command.cpp" line="409"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Ubah poin menjadi awan titik terstruktur</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="167"/>
|
||||
<source>Points</source>
|
||||
<translation>Poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transform Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="169"/>
|
||||
<location filename="../../Command.cpp" line="171"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Tes untuk mengubah awan titik</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="92"/>
|
||||
<source>Import points</source>
|
||||
<translation>Impor poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="183"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Ubah poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="240"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Ubah ke titik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="485"/>
|
||||
<location filename="../../ViewProvider.cpp" line="653"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Potong poin</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>ASCII poin impor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Template:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Special lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>First line:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Jumlah poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Cluster by lines starting with:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Abaikan garis yang dimulai dengan:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Format titik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Pemisah nomor:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Format poin:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Blok berikutnya:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>tidak ada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (vektor normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (vektor normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (warna)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>Saya (nilai abu-abu)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pratinjau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Jumlah baris pratinjau:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Format titik</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>All Files</source>
|
||||
<translation>Semua data</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="227"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="228"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Masukkan jarak maksimum:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Alat poin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>& Poin</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_it.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_it.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Converti in punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Converte in punti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Esporta punti…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Esporta una nuvola di punti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importa punti…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importa una nuvola di punti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Unisci nuvole di punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Unisce diverse nuvole di punti in una sola</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Taglia nuvola di punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Taglia una nuvola di punti con un poligono selezionato</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Nuvola di punti strutturata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Converte i punti in una nuvola di punti strutturata</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importa punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converti in punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Taglia punti</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignora</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Numero di punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importazione punti ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Modello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Linee speciali</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Prima linea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Raggruppa per linee che iniziano con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignora linee che iniziano con</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formato punto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separatore numeri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formato punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Blocco successivo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Nessuno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vettore normale)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vettore normale 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (colore)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valore di grigio)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Numero di righe visualizzate in anteprima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Anteprima</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formato dei punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tutti i file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Punti non all'origine</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Il riquadro di delimitazione dei punti importati non contiene l'origine. Traslarlo nell'origine?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distanza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Immettere la distanza massima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Strumenti punti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punti</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ja.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ja.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ja" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>ポイントに変換</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>ポイントに変換する</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>ポイントをエクスポート…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>点群をエクスポート</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>ポイントをインポート…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>点群をインポート</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>ポイントクラウドを結合</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>複数のポイントクラウドを1つに統合する</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>ポイントクラウドを切り取り</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>選択したポリゴンでポイントクラウドを切り取る</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>構造化されたポイントクラウド</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>ポイントを構造化されたポイントクラウドに変換する</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>点群をインポート</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>点に変換</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>点群を切断</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>無視</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>点の数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCIIポイントのインポート</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>テンプレート</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>特別な行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>最初の行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>で始まる行ごとにクラスタ化</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>で始まる行を無視</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>ポイントのフォーマット</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>数値の区切り文字</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>ポイントのフォーマット</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>次のブロック</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>なし</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I、J、K(法線ベクトル)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (2D法線ベクトル)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (カラー)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I(グレースケール値)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>プレビューされる行数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>プレビュー</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>点群の形式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>すべてのファイル</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>原点にない点群</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>インポートしたポイントのバウンディングボックスに原点が含まれていません。原点に移動しますか?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>距離</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>最大距離を入力:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>ポイントツール</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>点群(&P)</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ka.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ka.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ka" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>წერტილებად გარდაქმნა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>გადაიყვანს წერტილებში</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>წერტილების გატანა…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>წერტილების ღრუბლის გატანა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>წერტილების შემოტანა…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>წერტილების ღრუბლის შემოტანა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>წერტილის ღრუბლების შერწყმა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>შეაერთებს რამდენიმე წერტილის ღრუბელს ერთში</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>წერტილების ღრუბლის ამოჭრა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>წერტილების ღრუბლის მონიშნული პოლიგონით ამოჭრა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>წერტილები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>დალაგებული წერტილების ღრუბელი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>წერტილების დალაგებული წერტილების ღრუბლად გარდაქმნა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>წერტილების შემოტანა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>წერტილებად გარდაქმნა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>წერტილების ამოჭრა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>იგნორირება</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>წერტილების რიცხვი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII წერტილების შემოტანა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>შაბლონი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>სპეციალური ხაზები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>პირველი ხაზი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>კლასტერები ხაზებით, რომლებიც იწყებიან</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>ხაზების იგნორი, რომლებიც იწყება</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>წერტილის ფორმატი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>რიცხვების გამყოფი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>წერტილების ფორმატი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>შემდეგი ბლოკი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>არცერთი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (ნორმალური ვექტორი)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (ნორმალური 2D ვექტორი)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (ფერი)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (ნაცრისფრის მნიშვნელობა)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>გადახედილი ხაზების რაოდენობა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>გადახედვა</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>წერტილის ფორმატები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>ყველა ფაილი</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>წერტილები კოორდინატების საწყისისთან არაა</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>შემოტანილი წერტილების შემომსაზღვრელი ჩარჩო კოორდინატების საწყისს არ შეიცავს. გნებავთ მისი მოძრაობითი გადატანა კოორდინატების საწყისთან?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>დაშორება</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>შეიყვანეთ მაქსიმალური მანძილი:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>წერტილის ხელსაწყოები</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&წერტილები</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
344
src/Mod/Points/Gui/Resources/translations/Points_kab.ts
Normal file
344
src/Mod/Points/Gui/Resources/translations/Points_kab.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="kab" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="190"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Convertir en points...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<location filename="../../Command.cpp" line="193"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir en points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="113"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Exporter les points...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporte un nuage de points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importer des points...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importe un nuage de points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="320"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="321"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation type="unfinished">Merge point clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation type="unfinished">Merge several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="275"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="276"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Couper un nuage de points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="277"/>
|
||||
<location filename="../../Command.cpp" line="279"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Coupe un nuage de points à l'aide d'un polygone sélectionné</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="363"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="364"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation type="unfinished">Structured point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="365"/>
|
||||
<location filename="../../Command.cpp" line="367"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation type="unfinished">Convert points to structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Points</source>
|
||||
<translation>Tineqqiḍin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformer les points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<location filename="../../Command.cpp" line="156"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Test de transformation d'un nuage de points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="88"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Convertir en points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="468"/>
|
||||
<location filename="../../ViewProvider.cpp" line="627"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Importation de points ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Modèle :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Ligne spéciales</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="72"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignorer les lignes commençant par :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="79"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Ensemble de lignes commençant par :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="88"/>
|
||||
<source>First line:</source>
|
||||
<translation>Première ligne :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="100"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="110"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Nombre de points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Format de point</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="147"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="176"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="233"/>
|
||||
<source>none</source>
|
||||
<translation>aucun</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="152"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="181"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="238"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vecteur normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="157"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="186"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="243"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vecteur normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="162"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="191"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="248"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,V,B (couleur)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="196"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="253"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (valeur de gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="204"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Séparateur de nombre :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="211"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="218"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="225"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Bloc suivant :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<source>,</source>
|
||||
<translation>,</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="270"/>
|
||||
<source>;</source>
|
||||
<translation>;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="275"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="280"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="289"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="294"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="302"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Format de points :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Aperçu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Nombre de lignes prévisualisés :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="348"/>
|
||||
<source>100</source>
|
||||
<translation>100</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished">Point formats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tous les fichiers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Entrez la distance maximale :</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="37"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Outils points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="38"/>
|
||||
<source>&Points</source>
|
||||
<translation>Ti&neqqiḍin</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ko.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ko.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ko" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>점 집합을 추출한다</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>접 집합을 가져온다</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>점</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>점 가져오기</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>점으로 변환</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>점 잘라내기</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>무시</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>점들의 갯수</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z 좌표</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>템플릿</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>없음</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (정규 벡터)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (2차원 정규 벡터)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>미리보기</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>점 표현방식들</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>모든 파일</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>거리</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>최대 거리를 입력</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>포인트(&P)</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
339
src/Mod/Points/Gui/Resources/translations/Points_lt.ts
Normal file
339
src/Mod/Points/Gui/Resources/translations/Points_lt.ts
Normal file
@@ -0,0 +1,339 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="lt" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="239"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="240"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Versti į taškus...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="241"/>
|
||||
<location filename="../../Command.cpp" line="243"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Versti į taškus</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Eksportuoti taškus...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<location filename="../../Command.cpp" line="157"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Eksportuoti taškų aibę</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importuoti taškus...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<location filename="../../Command.cpp" line="72"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importuoja taškų aibę</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="375"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="376"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Apjungti taškų aibes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="377"/>
|
||||
<location filename="../../Command.cpp" line="379"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Apjungti kelias taškų aibes į vieną</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="327"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="328"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Apkarpyti taškų aibę</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="329"/>
|
||||
<location filename="../../Command.cpp" line="331"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Apkarpyti taškų aibę pasirinktu daugiakampiu</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="438"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="439"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Sutvarkytų taškų aibė</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="440"/>
|
||||
<location filename="../../Command.cpp" line="442"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Paversti taškus sutvarkytų taškų aibe</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="200"/>
|
||||
<source>Points</source>
|
||||
<translation>Taškai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="201"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Keisti taškus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Mėginti pakeisti taškų aibę</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="93"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importuoti taškus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="216"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Keisti taškus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="273"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Versti į taškus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="485"/>
|
||||
<location filename="../../ViewProvider.cpp" line="653"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Iškirpti taškus</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>ASCII taškų importavimas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Šablonas:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Ypatingosios linijos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Pirmoji linija:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Nepaisyti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Taškų skaičius</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Sutelkti pagal linijas, pradedančias:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Nepaisyti linijų, prasidedančių:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Taško formatas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Skaičiaus skyriklis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Taškų formatas:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Sekantis blokas:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>joks</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (erdvinis normalės vektorius)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (plokštuminis normalės vektorius)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (spalvos dedamosios)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (pilko atpalvio reikšmė)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Peržiūrėti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Peržiūrėtų eilučių kiekis:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="174"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Taškų formatai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="174"/>
|
||||
<source>All Files</source>
|
||||
<translation>Visi failai</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="117"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="118"/>
|
||||
<source>The Bounding Box of the imported points does not contain the origin. Do you want to translate it to the origin?</source>
|
||||
<translation type="unfinished">The Bounding Box of the imported points does not contain the origin. Do you want to translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="260"/>
|
||||
<source>Distance</source>
|
||||
<translation>Atstumas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="261"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Įveskite didžiausią atstumą:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Įrankiai darbui su taškais</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Taškai</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ms.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ms.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ms" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation type="unfinished">Exports a point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation type="unfinished">Imports a point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation type="unfinished">Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation type="unfinished">Convert to points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation type="unfinished">Ignore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation type="unfinished">Number of points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation type="unfinished">\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation type="unfinished">\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation type="unfinished">X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation type="unfinished">X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation type="unfinished">Template</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Tiada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation type="unfinished">I,J,K (normal vector)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation type="unfinished">I,K (normal vector 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation type="unfinished">R,G,B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation type="unfinished">Preview</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished">Point formats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Semua fail</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation type="unfinished">Enter maximum distance:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation type="unfinished">&Points</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_nl.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_nl.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="nl" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporteert een puntenwolk</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importeert puntwolk</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importeer punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converteer naar punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Knip punten</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Negeren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Aantal punten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Sjabloon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Geen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normaalvector)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normaalvector 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (kleur)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Voorbeeldweergave</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Puntformaten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Alle bestanden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Afstand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Geef maximale afstand op:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punten</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
344
src/Mod/Points/Gui/Resources/translations/Points_no.ts
Normal file
344
src/Mod/Points/Gui/Resources/translations/Points_no.ts
Normal file
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="no" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="190"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation type="unfinished">Convert to points...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<location filename="../../Command.cpp" line="193"/>
|
||||
<source>Convert to points</source>
|
||||
<translation type="unfinished">Convert to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="113"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Eksporter punkter...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Eksporterer en punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importer punkt...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importerer en punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="320"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="321"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation type="unfinished">Merge point clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="322"/>
|
||||
<location filename="../../Command.cpp" line="324"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation type="unfinished">Merge several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="275"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="276"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Klipp ut punktsky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="277"/>
|
||||
<location filename="../../Command.cpp" line="279"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Klipper ut en punktsky med valgt polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="363"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="364"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation type="unfinished">Structured point cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="365"/>
|
||||
<location filename="../../Command.cpp" line="367"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation type="unfinished">Convert points to structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformer punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<location filename="../../Command.cpp" line="156"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Test for å transformere en punktsky</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="88"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<source>Convert to points</source>
|
||||
<translation type="unfinished">Convert to points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="468"/>
|
||||
<location filename="../../ViewProvider.cpp" line="627"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>ASCII punkt import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Mal:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Spesielle linjer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="72"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignorer linjer som starter med:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="79"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Klynge av linjer som starter med:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="88"/>
|
||||
<source>First line:</source>
|
||||
<translation>Første linje:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="100"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="110"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Antall punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="147"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="176"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="233"/>
|
||||
<source>none</source>
|
||||
<translation>ingen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="152"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="181"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="238"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normal vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="157"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="186"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="243"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normal vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="162"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="191"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="248"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (farge)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="196"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="253"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (Grå verdi)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="204"/>
|
||||
<source>Number separator:</source>
|
||||
<translation type="unfinished">Number separator:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="211"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="218"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="225"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Neste blokk:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<source>,</source>
|
||||
<translation>,</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="270"/>
|
||||
<source>;</source>
|
||||
<translation>;</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="275"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="280"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="289"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="294"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="302"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Punktformat:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Forhåndsvisning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Antall forhåndsviste linjer:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="348"/>
|
||||
<source>100</source>
|
||||
<translation>100</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>Point formats</source>
|
||||
<translation type="unfinished">Point formats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="81"/>
|
||||
<location filename="../../Command.cpp" line="129"/>
|
||||
<source>All Files</source>
|
||||
<translation type="unfinished">All Files</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Distance</source>
|
||||
<translation>Avstand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation type="unfinished">Enter maximum distance:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="37"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Punktverktøy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="38"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_pl.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_pl.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pl" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Konwertuj na punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Przekształca do punktów</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Tylko punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Eksportuj punkty…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Eksportuje chmurę punktów</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Tylko punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importuj punkty…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importuje chmurę punktów</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Tylko punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Scal chmury punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Scala kilka chmur punktów w jedną</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Przetnij chmurę punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Przecina chmurę punktów wybranym wielokątem</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Uporządkowana chmura punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Przekształca punkty do uporządkowanej chmury punktów</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importuj punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Konwertuj na punkty</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Wytnij punkty</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignoruj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Liczba punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Import punktów ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Szablon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Linie specjalne</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Pierwsza linia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Grupuj według linii zaczynających się od</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignoruj linie zaczynające się od</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Format punktu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separator dziesiętny</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Format punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Następny blok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Brak</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (wektor normalny)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (wektor normalny 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (kolor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (wartość szara)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Liczba podglądanych linii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Podgląd</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formaty punktu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Wszystkie pliki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Punkty poza początkiem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Ramka otaczająca importowanych punktów nie zawiera początku. Czy chcesz przesunąć ją do początku?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Odległość</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Największa odległość:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Narzędzia punktów</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punkty</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_pt-BR.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_pt-BR.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt-BR" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Converter para Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Converte para pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportar Pontos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta uma nuvem de pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importar Pontos…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importar uma nuvem de pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Mesclar Nuvem de Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Mescla várias nuvens de pontos em uma</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Cortar Nuvem de Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Corta a nuvem de pontos com um polígono selecionado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Nuvem de Pontos Estruturada</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Converte pontos para uma nuvem de pontos estruturada</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importar pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converter em pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Pontos de nó</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Número de pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Importar Pontos ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Modelo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Linhas Especiais</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Primeira Linha</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Aglomerado por linhas que começam com</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorar linhas que começam com</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formato de Ponto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separador de números</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formato de pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Próximo bloco</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Nenhum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vetor normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vetor normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (cor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valor cinza)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Número de linhas pré-visualizadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pré-visualização</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formatos de pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Todos os Arquivos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Pontos fora da origem</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>A caixa delimitadora dos pontos importados não contém a origem. Transladar para a origem?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distância</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Digite a distância máxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Ferramentas de Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
339
src/Mod/Points/Gui/Resources/translations/Points_pt-PT.ts
Normal file
339
src/Mod/Points/Gui/Resources/translations/Points_pt-PT.ts
Normal file
@@ -0,0 +1,339 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="pt-PT" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="239"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="240"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Converter para pontos...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="241"/>
|
||||
<location filename="../../Command.cpp" line="243"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converter para pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Exportar Pontos ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<location filename="../../Command.cpp" line="157"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta uma nuvem de pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importar Pontos ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<location filename="../../Command.cpp" line="72"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importar uma nuvem de pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="375"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="376"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Combinar nuvem de pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="377"/>
|
||||
<location filename="../../Command.cpp" line="379"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Combinar varias nuvens de pontos numa</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="327"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="328"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Cortar nuvem de pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="329"/>
|
||||
<location filename="../../Command.cpp" line="331"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Corta uma nuvem de pontos com um polígono traçado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="437"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="438"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Nuvem de ponto estruturado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="439"/>
|
||||
<location filename="../../Command.cpp" line="441"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Converter pontos em nuvem de pontos estruturados</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="200"/>
|
||||
<source>Points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="201"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformar Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Teste para transformar uma nuvem de pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="93"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importar pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="216"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Transformar pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="273"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converter para pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="485"/>
|
||||
<location filename="../../ViewProvider.cpp" line="653"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Cortar pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Importar Pontos ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Modelo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Linhas Especiais</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Primeira Linha:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Agrupar por linhas começando com:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignorar as linhas que iniciam com:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Formato do Ponto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Separador de número:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Formato do ponto:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Bloco Seguinte:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>nenhum</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vetor normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vetor normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (Cor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (valor cinza)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pré-visualizar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Número de linhas pré-visualizadas:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="174"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formatos de ponto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="174"/>
|
||||
<source>All Files</source>
|
||||
<translation>Todos os Ficheiros</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="117"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="118"/>
|
||||
<source>The Bounding Box of the imported points does not contain the origin. Do you want to translate it to the origin?</source>
|
||||
<translation>A Caixa Delimitadora dos pontos importados não contém a origem. Deseja referenciá-la à origem?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="260"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distância</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="261"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Insira a distância máxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Ferramentas de Pontos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Pontos</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ro.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ro.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ro" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Transformă în Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Transformă în puncte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportă Puncte…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exportă un nor de puncte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importă Puncte…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importaţi un nor de puncte</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Îmbină Nori de Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Îmbină mai mulți nori de puncte într-unul singur</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Taie Nor de Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Taie un nor de puncte cu un poligon selectat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Nor de Puncte structurat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Convertește punctele într-un nor de puncte structurat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importă puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Conversia în puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Puncte de tăiere</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignoră</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Numărul de puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Import Puncte ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Șablon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Linii Speciale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Prim Linie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Grupare după linii care încep cu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignoră liniile care încep cu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Formatul Punctelor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separator de Numere</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Formatul Punctelor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Următorul bloc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Niciunul</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (vectorul normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (vectorul normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (culoare)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (valoare gri)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Numărul de linii previzualizat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Previzualizare</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formate de puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Toate fișierele</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Puncte diferite de Origine</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Norul de puncte importat nu conține originea. Translatați la origine?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Distanță</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Introduceţi distanţa maximă:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Unelte pentru Puncte</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Puncte</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ru.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ru.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ru" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Преобразовать в точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Преобразование в точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Экспорт точек…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Экспортировать облако точек</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Импорт точек…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Импортировать облако точек</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Объединить облака точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Объединить несколько облаков точек в одно</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Обрезать облако точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Обрезает облако точек выбранным многоугольником</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Облако структурированных точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Преобразует точки в структурированное облако точек</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Импортировать точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Преобразовать в точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Вырезать точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Игнорировать</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Количество точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Импорт точек ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Шаблон</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Специальные строки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Первая строка</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Кластер по строкам, начиная с</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Игнорировать строки, начинающиеся с</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Формат точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Разделитель номеров</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Формат точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Следующий блок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ничего</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I, J, K (вектор нормали)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (двумерный вектор нормали)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (цвет)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Количество просмотренных строк</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Предварительный просмотр</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Форматы точек</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Все файлы</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Точки не в начале координат</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Бокс, ограничивающий импортируемые точки, не содержит начала координат. Переместить бокс?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Расстояние</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Введите максимальное расстояние:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Инструменты работы с точками</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_sk.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_sk.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sk" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="187"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="188"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Konvertovať na body...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Konvertovať na body</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="110"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="111"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Exportovať body...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exportuj mračná bodov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="65"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="66"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importovať body...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importuje mračná bodov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="308"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="309"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Zlúčiť bodové mračná</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="310"/>
|
||||
<location filename="../../Command.cpp" line="312"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Zlúčiť niekoľko bodových mračien do jedného</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="263"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="264"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Orezať mračná bodov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="265"/>
|
||||
<location filename="../../Command.cpp" line="267"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Orezať mračná bodov vybraným polygónom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="351"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="352"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Štruktúrované mračno bodov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="353"/>
|
||||
<location filename="../../Command.cpp" line="355"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Prevod bodov na štruktúrovaný oblak bodov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="150"/>
|
||||
<source>Points</source>
|
||||
<translation>Body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transformovať body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Testovať transformáciu mračna bodov</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="86"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importovať body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="166"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Transformovať body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="212"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Konvertovať na body</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="456"/>
|
||||
<location filename="../../ViewProvider.cpp" line="615"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Orezať body</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Import bodov s kódovaním ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Šablóna:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Špeciálne čiary</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Prvý riadok:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorovať</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Počet bodov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Zoskupiť riadky začínajúce s:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignorovať riadky začínajúce s:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Formát bodu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Oddeľovač čísel:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Formát bodov:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Ďalší blok:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>nič</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normálny vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I, K (normálny 2D vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (farby)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (sivé)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Náhľad</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Počet riadkov náhľadu:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formáty bodov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>All Files</source>
|
||||
<translation>Všetky súbory</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Distance</source>
|
||||
<translation>Vzdialenosť</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Zadajte maximálnu vzdialenosť:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Nástroje bodov</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Body</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_sl.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_sl.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sl" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Izvozi točkovni oblak</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Uvozi točkovni oblak</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Uvozi točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Pretvori v točke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Izreži točke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Prezri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Število točk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Predloga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Brez</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normalni vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (normalni vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (barva)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Predogled</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formati točk</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Vse datoteke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Točke niso v izhodišču</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Razdalja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Vnesite največjo razdaljo:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Točke</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_sr-CS.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_sr-CS.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sr-CS" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Pretvori u tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Pretvori u tačke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Izvezi tačke…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Izvozi oblak tačaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Uvezi tačke…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Uvozi oblak tačaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Objedini oblake tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Objedini nekoliko oblaka tačaka u jedan</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Iseci oblak tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Iseci oblaka tačaka sa izabranim mnogouglom</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Strukturirani oblak tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Pretvori tačke u strukturirani oblak tačaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Uvezi tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Pretvori u tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Iseci tačke</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Zanemari</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Broj tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Uvoz ASCII tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Šablon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Posebne linije</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Prva linija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Grupisano po linijama počevši od</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Zanemari linije počevši od</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Format tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Separator brojeva</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Format tačaka</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Sledeći blok</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Nijedan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (običan vektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (običan vektor 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (boja)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (vrednost sive)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Broj pregledanih linija</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Pregled</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formati tačke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Sve datoteke</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Tačke nisu u koordinatnom početku</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Koordinatni početak se ne nalazi unutar granične kutije uvezenih tačaka. Da li želiš da ih premestim u koordinatni početak?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Rastojanje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Unesi maksimalno rastojanje:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Alatke za rad sa tačkama</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Oblaci tačaka</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_sr.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_sr.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sr" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Претвори у тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Претвори у тачке</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Извези тачке…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Извози облак тачака</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Увези тачке…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Увози облак тачака</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Обједини облаке тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Обједини неколико облака тачака у један</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Исеци облак тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Исеци облак тачака са изабраним многоуглом</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Cтруктурирани облак тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Претвори тачке у структурирани облак тачака</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Увези тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Претвори у тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Исеци тачке</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Занемари</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Број тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Увоз ASCII тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Шаблон</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Посебне линије</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Прва линија</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Груписано по линијама почевши од</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Занемари линије почевши од</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Формат тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Сепаратор бројева</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Формат тачака</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Следећи блок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ниједан</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (обичан вектор)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (обичан вектор 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (боја)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (вредност сиве)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Број прегледаних линија</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Преглед</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Формати тачке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Све датотеке</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Тачке нису у координатном почетку</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Координатни почетак се не налази унутар граничне кутије увезених тачака. Да ли желиш да их преместим у координатни почетак?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Растојање</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Унеси максимално растојање:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Алатке за рад са тачкама</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Облаци тачака</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_sv-SE.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_sv-SE.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="sv-SE" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Konvertera till punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Omvandlas till punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>Exportera punkter…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporterar ett punktmoln</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>Importera punkter…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importera ett punktmoln</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Sammanfoga punktmoln</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Sammanfogar flera punktmoln till ett</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>Moln för skärningspunkt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>Klipper ett punktmoln med en vald polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>Strukturerat punktmoln</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>Konverterar punkter till ett strukturerat punktmoln</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Importera punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Konvertera till punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Nedskärningspunkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignorera</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Antal punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>Import av ASCII-punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Mall</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>Särskilda linjer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>Första raden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>Kluster av linjer som börjar med</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>Ignorera rader som börjar med</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>Nummerseparator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>Punkterformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>Nästa block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Ingen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (normalvektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (2D nomalvektor)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (färg)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (grått värde)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>Antal förhandsgranskade rader</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Förhandsvisning</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Punktformat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Alla filer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Punkter inte vid origo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>Begränsningsrutan för de importerade punkterna innehåller inte origo. Translatera den till origo?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Avstånd</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Ange maximalt avstånd:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>Verktyg för punkter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punkter</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_ta.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_ta.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ta" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>புள்ளிகளாக மாற்றவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>புள்ளிகளாக மாற்றுகிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>ஏற்றுமதி புள்ளிகள்…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>புள்ளி மேகத்தை ஏற்றுமதி செய்கிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>இறக்குமதி புள்ளிகள்…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>புள்ளி மேகத்தை இறக்குமதி செய்கிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>புள்ளி மேகங்களை ஒன்றிணைக்கவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>பல புள்ளி மேகங்களை ஒன்றாக இணைக்கிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>கட் பாயிண்ட் முகில்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>தேர்ந்தெடுக்கப்பட்ட பலகோணத்துடன் புள்ளி மேகத்தை வெட்டுகிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>பிரிவகம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>கட்டமைக்கப்பட்ட புள்ளி முகில்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>புள்ளிகளை கட்டமைக்கப்பட்ட புள்ளி மேகமாக மாற்றுகிறது</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>இறக்குமதி புள்ளிகள்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>புள்ளிகளாக மாற்று</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>வெட்டு புள்ளிகள்</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>புறக்கணிக்கவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>புள்ளிகளின் எண்ணிக்கை</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation type="unfinished">\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation type="unfinished">\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation type="unfinished">X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>ஃச், ஒய்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII புள்ளிகள் இறக்குமதி</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>டெம்ப்ளேட்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>சிறப்பு வரிகள்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>முதல் வரி</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>என்று தொடங்கும் கோடுகள் மூலம் கொத்து</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>தொடங்கும் வரிகளை புறக்கணிக்கவும்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>புள்ளி வடிவம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>எண் பிரிப்பான்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>புள்ளிகள் வடிவம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>அடுத்த தொகுதி</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>எதுவுமில்லை</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (சாதாரண திசையன்)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (சாதாரண திசையன் 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>ஆர்,சி,பி (நிறம்)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>நான் (சாம்பல் மதிப்பு)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>முன்னோட்ட வரிகளின் எண்ணிக்கை</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>முன்னோட்டம்</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>புள்ளி வடிவங்கள்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>அனைத்து கோப்புகள்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>புள்ளிகள் தோற்றத்தில் இல்லை</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>இறக்குமதி செய்யப்பட்ட புள்ளிகளின் எல்லைப் பெட்டியில் தோற்றம் இல்லை. மூலத்திற்கு மொழிபெயர்க்கவா?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>தூரம்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>அதிகபட்ச தூரத்தை உள்ளிடவும்:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>புள்ளிகள் கருவிகள்</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&புள்ளிகள்</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_tr.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_tr.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="tr" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>Noktalarına Dönüştür</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>Noktalarına Dönüştür</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Bir nokta bulutunu dışarı aktarır</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Bir nokta bulutunu içeri aktarır</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>Nokta bulutlarını birleştir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>Birkaç nokta bulutunu tek bir tanede birleştir</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Noktalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Noktaları içeri aktar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Noktalarına dönüştür</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Noktaları kes</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Yoksay</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Nokta sayısı</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>şablon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Hiçbiri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (olağan vektör)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (2B olağan vektör)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>K,Y,M(Renkler)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Önizleme</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Nokta biçimleri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tüm Dosyalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Uzaklık</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Maksimum uzaklığı girin:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Noktalar</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_uk.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_uk.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="uk" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Експорт хмари точок</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Імпорт хмари точок</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>Імпортувати точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Конвертувати в точки</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Точки розрізу</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ігнорувати</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Кількість точок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>Шаблон</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>Немає</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (нормальний вектор)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (нормальний вектор 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (колір)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Попередній перегляд</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Формат точок</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>Всі файли</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>Вказує не на джерело</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>Відстань</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Введіть максимальну відстань:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Точки</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_val-ES.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_val-ES.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="val-ES" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Converteix en punts...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="208"/>
|
||||
<location filename="../../Command.cpp" line="210"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converteix en punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="120"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="121"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Exporta punts...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="122"/>
|
||||
<location filename="../../Command.cpp" line="124"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Exporta un núvol de punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Importa punts...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<location filename="../../Command.cpp" line="71"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Importa un núvol de punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Fusiona els núvols de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="344"/>
|
||||
<location filename="../../Command.cpp" line="346"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Fusiona diversos núvols de punts en un de sol</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="294"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="295"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Retalla un núvol de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="296"/>
|
||||
<location filename="../../Command.cpp" line="298"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Retalla un núvol de punts amb un polígon seleccionat</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Núvol de punts estructurats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<location filename="../../Command.cpp" line="409"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Converteix els punts en un núvol de punts estructurats</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="167"/>
|
||||
<source>Points</source>
|
||||
<translation>Punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="168"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Transforma els punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="169"/>
|
||||
<location filename="../../Command.cpp" line="171"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Prova per a transformar un núvol de punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="92"/>
|
||||
<source>Import points</source>
|
||||
<translation type="unfinished">Import points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="183"/>
|
||||
<source>Transform points</source>
|
||||
<translation type="unfinished">Transform points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="240"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Converteix en punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="485"/>
|
||||
<location filename="../../ViewProvider.cpp" line="653"/>
|
||||
<source>Cut points</source>
|
||||
<translation type="unfinished">Cut points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Importa punts ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Plantilla:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Línies especials</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Primera línia:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Ignora</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Nombre de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Agrupa les línies que comencen amb:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Ignora les línies que comencen amb:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Format de punt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Separador de nombres:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Format dels punts:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X, Y, Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X, Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Bloc següent:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>cap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (vector normal)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (vector normal 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R, G, B (color)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I (valor gris)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Previsualització</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Nombre de línies previsualitzades:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Formats de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="84"/>
|
||||
<location filename="../../Command.cpp" line="141"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tots els fitxers</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="227"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="228"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Introduïu la distància màxima:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Eines de punts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Punts</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
329
src/Mod/Points/Gui/Resources/translations/Points_vi.ts
Normal file
329
src/Mod/Points/Gui/Resources/translations/Points_vi.ts
Normal file
@@ -0,0 +1,329 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="vi" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="187"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="188"/>
|
||||
<source>Convert to points...</source>
|
||||
<translation>Chuyển đổi thành điểm...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="189"/>
|
||||
<location filename="../../Command.cpp" line="191"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Chuyển đổi thành điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="110"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="111"/>
|
||||
<source>Export points...</source>
|
||||
<translation>Xuất điểm...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="112"/>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>Xuất một đám mây điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="65"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="66"/>
|
||||
<source>Import points...</source>
|
||||
<translation>Nhập điểm...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="67"/>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>Nhập một đám mây điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="308"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="309"/>
|
||||
<source>Merge point clouds</source>
|
||||
<translation>Hợp nhất các đám mây điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="310"/>
|
||||
<location filename="../../Command.cpp" line="312"/>
|
||||
<source>Merge several point clouds into one</source>
|
||||
<translation>Hợp nhất một số đám mây điểm lại thành một</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="263"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="264"/>
|
||||
<source>Cut point cloud</source>
|
||||
<translation>Cắt đám mây điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="265"/>
|
||||
<location filename="../../Command.cpp" line="267"/>
|
||||
<source>Cuts a point cloud with a picked polygon</source>
|
||||
<translation>Cắt một đám mây điểm với đa giác đã chọn</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="351"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="352"/>
|
||||
<source>Structured point cloud</source>
|
||||
<translation>Mây lưới cấu trúc</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="353"/>
|
||||
<location filename="../../Command.cpp" line="355"/>
|
||||
<source>Convert points to structured point cloud</source>
|
||||
<translation>Chuyển đổi nhóm điểm thành mây lưới cấu trúc</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsTransform</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="150"/>
|
||||
<source>Points</source>
|
||||
<translation>Điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Transform Points</source>
|
||||
<translation>Chuyển đổi điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<location filename="../../Command.cpp" line="154"/>
|
||||
<source>Test to transform a point cloud</source>
|
||||
<translation>Thử nghiệm để biến đổi một đám mây điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="86"/>
|
||||
<source>Import points</source>
|
||||
<translation>Nhập điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="166"/>
|
||||
<source>Transform points</source>
|
||||
<translation>Chuyển đổi điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="212"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>Chuyển đổi thành điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="456"/>
|
||||
<location filename="../../ViewProvider.cpp" line="615"/>
|
||||
<source>Cut points</source>
|
||||
<translation>Cắt điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII points import</source>
|
||||
<translation>Nhập điểm ASCII</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template:</source>
|
||||
<translation>Bản mẫu:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special lines</source>
|
||||
<translation>Dòng đặc biệt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First line:</source>
|
||||
<translation>Dòng đầu tiên:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>Bỏ qua</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>Số điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with:</source>
|
||||
<translation>Nhóm theo dòng bắt đầu bằng:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with:</source>
|
||||
<translation>Bỏ qua các dòng bắt đầu bằng:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point format</source>
|
||||
<translation>Định dạng điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator:</source>
|
||||
<translation>Bộ tách số:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format:</source>
|
||||
<translation>Định dạng điểm:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block:</source>
|
||||
<translation>Khối tiếp theo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>none</source>
|
||||
<translation>không có</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (véc tơ thông thường)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (véc tơ 2D)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (màu sắc)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (Gray value)</source>
|
||||
<translation>I(giá trị xám)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>Xem trước</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines:</source>
|
||||
<translation>Số dòng được xem trước:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>Point formats</source>
|
||||
<translation>Định dạng điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="79"/>
|
||||
<location filename="../../Command.cpp" line="127"/>
|
||||
<source>All Files</source>
|
||||
<translation>Tất cả các tệp</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="206"/>
|
||||
<source>Distance</source>
|
||||
<translation type="unfinished">Distance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="207"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>Nhập khoảng cách tối đa:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="34"/>
|
||||
<source>Points tools</source>
|
||||
<translation>Công cụ điểm</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>&Points</source>
|
||||
<translation>&Điểm</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_zh-CN.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_zh-CN.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh-CN" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation>转换为点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation>转换为点</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation>导出点…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>导出点云</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation>导入点…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>导入点云</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation>合并点云</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation>将多个点云合并为一个</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation>切割点云</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation>使用选定的多边形切割点云</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation>结构化点云</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation>将点转换为结构化点云</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>导入点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>转换为点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>剪切点</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>忽略</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>点的数量</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X,Y,Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X,Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation>ASCII 点导入</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>模板</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation>特殊行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation>首行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation>按以下列开头的行进行聚类</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation>忽略以下列开头的行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation>点格式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation>数字分隔符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation>点格式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation>下一个块</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>无</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K(法向量)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K(2D法向量)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R,G,B (颜色)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation>I (灰度值)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation>预览行数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>预览</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>点格式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>所有文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation>点不在原点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation>导入点的边界框不包含原点。是否要将其平移至原点?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>距离</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>输入的最大距离:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation>点工具</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>点(&P)</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
310
src/Mod/Points/Gui/Resources/translations/Points_zh-TW.ts
Normal file
310
src/Mod/Points/Gui/Resources/translations/Points_zh-TW.ts
Normal file
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh-TW" sourcelanguage="en">
|
||||
<context>
|
||||
<name>CmdPointsConvert</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="202"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="203"/>
|
||||
<source>Convert to Points</source>
|
||||
<translation type="unfinished">Convert to Points</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="204"/>
|
||||
<source>Converts to points</source>
|
||||
<translation type="unfinished">Converts to points</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsExport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="151"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="152"/>
|
||||
<source>Export Points…</source>
|
||||
<translation type="unfinished">Export Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="153"/>
|
||||
<location filename="../../Command.cpp" line="155"/>
|
||||
<source>Exports a point cloud</source>
|
||||
<translation>匯出點雲</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsImport</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="68"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="69"/>
|
||||
<source>Import Points…</source>
|
||||
<translation type="unfinished">Import Points…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="70"/>
|
||||
<source>Imports a point cloud</source>
|
||||
<translation>匯入點雲</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsMerge</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="341"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="342"/>
|
||||
<source>Merge Point Clouds</source>
|
||||
<translation type="unfinished">Merge Point Clouds</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="343"/>
|
||||
<source>Merges several point clouds into one</source>
|
||||
<translation type="unfinished">Merges several point clouds into one</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsPolyCut</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="291"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="292"/>
|
||||
<source>Cut Point Cloud</source>
|
||||
<translation type="unfinished">Cut Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="293"/>
|
||||
<source>Cuts a point cloud with a selected polygon</source>
|
||||
<translation type="unfinished">Cuts a point cloud with a selected polygon</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>CmdPointsStructure</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="405"/>
|
||||
<source>Points</source>
|
||||
<translation>點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="406"/>
|
||||
<source>Structured Point Cloud</source>
|
||||
<translation type="unfinished">Structured Point Cloud</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="407"/>
|
||||
<source>Converts points to a structured point cloud</source>
|
||||
<translation type="unfinished">Converts points to a structured point cloud</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Command</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="94"/>
|
||||
<source>Import points</source>
|
||||
<translation>匯入點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="238"/>
|
||||
<source>Convert to points</source>
|
||||
<translation>轉換為點</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ViewProvider.cpp" line="487"/>
|
||||
<location filename="../../ViewProvider.cpp" line="655"/>
|
||||
<source>Cut points</source>
|
||||
<translation>切割點</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>PointsGui::DlgPointsRead</name>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="70"/>
|
||||
<source>Ignore</source>
|
||||
<translation>忽略</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="80"/>
|
||||
<source>Number of points</source>
|
||||
<translation>點數</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="167"/>
|
||||
<source>\t</source>
|
||||
<translation>\t</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="172"/>
|
||||
<source>\w</source>
|
||||
<translation>\w</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="188"/>
|
||||
<source>X,Y,Z</source>
|
||||
<translation>X、 Y、 Z</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="193"/>
|
||||
<source>X,Y</source>
|
||||
<translation>X、 Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="14"/>
|
||||
<source>ASCII Points Import</source>
|
||||
<translation type="unfinished">ASCII Points Import</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="34"/>
|
||||
<source>Template</source>
|
||||
<translation>模板</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="46"/>
|
||||
<source>Special Lines</source>
|
||||
<translation type="unfinished">Special Lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="58"/>
|
||||
<source>First Line</source>
|
||||
<translation type="unfinished">First Line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="101"/>
|
||||
<source>Cluster by lines starting with</source>
|
||||
<translation type="unfinished">Cluster by lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="111"/>
|
||||
<source>Ignore lines starting with</source>
|
||||
<translation type="unfinished">Ignore lines starting with</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="126"/>
|
||||
<source>Point Format</source>
|
||||
<translation type="unfinished">Point Format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="146"/>
|
||||
<source>Number separator</source>
|
||||
<translation type="unfinished">Number separator</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="180"/>
|
||||
<source>Points format</source>
|
||||
<translation type="unfinished">Points format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="201"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="237"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="273"/>
|
||||
<source>Next block</source>
|
||||
<translation type="unfinished">Next block</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="209"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="245"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="281"/>
|
||||
<source>None</source>
|
||||
<translation>無</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="214"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="250"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="286"/>
|
||||
<source>I,J,K (normal vector)</source>
|
||||
<translation>I,J,K (垂直向量)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="219"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="255"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="291"/>
|
||||
<source>I,K (normal vector 2D)</source>
|
||||
<translation>I,K (2D垂直向量)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="224"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="260"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="296"/>
|
||||
<source>R,G,B (color)</source>
|
||||
<translation>R、 G、 B (顏色)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="229"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="265"/>
|
||||
<location filename="../../DlgPointsRead.ui" line="301"/>
|
||||
<source>I (gray value)</source>
|
||||
<translation type="unfinished">I (gray value)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="341"/>
|
||||
<source>Number of previewed lines</source>
|
||||
<translation type="unfinished">Number of previewed lines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgPointsRead.ui" line="314"/>
|
||||
<source>Preview</source>
|
||||
<translation>預覽</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>Point formats</source>
|
||||
<translation>點格式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="85"/>
|
||||
<location filename="../../Command.cpp" line="173"/>
|
||||
<source>All Files</source>
|
||||
<translation>所有檔案</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="114"/>
|
||||
<source>Points not at Origin</source>
|
||||
<translation type="unfinished">Points not at Origin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="116"/>
|
||||
<source>The bounding box of the imported points does not contain the origin. Translate it to the origin?</source>
|
||||
<translation type="unfinished">The bounding box of the imported points does not contain the origin. Translate it to the origin?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="224"/>
|
||||
<source>Distance</source>
|
||||
<translation>距離</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Command.cpp" line="225"/>
|
||||
<source>Enter maximum distance:</source>
|
||||
<translation>輸入最大距離:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Workbench</name>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="35"/>
|
||||
<source>Points Tools</source>
|
||||
<translation type="unfinished">Points Tools</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../Workbench.cpp" line="36"/>
|
||||
<source>&Points</source>
|
||||
<translation>&點</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
771
src/Mod/Points/Gui/ViewProvider.cpp
Normal file
771
src/Mod/Points/Gui/ViewProvider.cpp
Normal file
@@ -0,0 +1,771 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <boost/math/special_functions/fpclassify.hpp>
|
||||
#include <limits>
|
||||
|
||||
#include <Inventor/errors/SoDebugError.h>
|
||||
#include <Inventor/events/SoMouseButtonEvent.h>
|
||||
#include <Inventor/nodes/SoCamera.h>
|
||||
#include <Inventor/nodes/SoCoordinate3.h>
|
||||
#include <Inventor/nodes/SoDrawStyle.h>
|
||||
#include <Inventor/nodes/SoIndexedPointSet.h>
|
||||
#include <Inventor/nodes/SoMaterial.h>
|
||||
#include <Inventor/nodes/SoMaterialBinding.h>
|
||||
#include <Inventor/nodes/SoNormal.h>
|
||||
#include <Inventor/nodes/SoPointSet.h>
|
||||
|
||||
#include <App/Document.h>
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/Selection/SoFCSelection.h>
|
||||
#include <Gui/View3DInventorViewer.h>
|
||||
#include <Mod/Points/App/PointsFeature.h>
|
||||
#include <Mod/Points/App/Properties.h>
|
||||
|
||||
#include "ViewProvider.h"
|
||||
|
||||
|
||||
using namespace PointsGui;
|
||||
using namespace Points;
|
||||
|
||||
|
||||
PROPERTY_SOURCE_ABSTRACT(PointsGui::ViewProviderPoints, Gui::ViewProviderGeometryObject)
|
||||
|
||||
|
||||
App::PropertyFloatConstraint::Constraints ViewProviderPoints::floatRange = {1.0, 64.0, 1.0};
|
||||
|
||||
ViewProviderPoints::ViewProviderPoints()
|
||||
{
|
||||
static const char* osgroup = "Object Style";
|
||||
|
||||
ADD_PROPERTY_TYPE(PointSize, (2.0F), osgroup, App::Prop_None, "Set point size");
|
||||
PointSize.setConstraints(&floatRange);
|
||||
|
||||
// Create the selection node
|
||||
pcHighlight = Gui::ViewProviderBuilder::createSelection();
|
||||
pcHighlight->ref();
|
||||
if (pcHighlight->selectionMode.getValue() == Gui::SoFCSelection::SEL_OFF) {
|
||||
Selectable.setValue(false);
|
||||
}
|
||||
|
||||
// BBOX
|
||||
SelectionStyle.setValue(1);
|
||||
|
||||
pcPointsCoord = new SoCoordinate3();
|
||||
pcPointsCoord->ref();
|
||||
pcPointsNormal = new SoNormal();
|
||||
pcPointsNormal->ref();
|
||||
pcColorMat = new SoMaterial;
|
||||
pcColorMat->ref();
|
||||
|
||||
pcPointStyle = new SoDrawStyle();
|
||||
pcPointStyle->ref();
|
||||
pcPointStyle->style = SoDrawStyle::POINTS;
|
||||
pcPointStyle->pointSize = PointSize.getValue();
|
||||
}
|
||||
|
||||
ViewProviderPoints::~ViewProviderPoints()
|
||||
{
|
||||
pcHighlight->unref();
|
||||
pcPointsCoord->unref();
|
||||
pcPointsNormal->unref();
|
||||
pcColorMat->unref();
|
||||
pcPointStyle->unref();
|
||||
}
|
||||
|
||||
void ViewProviderPoints::onChanged(const App::Property* prop)
|
||||
{
|
||||
if (prop == &PointSize) {
|
||||
pcPointStyle->pointSize = PointSize.getValue();
|
||||
}
|
||||
else if (prop == &SelectionStyle) {
|
||||
pcHighlight->style = SelectionStyle.getValue() ? Gui::SoFCSelection::BOX
|
||||
: Gui::SoFCSelection::EMISSIVE;
|
||||
}
|
||||
else {
|
||||
ViewProviderGeometryObject::onChanged(prop);
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderPoints::setVertexColorMode(App::PropertyColorList* pcProperty)
|
||||
{
|
||||
const std::vector<Base::Color>& val = pcProperty->getValues();
|
||||
|
||||
pcColorMat->diffuseColor.setNum(val.size());
|
||||
SbColor* col = pcColorMat->diffuseColor.startEditing();
|
||||
|
||||
std::size_t i = 0;
|
||||
for (const auto& it : val) {
|
||||
col[i++].setValue(it.r, it.g, it.b);
|
||||
}
|
||||
|
||||
pcColorMat->diffuseColor.finishEditing();
|
||||
}
|
||||
|
||||
void ViewProviderPoints::setVertexGreyvalueMode(Points::PropertyGreyValueList* pcProperty)
|
||||
{
|
||||
const std::vector<float>& val = pcProperty->getValues();
|
||||
|
||||
pcColorMat->diffuseColor.setNum(val.size());
|
||||
SbColor* col = pcColorMat->diffuseColor.startEditing();
|
||||
|
||||
std::size_t i = 0;
|
||||
for (float it : val) {
|
||||
col[i++].setValue(it, it, it);
|
||||
}
|
||||
|
||||
pcColorMat->diffuseColor.finishEditing();
|
||||
}
|
||||
|
||||
void ViewProviderPoints::setVertexNormalMode(Points::PropertyNormalList* pcProperty)
|
||||
{
|
||||
const std::vector<Base::Vector3f>& val = pcProperty->getValues();
|
||||
|
||||
pcPointsNormal->vector.setNum(val.size());
|
||||
SbVec3f* norm = pcPointsNormal->vector.startEditing();
|
||||
|
||||
std::size_t i = 0;
|
||||
for (const auto& it : val) {
|
||||
norm[i++].setValue(it.x, it.y, it.z);
|
||||
}
|
||||
|
||||
pcPointsNormal->vector.finishEditing();
|
||||
}
|
||||
|
||||
void ViewProviderPoints::setDisplayMode(const char* ModeName)
|
||||
{
|
||||
int numPoints = pcPointsCoord->point.getNum();
|
||||
|
||||
if (strcmp("Color", ModeName) == 0) {
|
||||
std::map<std::string, App::Property*> Map;
|
||||
pcObject->getPropertyMap(Map);
|
||||
for (auto& it : Map) {
|
||||
Base::Type type = it.second->getTypeId();
|
||||
if (type == App::PropertyColorList::getClassTypeId()) {
|
||||
App::PropertyColorList* colors = static_cast<App::PropertyColorList*>(it.second);
|
||||
if (numPoints != colors->getSize()) {
|
||||
#ifdef FC_DEBUG
|
||||
SoDebugError::postWarning(
|
||||
"ViewProviderPoints::setDisplayMode",
|
||||
"The number of points (%d) doesn't match with the number of colors (%d).",
|
||||
numPoints,
|
||||
colors->getSize()
|
||||
);
|
||||
#endif
|
||||
// fallback
|
||||
setDisplayMaskMode("Point");
|
||||
}
|
||||
else {
|
||||
setVertexColorMode(colors);
|
||||
setDisplayMaskMode("Color");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strcmp("Intensity", ModeName) == 0) {
|
||||
std::map<std::string, App::Property*> Map;
|
||||
pcObject->getPropertyMap(Map);
|
||||
for (const auto& it : Map) {
|
||||
Base::Type type = it.second->getTypeId();
|
||||
if (type == Points::PropertyGreyValueList::getClassTypeId()) {
|
||||
Points::PropertyGreyValueList* greyValues
|
||||
= static_cast<Points::PropertyGreyValueList*>(it.second);
|
||||
if (numPoints != greyValues->getSize()) {
|
||||
#ifdef FC_DEBUG
|
||||
SoDebugError::postWarning(
|
||||
"ViewProviderPoints::setDisplayMode",
|
||||
"The number of points (%d) doesn't match with the "
|
||||
"number of grey values (%d).",
|
||||
numPoints,
|
||||
greyValues->getSize()
|
||||
);
|
||||
#endif
|
||||
// Intensity mode is not possible then set the default () mode instead.
|
||||
setDisplayMaskMode("Point");
|
||||
}
|
||||
else {
|
||||
setVertexGreyvalueMode((Points::PropertyGreyValueList*)it.second);
|
||||
setDisplayMaskMode("Color");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strcmp("Shaded", ModeName) == 0) {
|
||||
std::map<std::string, App::Property*> Map;
|
||||
pcObject->getPropertyMap(Map);
|
||||
for (const auto& it : Map) {
|
||||
Base::Type type = it.second->getTypeId();
|
||||
if (type == Points::PropertyNormalList::getClassTypeId()) {
|
||||
Points::PropertyNormalList* normals = static_cast<Points::PropertyNormalList*>(
|
||||
it.second
|
||||
);
|
||||
if (numPoints != normals->getSize()) {
|
||||
#ifdef FC_DEBUG
|
||||
SoDebugError::postWarning(
|
||||
"ViewProviderPoints::setDisplayMode",
|
||||
"The number of points (%d) doesn't match with the number of normals (%d).",
|
||||
numPoints,
|
||||
normals->getSize()
|
||||
);
|
||||
#endif
|
||||
// fallback
|
||||
setDisplayMaskMode("Point");
|
||||
}
|
||||
else {
|
||||
setVertexNormalMode(normals);
|
||||
setDisplayMaskMode("Shaded");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strcmp("Points", ModeName) == 0) {
|
||||
setDisplayMaskMode("Point");
|
||||
}
|
||||
|
||||
ViewProviderGeometryObject::setDisplayMode(ModeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ViewProviderPoints::getDisplayModes() const
|
||||
{
|
||||
std::vector<std::string> StrList;
|
||||
StrList.emplace_back("Points");
|
||||
|
||||
// FIXME: This way all display modes are added even if the points feature
|
||||
// doesn't support it.
|
||||
// For the future a more flexible way is needed to add new display modes
|
||||
// at a later time
|
||||
#if 1
|
||||
StrList.emplace_back("Color");
|
||||
StrList.emplace_back("Shaded");
|
||||
StrList.emplace_back("Intensity");
|
||||
|
||||
#else
|
||||
if (pcObject) {
|
||||
std::map<std::string, App::Property*> Map;
|
||||
pcObject->getPropertyMap(Map);
|
||||
|
||||
for (std::map<std::string, App::Property*>::iterator it = Map.begin(); it != Map.end(); ++it) {
|
||||
Base::Type type = it->second->getTypeId();
|
||||
if (type == Points::PropertyNormalList::getClassTypeId()) {
|
||||
StrList.push_back("Shaded");
|
||||
}
|
||||
else if (type == Points::PropertyGreyValueList::getClassTypeId()) {
|
||||
StrList.push_back("Intensity");
|
||||
}
|
||||
else if (type == App::PropertyColorList::getClassTypeId()) {
|
||||
StrList.push_back("Color");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return StrList;
|
||||
}
|
||||
|
||||
QIcon ViewProviderPoints::getIcon() const
|
||||
{
|
||||
// clang-format off
|
||||
static const char * const Points_Feature_xpm[] = {
|
||||
"16 16 4 1",
|
||||
". c none",
|
||||
"s c #000000",
|
||||
"b c #FFFF00",
|
||||
"r c #FF0000",
|
||||
"ss.....ss.....bb",
|
||||
"ss..ss.ss.....bb",
|
||||
"....ss..........",
|
||||
"...........bb...",
|
||||
".ss..ss....bb...",
|
||||
".ss..ss.........",
|
||||
"........bb....bb",
|
||||
"ss......bb....bb",
|
||||
"ss..rr......bb..",
|
||||
"....rr......bb..",
|
||||
"........bb......",
|
||||
"..rr....bb..bb..",
|
||||
"..rr........bb..",
|
||||
".....rr.........",
|
||||
"rr...rr..rr..rr.",
|
||||
"rr.......rr..rr."};
|
||||
QPixmap px(Points_Feature_xpm);
|
||||
return px;
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
bool ViewProviderPoints::setEdit(int ModNum)
|
||||
{
|
||||
if (ModNum == ViewProvider::Transform) {
|
||||
return ViewProviderGeometryObject::setEdit(ModNum);
|
||||
}
|
||||
else if (ModNum == ViewProvider::Cutting) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void ViewProviderPoints::unsetEdit(int ModNum)
|
||||
{
|
||||
if (ModNum == ViewProvider::Transform) {
|
||||
ViewProviderGeometryObject::unsetEdit(ModNum);
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderPoints::clipPointsCallback(void*, SoEventCallback* n)
|
||||
{
|
||||
// When this callback function is invoked we must in either case leave the edit mode
|
||||
Gui::View3DInventorViewer* view = static_cast<Gui::View3DInventorViewer*>(n->getUserData());
|
||||
view->setEditing(false);
|
||||
view->removeEventCallback(SoMouseButtonEvent::getClassTypeId(), clipPointsCallback);
|
||||
n->setHandled();
|
||||
|
||||
std::vector<SbVec2f> clPoly = view->getGLPolygon();
|
||||
if (clPoly.size() < 3) {
|
||||
return;
|
||||
}
|
||||
if (clPoly.front() != clPoly.back()) {
|
||||
clPoly.push_back(clPoly.front());
|
||||
}
|
||||
|
||||
std::vector<Gui::ViewProvider*> views = view->getViewProvidersOfType(
|
||||
ViewProviderPoints::getClassTypeId()
|
||||
);
|
||||
for (auto it : views) {
|
||||
ViewProviderPoints* that = static_cast<ViewProviderPoints*>(it);
|
||||
if (that->getEditingMode() > -1) {
|
||||
that->finishEditing();
|
||||
that->cut(clPoly, *view);
|
||||
}
|
||||
}
|
||||
|
||||
view->redraw();
|
||||
}
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
PROPERTY_SOURCE(PointsGui::ViewProviderScattered, PointsGui::ViewProviderPoints)
|
||||
|
||||
ViewProviderScattered::ViewProviderScattered()
|
||||
{
|
||||
pcPoints = new SoPointSet();
|
||||
pcPoints->ref();
|
||||
}
|
||||
|
||||
ViewProviderScattered::~ViewProviderScattered()
|
||||
{
|
||||
pcPoints->unref();
|
||||
}
|
||||
|
||||
void ViewProviderScattered::attach(App::DocumentObject* pcObj)
|
||||
{
|
||||
// call parent's attach to define display modes
|
||||
ViewProviderGeometryObject::attach(pcObj);
|
||||
|
||||
pcHighlight->objectName = pcObj->getNameInDocument();
|
||||
pcHighlight->documentName = pcObj->getDocument()->getName();
|
||||
pcHighlight->subElementName = "Main";
|
||||
|
||||
// Highlight for selection
|
||||
pcHighlight->addChild(pcPointsCoord);
|
||||
pcHighlight->addChild(pcPoints);
|
||||
|
||||
std::vector<std::string> modes = getDisplayModes();
|
||||
|
||||
// points part ---------------------------------------------
|
||||
SoGroup* pcPointRoot = new SoGroup();
|
||||
pcPointRoot->addChild(pcPointStyle);
|
||||
pcPointRoot->addChild(pcShapeMaterial);
|
||||
pcPointRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcPointRoot, "Point");
|
||||
|
||||
// points shaded ---------------------------------------------
|
||||
if (std::ranges::find(modes, std::string("Shaded")) != modes.end()) {
|
||||
SoGroup* pcPointShadedRoot = new SoGroup();
|
||||
pcPointShadedRoot->addChild(pcPointStyle);
|
||||
pcPointShadedRoot->addChild(pcShapeMaterial);
|
||||
pcPointShadedRoot->addChild(pcPointsNormal);
|
||||
pcPointShadedRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcPointShadedRoot, "Shaded");
|
||||
}
|
||||
|
||||
// color shaded ------------------------------------------
|
||||
if (std::ranges::find(modes, std::string("Color")) != modes.end()
|
||||
|| std::ranges::find(modes, std::string("Intensity")) != modes.end()) {
|
||||
SoGroup* pcColorShadedRoot = new SoGroup();
|
||||
pcColorShadedRoot->addChild(pcPointStyle);
|
||||
SoMaterialBinding* pcMatBinding = new SoMaterialBinding;
|
||||
pcMatBinding->value = SoMaterialBinding::PER_VERTEX_INDEXED;
|
||||
pcColorShadedRoot->addChild(pcColorMat);
|
||||
pcColorShadedRoot->addChild(pcMatBinding);
|
||||
pcColorShadedRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcColorShadedRoot, "Color");
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderScattered::updateData(const App::Property* prop)
|
||||
{
|
||||
ViewProviderPoints::updateData(prop);
|
||||
if (prop->is<Points::PropertyPointKernel>()) {
|
||||
ViewProviderPointsBuilder builder;
|
||||
builder.createPoints(prop, pcPointsCoord, pcPoints);
|
||||
|
||||
// The number of points might have changed, so force also a resize of the Inventor internals
|
||||
setActiveMode();
|
||||
}
|
||||
else if (prop->is<Points::PropertyNormalList>()) {
|
||||
setActiveMode();
|
||||
}
|
||||
else if (prop->is<Points::PropertyGreyValueList>()) {
|
||||
setActiveMode();
|
||||
}
|
||||
else if (prop->is<App::PropertyColorList>()) {
|
||||
setActiveMode();
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderScattered::cut(const std::vector<SbVec2f>& picked, Gui::View3DInventorViewer& Viewer)
|
||||
{
|
||||
// create the polygon from the picked points
|
||||
Base::Polygon2d cPoly;
|
||||
for (const auto& it : picked) {
|
||||
cPoly.Add(Base::Vector2d(it[0], it[1]));
|
||||
}
|
||||
|
||||
// get a reference to the point feature
|
||||
Points::Feature* fea = static_cast<Points::Feature*>(pcObject);
|
||||
const Points::PointKernel& points = fea->Points.getValue();
|
||||
|
||||
SoCamera* pCam = Viewer.getSoRenderManager()->getCamera();
|
||||
SbViewVolume vol = pCam->getViewVolume();
|
||||
|
||||
// search for all points inside/outside the polygon
|
||||
std::vector<unsigned long> removeIndices;
|
||||
removeIndices.reserve(points.size());
|
||||
|
||||
unsigned long index = 0;
|
||||
for (Points::PointKernel::const_iterator jt = points.begin(); jt != points.end(); ++jt, ++index) {
|
||||
SbVec3f pt(jt->x, jt->y, jt->z);
|
||||
|
||||
// project from 3d to 2d
|
||||
vol.projectToScreen(pt, pt);
|
||||
if (cPoly.Contains(Base::Vector2d(pt[0], pt[1]))) {
|
||||
removeIndices.push_back(index);
|
||||
}
|
||||
}
|
||||
|
||||
if (removeIndices.empty()) {
|
||||
return; // nothing needs to be done
|
||||
}
|
||||
|
||||
// Remove the points from the cloud and open a transaction object for the undo/redo stuff
|
||||
Gui::Application::Instance->activeDocument()->openCommand(
|
||||
QT_TRANSLATE_NOOP("Command", "Cut points")
|
||||
);
|
||||
|
||||
// sets the points outside the polygon to update the Inventor node
|
||||
fea->Points.removeIndices(removeIndices);
|
||||
|
||||
std::map<std::string, App::Property*> Map;
|
||||
pcObject->getPropertyMap(Map);
|
||||
|
||||
for (const auto& it : Map) {
|
||||
Base::Type type = it.second->getTypeId();
|
||||
if (type == Points::PropertyNormalList::getClassTypeId()) {
|
||||
static_cast<Points::PropertyNormalList*>(it.second)->removeIndices(removeIndices);
|
||||
}
|
||||
else if (type == Points::PropertyGreyValueList::getClassTypeId()) {
|
||||
static_cast<Points::PropertyGreyValueList*>(it.second)->removeIndices(removeIndices);
|
||||
}
|
||||
else if (type == App::PropertyColorList::getClassTypeId()) {
|
||||
// static_cast<App::PropertyColorList*>(it->second)->removeIndices(removeIndices);
|
||||
const std::vector<Base::Color>& colors
|
||||
= static_cast<App::PropertyColorList*>(it.second)->getValues();
|
||||
|
||||
if (removeIndices.size() > colors.size()) {
|
||||
break;
|
||||
}
|
||||
|
||||
std::vector<Base::Color> remainValue;
|
||||
remainValue.reserve(colors.size() - removeIndices.size());
|
||||
|
||||
std::vector<unsigned long>::iterator pos = removeIndices.begin();
|
||||
for (std::vector<Base::Color>::const_iterator jt = colors.begin(); jt != colors.end();
|
||||
++jt) {
|
||||
unsigned long index = jt - colors.begin();
|
||||
if (pos == removeIndices.end()) {
|
||||
remainValue.push_back(*jt);
|
||||
}
|
||||
else if (index != *pos) {
|
||||
remainValue.push_back(*jt);
|
||||
}
|
||||
else {
|
||||
++pos;
|
||||
}
|
||||
}
|
||||
|
||||
static_cast<App::PropertyColorList*>(it.second)->setValues(remainValue);
|
||||
}
|
||||
}
|
||||
|
||||
// unset the modified flag because we don't need the features' execute() to be called
|
||||
Gui::Application::Instance->activeDocument()->commitCommand();
|
||||
fea->purgeTouched();
|
||||
}
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
PROPERTY_SOURCE(PointsGui::ViewProviderStructured, PointsGui::ViewProviderPoints)
|
||||
|
||||
ViewProviderStructured::ViewProviderStructured()
|
||||
{
|
||||
pcPoints = new SoIndexedPointSet();
|
||||
pcPoints->ref();
|
||||
}
|
||||
|
||||
ViewProviderStructured::~ViewProviderStructured()
|
||||
{
|
||||
pcPoints->unref();
|
||||
}
|
||||
|
||||
void ViewProviderStructured::attach(App::DocumentObject* pcObj)
|
||||
{
|
||||
// call parent's attach to define display modes
|
||||
ViewProviderGeometryObject::attach(pcObj);
|
||||
|
||||
pcHighlight->objectName = pcObj->getNameInDocument();
|
||||
pcHighlight->documentName = pcObj->getDocument()->getName();
|
||||
pcHighlight->subElementName = "Main";
|
||||
|
||||
// Highlight for selection
|
||||
pcHighlight->addChild(pcPointsCoord);
|
||||
pcHighlight->addChild(pcPoints);
|
||||
|
||||
std::vector<std::string> modes = getDisplayModes();
|
||||
|
||||
// points part ---------------------------------------------
|
||||
SoGroup* pcPointRoot = new SoGroup();
|
||||
pcPointRoot->addChild(pcPointStyle);
|
||||
pcPointRoot->addChild(pcShapeMaterial);
|
||||
pcPointRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcPointRoot, "Point");
|
||||
|
||||
// points shaded ---------------------------------------------
|
||||
if (std::ranges::find(modes, std::string("Shaded")) != modes.end()) {
|
||||
SoGroup* pcPointShadedRoot = new SoGroup();
|
||||
pcPointShadedRoot->addChild(pcPointStyle);
|
||||
pcPointShadedRoot->addChild(pcShapeMaterial);
|
||||
pcPointShadedRoot->addChild(pcPointsNormal);
|
||||
pcPointShadedRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcPointShadedRoot, "Shaded");
|
||||
}
|
||||
|
||||
// color shaded ------------------------------------------
|
||||
if (std::ranges::find(modes, std::string("Color")) != modes.end()
|
||||
|| std::ranges::find(modes, std::string("Intensity")) != modes.end()) {
|
||||
SoGroup* pcColorShadedRoot = new SoGroup();
|
||||
pcColorShadedRoot->addChild(pcPointStyle);
|
||||
SoMaterialBinding* pcMatBinding = new SoMaterialBinding;
|
||||
pcMatBinding->value = SoMaterialBinding::PER_VERTEX_INDEXED;
|
||||
pcColorShadedRoot->addChild(pcColorMat);
|
||||
pcColorShadedRoot->addChild(pcMatBinding);
|
||||
pcColorShadedRoot->addChild(pcHighlight);
|
||||
addDisplayMaskMode(pcColorShadedRoot, "Color");
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderStructured::updateData(const App::Property* prop)
|
||||
{
|
||||
ViewProviderPoints::updateData(prop);
|
||||
if (prop->is<Points::PropertyPointKernel>()) {
|
||||
ViewProviderPointsBuilder builder;
|
||||
builder.createPoints(prop, pcPointsCoord, pcPoints);
|
||||
|
||||
// The number of points might have changed, so force also a resize of the Inventor internals
|
||||
setActiveMode();
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderStructured::cut(const std::vector<SbVec2f>& picked, Gui::View3DInventorViewer& Viewer)
|
||||
{
|
||||
// create the polygon from the picked points
|
||||
Base::Polygon2d cPoly;
|
||||
for (const auto& it : picked) {
|
||||
cPoly.Add(Base::Vector2d(it[0], it[1]));
|
||||
}
|
||||
|
||||
// get a reference to the point feature
|
||||
Points::Feature* fea = static_cast<Points::Feature*>(pcObject);
|
||||
const Points::PointKernel& points = fea->Points.getValue();
|
||||
|
||||
SoCamera* pCam = Viewer.getSoRenderManager()->getCamera();
|
||||
SbViewVolume vol = pCam->getViewVolume();
|
||||
|
||||
// search for all points inside/outside the polygon
|
||||
Points::PointKernel newKernel;
|
||||
newKernel.reserve(points.size());
|
||||
|
||||
bool invalidatePoints = false;
|
||||
double nan = std::numeric_limits<double>::quiet_NaN();
|
||||
for (const auto& point : points) {
|
||||
// valid point?
|
||||
Base::Vector3d vec(point);
|
||||
if (!(boost::math::isnan(point.x) || boost::math::isnan(point.y)
|
||||
|| boost::math::isnan(point.z))) {
|
||||
SbVec3f pt(point.x, point.y, point.z);
|
||||
|
||||
// project from 3d to 2d
|
||||
vol.projectToScreen(pt, pt);
|
||||
if (cPoly.Contains(Base::Vector2d(pt[0], pt[1]))) {
|
||||
invalidatePoints = true;
|
||||
vec.Set(nan, nan, nan);
|
||||
}
|
||||
}
|
||||
|
||||
newKernel.push_back(vec);
|
||||
}
|
||||
|
||||
if (invalidatePoints) {
|
||||
// Remove the points from the cloud and open a transaction object for the undo/redo stuff
|
||||
Gui::Application::Instance->activeDocument()->openCommand(
|
||||
QT_TRANSLATE_NOOP("Command", "Cut points")
|
||||
);
|
||||
|
||||
// sets the points outside the polygon to update the Inventor node
|
||||
fea->Points.setValue(newKernel);
|
||||
|
||||
// unset the modified flag because we don't need the features' execute() to be called
|
||||
Gui::Application::Instance->activeDocument()->commitCommand();
|
||||
fea->purgeTouched();
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
namespace Gui
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(PointsGui::ViewProviderPython, PointsGui::ViewProviderScattered)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PointsGuiExport ViewProviderFeaturePythonT<PointsGui::ViewProviderScattered>;
|
||||
} // namespace Gui
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
void ViewProviderPointsBuilder::buildNodes(const App::Property* prop, std::vector<SoNode*>& nodes) const
|
||||
{
|
||||
SoCoordinate3* pcPointsCoord = nullptr;
|
||||
SoPointSet* pcPoints = nullptr;
|
||||
|
||||
if (nodes.empty()) {
|
||||
pcPointsCoord = new SoCoordinate3();
|
||||
nodes.push_back(pcPointsCoord);
|
||||
pcPoints = new SoPointSet();
|
||||
nodes.push_back(pcPoints);
|
||||
}
|
||||
else if (nodes.size() == 2) {
|
||||
if (nodes[0]->getTypeId() == SoCoordinate3::getClassTypeId()) {
|
||||
pcPointsCoord = static_cast<SoCoordinate3*>(nodes[0]);
|
||||
}
|
||||
if (nodes[1]->getTypeId() == SoPointSet::getClassTypeId()) {
|
||||
pcPoints = static_cast<SoPointSet*>(nodes[1]);
|
||||
}
|
||||
}
|
||||
|
||||
if (pcPointsCoord && pcPoints) {
|
||||
createPoints(prop, pcPointsCoord, pcPoints);
|
||||
}
|
||||
}
|
||||
|
||||
void ViewProviderPointsBuilder::createPoints(
|
||||
const App::Property* prop,
|
||||
SoCoordinate3* coords,
|
||||
SoPointSet* points
|
||||
) const
|
||||
{
|
||||
const Points::PropertyPointKernel* prop_points = static_cast<const Points::PropertyPointKernel*>(
|
||||
prop
|
||||
);
|
||||
const Points::PointKernel& cPts = prop_points->getValue();
|
||||
|
||||
coords->point.setNum(cPts.size());
|
||||
SbVec3f* vec = coords->point.startEditing();
|
||||
|
||||
// get all points
|
||||
std::size_t idx = 0;
|
||||
const std::vector<Points::PointKernel::value_type>& kernel = cPts.getBasicPoints();
|
||||
for (std::vector<Points::PointKernel::value_type>::const_iterator it = kernel.begin();
|
||||
it != kernel.end();
|
||||
++it, idx++) {
|
||||
vec[idx].setValue(it->x, it->y, it->z);
|
||||
}
|
||||
|
||||
points->numPoints = cPts.size();
|
||||
coords->point.finishEditing();
|
||||
}
|
||||
|
||||
void ViewProviderPointsBuilder::createPoints(
|
||||
const App::Property* prop,
|
||||
SoCoordinate3* coords,
|
||||
SoIndexedPointSet* points
|
||||
) const
|
||||
{
|
||||
const Points::PropertyPointKernel* prop_points = static_cast<const Points::PropertyPointKernel*>(
|
||||
prop
|
||||
);
|
||||
const Points::PointKernel& cPts = prop_points->getValue();
|
||||
|
||||
coords->point.setNum(cPts.size());
|
||||
SbVec3f* vec = coords->point.startEditing();
|
||||
|
||||
// get all points
|
||||
std::size_t idx = 0;
|
||||
std::vector<int32_t> indices;
|
||||
indices.reserve(cPts.size());
|
||||
const std::vector<Points::PointKernel::value_type>& kernel = cPts.getBasicPoints();
|
||||
for (std::vector<Points::PointKernel::value_type>::const_iterator it = kernel.begin();
|
||||
it != kernel.end();
|
||||
++it, idx++) {
|
||||
vec[idx].setValue(it->x, it->y, it->z);
|
||||
// valid point?
|
||||
if (!(boost::math::isnan(it->x) || boost::math::isnan(it->y) || boost::math::isnan(it->z))) {
|
||||
indices.push_back(idx);
|
||||
}
|
||||
}
|
||||
coords->point.finishEditing();
|
||||
|
||||
// get all point indices
|
||||
idx = 0;
|
||||
points->coordIndex.setNum(indices.size());
|
||||
int32_t* pos = points->coordIndex.startEditing();
|
||||
for (int32_t index : indices) {
|
||||
pos[idx++] = index;
|
||||
}
|
||||
points->coordIndex.finishEditing();
|
||||
}
|
||||
179
src/Mod/Points/Gui/ViewProvider.h
Normal file
179
src/Mod/Points/Gui/ViewProvider.h
Normal file
@@ -0,0 +1,179 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2004 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Inventor/SbVec2f.h>
|
||||
|
||||
#include <Gui/ViewProviderBuilder.h>
|
||||
#include <Gui/ViewProviderGeometryObject.h>
|
||||
#include <Gui/ViewProviderFeaturePython.h>
|
||||
#include <Mod/Points/PointsGlobal.h>
|
||||
|
||||
|
||||
class SoSwitch;
|
||||
class SoPointSet;
|
||||
class SoIndexedPointSet;
|
||||
class SoLocateHighlight;
|
||||
class SoCoordinate3;
|
||||
class SoNormal;
|
||||
class SoEventCallback;
|
||||
|
||||
namespace App
|
||||
{
|
||||
class PropertyColorList;
|
||||
}
|
||||
|
||||
namespace Gui
|
||||
{
|
||||
class SoFCSelection;
|
||||
}
|
||||
|
||||
namespace Points
|
||||
{
|
||||
class PropertyGreyValueList;
|
||||
class PropertyNormalList;
|
||||
class PointKernel;
|
||||
class Feature;
|
||||
} // namespace Points
|
||||
|
||||
namespace PointsGui
|
||||
{
|
||||
|
||||
class ViewProviderPointsBuilder: public Gui::ViewProviderBuilder
|
||||
{
|
||||
public:
|
||||
ViewProviderPointsBuilder() = default;
|
||||
~ViewProviderPointsBuilder() override = default;
|
||||
void buildNodes(const App::Property*, std::vector<SoNode*>&) const override;
|
||||
void createPoints(const App::Property*, SoCoordinate3*, SoPointSet*) const;
|
||||
void createPoints(const App::Property*, SoCoordinate3*, SoIndexedPointSet*) const;
|
||||
};
|
||||
|
||||
/**
|
||||
* The ViewProviderPoints class creates
|
||||
* a node representing the point data structure.
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class PointsGuiExport ViewProviderPoints: public Gui::ViewProviderGeometryObject
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(PointsGui::ViewProviderPoints);
|
||||
|
||||
public:
|
||||
ViewProviderPoints();
|
||||
~ViewProviderPoints() override;
|
||||
|
||||
App::PropertyFloatConstraint PointSize;
|
||||
|
||||
/// set the viewing mode
|
||||
void setDisplayMode(const char* ModeName) override;
|
||||
/// returns a list of all possible modes
|
||||
std::vector<std::string> getDisplayModes() const override;
|
||||
QIcon getIcon() const override;
|
||||
|
||||
/// Sets the edit mnode
|
||||
bool setEdit(int ModNum) override;
|
||||
/// Unsets the edit mode
|
||||
void unsetEdit(int ModNum) override;
|
||||
|
||||
public:
|
||||
static void clipPointsCallback(void* ud, SoEventCallback* n);
|
||||
|
||||
protected:
|
||||
void onChanged(const App::Property* prop) override;
|
||||
void setVertexColorMode(App::PropertyColorList*);
|
||||
void setVertexGreyvalueMode(Points::PropertyGreyValueList*);
|
||||
void setVertexNormalMode(Points::PropertyNormalList*);
|
||||
virtual void cut(const std::vector<SbVec2f>& picked, Gui::View3DInventorViewer& Viewer) = 0;
|
||||
|
||||
protected:
|
||||
Gui::SoFCSelection* pcHighlight;
|
||||
SoCoordinate3* pcPointsCoord;
|
||||
SoMaterial* pcColorMat;
|
||||
SoNormal* pcPointsNormal;
|
||||
SoDrawStyle* pcPointStyle;
|
||||
|
||||
private:
|
||||
static App::PropertyFloatConstraint::Constraints floatRange;
|
||||
};
|
||||
|
||||
/**
|
||||
* The ViewProviderScattered class creates
|
||||
* a node representing the scattered point cloud.
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class PointsGuiExport ViewProviderScattered: public ViewProviderPoints
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(PointsGui::ViewProviderScattered);
|
||||
|
||||
public:
|
||||
ViewProviderScattered();
|
||||
~ViewProviderScattered() override;
|
||||
|
||||
/**
|
||||
* Extracts the point data from the feature \a pcFeature and creates
|
||||
* an Inventor node \a SoNode with these data.
|
||||
*/
|
||||
void attach(App::DocumentObject*) override;
|
||||
/// Update the point representation
|
||||
void updateData(const App::Property*) override;
|
||||
|
||||
protected:
|
||||
void cut(const std::vector<SbVec2f>& picked, Gui::View3DInventorViewer& Viewer) override;
|
||||
|
||||
protected:
|
||||
SoPointSet* pcPoints;
|
||||
};
|
||||
|
||||
/**
|
||||
* The ViewProviderStructured class creates
|
||||
* a node representing the structured points.
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class PointsGuiExport ViewProviderStructured: public ViewProviderPoints
|
||||
{
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(PointsGui::ViewProviderStructured);
|
||||
|
||||
public:
|
||||
ViewProviderStructured();
|
||||
~ViewProviderStructured() override;
|
||||
|
||||
/**
|
||||
* Extracts the point data from the feature \a pcFeature and creates
|
||||
* an Inventor node \a SoNode with these data.
|
||||
*/
|
||||
void attach(App::DocumentObject*) override;
|
||||
/// Update the point representation
|
||||
void updateData(const App::Property*) override;
|
||||
|
||||
protected:
|
||||
void cut(const std::vector<SbVec2f>& picked, Gui::View3DInventorViewer& Viewer) override;
|
||||
|
||||
protected:
|
||||
SoIndexedPointSet* pcPoints;
|
||||
};
|
||||
|
||||
using ViewProviderPython = Gui::ViewProviderFeaturePythonT<ViewProviderScattered>;
|
||||
|
||||
} // namespace PointsGui
|
||||
92
src/Mod/Points/Gui/Workbench.cpp
Normal file
92
src/Mod/Points/Gui/Workbench.cpp
Normal file
@@ -0,0 +1,92 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2005 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include <Gui/MenuManager.h>
|
||||
#include <Gui/ToolBarManager.h>
|
||||
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
using namespace PointsGui;
|
||||
|
||||
#if 0 // needed for Qt's lupdate utility
|
||||
qApp->translate("Workbench", "Points Tools");
|
||||
qApp->translate("Workbench", "&Points");
|
||||
#endif
|
||||
|
||||
/// @namespace PointsGui @class Workbench
|
||||
TYPESYSTEM_SOURCE(PointsGui::Workbench, Gui::StdWorkbench)
|
||||
|
||||
Workbench::Workbench() = default;
|
||||
|
||||
Workbench::~Workbench() = default;
|
||||
|
||||
Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
{
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* pnt = new Gui::ToolBarItem(root);
|
||||
pnt->setCommand("Points Tools");
|
||||
*pnt << "Points_Import"
|
||||
<< "Points_Export"
|
||||
<< "Separator"
|
||||
<< "Points_Convert"
|
||||
<< "Points_Structure"
|
||||
<< "Points_Merge"
|
||||
<< "Points_PolyCut";
|
||||
return root;
|
||||
}
|
||||
|
||||
Gui::ToolBarItem* Workbench::setupCommandBars() const
|
||||
{
|
||||
// point tools
|
||||
Gui::ToolBarItem* root = new Gui::ToolBarItem;
|
||||
Gui::ToolBarItem* pnt = new Gui::ToolBarItem(root);
|
||||
pnt->setCommand("Points Tools");
|
||||
*pnt << "Points_Import"
|
||||
<< "Points_Export"
|
||||
<< "Points_Convert"
|
||||
<< "Points_Structure"
|
||||
<< "Points_Merge";
|
||||
return root;
|
||||
}
|
||||
|
||||
Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
{
|
||||
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
|
||||
Gui::MenuItem* item = root->findItem("&Windows");
|
||||
Gui::MenuItem* pnts = new Gui::MenuItem;
|
||||
root->insertItem(item, pnts);
|
||||
|
||||
pnts->setCommand("&Points");
|
||||
*pnts << "Points_Convert"
|
||||
<< "Points_Structure"
|
||||
<< "Separator"
|
||||
<< "Points_Import"
|
||||
<< "Points_Export"
|
||||
<< "Separator"
|
||||
<< "Points_PolyCut"
|
||||
<< "Points_Merge";
|
||||
return root;
|
||||
}
|
||||
51
src/Mod/Points/Gui/Workbench.h
Normal file
51
src/Mod/Points/Gui/Workbench.h
Normal file
@@ -0,0 +1,51 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2005 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Gui/Workbench.h>
|
||||
#include <Mod/Points/PointsGlobal.h>
|
||||
|
||||
namespace PointsGui
|
||||
{
|
||||
|
||||
/**
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class PointsGuiExport Workbench: public Gui::StdWorkbench
|
||||
{
|
||||
TYPESYSTEM_HEADER_WITH_OVERRIDE();
|
||||
|
||||
public:
|
||||
Workbench();
|
||||
~Workbench() override;
|
||||
|
||||
protected:
|
||||
Gui::ToolBarItem* setupToolBars() const override;
|
||||
Gui::ToolBarItem* setupCommandBars() const override;
|
||||
Gui::MenuItem* setupMenuBar() const override;
|
||||
};
|
||||
|
||||
} // namespace PointsGui
|
||||
36
src/Mod/Points/Init.py
Normal file
36
src/Mod/Points/Init.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# ***************************************************************************
|
||||
# * Copyright (c) 2004,2005 Juergen Riegel <juergen.riegel@web.de> *
|
||||
# * *
|
||||
# * This file is part of the FreeCAD CAx development system. *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
||||
# * as published by the Free Software Foundation; either version 2 of *
|
||||
# * the License, or (at your option) any later version. *
|
||||
# * for detail see the LICENCE text file. *
|
||||
# * *
|
||||
# * FreeCAD is distributed in the hope that it will be useful, *
|
||||
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
# * GNU Lesser General Public License for more details. *
|
||||
# * *
|
||||
# * You should have received a copy of the GNU Library General Public *
|
||||
# * License along with FreeCAD; if not, write to the Free Software *
|
||||
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
|
||||
# * USA *
|
||||
# * *
|
||||
# ***************************************************************************/
|
||||
|
||||
# FreeCAD init script of the Points module
|
||||
|
||||
import FreeCAD
|
||||
|
||||
translate = FreeCAD.Qt.translate
|
||||
|
||||
# Append the open handler
|
||||
FreeCAD.addImportType("Point formats (*.asc *.ASC *.pcd *.PCD *.ply *.PLY *.e57 *.E57)", "Points")
|
||||
FreeCAD.addTranslatableExportType(
|
||||
translate("FileFormat", "Point formats"), ["asc", "pcd", "ply"], "Points"
|
||||
)
|
||||
51
src/Mod/Points/InitGui.py
Normal file
51
src/Mod/Points/InitGui.py
Normal file
@@ -0,0 +1,51 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# ***************************************************************************
|
||||
# * Copyright (c) 2002,2003 Juergen Riegel <juergen.riegel@web.de> *
|
||||
# * *
|
||||
# * This file is part of the FreeCAD CAx development system. *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
||||
# * as published by the Free Software Foundation; either version 2 of *
|
||||
# * the License, or (at your option) any later version. *
|
||||
# * for detail see the LICENCE text file. *
|
||||
# * *
|
||||
# * FreeCAD is distributed in the hope that it will be useful, *
|
||||
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
# * GNU Lesser General Public License for more details. *
|
||||
# * *
|
||||
# * You should have received a copy of the GNU Library General Public *
|
||||
# * License along with FreeCAD; if not, write to the Free Software *
|
||||
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
|
||||
# * USA *
|
||||
# * *
|
||||
# ***************************************************************************/
|
||||
|
||||
# Points gui init module
|
||||
#
|
||||
# Gathering all the information to start FreeCAD
|
||||
# This is the second one of three init scripts, the third one
|
||||
# runs when the gui is up
|
||||
|
||||
|
||||
class PointsWorkbench(Workbench):
|
||||
"Points workbench object"
|
||||
|
||||
def __init__(self):
|
||||
self.__class__.Icon = (
|
||||
FreeCAD.getResourceDir() + "Mod/Points/Resources/icons/PointsWorkbench.svg"
|
||||
)
|
||||
self.__class__.MenuText = "Points"
|
||||
self.__class__.ToolTip = "Points workbench"
|
||||
|
||||
def Initialize(self):
|
||||
# load the module
|
||||
import PointsGui
|
||||
|
||||
def GetClassName(self):
|
||||
return "PointsGui::Workbench"
|
||||
|
||||
|
||||
Gui.addWorkbench(PointsWorkbench())
|
||||
46
src/Mod/Points/PointsGlobal.h
Normal file
46
src/Mod/Points/PointsGlobal.h
Normal file
@@ -0,0 +1,46 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2019 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include <FCGlobal.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// Points
|
||||
#ifndef PointsExport
|
||||
# ifdef Points_EXPORTS
|
||||
# define PointsExport FREECAD_DECL_EXPORT
|
||||
# else
|
||||
# define PointsExport FREECAD_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// PointsGui
|
||||
#ifndef PointsGuiExport
|
||||
# ifdef PointsGui_EXPORTS
|
||||
# define PointsGuiExport FREECAD_DECL_EXPORT
|
||||
# else
|
||||
# define PointsGuiExport FREECAD_DECL_IMPORT
|
||||
# endif
|
||||
#endif
|
||||
4
src/Mod/Points/points.dox
Normal file
4
src/Mod/Points/points.dox
Normal file
@@ -0,0 +1,4 @@
|
||||
/** \defgroup POINTS Points
|
||||
* \ingroup CWORKBENCHES
|
||||
* \brief Tools to work with point clouds
|
||||
*/
|
||||
1
src/Mod/Points/pointscommands/__init__.py
Normal file
1
src/Mod/Points/pointscommands/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
66
src/Mod/Points/pointscommands/commands.py
Normal file
66
src/Mod/Points/pointscommands/commands.py
Normal file
@@ -0,0 +1,66 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
# ***************************************************************************
|
||||
# * Copyright (c) 2022 Werner Mayer <wmayer[at]users.sourceforge.net> *
|
||||
# * *
|
||||
# * This file is part of the FreeCAD CAx development system. *
|
||||
# * *
|
||||
# * This program is free software; you can redistribute it and/or modify *
|
||||
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
||||
# * as published by the Free Software Foundation; either version 2 of *
|
||||
# * the License, or (at your option) any later version. *
|
||||
# * for detail see the LICENCE text file. *
|
||||
# * *
|
||||
# * 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 Points command definitions"
|
||||
__author__ = "Werner Mayer"
|
||||
__url__ = "https://www.freecad.org"
|
||||
|
||||
## @package commands
|
||||
# \ingroup Points
|
||||
# \brief FreeCAD Points command definitions
|
||||
|
||||
import FreeCAD
|
||||
import Points
|
||||
|
||||
|
||||
def make_points_from_geometry(geometries, distance):
|
||||
for geom in geometries:
|
||||
global_plm = geom.getGlobalPlacement()
|
||||
local_plm = geom.Placement
|
||||
plm = global_plm * local_plm.inverse()
|
||||
|
||||
prop = geom.getPropertyOfGeometry()
|
||||
if prop is None:
|
||||
continue
|
||||
|
||||
points_and_normals = prop.getPoints(distance)
|
||||
if len(points_and_normals[0]) == 0:
|
||||
continue
|
||||
|
||||
points = geom.Document.addObject("Points::Feature", "Points")
|
||||
|
||||
kernel = Points.Points()
|
||||
kernel.addPoints(points_and_normals[0])
|
||||
|
||||
points.Points = kernel
|
||||
points.Placement = plm
|
||||
|
||||
if len(points_and_normals[1]) > 0 and len(points_and_normals[0]) == len(
|
||||
points_and_normals[1]
|
||||
):
|
||||
points.addProperty("Points::PropertyNormalList", "Normal", locked=True)
|
||||
points.Normal = points_and_normals[1]
|
||||
|
||||
points.purgeTouched()
|
||||
Reference in New Issue
Block a user