1 L0 = <http://www.simantics.org/Layer0-1.1>
2 VP = <http://www.simantics.org/Viewpoint-1.2>
3 PROJ = <http://www.simantics.org/Project-1.2>
4 SIM = <http://www.simantics.org/Simulation-1.1>
5 IMAGE = <http://www.simantics.org/Image2-1.2>
6 ACT = <http://www.simantics.org/Action-1.1>
7 P3D = <http://www.simantics.org/Plant3D-0.1>
8 CSG = <http://www.simantics.org/CSG-0.1>
9 SILK = <http://www.simantics.org/Silk-1.1>
12 PBC = P3D.P3DBrowseContext : VP.BrowseContext
13 VP.BrowseContext.IsIncludedIn PROJ.ProjectBrowseContext
14 @VP.constantImageRule P3D.Plant IMAGES.Factory
15 @VP.constantImageRule P3D.Equipment IMAGES.Tank
16 @VP.constantImageRule P3D.TurnComponent IMAGES.Elbow
17 @VP.constantImageRule P3D.Nozzle IMAGES.Nozzle
18 @VP.constantImageRule P3D.InlineComponent IMAGES.Component
19 @VP.constantImageRule P3D.Builtin.Straight IMAGES.Straight
20 @VP.constantImageRule P3D.EndComponent IMAGES.Component
21 @VP.constantImageRule P3D.PipeRun IMAGES.Straight
22 @VP.relationChildRule PROJ.Project L0.ConsistsOf P3D.Plant
23 @VP.relationChildRule PROJ.Project L0.ConsistsOf CSG.Model
24 @VP.relationChildRule P3D.Node P3D.childen P3D.Node
25 @VP.relationChildRule P3D.Node P3D.HasNozzle P3D.Node
28 IMAGES = P3D.Images : L0.Library
29 IMAGES.Component : IMAGE.PngImage
30 @L0.loadBytes "images/Component.png"
31 IMAGES.Elbow : IMAGE.PngImage
32 @L0.loadBytes "images/Elbow.png"
33 IMAGES.Factory : IMAGE.PngImage
34 @L0.loadBytes "images/factory.png"
35 IMAGES.Nozzle : IMAGE.PngImage
36 @L0.loadBytes "images/Nozzle.png"
37 IMAGES.Straight : IMAGE.PngImage
38 @L0.loadBytes "images/Straight.png"
39 IMAGES.Tank : IMAGE.PngImage
40 @L0.loadBytes "images/tank.png"
42 MAC = P3D.P3DActionContext : VP.BrowseContext
43 VP.BrowseContext.IsIncludedIn PROJ.ProjectActionContext
46 MAC.newContribution : L0.Template
47 @template %actionContext %label %action %image
49 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
51 VP.ActionContribution.HasImage %image
52 VP.ActionContribution.HasCategory VP.NewActionCategory
53 VP.ActionContribution.HasNodeType P3D.Plant
54 VP.ActionContribution.HasAction %action
56 MAC.newTypeContribution : L0.Template
57 @template %actionContext %label %action %type %image
59 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
61 VP.ActionContribution.HasImage %image
62 VP.ActionContribution.HasCategory VP.NewActionCategory
63 VP.ActionContribution.HasNodeType %type
64 VP.ActionContribution.HasAction %action
66 MAC.editTypeContribution : L0.Template
67 @template %actionContext %label %action %type %image
69 VP.BrowseContext.HasActionContribution _ : VP.ActionContribution
71 VP.ActionContribution.HasImage %image
72 VP.ActionContribution.HasCategory VP.EditActionCategory
73 VP.ActionContribution.HasNodeType %type
74 VP.ActionContribution.HasAction %action