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

What CAD filetypes are supported by OpenModelica?

What CAD filetypes are supported by OpenModelica?

Hello

I would like to visualize my multibody system with CAD models via the fixedshape element. I tried dxf, stl and obj. I specified the file directly under shapeType "file://D:/Projekte/Modelica/stl_test.stl"
None of the file formats seems to work. I always get "inconsistent naming. Did not find file_1" as a msg in the python cmdline window.
The modelica documentation states that using external shapes is a very limited option and that not all tools support external shapes. Does Openmodelica support external shapes? Is there some kind of trick that is not explained in the regular modelica documentation?

Kind regards
Stephan

Re: What CAD filetypes are supported by OpenModelica?

I've seen that the two examples fullRobot and EngineV6 use external shapes. Both work fine in SystemModeler but wont simulate in OpenModelica. For both I get the following error msg:


Code:

base_array.c: array dimension size for dimension 0 is -1 < 0!

Assertion failed: base_array_ok(dest), file util/string_array.c, line 96

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information. 
Simulation process failed. Exited with code 3

Has anybody simulated these examples in OpenModelica successfully?


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