leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Flexible parts not bent in other LDraw programs

Open pepijndevos opened this issue 4 years ago • 6 comments

Describe the bug Flexible parts not bent in other LDraw programs

To Reproduce Steps to reproduce the behavior:

  • Make a bent Technic Flex-System Hose by dragging the handles.
  • Save LDraw file
  • Open in another viewer

Expected behavior I'd expect the hose to be bent, but it just show up as a straight element.

Screenshots Web LIC image LPub3D image

Version (please complete the following information):

  • OS: Arch Linux
  • LeoCAD Version 21.06

pepijndevos avatar Jan 01 '22 11:01 pepijndevos

aaaand that's where my argument of keeping the standards come in when I always refer to how MLCAD works @leozide

nathaneltitane avatar Jan 01 '22 19:01 nathaneltitane

@nathaneltitane Ldraw.org does not specify a standard for flexible pieces, as far as I have seen. How does MLCAD store flexible pieces in an LDR file? And why would that be a standard?

j6t avatar Jan 02 '22 08:01 j6t

I assume it's this language extension https://wiki.ldraw.org/wiki/Flexible_Part_Language_Extension

pepijndevos avatar Jan 02 '22 09:01 pepijndevos

@nathaneltitane Ldraw.org does not specify a standard for flexible pieces, as far as I have seen. How does MLCAD store flexible pieces in an LDR file? And why would that be a standard?

lsynth?

And maybe you could take a half hour and set MLCAD up for yourself, build or test a model that uses flexible pieces and see what registers in the model file??

I was an MLCAD user for many years before transitioning to LeoCAD after making Ubuntu my main OS... it just works, be it for flexible elements or step by step part/model orientation and is cross compatible with lpub and the overall ldraw spec.

I am unfortunately not as keen as you or Leo in the matter of coding in C, but I do know my way around using both MLCAD and LeoCAD extremely well. You're a very capable individual, I'll let you sort the rest out.

nathaneltitane avatar Jan 02 '22 19:01 nathaneltitane

There's no standard, that page describes what LDCAD does, MLCAD uses lsynth and I have my own format. I think the right solution for now would be for me to create a bent part inside the MPD for the other tools to use.

leozide avatar Jan 03 '22 20:01 leozide

@leozide maybe finishing that layout editor could help with the implementation of your specific formats. it would make leocad a great 'one stop shop' solution for model editing and publishing

nathaneltitane avatar Jan 03 '22 20:01 nathaneltitane