x3dom / apps-modeling

Publicly Available Applications
Other
3 stars 3 forks source link

reload of assembly of primitives built in the component editor #116

Open chmouton opened 10 years ago

chmouton commented 10 years ago

This issue to remember that it could be a very impressive demonstration to be able to reload an assembly of primitives created in the component editor. Perhaps a first way to achieve this could be to store in the play framework the json file aside and to read it again?

mlimper commented 10 years ago

Do you mean that we store something in the component editor, and then load it and use it in the plant editor?

If that's the case, we are already on the way.

chmouton commented 10 years ago

Dear Max, Sorry for not being complete in describing this issue, it's about editing again the component : the user has designed a first assembly of primitives for a valve and you want to modify one of the primitives because an error and you load it again in the component editor to change the size or to move one primitive and you save it again in the play framework.

----- Mail original ----- De: "Max Limper" notifications@github.com À: "x3dom/apps-modeling" apps-modeling@noreply.github.com Cc: "chmouton" christophe.mouton@free.fr Envoyé: Lundi 30 Septembre 2013 17:17:12 Objet: Re: [apps-modeling] reload of assembly of primitives built in the component editor (#116)

Do you mean that we store something in the component editor, and then load it and use it in the plant editor?

If that's the case, we are already on the way.

— Reply to this email directly or view it on GitHub .

tpaviot commented 10 years ago

I confirm it would be possible to store a temporary JSON representation of the shape to the play framework.

2013/9/30 chmouton notifications@github.com

Dear Max, Sorry for not being complete in describing this issue, it's about editing again the component : the user has designed a first assembly of primitives for a valve and you want to modify one of the primitives because an error and you load it again in the component editor to change the size or to move one primitive and you save it again in the play framework.

----- Mail original ----- De: "Max Limper" notifications@github.com À: "x3dom/apps-modeling" apps-modeling@noreply.github.com Cc: "chmouton" christophe.mouton@free.fr Envoyé: Lundi 30 Septembre 2013 17:17:12 Objet: Re: [apps-modeling] reload of assembly of primitives built in the component editor (#116)

Do you mean that we store something in the component editor, and then load it and use it in the plant editor?

If that's the case, we are already on the way.

— Reply to this email directly or view it on GitHub .

— Reply to this email directly or view it on GitHubhttps://github.com/x3dom/apps-modeling/issues/116#issuecomment-25372518 .

mlimper commented 10 years ago

Hm okay I guess it would be possible, but I don't know whether it will be possible until the demo date. This depends on our progress until then, we still have some TODOs concerning storing meshes in the component editor and loading them inside the plant editor, implementing the search function in the plant editor, snapping and so on.