From 7106f6fbf61bc82466cb56cffeb9e69b66b77468 Mon Sep 17 00:00:00 2001 From: niemisto Date: Mon, 13 Oct 2008 13:37:07 +0000 Subject: [PATCH] git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@7151 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 3d_ontologies/.project | 11 + 3d_ontologies/3d.graph | 4 + 3d_ontologies/csg.graph | 125 +++++++ 3d_ontologies/g3d.graph | 284 ++++++++++++++++ 3d_ontologies/plant3d.graph | 507 ++++++++++++++++++++++++++++ 3d_ontologies/plant3d_product.graph | 5 + 6 files changed, 936 insertions(+) create mode 100644 3d_ontologies/.project create mode 100644 3d_ontologies/3d.graph create mode 100644 3d_ontologies/csg.graph create mode 100644 3d_ontologies/g3d.graph create mode 100644 3d_ontologies/plant3d.graph create mode 100644 3d_ontologies/plant3d_product.graph diff --git a/3d_ontologies/.project b/3d_ontologies/.project new file mode 100644 index 00000000..fd242e36 --- /dev/null +++ b/3d_ontologies/.project @@ -0,0 +1,11 @@ + + + 3d_ontologies + + + + + + + + diff --git a/3d_ontologies/3d.graph b/3d_ontologies/3d.graph new file mode 100644 index 00000000..f3b96e91 --- /dev/null +++ b/3d_ontologies/3d.graph @@ -0,0 +1,4 @@ +%import "foundation.graph" + +%import "csg.graph" +%import "equation.graph" diff --git a/3d_ontologies/csg.graph b/3d_ontologies/csg.graph new file mode 100644 index 00000000..8c04a66c --- /dev/null +++ b/3d_ontologies/csg.graph @@ -0,0 +1,125 @@ +%import "layer0.graph" +%import "layer0.graph" L0 +%import "animation.graph" +%import "g3d.graph" +%define symmetric() + $subject + $layer0.InverseOf $subject +%define tag($tagname) + $subject + $tagname $subject +%deflib Type _ @ "Types" : TypeLibrary + PartOf CSGOntology +%deflib Relation _ @ "Relations" : RelationLibrary + PartOf CSGOntology +%deflib Library CSGOntology +CSGOntology @ "CSG Ontology" : Ontology + PartOf TypeSystemProject + HasNamespace "http://www.vtt.fi/Simantics/CSG/1.0" : URI + HasVersion "1.0" : Version + HasResourceClass "org.simantics.proconf.g3d.csg.stubs.CSGResource" : String + HasStubsPackage "org.simantics.proconf.g3d.csg.stubs" : String + +CSGNamespace : Namespace + PartOf TypeSystemNamespaces + HasNamespace "http://www.vtt.fi/Simantics/CSG/1.0" : URI + HasNamespaceRoot CSGOntology + +# Project +CSGProjectType Plant > Area > Unit" : String + [HasParentStructure card "0..1"] + [HasChildStructure card "0..*"] +HasChildStructure 3), defines position and direction of control point relative to main control point +NPortControlPoint