ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 01-03-2014
Ramesh Pinn Ramesh Pinn is offline
Flexsim User
 
Join Date: Oct 2012
Location: Tampa, FL
Posts: 16
Downloads: 0
Uploads: 0
Thanks: 12
Thanked 2 Times in 2 Posts
Rep Power: 93
Ramesh Pinn is on a distinguished road
Default Displacement Issue

One of our engineers working with FlexSim encountered the following issue. I will copy/paste his description of the issue:

Quote:
To the left there are four .3ds cylinders (the default shape), all with the same
coordinates (-15, 0, 0), but with different y-scaling. No rotation.

To the right are four cylinders, also all with same coordinates (1, 1, 1) but different y-scaling.
These cylinders are rotated 90 degrees around the z-axis.

So the only difference between left and right is the rotation. The objects to the left all have
a side positioned at the specified coordinate. The objects to the right lie far from
the specified coordinate.

I think this behavior is due to adjusting the center of the object after scaling, and that
this adjustment is in the wrong direction when the object is rotated.
The question we have for FlexSim developers is: Is this by design or is this a bug? We encountered this while trying to export coordinate data (x,y,z; rotations etc) to another 3D tool and reconstruct the objects.
Attached Files
File Type: fsm displacement_problem.fsm (14.4 KB, 49 views)
  #2  
Old 01-03-2014
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

The object's location is the position at the upper-left corner of an object at {0,0,0} rotation (given that you are looking at it from a reset view).

This object has a centroid attribute of 1 (Shape>spatial/centroid), which means that the object's rotation is based around the center of its size rather than its position.

If you change the centroid attribute to 0, then it will behave as you expect with the rotation based around the object's position instead of the object's midpoint.

Because of the centroid attribute of 1, the object's position might not be touching the yellow box because you can rotate the yellow box around a point other than the object's position.

This is by design. You need to account for an object's centroid attribute in your export to get the position and rotation of the object correct.
The Following 2 Users Say Thank You to Phil BoBo For This Useful Post:
Tom David (01-07-2014)


Thread Thread Starter Forum Replies Last Post
Issue with MTBF MTTR..!! mearjun Q&A 5 06-09-2013 08:01 PM
issue with CTS Shahin Gelareh Q&A 0 02-18-2012 03:34 PM
Transportation & Processor issue Wen Hsing Huang Q&A 3 06-27-2011 04:52 AM
LAN license Installation issue with different network/hdd David Chan Installation 0 03-01-2011 01:44 AM
Floating license issue MorganIT Q&A 1 09-12-2007 01:51 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.