LIBRARY
PartialRelativeSensor
Partial model to measure a single relative variable between two splines
Usage
PartialRelativeSensor()
Connectors
Source
dyad
# Partial model to measure a single relative variable between two splines
partial component PartialRelativeSensor
# Left spline of shaft
spline_a = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
# Right spline of shaft
spline_b = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
relations
0 = spline_a.tau+spline_b.tau
endFlattened Source
# Partial model to measure a single relative variable between two splines
partial component PartialRelativeSensor
# Left spline of shaft
spline_a = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
# Right spline of shaft
spline_b = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
relations
0 = spline_a.tau+spline_b.tau
metadata {}
end
Test Cases
Related
Examples
Experiments
Analyses