Skip to content

Conversation

@tobolar
Copy link
Contributor

@tobolar tobolar commented Jan 11, 2024

Reintroduce Arrow as a common visualization object, similar to a box or a sphere. In the MultiBody, this PR uses the Arrow now for visualization of axes of coordinate system in

  • MultiBody.Visualizers.FixedFrame
  • MultiBody.World

which simplifies the two models.

To better understand the idea, see also #3931 (comment)

This PR bases on #4248.

Note: I didn't change DoubleArrow since I consider this being an obsolete model.

@tobolar tobolar added the L: Mechanics.MultiBody Issue addresses Modelica.Mechanics.MultiBody label Jan 11, 2024
@tobolar tobolar added this to the MSL4.1.0 milestone Jan 11, 2024
@tobolar
Copy link
Contributor Author

tobolar commented Jan 11, 2024

I've realized the usage of Mechanics.MultiBody.Visualizers.Advanced.Arrow inside of Mechanics.MultiBody.World leads to a recursion issue since Arrow itself uses outer world. A solution could be to define Mechanics.MultiBody.Visualizers.Internal.Arrow which do not uses world.

@beutlich beutlich removed their request for review January 12, 2024 19:04
@casella casella modified the milestones: MSL4.1.0, MSL4.2.0 Jan 16, 2024
@casella
Copy link
Contributor

casella commented Jan 16, 2024

@tobolar this change could have other side effects that we are not aware of, and potentially break some aspects of the MultiBody library.

I think it would be wiser to postpone this to MSL 4.2.0, so it can be thoroughly tested with multiple tools.

@tobolar tobolar marked this pull request as ready for review February 26, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: Mechanics.MultiBody Issue addresses Modelica.Mechanics.MultiBody

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants