Parts getting skewed during liner transformation
IstakaCiti a commencé cette discussion dans General Discussion

I have observed in couple of models that when I move the model in x or y direction I see some parts in the model are getting skewed. Here are some examples.

  1. There are two seats in the cabin of the truck. Initially both the seats were correct, I worked on trailer later and finally attached it to the truck. Later I tried to adjust the position of the truck in x & y direction. Now left side seat is fine but right side seat parts are skewed. The rotation values are (37.21, 84.01, -37.19).

https://c1.staticflickr.com/1/755/33183404065_a5f12f4c84_c.jpg
Rotation - Truck by Istaka Citi, on Flickr

  1. 2👨 plate in the belly of the robot is skewed when connecting the legs. The rotation values in this case are (37.21, 84.01, -37.19)
    https://c1.staticflickr.com/1/667/32367995553_d7aed96967_c.jpgRotation - RobotFront by Istaka Citi, on Flickr
    In both cases the rotation values are same, is it me doing something wrong? Can someone help me with this, most of my models are ending up in this issue.
8 réponses · Page 1 sur 1

This also happend to me a couple of days ago in a model im working on. Not sure about the exact rotation but it looks very similar!?

Avatar de Scrubs
Administrateur

Did you make sure you didn't keep these parts grouped with one you where moving without noticing?
It never happened to me so I cannot really fix it. If it is really a bug, it would be great if you can find the sequence of events that leads to it. Therefore I would be able to reproduce it and solve it.

Hi Scrubs,

Its unlikely that I had grouped it with something else because in case of the Robot I tried to delete the skewed group and created it again. But it still ended up in same situation. Mostly it happens when you create a group and then try to attach it to the other group.

I understand that we need to find the steps to reproduce, fortunately I think I can do that, will let you know.

Edit:
Here is one way I could reproduce, hope it helps.
I have created a container and grouped it together, at initial position everything looks fine. I have also verified that the angles are correct to avoid any distortion. If we move the container now in any direction, it will start to distort after certain number of steps.

See the image below (Before moving the object).

https://c1.staticflickr.com/3/2819/33179231666_e0277aa730_c.jpgBefore - Right Bracket by Istaka Citi, on Flickr

And this is the image after moving the object.

https://c1.staticflickr.com/1/635/32406028223_9dd9249135_c.jpgAfter - Right Bracket by Istaka Citi, on Flickr

Some key observations:

  1. It happens in both local or global mode.
  2. It happens in all three directions.
  3. Distortions seems proportional to distance moved.
  4. Undo with (ctrl - z) brings it back to original share, but undoing the movement itself (by actually moving it in opposite direction) keeps the distortion.
  5. Only certain parts in the group are affected.
    **6. Distortion happens only when moved with keys (No issues with mouse). **

The initial model (with correct positions) is http://mecabricks.com/en/models/Z79a88Ywa8w.
You can try to move the container in this one to see it actually happening. I have deleted and created the container many times and every time I am able to reproduce so seems to be something outside the object.

The final (distorted) state is also saving in separate file @ http://mecabricks.com/en/models/PKbjQ7BkadG.

Relevant images are shared @ [url]https://flic.kr/s/aHskQ4Txoq[/url]

Looks like someone else had this issue too:
http://www.mecabricks.com/en/forum/topic/317

I tried with your initial file to reproduce the error, and I was unable to achieve any kind of skewing. The rotational point of your model is also weirdly off, you might want to try importing into a clean file so everything is centered.

@UmbraManis, did you move it with mouse or keyboard? it doesn't happen when you move the object with mouse. I missed to mention that important point.

This issue is fixed in v5.0 too, great overall update Scrubs thanks a lot.

Avatar de Scrubs
Administrateur

I rewrote this part of the code. It requires less calculation so less possible bugs.
Good to hear that it is fixed.

Publicité
5 participants
Avatar de IstakaCiti
Avatar de Scrubs
Avatar de Sealund
Avatar de UmbraManis

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.