-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathTwoFrames.mo
More file actions
36 lines (34 loc) · 1.16 KB
/
TwoFrames.mo
File metadata and controls
36 lines (34 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
within Modelica.Mechanics.MultiBody.Interfaces;
partial model TwoFrames
"Base model for components providing two frame connectors and outer world"
Interfaces.Frame_a frame_a
"Coordinate system a fixed to the component with one cut-force and cut-torque"
annotation (Placement(transformation(extent={{-116,-16},{-84,16}})));
Interfaces.Frame_b frame_b
"Coordinate system b fixed to the component with one cut-force and cut-torque"
annotation (Placement(transformation(extent={{84,-16},{116,16}})));
protected
outer Modelica.Mechanics.MultiBody.World world;
annotation (
Icon(
coordinateSystem(
preserveAspectRatio=true,
extent={{-100,-100},{100,100}}),
graphics={
Text(
extent={{-136,-25},{-100,-50}},
textColor={128,128,128},
textString="a"),
Text(
extent={{100,-25},{136,-50}},
textColor={128,128,128},
textString="b")}),
Documentation(info="<html>
<p>
This partial model provides two frame connectors and access to
the world object.
Therefore, inherit from this partial model if the two frame
connectors are needed.
</p>
</html>"));
end TwoFrames;