Hi,
I noticed that whenever a slider (e.g. the one in the 'Slice' plugin) is
moved using the arrow keys or page up/down keys, it doesn't trigger
updates. This probably means that the sliderMoved() signal is used instead
of the valueChanged() signal, which does react to both mouse and key input.
Is the use of sliderMoved() a deliberate choice?
Thanks,
Pieter
Hello,
I hope that I send this email to the right place and that my question will be clear enough.
I am currently working on a plugin where I cut some triangles, for some reasons I choose to code my own split function to split faces correctly when the splitting point is on one edge.
Basically, the function delete the face to split (but not the vertices because I use "mesh->delete_face(fh,false);" and then create 2 or 3 new faces depending on the case ( with "mesh->add_face(vh[1],vh[2],vh_split);" , I reuse the vertex handles of the old vertices and use the vertex handle of the new vertex that was added to the mesh with "mesh->add_vertex(p0);". I do this several times in my algorithm.
At the end I call "mesh->garbage_collection(); > and it seems to work fine. I then emit the updatedObject signal for topology update and create a backup. If I stop here the result is fine visually . But when I delete faces one by one, the last one won't delete but trigger a segfault :
Assertion failed!
Program: C:\Programmes_Perso\msys64\home\philip\OpenFlipper-2.1\build\Build\OpenFlipper.exe
File: C:/Programmes_Perso/msys64/home/philip/OpenFlipper-2.1/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/ArrayKernel.hh, Line 176
Expression: is_valid_handle(_fh)
So it seems that there is an issue with the half edge structure. If I understand well it must be a boundary halfedge that try to access to his face which is invalid. I checked and none of my remaining or created faces is invalid. I also request correctly the halfedge status and texcoords2D.
Moreover I have a function that computes per face per vertex texture coordinates. So for all faces I iterate over halfedges and do this :
if(mesh->is_valid_handle(*f_it))
for (typename T::FaceHalfedgeIter fh_it = mesh->fh_iter(*f_it); fh_it!=mesh->fh_end(*f_it); ++fh_it)
{
Vec2f uv = ... (computation here);
mesh->set_texcoord2D(*fh_it,uv);
}
If I call this function directly after the garbage_collection() of the triangle cutting, it also triggers a seg fault. If I call it later in another function it fails too. What is strange is that the function will go to its end and then send the segfault.
From what I read it really seems that one of the boundary halfedge that is not on a face try to access his face. But I don't know which function is doing that and why. It may be one of the updatedObject(object->id(), UPDATE_GEOMETRY); or updatedObject(object->id(), UPDATE_TOPOLOGY); but I am not sure and don't know what I am doing wrong.
Could you please help me with this issue ?
Best regards,
Julien PHILIP
***************************************************************
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France
Hi,
I just cloned the OpenFlipper-Free repository
(https://www.graphics.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free.…)
and compiled it successfully (64bit Linux). However, when I try to run
OpenFlipper, I immediately get a Segmentation fault. Could this be due
to the fact that I'm using Qt 5.6 (there was a warning about this when
running cmake)? If there's any other information I could provide, please
let me know.
Thanks,
Pieter
Hello.
I would like to use your plug in.
Specifically the hole filling plug in.
How can I download it?
Thank you.
<http://www.luisrodriguez.ws/> Luis Enrique Rodriguez Ledezma
Diseñador Gráfico / Graphic Designer
(868) 125-5603
luisrodriguez.7(a)icloud.com <mailto:luisrodriguez.7@icloud.com>
www.luisrodriguez.ws <http://www.luisrodriguez.ws/>
Antes de imprimir este documento piense bien si es necesario hacerlo.
El árbol que servirá para hacer el papel tardará 7 años en crecer.
Dear OpenFlipper-Team,
in order to streamline and simplify my scripts (often 300-500 lines), I would like to outsource recurring passages into separate scripts and call them from a main script. I can execute scripts using the scripting interface (ScriptInterface::executeFileScript()) within my plugin, but can I do so within a script? My questions:
1. Is it possible to execute a script within another script.
2. If so, how can I pass arguments (such as an object id to be used within the called script) and how can I get a return value (e.g. object id of newly created object).
3. If not, any ideas on how to best implement it.
Thank you for your kind help.
Regards,
Jens Kuehnle
[Beschreibung: Beschreibung: Beschreibung: ipa_logo1]
Jens Kühnle
MSc. Dipl.-Math.
Fraunhofer-Institut für Produktionstechnik und Automatisierung IPA
Abteilung Bild- und Signalverarbeitung
Nobelstraße 12
70569 Stuttgart, Germany
Tel: +49 711 970 1861
Fax: +49 711 970 1004
mailto:jens.kuehnle@ipa.fraunhofer.de
http://www.ipa.fraunhofer.de<http://www.ipa.fraunhofer.de/>
http://www.stuttgarter-produktionsakademie.de/
Dear OpenFlipper-Team,
my TriMesh does have color per vertex as well as custom properties such as label per vertex, distance (to model) per vertex, curvature per vertex and so on. Depending on user choice, I want to switch color schemes. What is the best way to do this while maintaining all functionality included in OpenFlipper (e.g. Decimator, Remesher, ...).
I did something similar with point clouds, but ended up replacing SplatCloud by my own code - which I needed to do anyways due to custom data structures. And since there is not much functionality for SplatClouds included in OpenFlipper, replacing it was no issue.
But for OpenMesh data structures I don't know what to do. My ideas:
1. Make changes directly in OpenFlipper (e.g. MeshNode2T.hh, MeshObjectT.hh and so on), but this might be a licensing issue.
2. Write a plugin that does set the color properties per vertex accordingly (while saving the original color values in a secondary color property when switching to different color schemes).
Am I missing something? Can you please advise on how I should approach this?
Thank you in advance.
Kind regards,
Jens
[Beschreibung: Beschreibung: Beschreibung: ipa_logo1]
Jens Kühnle
MSc. Dipl.-Math.
Fraunhofer-Institut für Produktionstechnik und Automatisierung IPA
Abteilung Bild- und Signalverarbeitung
Nobelstraße 12
70569 Stuttgart, Germany
Tel: +49 711 970 1861
Fax: +49 711 970 1004
mailto:jens.kuehnle@ipa.fraunhofer.de
http://www.ipa.fraunhofer.de<http://www.ipa.fraunhofer.de/>
http://www.stuttgarter-produktionsakademie.de/
Hello,
OpenFlipper crashes every time I try to load an obj file from the ‘file’ menu.
I’m under mac OSX Mavericks and have the latest version of openflipper.
This bug is quite problematic, but I could get around it by using the ‘Recent files’ menu (with a name hack). For some reason that works...
Best,
Vincent de Marignac
Hi, I'm looking at the skeletal animation capabilities of OpenFlipper, and
have been unable figure out how the plugin is used.
This this posting
<http://mailman.rwth-aachen.de/pipermail/openflipper/2012-October/000122.html>
refers
to documentation that no longer exists, so any additional help would be
greatly appreciated.
Dane
Hi,
I have some problem with the materials/light/shading of geomery, I use
OpenFlipper as quick viewer for 3D shape. I must have trigger something
into the software now, my shape are plain even in flat shading. I try to
remove th .OpenFlipper folder inside my user folder without success. How
can one reset all setting to factory to recover from this?
Thanks,
regards,
Jerome
[image: Inline image 1]
-------- Forwarded Message --------
Subject: SimplePlugin compilation
Date: Tue, 3 Nov 2015 18:38:51 +0530
From: Govind Kelkar <govindkelkar(a)gmail.com>
To: openflipper(a)lists.rwth-aachen.de
I am using Qt-5.2.1 and am getting error if I try to compile the
SimplePlugin code given in the tutorial.
Here is the error log:
In file included from
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qnamespace.h:45:0,
from
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qobjectdefs.h:45,
from
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qobject.h:48,
from
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qplugin.h:45,
from /opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/QtPlugin:1,
from
/home/govind/softwares/openflipper/OpenFlipper21/OpenFlipper/BasePlugin/BaseInterface.hh:46,
from
/home/govind/softwares/openflipper/OpenFlipper21/Plugin-SimplePlugin/simplePlugin.hh:4,
from
/home/govind/softwares/openflipper/OpenFlipper21/Plugin-SimplePlugin/simplePlugin.cc:1:
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qglobal.h:679:121: error:
invalid application of ‘sizeof’ to incomplete type
‘QStaticAssertFailure<false>’
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result,
__COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
^
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qglobal.h:684:47: note: in
expansion of macro ‘Q_STATIC_ASSERT’
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
^
/opt/Qt5.2.1/5.2.1/gcc_64/include/QtCore/qplugin.h:144:5: note: in
expansion of macro ‘Q_STATIC_ASSERT_X’
Q_STATIC_ASSERT_X(false, "Old plugin system used")
^
/home/govind/softwares/openflipper/OpenFlipper21/Plugin-SimplePlugin/simplePlugin.cc:4:1:
note: in expansion of macro ‘Q_EXPORT_PLUGIN2’
Q_EXPORT_PLUGIN2( simplePlugin , SimplePlugin );
^
Please let me know where is the error and how to handle it as I am
totally new to Qt programming.