Open chmouton opened 10 years ago
Related code pushed to the bitbucket repos. Three updates :
http://192.168.1.1:8080/component_editor?idFonct=LL400V.S.Realim.F1.ProtAvion : edit the occurrence de composant with idFonct
http://192.168.1.1:8080/get_x3dmesh_for_occurrence?uri=http://localhost:9000/rest/composant/582 Get the x3dmesh for the occurrence with the given uri.
http://192.168.1.1:8080/occurrences_de_composant?search=Rob2V : returns the occurrences uri and composant type uris for the matching occurrences.
Thanks! The search function already works now in my current state of the plant editor, I have inserted a button next to the search bar.
In the second call, should there be a URI to a "composant" provided? Or to an "occurence"? Or does both work? :-)
I guess it also doesn't work because my database does not contain the respective links to example 3D meshes, here's what I get:
Traceback (most recent call last):
[...]
get_x3d_from_occurrence_de_composant
geom_mpa_uri = occurrence.find('representationsGeometriques3D').text
AttributeError: 'NoneType' object has no attribute 'text'
Do you have some small test data which also contains 3D meshes? Otherwise, I guess I'd need to use REST PUT commands to connect my geometrietesselee example meshes to the server, but I'm not really sure where to do this (the relation between "occurenceDeComposant", "geometrietesselee" and "representationsGeometrique" is not fully clear to me). A small test set (database file?) would probably be of great help, we could then also compare our results in a more consistent way.
Dear All,
We met performances issues in the plant editor : the left part contains components and occurrences of components, it works nicely when there are only a few of them but when all the items of the catalogs are loaded, the browser fails and crashes.
Thomas proposes the following leads:
Is it also possible to update the "store" function which will store all the occurrences in the 3D scene with their location and orientation?
Thomas will send his code this evening.
Is it possible to help us on those issues? Kind regards