forked from opensourceBIM/BIMserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Model Merge Plugin
Ruben de Laat edited this page Jul 10, 2013
·
3 revisions
A model merge plugin basically provides the functionality to the BIMserver to merge 2 or more models. Merging has been made pluggable because merging models is a hard problem in programming and requirements vary a lot.
The plugin just has one method, which returns the actual ModelMerger instance.
public interface ModelMergerPlugin extends Plugin {
ModelMerger createModelMerger(PluginConfiguration pluginConfiguration);
}
The model merger instance looks like this:
public interface ModelMerger {
IfcModelInterface merge(Project project, IfcModelSet modelSet, ModelHelper modelHelper) throws MergeException;
}
The returned IfcModelInterface must be a new instance. You cannot move/link objects in the given models in the new model. You have to copy them. The ModelHelper can help you with that. The given Project can be used for more information about the model (units for example). The IfcModelSet contains all the models that should be merged.
Get Started
Deployment
Developers
- Service Interfaces
- Clients
-
Plugin Development
- [Serializer Plugin](https://github.com/opensourceBIM/BIMserver/wiki/Serializer Plugin)
- [Deserializer Plugin](https://github.com/opensourceBIM/BIMserver/wiki/Deserializer Plugin)
- Model Compare Plugin
- Model Merge Plugin
- Query Engine Plugin
- Render Engine Plugin
- ObjectIDM Plugin
- Schema Plugin
- Service Plugin
BIMServer Developers
- Eclipse
- Eclipse Modeling Framework
- Embedding
- Terminology
- Database/Versioning
- IFC STEP Encoding
- Communication
General