From: niemisto Date: Mon, 13 Oct 2008 13:37:07 +0000 (+0000) Subject: git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@7151 ac1ea38d... X-Git-Tag: simantics-1.19.0~20^2~46 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=7106f6fbf61bc82466cb56cffeb9e69b66b77468;hp=d666200bb9a6a03d4ee67818caefdc7cb863b035;p=simantics%2F3d.git git-svn-id: https://www.simantics.org/svn/simantics/3d/branches/dev@7151 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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