Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 12-Jul-2018 10:10:49

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Send informations to another PC

Hello,

My 3D model is fully rendered and interactiv under OpenSpace.

Now I would like to make it as a network application. So I've got two main requests big_smile

First I succeded into making the application viewable for several client, using the default IP and port: 9090.

Now I would like to permit to other user on other PCs to access the app when I launch it from my pc. I tried by connecting with the PC IP but can't manage to do it.
Could someone help me with that?

After that and most importantly I would like to send messages and information to other PC's connected to the network. Chat message and most of all the infomations from the model. For exemple if I open a dialog box in my model, I would like the send automatically a message via the network. Would that be possible?

Thank you smile

Geoffrey

Offline

#2 12-Jul-2018 10:22:25

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

Hello,

you can check the network demo for this.
If you want to make a local network only app you can use the new local network plugit to sync 3D objects and send messages to other clients

Offline

#3 12-Jul-2018 11:51:02

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Thanks Arkeon.

Where do I find this demo? I checked the demos archive but can't find it

Offline

#4 12-Jul-2018 12:07:47

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

in openspace3d/demos/network

Offline

#5 12-Jul-2018 12:25:06

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Thanks

Offline

#6 12-Jul-2018 12:41:50

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Bonjour arkeon,

J'ai fait un peu le tour du forum et je me rend compte que tu es français. Ca sera un peu plus simple pour communiquer et exprimer mes problèmes smile

J'ai accès à la demo network. Je ne comprends décidément comment permettre à un utilisateur sur un autre appareil d'avoir accès à l'application.   

En utilisant les plug its connect et local network? Je n'arrive pas en entrant l'adresse IP du PC de mon collègue. De même, quel port dois je alors utiliser? et Quel port si  je veux simplement envoyer un message au s'affichant sur l'écran d'un autre appareil?

Si j'arrive à développer sur ces points la l'application que je suis en train de faire sera presque au point.

Merci

Offline

#7 12-Jul-2018 15:28:07

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Sorry IfI've been rude to you concerning my french talking smile

Nice day

Offline

#8 12-Jul-2018 15:36:33

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

Il y a une partie du forum pour le français smile

Je ne comprend pas bien ce que tu souhaites faire.
On est d'accord que pour communiquer entre 2 PC il faut l'application exécutée sur les 2 PC en même temps ?
Ensuite tu peux dans l'application gérer l'envois d'un message et la réception.

Offline

#9 13-Jul-2018 08:30:11

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Ah désolé autant pour moi smile

Alors oui j'exécute l'application sur deux PC ensuite pour qu'elles communiquent entre elles le plug it connect suffit?
Ensuite comment relier les deux PC avec leurs IP?

Enfin ma dernière demande qui est toute autre: j'ai crée un model interactif. Avec affichage de boite de dialog, incrémentation etc...
J'aimerai communiquer les info issues du model au PC connecté au réseau. Si une boite de dialog s'affiche dans open space après une action, j'aimerai que ce message s'affiche aussi en tems réel sur un des PC connecté au réseau. Le but serait d'automatiser l'application avec des capteurs ensuite. Comprends tu ma demande? smile

Offline

#10 13-Jul-2018 08:48:24

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

Le plugIT connect connecte l'application au serveur de comm.
L'id d'application doit être identique pour qu'ils puissent communiquer. L'id automatique prend en compte la signature des fichiers de l'application. si l'application varie d'une machine a l'autre elle ne pourront pas communiquer. (OS3D Editor / OS3D Player par exemple)
Tu peux donc définir un ID unique pour ton appli genre "MonAPPLI#544797654"

Ensuite il faut utiliser le plugIT message pour envoyer et recevoir un message.

Offline

#11 13-Jul-2018 09:05:30

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

D'accord très bien, ensuite pour le numéro de port je laisse celui par défaut: 9090, ensuite d'un PC a l'autre quand je laisse l'IP "scol.openspace3d.com" et que j'execute l'appli sur les deux PC, elles ne commuiquent pas entre elle hmm

Offline

#12 13-Jul-2018 09:13:23

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

"jscol.openspace3d.com" : "9090" sont les paramètres du serveur par défaut.
pas "scol.openspace3d.com"
Tu peux aussi installer un serveur en local : http://redmine.scolring.org/projects/sc … repository

