LDraw.org Discussion Forums
LDCad 1.3 (win+linux) - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: LDCad 1.3 (win+linux) (/thread-12629.html)



LDCad 1.3 (win+linux) - Roland Melkert - 2014-02-27

I just released the definitive 1.3 version of my LDCad.

At first I wanted to do another beta but during private testing I found it to be stable/complete enough to justify a definitive version.

Nog real big changes in this version, just bugfixes and two new minor features, namely:
  • Selection information (demo youtube clip)
  • Optional XY camera rotation (as an alternative to the default trackball)

I've also added snap information to stacks of official parts, resulting in the 'sorted/bicks' and 'sorted/plates' part bin sub trees having full snap info.

No new examples, but I've been working on this one myself.

[Image: 1-3-ForumScrShot.png]


Latest version can be found at www.melkert.net/LDCad as usual. You can install it over any recent previous version.


Linux note:

With this version I moved from compiling on Unbuntu 10.04 to compiling on Kubuntu 12.04, this should fix most of the compatibility problems on e.g. suse etc.


Re: LDCad 1.3 (win+linux) - Max Martin Richter - 2014-02-27

How did you solve the displacement problem of the two universal joints for steering? When I tried to build it with MLCad and calculate these angles manually, I didn't got correct results. So that the U-joint near the steering was never correct connected with the steering column. Undecided
When I look at my real model, the steering wheel is a bit rotated even when the wheels are in a straight driving position. That's why I wonder, when I look at you picture...

/Max


Re: LDCad 1.3 (win+linux) - melvinpelvinosk - 2014-02-27

I have to say great work on the software and thanks a lot for the Linux support. The brick snapping and ghosting are really helpful to me and worked really well in my limited testing in the beta. I just happened to run check for an update last night and I have an issue running the 1.3 release. On Ubuntu 12.04 32bit I get an error of "FATAL: OpenGL not available" that may not be exactly right but some very close to that, I will check when I get home from work and update the error.

The beta ran just fine on the same box. I did install some other gl packages but I was really just guessing at that point and it did not seem to help. If I try to open a file instead of just opening the application it segfaults and core dumps. Just one more data point I tried to load it on my work computer RHEL 6.5 where the beta also works, I don't have the correct glibc (this I understand since you updated your build host, I was just trying to see if I got the same error).

Again thanks for you work, I am really enjoying LDCad.

Clay


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-02-27

Actually the double uni joint was the reason I added the selection information feature. With it you can determine the exact angles for placement.

I did cheat concerning the roll you mentioned, although it should be possible to also determine those angles using the new info in combination with helper parts in some smart way.


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-02-27

This is very weird given I compiled on Kubuntu 12 which should be the same (core wise) as Ubuntu 12 (I really don't like unity Smile ) I did test the new version on Ubuntu 13 (64 though) and it seemed fine.

OpenGL initialization hasn't changed since the beta, so this is probable a dependency problem. Do your machine has 'real' OpenGL or is it using mesa only?

Could you send me the logfile(s) maybe they indicate the exact problem (probably GLEW though).


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-02-28

melvinpelvinosk Wrote:On Ubuntu 12.04 32bit I get an error of "FATAL: OpenGL not available" that may not be exactly right but some very close to that

It did work for me on ubuntu 12, but I ran into the same problem on xubutu and fedora. I manged to trace this problem to wxWidgets 3.0 somehow.

It seems the main window isn't fully visible when I try to init the OpenGL context so it fails. I have a workaround in a test build but it isn't pretty (it shows an message box and inits after you click ok on it thus making sure the frame is visible).

I'll try to find a better solution this weekend.


Re: LDCad 1.3 (win+linux) - melvinpelvinosk - 2014-02-28

Thanks, I will be happy to test your fix. If you still want some logs let me know and I can provide them but it sounds like the same issue I came across.

Clay


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-02-28

I think I have fixed it could you please try one of these:

LDCad-1-3a-rc-Linux-32.tar.bz2
LDCad-1-3a-rc-Linux-64.tar.bz2

This should fix the OpenGL context problem, the libc dependency remains the same. I tried compiling statically but that gave all kinds of linker problems.


Re: LDCad 1.3 (win+linux) - melvinpelvinosk - 2014-03-02

That fixed it. Thanks for the quick fix.

Clay


Re: LDCad 1.3 (win+linux) - Ignacio Fernandez Galvan - 2014-03-02

Roland Melkert Wrote:I've also added snap information to stacks of official parts, resulting in the 'sorted/bicks' and 'sorted/plates' part bin sub trees having full snap info.

Is there anything we mere mortals can do to help there? I'm missing the snap information in parts like 3660 (the top snaps, but not the bottom). Also, would it be possible to have parts snapping side-to-side too?


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-03-02

3660 (inverse 2x2 45 deg slope?) should have info as I added info for all slopes, are you sure you upgraded all files and not just the main exe? The "shadow.sf" file should have a date of 27-02.

I use a debug version of LDCad that has a couple of helpers (ldraw file source dialog, visible info markers etc) but in the end it's just plain text info. So if you are interested in supplying info for certain parts yourself it isn't that hard, especially if you got part editing experience.

The "shadow.sf" seed file installs "offLibShadow.csl" which is just a zip archive you can unpack it anywhere, it has the same structure as the LDraw library but all the files hold only snap info. If you look at some of the existing files adding simple info to certain part shouldn't be a problem.

To use the alternative (unpacked) location you have to change the shadow location in the LDraw search paths dialog.


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-03-02

Thanks for trying, Glad it works.


Re: LDCad 1.3 (win+linux) - Ignacio Fernandez Galvan - 2014-03-03

Roland Melkert Wrote:3660 (inverse 2x2 45 deg slope?) should have info as I added info for all slopes, are you sure you upgraded all files and not just the main exe? The "shadow.sf" file should have a date of 27-02.

[...]

The "shadow.sf" seed file installs "offLibShadow.csl" which is just a zip archive you can unpack it anywhere, it has the same structure as the LDraw library but all the files hold only snap info. If you look at some of the existing files adding simple info to certain part shouldn't be a problem.

The problem was I have the final version installed in a different directory, but I copied over the configuration files, so it was reading the shadow information from the beta directory. Your answer also cleared up what these "shadow" directories mean Smile

It's working fine now, thanks!


Re: LDCad 1.3 (win+linux) - Ignacio Fernandez Galvan - 2014-03-05

Roland Melkert Wrote:

The selection information is showing less than 90 degrees for obtuse angles (instead of 112.5, it shows 67.5=180-112.5). Is this intentional?

[Image: snap1.png]


Re: LDCad 1.3 (win+linux) - Roland Melkert - 2014-03-05

It's on purpose, I intended it to always show the 'inner' angles.

Could make it an option though.


Re: LDCad 1.3 (win+linux) [bugrep req] - Roland Melkert - 2014-04-02

Hi all,

I fixed a couple of (minor) issues which are severe enough to release a 1.3a version this weekend or so.

But f anyone has found some additional bugs/problems please let me know so I can also fix those in that version.

I also made a new 4 min demo/tutorial concerning mpd usage (it seems to confuse lots of people Smile ), but it uses something that is buggy in the current 1.3 so I will post that when 1.3a is available.

If anyone would like to see some additional demo/feature being used in a video clip, again let me know.


Re: LDCad 1.3 (win+linux) - Jason Smith - 2014-05-26

Thanks for all your efforts Roland. I haven't had too much time to play but 1.3a feels super stable and more powerful. I'd like to build a little something when I have time.

Ubuntu 64 bit.