Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d surface visualisation #181

Closed
modelica-trac-importer opened this issue Jan 13, 2017 · 7 comments
Closed

3d surface visualisation #181

modelica-trac-importer opened this issue Jan 13, 2017 · 7 comments
Assignees
Labels
enhancement New feature or enhancement L: Mechanics.MultiBody Issue addresses Modelica.Mechanics.MultiBody
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by frank.rettig on 22 Jun 2009 15:34 UTC
Dylmola provides a 3d surface visualisation (see model "show" in attached package). A similar visualizer is missing in the MSL.


Migrated-From: https://trac.modelica.org/Modelica/ticket/181

@modelica-trac-importer modelica-trac-importer added enhancement New feature or enhancement L: Mechanics.MultiBody Issue addresses Modelica.Mechanics.MultiBody labels Jan 13, 2017
@modelica-trac-importer
Copy link
Author

Modified by dietmarw on 22 Jun 2009 20:55 UTC

@modelica-trac-importer
Copy link
Author

Modified by otter on 23 Jun 2009 07:55 UTC

@modelica-trac-importer
Copy link
Author

Comment by kurzbach on 15 Sep 2009 10:38 UTC
Dymola visualizes additional shape types that are not part of the MSL and its documentation. Such shape types are characterized by an object type number between 1 and 100, respectively a form number between 987001 and 987100. E.g. the object type number of a meshed 2D surface is 7.

The questions of ITI are:

  1. What additional shape types do exist?

  2. What are the required parameters and results of these additional shape types?

  3. How can these additional shape types be identified? By type name or parameter name comparisons?

  4. Should these additional shape types become part of the MSL?

@modelica-trac-importer modelica-trac-importer added this to the MSL3.2 milestone Jan 13, 2017
@modelica-trac-importer
Copy link
Author

Comment by otter on 26 Jul 2010 17:25 UTC
These Dymola visualizers are not called in MSL. It is therefore not an issue of MSL.

There is now also the DLR Visualization library that provides much improved 3D visualization.

One might discuss an improved standardized set of 3D visualizers, if tool vendors are interested and include these visualizers in ModelicaServices. However, this is not an issue of MSL 3.2. Therefore, the milestone is moved to MSL40.

@modelica-trac-importer modelica-trac-importer removed this from the MSL3.2 milestone Jan 13, 2017
@modelica-trac-importer
Copy link
Author

Comment by otter on 3 Aug 2010 08:09 UTC
Ticket fixed in e3bd4da:

A tool-specific Surface model was added (see details below), as well as supporting functions and models to utilize colored, parameterized surfaces in a convenient way.

Dymola supports also some other basic visualization objects. At DLR, we only utilize the Shape and the Surface models from Dymola that are now available in the Modelica Standard Library. It is a difficult question whether other 3D objects shall be supported. Dymola does not support enough visual objects, whereas the DLR Visualization library supports a lot of visual objects (such as visualizing different 3D formats, such as .3ds, text, particle systems, light, fluid flowing in pipes etc.) which seems to be far too much to standardize and include in MSL.

It seems currently best to only add the absolute minimum of 3D visualization objects in a standardized way and let the tool/library vendors provide sophisticated 3D visualization objects.

The following improvements have been made to the Modelica Standard Library:

  • Added Modelica.Mechanics.Visualizers.Advanced.Surface which visualizes a moveable, parameterized surface with the same color for every surface point or with different colors for the parameterization points.

  • Adapted ModelicaServices for Default, Dymola, DymolaAndDLRVisualization to support this new tool-specific Surface model. Note, with current Dymola only one color is displayed, even if different colors for every surface point are selected (since not supported by Dymola 7.4).

  • Added a new flag "target" to ModelicaServices in order that a library can inquire the implementation of the ModelicaServices package.

  • Added models "MultiBody.Visualizers.Torus/VoluminousWheel/PipeWithScalarField that are based on the Surface model.

  • Added new package Modelica.Math.Colors to operate on colors (provide color maps, interpolate in a color table, save a color map in svg format on file). These functions are used to visualize a scalar field on a 3D surface, by interpolating in a color map.

  • Added test models in ModelicaTest to test the newly introduced models and functions

  • Added images that are used in the documentation of the new models and functions.

@modelica-trac-importer
Copy link
Author

Modified by otter on 3 Aug 2010 08:18 UTC

@modelica-trac-importer
Copy link
Author

Comment by dietmarw on 26 Oct 2010 09:18 UTC
This ticket is part of the Release notes and has to be public therefor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: Mechanics.MultiBody Issue addresses Modelica.Mechanics.MultiBody
Projects
None yet
Development

No branches or pull requests

2 participants