question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Jason Lightfoot answered

Import objects from 3D library

Hi,

I'm trying to import objects from 3D library, but when I do import almost many of them the position of the object changes with a big offset from what should be. See pic below when new shape is imported from 3D library:

screenshot-226.png

Is there any workaround for this issue?


FlexSim 22.1.2
objectimport3dlibrary
screenshot-226.png (267.6 KiB)
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Where does that chair shape come from and what format is it? Which object are you trying to change to this shape?

Many formats should now automatically scale the objects when you import them. Some information for importing shapes here.

Try putting a new Shape object in the model and load into that. Then if that looks correct, copy the visuals, size and factors to your object using the "Edit Selected Objects" tool.

If you can't resolve it by reimporting then you can use the shape offset factors to position it in the yellow bounding box.


· 10
5 |100000

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

Maryam H2 avatar image Maryam H2 commented ·

It's coming from https://3dwarehouse.sketchup.com/ and the format is .skp (version 2019). I tried with other versions but doesn't work. When I import that object I just go to More Visuals > Rotate it 180 degrees so the side that user sits will be in accordance with the shape but that 180 degree rotation creates an offset issue.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Maryam H2 commented ·
It imports to the correct size when using a fresh shape. You could try the collada file from that site but I think it's the process steps that are causing this. I would add a new shape, change it to the chair (should size correctly) and copy its shape and attributes as I mention above.

Also note that this chair is very heavy with polygons - 17MB is a lot for such a small asset - something similar could be created with a fraction of the polygons.

0 Likes 0 ·
Maryam H2 avatar image Maryam H2 Jason Lightfoot ♦♦ commented ·

You're right, when using the shape first and then load the object into it, it doesn't create that problem. However since it's not a location object anymore (like a Wooden Chair) and it's a "Shape" the user doesn't sit on it, just stand next to the object. See below:

screenshot-227.png

0 Likes 0 ·
screenshot-227.png (279.9 KiB)
Show more comments