question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Jason Lightfoot commented

How to import wrl by keeping color AND correct bounding box

I'm trying to import 3D files from a customer using SolidWorks. He exports the files as vrml 1.0.

When I open them in FlexSim, they are the correct scale and colors but the bounding box is not the right size as seen in this photo which makes it difficult to work with. The box is the size of the original FlexSim object (TaskExecuter).

screenshot-2022-11-21-140939.png

In another post, I saw that the solution is to import in AC3D, then export to .ac. I did that and it fixes the bouding box but I loose the colors.

screenshot-2022-11-21-141005.png

I made sure to check the box: VRML1 Flexsim mode in AC3D:

screenshot-2022-11-21-143234.png

Any ideas what I'm doing wrong and how to get the colors AND the correct size bounding box?

I tried other Solidworks exports file formats but none do a better job so far.

Thanks !

FlexSim 22.2.3
colorbounding boxvrml
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Patrick Cloutier avatar image
1 Like"
Patrick Cloutier answered Patrick Cloutier commented

I found a solution which works perfectly:

  1. Import the wrl file into AC3D
  2. Save the file in AC3D format (.ac)
  3. Import the .ac file in the FlexSim Object (this sets the correct bounding box)
  4. Import the .wrl file in the same FlexSim Object (this sets the correct colors and textures)

Et voilà !!

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kavika F avatar image
0 Likes"
Kavika F answered Jason Lightfoot commented

Hey @Patrick Cloutier, you can adjust the bounding box of 3D shapes by clicking on it, going to the Properties panel -> Visuals -> More Visuals -> Shape Factors -> Edit. This will give you a menu similar to the one found in the Visuals panel where you can change the properties of the bounding box.

1669070398086.png

1669070471315.png


1669070471315.png (15.6 KiB)
1669070432071.png (68.1 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.