Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

pltpkg and SimpleVisual missing?

pltpkg and SimpleVisual missing?

Hallo,

I can not find the pltpkg and the SimpleVisual packages in 1.6.0
The example code 3.5.2 'programmable drawing of 2d graphics'
results in the error
[<interactive>:11:1-12:17:writable] Error: Class pltpkg.rect not found in scope testGeom.$for loop scope$.$for loop scope$.$for loop scope$.$for loop scope$ (looking for a function or record).

I tested this in the notebook.

do I have to load / import the package? from where?

how about coin3d - do I need to install it separately?

alex

Re: pltpkg and SimpleVisual missing?

Hi,

Ok, We forgot to add these packages to 1.6.0 default MSL3.1 library.
However, i don't know if the pltpkg is working fine or not and were to find it (I'll ask around).
We should re-write parts of this functionality and make it better.
The 3d libs should be installed if you use Windows. On Linux you might have to do it yourself.

SimpleVisual.mo you can find it here:
C:\OpenModelica1.6.0\lib\omc\omlibrary\msl22\msl22.zip
Inside Modelica\SimpleVisual.mo
Just copy it inside:
C:\OpenModelica1.6.0\lib\omc\omlibrary\msl31\Modelica\

Cheers,
Adrian Pop/

Re: pltpkg and SimpleVisual missing?

is the pltpkg no more supported? The section in the manual is still present...

There are 0 guests and 0 other users also viewing this topic
You are here: