Error while importing from LDD
VirusE a commencé cette discussion dans Bug Reporting

When you import a model from the LDD, the right panel 5x7 and 5x11 (64680 и 64682) disappear, although they are in the library. In addition, all the curved details disappear, but this is probably not a bug, but different approaches to the implementation of bends.

При импорте модели из LDD пропадают детали правая панель 5x7 и 5x11 (64680 и 64682), хотя они есть в библиотеке. Кроме того пропадают все изогнутые детали, но это наверное не баг, а разные подходы к реализации изгибов.

Noticed yet.
In LDD, there are two 80 mm diameter discs: Nos. 19725 and 50990. 19725 is parabolic, and 50990 is conical. When imported into mecabricks, 19725 is not displayed, and 50990 is displayed as 51373. In the imported model, the disk is displaced along the axis to the convex side. Disk 51373 is parabolic and is displayed if the search for mecabricks is 50990.

Заметил еще.
В LDD есть два диска диаметром 80 мм: №№ 19725 и 50990. 19725 параболический, а 50990 - конический. При импорте в mecabricks 19725 не отображается, а 50990 отображается как 51373. В импортированной модели диск смещается вдоль оси в сторону выпуклости. Диск 51373 параболический и отображается если в поиске mecabricks вбить 50990.

16 réponses · Page 1 sur 1

The panel parts do appear for me, but they are at another position which is not the expected position. For now, I hope they are correctly positioned, but it may be still a little bit off the correct position. They are difficult parts to position correctly. I would love to check out your build to confirm.

EDIT: You're completely right about the disc/dish bricks. 50990 is conical while 19725/51373 are parabolic. I'm currently lacking too much references to know what the correct is. For now, both 50990/19725/51373 will import as 51373. In the future, it looks like 50990 needs to be assigned to the canonical part, which for now isn't available yet on Mecabricks. Please confirm if they now display at the correct positions.

Thanks for the answer. Checked. The disc is imported correctly. The right panels 64680 and 64682 are offset with offset. Panel 64680: Y-axis shift plus 5.5, X-axis minus 15. Panel 64682: Y-axis shift plus 5.506 (after 5.506, according to the calculated coordinate difference 5.507), and along the X axis minus 15. There is no shift along the Z-axis. The axes are for the local coordinate system of the part.
In addition, today noticed that the right (the same right) panel 11946 is imported with a rotation of 180 degrees relative to the Y axis. Without the displacement of the fulcrum.
PS. I look forward to the appearance of new details, while a lot is missing (:

Спасибо за ответ. Проверил. Диск импортируется правильно. Правые панели 64680 и 64682 имортируются со смещением. Панель 64680: сдвиг по оси Y плюс 5.5, по оси X минус 15. Панель 64682: сдвиг по оси Y плюс 5.506 (по факту 5.506, по расчетной разнице координат 5.507), а по оси X минус 15. По оси Z сдвига нет. Оси указаны для локальной системы координат детали.
Кроме того сегодня заметил, что правая (то же правая) панель 11946 импортируется с разворотом на 180 градусов относительно оси Y. Без смещения точки опоры.
PS. с нетерпением ожидаю появления новых деталей, пока многого не хватает(:

That's actually what we're doing. We enter the conversion data for converting the position of the brick in LDD to the position of the brick in Mecabricks relatively to the x-y-z axis. You did calculate this data quite correct as those are the numbers I've entered in as conversion data. Check out in your build if the bricks are now on the correct - expected - position. Due to the part being rotated by default, it might be still incorrect.

I have a look when I have time for the right panel brick.

Good afternoon.
Made in LDD file to check the panels (which do not have holes.With holes in mecabricks only two panels: 32528 and 32527).
The result of importing in mecabricks is this:
Left panels 11947, 64683, 64681, 64394 and 64392 are imported correctly. Right panels 87086 and 64391 are also imported correctly.
It's more interesting.

The left panel of the 87080 can not be imported correctly. This happens if in LDD vertically put the connector, and then already attach the panel to it. The panel is inserted at an angle of 15 degrees and seems to be corrected.
If you extend the part by +15 degrees (to the angles of 0, 90, 180, -90 degrees, which is closer, in the global coordinate system this is the same position), then the part will be rotated 180 degrees when you import it.
If you add a part and insert a connector into it, this does not happen. Why is that? I do not know. Perhaps this is an LDD bug.
In both cases, I could not manually set angles in the LDD with a deviation less than 0.3 degrees from this position. LDD rounds the angle, but the deviation is preserved.
For example, if the critical position is 180 degrees relative to the connector: I set the angle to 179.8 degrees, but LDD will show 180. After that I set the angle to 90 degrees, but the LDD shows 89.8 degrees. This is such a sense of humor.
In addition, despite the fact that both versions look the same, in the LXFML file, in the description tags of the group, lines with details are placed differently. And in LDD, when changing the angle of rotation of the panel relative to the connector, the parts rotate in opposite directions.
The right panel 11946 is imported with a rotation of 180 degrees relative to the Y axis, and the panel is 180 degrees from the Z axis.
With the right panels 64680 and 64682 that's what. In mecabricks they are imported with offset. In the LDD, the panels 64680 and 64682 are inserted rotated by an angle of 20 degrees.
So, if you import a panel that is placed correctly (without turning), then the offset seems incomprehensible. But if you import the part since it was originally inserted into the LDD, it becomes clear that it is offset relative to the global coordinate axis by exactly two part widths (16 units).
I drew attention to this. In all panels in LDD, the base point is the hole that is inside the right angle. In mecabricks, this is true for all panels except four: 64392, 64394, 64680 and 64682. These panels have a base point in the outermost hole.
Can there be difficulties with positioning also because of this?

Sorry for the bad english. This Google helps 😃.

Добрый день.
Сделал в LDD файл для проверки панелей (у которых нет отверстий. С отверстиями в mecabricks только две панели: 32528 и 32527).
Результат импорта в mecabricks такой:
Левые панели 11947, 64683, 64681, 64394 и 64392 импортируются правильно. Правые панели 87086 и 64391 тоже импортируются правильно.
Дальше интереснее.
Левая панель 87080 может импортироваться неправильно. Это происходит если в LDD вертикально поставить коннектор, а потом уже к нему прицепить панель. Панель вставляется под углом 15 градусов и вроде нужно поправить.
Если довернуть деталь на +15 градусов (до углов 0, 90, 180, -90 градусов, какой ближе, в глобальной системе координат это одно и то же положение), то при импорте деталь будет развернута на 180 градусов.
Если добавить деталь и вставить в нее коннектор, такого не происходит. Почему так? Не знаю. Возможно это баг LDD.
В обоих случаях я не смог в LDD в ручную выставить углы с отклонением меньше 0.3 градуса от этого положения. LDD округляет угол, но отклонение сохраняется.
Например, если критическое положение - 180 градусов относительно коннектора: я установливаю угол 179.8 градусов, но LDD покажет 180. После этого я устанавливаю угол 90 градусов, но LDD показывает 89.8 градусов. Вот такой юмор.
Кроме того, не смотря на то, что оба варианта выглядят одинакого, в файле LXFML, в тегах описания группы строки с деталями размещаются по разному. А в LDD, при смене угла поворота панели относительно коннектора, детали вращаются в противоположные стороны.
Правая панель 11946 импортируется с поворотом на 180 градусов относительно оси Y, а панель на 180 градусов относительно оси Z.
С правыми панелями 64680 и 64682 вот что.В mecabricks они импортируются со смещением. В LDD панели 64680 и 64682 вставляются повернутыми на угол 20 градусов.
Так вот, если импортировать панель, размещенную правильно (без поворота), то смещение кажется непонятным. Но если импортировать деталь так как она изначально вставлена в LDD, то становится ясно что она смещена относительно глобальной оси координат строго на две ширины детали (на 16 единиц).
Обратил внимание вот на что. У всех панелей в LDD базовая точка - это отверстие, которое находится внутри прямого угла. В mecabricks это справедливо для всех панелей кроме четырех: 64392, 64394, 64680 и 64682. У этих панелей базовая точка в крайнем отверстии.
Может быть сложности с позиционированием еще и из-за этого?

I'm not the expert and I seem to be failing to position bricks correctly when they are inserted in LDD with a different rotation than 0°. I'm thinking, although i'm not sure that the rotation on insert is causing the problem.

I think we need to see how this problem is solved in other panels. In LDD, all right panels are inserted at an angle. From the left at an angle, only 87080 is inserted.
Since the panels 64391 and 87086 have no insertion problems, we need to see how they are made. In LDD, they are inserted at angles of 20 and 35 degrees.
I suggest you try to change the base point for the panels first (make it in the hole located at the vertex of the right angle (90 degree angle), just like in LDD).

Я думаю, нужно посмотреть, как эта проблема решена у других панелей. В LDD все правые панели вставляются под углом. Из левых под углом вставляется только 87080.
Так как у панелей 64391 и 87086 проблем со вставкой нет, то нужно посмотреть, как сделаны они. В LDD они вставляются под углами 20 и 35 градусов.
Предлагаю попробовать для начала поменять базовую точку у панелей (сделать ее в отверстии, располагающимся в вершине прямого угла (угол 90 градусов), так же как в LDD).

By the way. The 64682 panel seemed to be imported correctly. It remains to solve the problem with 64680. 😃

Кстати. Панель 64682 вроде импортировалась правильно. Осталось решить проблему с 64680.:)

I'll add. The part 64802 is imported 180 degrees rotated around the Y axis.

Добавлю. Деталь 64802 импортируется развернутой на 180 градусов вокруг оси Y.

Fixed now?

Please send me a link to your LDD file, and I'll take a look into what's going wrong there. Thanks.

Can I send it by e-mail?

Pls PM me.

Here is the link. PM can not write, there is no account in the twitter 😃
https://drive.google.com/open?id=1UjKX1wS0b-yHSVzqU8FYXwKys70SE20u

Parts added to LDD in 4.3.11 update are being imported, but have wrong rotation and are missaligned.

Avatar de Scrubs
Administrateur

Sim is the boss for that 😛

Publicité
5 participants
Avatar de Sim
Avatar de wlange
Avatar de Scrubs

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.