question

Beom Gi L avatar image
0 Likes"
Beom Gi L asked Phil BoBo edited

How to change the allocation of processor after rotating it?

Hi all,

Sometimes need to rotate the 3D shape to fix after importing 3D file. Then if I use A star navigator and activate 'show allocations', the allocations is displayed on XY plane of the 3D shape and it's not XY plane of model.

How to fix?


Thanks.

FlexSim 20.1.3
flexsim 20.1.3a star
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Phil BoBo edited

If you highlight an object, you see a yellow bounding wireframe. This is your object and its dimension in FlexSim. A shape is just a 3D picture, which fits or does not fit into the frame. The A Star navigator knows only the dimension of the yellow frame. You can rotate, set position and resize the shape in relation to the yellow frame. You can scale, rotate and set a position of the yellow frame in relation to model space, container or a A Star navigator. Maybe you read some more about it in the manual: custom 3D objects. If you want to rotate your object (yellow frame), then you do it in the quick properties pane on the right side of your workspace.

· 3
5 |100000

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

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

@beom_gi.l

The section titled "Adjusting Shape Factors" in the user manual link that Jorg linked to explains how you can adjust the size and rotation of the shape to fit into the yellow box. If you adjust the shape's size and rotation to fit into the unrotated yellow box, and then you adjust the yellow box to be positioned how you want, then the space allocated when attached to the A* Navigator will be what you want.

1 Like 1 ·
Beom Gi L avatar image Beom Gi L Phil BoBo ♦♦ commented ·

Thanks @phil.bobo.

By the way, I got some strange experience when try to adjust the shape's size and rotation.

When change the shape's size of x, z after rotating based on Y axis, the shape's displayed position is changed but not value of the shape's value of location.

Could you tell me why? Additionally I am strange to the concept of 3D.


Regards,

planner77

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Beom Gi L commented ·

In FlexSim, the underlying location of an object is defined from its upper-left corner, but the rotation of most of the default objects is based on the center of the object.

The object's location is applied before its rotation, which leads to a strange situation with rotated objects where their position is not actually a point on the yellow box.

Here is a processor that isn't rotated with the red ball showing its location point.

Here is that same processor rotated 90 degrees in the Z axis. You can see the red ball showing its location is in the same place, but its yellow box is not.

By clicking the little button left of the location values, you can see and enter the values relative to a certain point on the yellow box instead of the direct spatial values. By default, we set this to the bottom planar midpoint for simplicity.

When you adjust the size values, it only adjusts the size of the object without changing its underlying location values. But the size of the object does affect the location values of certain points on the yellow box. These values are being changed, but the UI isn't updating immediately as you adjust the size. You'll need to click off the object and back onto it in order to see that the location relative to a particular point is actually changing as you adjust the size.

I've added a case to the dev list to consider adjusting the UI so that when you change the size of the object, it doesn't change its location relative to the selected coordinate system.

Because the UI isn't being updated, you can actually trick it into setting the object's location back to where you want it by clicking in the location edit field and back out in order to re-apply the location after changing the size:

0 Likes 0 ·
sizing-location.gif (830.3 KiB)