-
Notifications
You must be signed in to change notification settings - Fork 165
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
New library for generation of images in documentation #2603
Comments
What about putting this single-file library under |
It is not only for the diagram view but also for the 3D view (see Resources/Documentation/Mechanics/Figure_PlanarLoopAnalytic.ppt) or the plotted figures. |
I think I would prefer to have it as a new top-level library; so that people only using MSL will not see this library (but developers clearly see it so we everything is put in the same place). |
So top-level |
I would prefer to have it within some other library; otherwise there are so many small top-level names being used if one looks at the repository. |
On one hand I understand this argument very well, as I think that the user does not need to stumble into directories and files if there is no need for it. On the other hand it does make sense to have all the resources in one place in order to avoid copy + paste and file sync work which is always fault prone and -- finally unnecessary work. The actual structure of the ModelicaStandardLibrary repository is:
I think we should also consider that some figures are / will be not created through a Modelica model, but for example by scripts created by:
So the different scripts / sources shall mapped be to the structure of the MSL. I guess it does not make sense to build redundant structures for each script language. It may thus make sense to have one directory structure hosting all the different scripts, Modelica and PNG files.
Further options may be discussed... |
I have re-generated a couple of images (pictures) for version v3.2.3, especially regarding Modelica.Mechanics.MultiBody. For that reason, it was necessary to define new models in some cases in order to reconstruct the situation of the original images.
I think this can happen in the future again and again, and maybe also for another libraries. So it would be reasonable to my opinion to have a particular library collecting models for such particular reason, thus simplificating the images' regeneration.
So my question is
The text was updated successfully, but these errors were encountered: