FYI, I updated macOS bundle packages to :
Qt 5.15.2 -> Qt 5.15.3
KF5 5.77 -> KF5 5.92
You are not logged in. Please login or register.
QElectroTech → Posts by scorpio810
FYI, I updated macOS bundle packages to :
Qt 5.15.2 -> Qt 5.15.3
KF5 5.77 -> KF5 5.92
Hallo Pierre
Ich baue eine neue macOS-Würfel-Demo-Anwendung:
https://download.qelectrotech.org/qet/s … er.app.zip
https://download.qelectrotech.org/qet/s … test_3.zip
Fix typo to _SpaceMouseWireless_Receiver:
static const int _3DCONNEXION_SpaceMouseWireless_Receiver = 0xc62f;
Bonjour Laurent,
j'ai testé avec 2 appareils (SpaceMouse wireless et SpaceMouse Enterprise) sous MacOSX 12.3 et Windows10 Pro (20H2) - sans succès. Dans les deux cas, il était impossible de déplacer le cube. Même un clic dans la fenêtre du programme n'a pas donné de résultat...
Meilleures salutations,
PierreHallo Laurent,
ich habe es mit 2 Geräten (SpaceMouse wireless und SpaceMouse Enterprise) unter MacOSX 12.3 und Windows10 Pro (20H2) getestet - ohne Erfolg. In beiden Fällen ließ sich der Würfel nicht bewegen. Auch ein Klick ins Programmfenster brachte keinen Erfolg...
Beste Grüße,
Pierre
Hallo Pierre,
j'ai ajouté les souris SpaceMouse wireless et SpaceMouse Enterprise dans le code du cube.
habe ich die SpaceMouse wireless und die SpaceMouse Enterprise in den Würfelcode eingefügt.
https://download.qelectrotech.org/qet/s … test_2.zip
// from Virtual Reality Peripheral Network - vrpn_3DConnexion.C
// and https://www.3dconnexion.com/forum/viewt … p;start=15
static const int _3DCONNEXION_VENDOR_LOGITECH = 0x046d; // 1133 // Logitech (3Dconnexion is made by Logitech)
static const int _3DCONNEXION_VENDOR_3DCONNECTION = 0x256F; // 9583 // 3Dconnexion
static const int _3DCONNEXION_TRAVELER = 0xC623; // 50723
static const int _3DCONNEXION_NAVIGATOR = 0xC626; // 50726
static const int _3DCONNEXION_NAVIGATOR_FOR_NOTEBOOKS = 0xc628; // 50728
static const int _3DCONNEXION_SPACEEXPLORER = 0xc627; // 50727
static const int _3DCONNEXION_SPACEMOUSE = 0xC603; // 50691
static const int _3DCONNEXION_SPACEMOUSEPRO = 0xC62B; // 50731
static const int _3DCONNEXION_SPACEBALL5000 = 0xc621; // 50721
static const int _3DCONNEXION_SPACEPILOT = 0xc625; // 50725
static const int _3DCONNEXION_SPACEPILOTPRO = 0xc629; // 50729
static const int _3DCONNEXION_SpaceMouseWireless_usb = 0xc62e;
static const int _3DCONNEXION_SpaceMouseWireless_Receiver = 0xc631;
static const int _3DCONNEXION_SpaceMouse_Enterprise = 0xc633;
bool SpaceMouseController::initialize()
{
struct hid_device_info * devs;
unsigned short current_vendor_id = 0x0;
unsigned short current_product_id = 0x0;
devs = hid_enumerate(0x0, 0x0);
m_cur_dev = devs;
while (m_cur_dev)
{
if ((m_cur_dev->vendor_id == _3DCONNEXION_VENDOR_LOGITECH ||
m_cur_dev->vendor_id == _3DCONNEXION_VENDOR_3DCONNECTION)
&& (m_cur_dev->product_id == _3DCONNEXION_TRAVELER ||
m_cur_dev->product_id == _3DCONNEXION_NAVIGATOR ||
m_cur_dev->product_id == _3DCONNEXION_NAVIGATOR_FOR_NOTEBOOKS ||
m_cur_dev->product_id == _3DCONNEXION_SPACEEXPLORER ||
m_cur_dev->product_id == _3DCONNEXION_SPACEMOUSE ||
m_cur_dev->product_id == _3DCONNEXION_SPACEMOUSEPRO ||
m_cur_dev->product_id == _3DCONNEXION_SPACEBALL5000 ||
m_cur_dev->product_id == _3DCONNEXION_SPACEPILOT ||
m_cur_dev->product_id == _3DCONNEXION_SPACEPILOTPRO ||
m_cur_dev->product_id == _3DCONNEXION_SpaceMouseWireless_usb ||
m_cur_dev->product_id == _3DCONNEXION_SpaceMouseWireless_Receiver ||
m_cur_dev->product_id == _3DCONNEXION_SpaceMouse_Enterprise))
{
//setup the values with the founded vendor id.s
current_vendor_id = m_cur_dev->vendor_id;
current_product_id = m_cur_dev->product_id;
break; //break when first comaptaible device is found.
}
m_cur_dev = m_cur_dev->next;
}
Beste Grüße,
Laurent
Hello, try to add more space after 500, like this :
220 V AC 500 mA min.
https://github.com/koenieee/Crossplatfo … roller.cpp
Der Code des berühmten Würfels, die unterstützten Mäuse sind eingeschränkt.
#include "SpaceMouseController.h"
// from Virtual Reality Peripheral Network - vrpn_3DConnexion.C
// and https://www.3dconnexion.com/forum/viewt … p;start=15
static const int _3DCONNEXION_VENDOR_LOGITECH = 0x046d; // 1133 // Logitech (3Dconnexion is made by Logitech)
static const int _3DCONNEXION_VENDOR_3DCONNECTION = 0x256F; // 9583 // 3Dconnexion
static const int _3DCONNEXION_TRAVELER = 0xC623; // 50723
static const int _3DCONNEXION_NAVIGATOR = 0xC626; // 50726
static const int _3DCONNEXION_NAVIGATOR_FOR_NOTEBOOKS = 0xc628; // 50728
static const int _3DCONNEXION_SPACEEXPLORER = 0xc627; // 50727
static const int _3DCONNEXION_SPACEMOUSE = 0xC603; // 50691
static const int _3DCONNEXION_SPACEMOUSEPRO = 0xC62B; // 50731
static const int _3DCONNEXION_SPACEBALL5000 = 0xc621; // 50721
static const int _3DCONNEXION_SPACEPILOT = 0xc625; // 50725
static const int _3DCONNEXION_SPACEPILOTPRO = 0xc629; // 50729if ((m_cur_dev->vendor_id == _3DCONNEXION_VENDOR_LOGITECH ||
m_cur_dev->vendor_id == _3DCONNEXION_VENDOR_3DCONNECTION)
&& (m_cur_dev->product_id == _3DCONNEXION_TRAVELER ||
m_cur_dev->product_id == _3DCONNEXION_NAVIGATOR ||
m_cur_dev->product_id == _3DCONNEXION_NAVIGATOR_FOR_NOTEBOOKS ||
m_cur_dev->product_id == _3DCONNEXION_SPACEEXPLORER ||
m_cur_dev->product_id == _3DCONNEXION_SPACEMOUSE ||
m_cur_dev->product_id == _3DCONNEXION_SPACEMOUSEPRO ||
m_cur_dev->product_id == _3DCONNEXION_SPACEBALL5000 ||
m_cur_dev->product_id == _3DCONNEXION_SPACEPILOT ||
m_cur_dev->product_id == _3DCONNEXION_SPACEPILOTPRO))
{
//setup the values with the founded vendor id.s
current_vendor_id = m_cur_dev->vendor_id;
current_product_id = m_cur_dev->product_id;break; //break when first comaptaible device is found.
https://github.com/FreeCAD/FreeCAD/blob … 32.cpp#L85
/*
List of all devices
https://www.3dconnexion.com/nc/service/ … ndows.html
Supported:
SpacePilot: USB\0x046d:0xc625
SpaceExplorer: USB\0x046d:0xc627
SpaceMouse Wireless (cabled): USB\0x256f:0xc62e
SpaceMouse Wireless Receiver: USB\0x256f:0xc62f
SpaceMouse Pro Wireless (cabled): USB\0x256d:0xc631
SpaceMouse Pro Wireless Receiver: USB\0x256f:0xc632
Supported (but works differently):
SpaceMouse Plus USB: USB\0x046d:0xc603
SpaceMouse Plus XT USB: USB\0x046d:0xc603
Unknown status:
SpaceNavigator: USB\0x046d:0xc626
SpaceNavigator for Notebooks: USB\0x046d:0xc628
SpacePilot Pro: USB\0x046d:0xc629
SpaceMouse Enterprise: USB\0x256f:0xc633
Not yet supported:
SpaceMouse Compact: USB\0x256f:0xc635
Not supported:
CadMan: USB\0x046d:0xc605
SpaceMouse Classic USB: USB\0x046d:0xc606
SpaceBall 5000 USB: USB\0x046d:0xc621
SpaceTraveler: USB\0x046d:0xc623
SpaceMouse Pro: USB\0x046d:0xc62b
CadMouse: USB\0x256f:0xc650
CadMouse Pro Wireless: USB\0x256f:0xc654
CadMouse Pro Wireless Left: USB\0x256f:0xc657
CadMouse Wireless: USB\0x256f:0xc651
Universal Receiver: USB\0x256f:0xc652
*/enum e3dconnexion_pid {
eSpaceMousePlusXT = 0xc603,
eSpacePilot = 0xc625,
eSpaceNavigator = 0xc626,
eSpaceExplorer = 0xc627,
eSpaceNavigatorForNotebooks = 0xc628,
eSpacePilotPRO = 0xc629,
eSpaceMouseWireless = 0xc62e,
eSpaceMouseWirelessReceiver = 0xc62f,
eSpaceMousePROWireless = 0xc631,
eSpaceMousePROWirelessReceiver = 0xc632,
eSpaceMouseEnterprise = 0xc633,
eSpaceMouseCompact = 0xc635
Hallo Pierre,
c'est juste cette demo que j'ai envoyé le fameux cube :
https://qelectrotech.org/forum/viewtopi … 945#p15945
es ist nur diese Demo, dass ich den berühmten Würfel geschickt habe:
Beste Grüße,
Laurent
You don't need choose DB to proces, only if you want to edit and hack the DB to do batch processing.
Like changing color parameter, typo, some text, etc and create different elements without redraw some thing.
PS:
Das sieht schon echt Professionell aus, dafür das es "nur" V 0.5 war..
Software ist nichts ohne talentierte Menschen, die sie nutzen und ihre Lücken mit genialen Tricks füllen.
Und das Ergebnis wird auf der anderen Seite mittelmäßig sein, wenn man als Anfänger nicht allzu geschickt mit einer sehr umfassenden, leistungsstarken Software umgeht, die ein wenig zu komplex ist und oft ein kleines Vermögen kostet ......
Software is nothing without talented people who exploit it and fill its gaps with brilliant tricks.
And the result will be on the other hand mediocre with a beginner user not too skilful on a very complete software, powerful, a little too complex and also often costing a small fortune .....
For such a simple design, it's easier to do it yourself in the Elements editor.
Voila.
You could send your DXF?
J'ai essayé FreeCad et Calligra (old Koffice) qui ont deux façons différentes de gérer la souris 3D. D'abord sur ma machine Debian puis sur mon Laptop sur la session Windows 10 (21H2).
Sous Linux avec FreeCad c'est la librairie Spacenav, sous Windows ils se servent des driver's de 3DxWare, le support est mieux aboutit sous Windows, gestion de l’écran (driver's Logitech), menus, etc, je trouve que la souris est plus facile à prendre en main que sous Linux.
Sous Calligra (sheets) programme 2D, sous Linux la souris 3D permet le zoom et le déplacement, meme si on est vite perdu, quand sous Windows je n'ai pas remarqué grand chose à part le scroll de la page.
Ich habe FreeCad und Calligra (old Koffice) ausprobiert, die zwei verschiedene Möglichkeiten haben, die 3D-Maus zu verwalten. Zuerst auf meinem Debian-Rechner und dann auf meinem Laptop in der Windows 10-Sitzung (21H2).
Unter Linux mit FreeCad ist es die Spacenav Bibliothek, unter Windows verwenden sie die 3DxWare Treiber, die Unterstützung ist unter Windows besser, Bildschirmverwaltung (Logitech Treiber), Menüs, etc, ich finde, dass die Maus einfacher zu erlernen ist als unter Linux.
Unter Calligra (sheets) ist das Programm 2D, unter Linux ermöglicht die 3D-Maus das Zoomen und Verschieben, auch wenn man sich schnell verirrt, während ich unter Windows nicht viel bemerkt habe, außer dem Scrollen der Seite.
https://github.com/FreeCAD/FreeCAD/tree … Dconnexion
https://github.com/KDE/calligra/tree/ma … enavigator
Hello,
Path to custom collection need to be C:\Users\eangel\AppData\Roaming\qet\elements\
If you have installed QET by installer.
Hallo Pierre,
as tu essayé de débrancher et rebrancher la souris et relancer le cube?
Les DLL et autres libs doivent rester dans le même dossier que l’exécutable.
Merci quand même d’avoir essayé de ton coté, Windows 64 bits?
Meilleures salutations,
Laurent
Hast du versucht, die Maus aus- und wieder einzustecken und den Würfel neu zu starten?
DLLs und andere Libs müssen im selben Ordner wie die ausführbare Datei bleiben.
Danke, dass du es versucht hast, Windows 64 bits?
Mit besten Grüßen,
Laurent
La démo que j'ai empaqueté fonctionne sous Windows même avec les driver's 3DxWare 10 for Windows (64-bit) 10.6.4 installés.
Les exemples de 3DxWare sont bien conçus pour maîtriser la bestiole pour un novice comme moi.
Die Demo, die ich gepackt habe, läuft unter Windows sogar mit installierten 3DxWare 10 for Windows (64-bit) 10.6.4 Treibern.
Die 3DxWare-Beispiele sind gut gestaltet, so dass auch ein Neuling wie ich mit dem Tierchen zurechtkommt.
https://qelectrotech.org/forum/viewtopi … 9416#p9416
You are an example in examples/styles/ folder.
Sur macOS ça va être compliqué car je l'émule avec KVM Qemu (VM) donc même avec les driver's officiel pour la space pilot pro la souris ne fonctionne pas.
J'ai quand même fait un paquet pour que tu puisses tester.
Unter MacOS wird es schwierig, da ich die Maus mit KVM Qemu emuliere (VM), so dass sie auch mit den offiziellen Treibern für den Space Pilot Pro nicht funktioniert.
Ich habe trotzdem ein Paket gemacht, damit du es ausprobieren kannst.
Hallo Pierre,
j'ai cross-compilé le code ci dessus pour Windows 10 X64, es-ce que tu pourrais l'essayer avec ta 3Dmouse?
Juste cliquer sur le .exe et voir si tu contrôles le cube.
Ce code fonctionne sous Linux et maintenant sous Windows, je viens de le tester sous Win 10 avec la space pilot pro sur mon laptop.
J'ai du recompiler les environnements MXE et rajouter hidapi.
En partant de ce code il serait peut-être possible d’intégrer les 3Dconnexions avec un support basique, zoom, span, rotate, etc
Le plus compliqué pour moi pour l'instant étant bien sur l'empaquetage: Linux Windows, macOS.
Ich habe den obigen Code für Windows 10 X64 crosskompiliert, könntest du ihn mit deiner 3Dmouse ausprobieren?
Klicke einfach auf die .exe und schaue, ob du den Würfel kontrollierst.
Dieser Code funktioniert unter Linux, ich habe ihn gerade unter Win 10 mit dem space pilot pro getestet.
Ich musste die MXE-Umgebung neu kompilieren und hidapi hinzufügen.
Ausgehend von diesem Code wäre es vielleicht möglich, 3D-Verbindungen mit grundlegender Unterstützung zu integrieren, Zoom, Span, Rotate, etc.
Am kompliziertesten ist für mich im Moment natürlich die Verpackung: Linux, Windows, macOS.
Is it possible to change the background color from white/gray to white/black?
With the background color of black, you see nothing or draw elements conductors, etc in color or white..
--- sources/qetdiagrameditor.cpp
+++ sources/qetdiagrameditor.cpp
@@ -359,7 +359,7 @@ void QETDiagramEditor::setUpActions()
m_grey_background -> setStatusTip (tr("Affiche la couleur de fond du folio en blanc ou en gris", "Status tip of white/grey background button"));
m_grey_background -> setCheckable (true);
connect (m_grey_background, &QAction::triggered, [this](bool checked) {
- Diagram::background_color = checked ? Qt::darkGray : Qt::white;
+ Diagram::background_color = checked ? Qt::black : Qt::white;
if (this->currentDiagramView() && this->currentDiagramView()->diagram())
this->currentDiagramView()->diagram()->update();
});
@Joshua: Ça gène en rien mais les thumbnails affichés dans la collection de Vbxler sont flous.
Edit il semble que ça provienne de mon écran UHD.
<description>
<dynamic_text z="1" text_from="ElementInfo" x="18" Valignment="AlignTop" y="-30.95" text_width="-1" uuid="{87cbda4d-ec99-430f-b572-7a2c506b987c}" rotation="0" font="Sans Serif,5,-1,5,50,0,0,0,0,0" frame="false" keep_visual_rotation="false" Halignment="AlignLeft">
<text></text>
<info_name>label</info_name>
</dynamic_text>
<arc x="2" width="30" y="-20" style="line-style:normal;line-weight:normal;filling:none;color:black" height="40" start="-135" antialias="true" angle="-90"/>
<rect x="-10" width="20" y="-25" style="line-style:normal;line-weight:normal;filling:none;color:black" height="50" antialias="false" ry="0" rx="0"/>
<polygon y3="-8" x2="6" y1="-6" x1="4" x3="8" style="line-style:normal;line-weight:thin;filling:black;color:black" x4="4" antialias="true" y2="-4" y4="-6"/>
<line x2="5" y1="8" x1="-8" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" antialias="false" length1="1.5" length2="1.5" y2="-5"/>
<line x2="0" y1="25" x1="0" end1="none" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" antialias="false" length1="1.5" length2="1.5" y2="-25"/>
<arc x="-32" width="30" y="-20" style="line-style:normal;line-weight:normal;filling:none;color:black" height="40" start="45" antialias="true" angle="-90"/>
<terminal x="0" name="" y="-30" uuid="{b536d5e5-9b84-44a1-9a19-d378c287b008}" type="Generic" orientation="n"/>
<terminal x="0" name="" y="30" uuid="{c220d9c9-c245-4ae4-966d-ccde0cbfa575}" type="Generic" orientation="s"/>
</description>
</definition>
It´s working now.
Great, thanks.
QElectroTech → Posts by scorpio810
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.076 seconds (30% PHP - 70% DB) with 6 queries