Hi all,
I am trying to create a 3D animation to reproduce the FlexSim's simulation results.
So I need the 3D shapes of conveyors and racks, but their appearance is not based on CAD data.
Is there any way to export 3D shapes of them?
Thank you.
Hi all,
I am trying to create a 3D animation to reproduce the FlexSim's simulation results.
So I need the 3D shapes of conveyors and racks, but their appearance is not based on CAD data.
Is there any way to export 3D shapes of them?
Thank you.
Hi @Yokota T, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
You can use the “exportscenegraph” and “exportmedialist” application commands to export the data in a FlexSim scene to JSON that could be parsed and used by an external renderer.
Below is a screenshot showing those commands and custom JavaScript code that renders that data using WebGL:
Similar rendering could be done using a different 3rd party renderer or custom code that can take the exported scene and media json data, parse it, and render it however desired.
Attached is an example model (example_render_model_1.fsm.jpg; rename file to remove ".jpg") with a script showing an example of using the exportscenegraph and exportmedialist application commands.
I added some comments to the script to help you get started understanding what’s in the data and how it is structured.
The model has example objects that render in different ways to show how that data is exported.
You can reference the code in “FlexSim 2022\program\flexsimweb\fgl” for an example of using this data to render a scene with WebGL.
In the future, we may add other ways to export the 3D mesh data from a FlexSim model, but right now, this is what is currently available and what the WebGL Streaming feature of the FlexSim WebServer uses.
Those objects are rendered by adding together multiple shapes and textures (only textures for racks I believe). So apart from the .ac shape files of the conveyor you can find under \modules\Conveyor\shapes in the FlexSim directory, I don't think there is a way to export any shapes for them.
You are aware of FlexSim's video recorder functionality that allows you to capture videos of the model? (As a potential substitute for creating an animation from scratch)
16 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved