Skip to content

Commit d953db5

Browse files
lbjhlg
authored andcommitted
Added explanation for how to set up serializer plugin under eclipse.
1 parent 6c42fdf commit d953db5

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

README

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
11
This project started at openBIMweek 2011.
22
Now maintained by the community.
33

4+
In order to have the serializer workin with bimserver in eclipse do the following:
5+
6+
1) Create a new project for the serializer
7+
2) Create the nessasary structure :
8+
9+
JsonModelFormat2Serializer
10+
-bin
11+
-output
12+
-plugin
13+
plugin.xml
14+
-src
15+
-org
16+
-bimserver
17+
-serializers
18+
-json
19+
-data
20+
BinaryIndexBuffer.java
21+
BinaryVertexBuffer.java
22+
BinaryGeometryResult.java
23+
JSONModelFormat2Serializer.java
24+
JSONModelFormat2SerializerPlugin.java
25+
26+
3) Add :
27+
pluginManager.loadPluginsFromEclipseProject(new File("../JsonModelFormat2Serializer"));
28+
29+
to the file LocalDePluginLoader.java under the Bimserver project folder.
30+
31+
The plugin will now be visible in the bimserver webinterface and you can download files on "ThreeJs" json format to show in the ThreeJs client.
32+
Please note that colors are not shown in the viewer yet but already present in the json files.
33+
34+

0 commit comments

Comments
 (0)