Offline

#13 13-Jul-2018 09:29:44

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

très bien, ça fonctionne!!  Si je navigue dans ma vue, celle de l'autre client se met à jour.
Par contre lorsque que j'exécute une action (un object click par exemple), cette action ne s'exécute pas dans l'autre vue. Pourquoi?

Offline

#14 13-Jul-2018 10:01:20

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

c'est à toi de définir les messages et leurs actions.
Ce n'est pas automatique

Offline

#15 13-Jul-2018 12:41:58

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Merci Arkeon

Offline

#16 13-Jul-2018 14:37:39

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Une dernière question pour aujourd'hui Arkeon si ça ne te dérange pas.

J'aimerai maintenant envoyer un message au PC en utilisant le plug it "Local Network". Je m'explique je souhaite envoyer un message dont la réception se fera sur le PC en lui même, et donc hors de l'application.
Comme par exemple lorsque tu envoi des message au PCen utilisant la commande MSG de la console de commande .cmd

Comprends tu ma demande et si oui peux tu m'aider?

Offline

#17 13-Jul-2018 15:46:45

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

Ce sont des commandes windows OS3D ne gère pas ce genre de chose de base et ce serait même un trou de sécurité.

Offline

#18 13-Jul-2018 15:48:05

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

tu peux peut etre essayer avec le ext.ini et la ligne de commande :
https://www.sevenforums.com/tutorials/1 … vista.html

Offline

#19 16-Jul-2018 10:55:26

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Bonjour Arkeon

J'ai une demande particulière smile

Voilà alors le but de mon utilisation d'openspace est de créer une application industrielle. J'ai montré ce que j'ai déjà réalisé à mon supérieur et il est très intéressé.

Maintenant ce que nous souhaiterions faire serait, via l'application issue OS3D, d'envoyer des informations à des capteurs et de recevoir l'info en retour dans l'application.

Nous aimerions creuser un peu plus le sujet et si possible avoir un contact plus direct avec toi ou un autre administrateur pour développer sur le sujet. On serait notamment intéressé dans le développement de nouveaux plug it mais nous avons besoins d'aide pour cela smile

Je pense que mon gérant serait prêt a financer la réalisation de nouveaux plug it smile

Qu'en penses tu? Une collaboration serait possible?

Offline

#20 16-Jul-2018 10:59:43

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

Bonjour,

bien sur c'est justement le modèle économique d'OS3D de développer ou de modifier des fonctions d'OS3D pour nos clients smile
Tu peux m'envoyer un email directement via le formulaire de contact du site www.openspace3d.com, comme cela nous pourrons développer le sujet.

Offline

#21 16-Jul-2018 11:38:15

GeoffCtec3D
Member
Registered: 2-Jul-2018
Posts: 32

Re: Send informations to another PC

Merci! C'est fait smile

Offline

#22 16-Jul-2018 13:28:16

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: Send informations to another PC

Great smile

Offline

#23 22-Jul-2018 16:15:28

Jose.mm
Member
Registered: 6-Jul-2018
Posts: 12

Re: Send informations to another PC

Hi!

I'm having some problems with receiving TCP msg in OS3D. I'm working with an external app that recognize voice commands and sends messages thought TCP. I have tested this app with hercules SW and works fine. In the other hand, when hercules send TCP msgs to OS3D, the Local Network plug-it doesn't activate the event on the reception of a network message, named for example: "my_msg".

Is there a format code that the sender have to write, so the OS3D recognize the msg named "my_msg"?

Greetings!

Offline

#24 22-Jul-2018 16:55:26

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: Send informations to another PC

local network use it's own protocol.
you have to change the code to get the message to be recognized.
Maybe that a tcp plugit where you can define your own messages structure could be made.

Offline

#25 24-Jul-2018 19:58:15

Jose.mm
Member
Registered: 6-Jul-2018
Posts: 12

Re: Send informations to another PC

Hi Arkeon,

Please I did a lot of research and tests with no results, can you help me with this sending me an example of a message TCP comunication?

Thank you!
Greetings,

Offline

Board footer

Powered by FluxBB