LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware + Lego, anyone? (https://www.linuxquestions.org/questions/slackware-14/slackware-lego-anyone-758918/)

ppr:kut 10-05-2009 01:19 AM

Might have a look at klotz as well :)

niels.horn 10-05-2009 06:39 AM

Quote:

Originally Posted by ppr:kut (Post 3707976)
Might have a look at klotz as well :)

I remember reading about klotz (about a year ago?) substituting kldraw, but never heard about it since...
Do you have a link to more recent info?

ppr:kut 10-05-2009 07:11 AM

no, not really. But I follow kde's playground (that's where you find the code currently) and there were some updates since then. Though probably not as many as the developer thought there would be.

niels.horn 10-05-2009 07:51 AM

ok... I found some screenshots of kldraw / klotz and it looks nice.
I hope the author continues this project!

niels.horn 10-06-2009 05:38 AM

For those who like POV-Ray, I can tell that it builds fine under Slackware 13.0, both 32 & 64-bits versions.
The SlackBuild is in the pending queue already.
The 64-bits version is very fast :)

My idea is to build a complete working environment for the Lego enthusiasts:
- the pieces library from ldraw.org (finished)
- a "CAD"-like design program (still trying to get LeoCAD working on 64-bits :()
- a 3D-viewer (LDView is working)
- a tool to convert the drawings / constructions to .pov files (trying a few still :study:)
- POV-Ray to create the 3D-imaging (working fine)
- a nice GUI tool for POV-Ray (trying a few options :study:)

niels.horn 10-11-2009 11:09 AM

1 Attachment(s)
Finally got LeoCAD working fine on Slackware64 :)

I have a complete set of software now:
- the pieces library from ldraw.org
- LeoCAD (+ pieces) to create the constructions
- LDView as a nice viewer
- l3p to convert to POV-Ray
- POV-Ray to create spectacular images
- xpe (neXtgen Povray Editor) to edit / fine-tune the .pov files

Packages for all programs are available on my site and the SlackBuilds have been submitted to SlackBuilds.org

As a teaser a thumbnail of LeoCAD running on Slackware64:

brianL 10-11-2009 11:29 AM

I never had Lego when I was a kid, so I might start playing with it on Slack now I'm in my second childhood. :)

niels.horn 10-11-2009 11:37 AM

Quote:

Originally Posted by brianL (Post 3715522)
I never had Lego when I was a kid, so I might start playing with it on Slack now I'm in my second childhood. :)

I don't know about your age, but I think I never left my first childhood :D

brianL 10-11-2009 11:44 AM

Quote:

Originally Posted by niels.horn (Post 3715528)
I don't know about your age, but I think I never left my first childhood :D

That's what some people say about me. :)

MysticalGroovy 10-11-2009 01:54 PM

ahh just a question..
i actually remember myself spending hours on building lego stuff years ago and i think that lego is an awesome thing for kids to imagine and create their own toys easy

but.. wheres the point on having a software which creates 3d lego designs?

niels.horn 10-11-2009 03:23 PM

Well... Here are a few points...
- you'll get less blisters on your fingers (and believe me, I had many from building with Lego)
- you can carry everything with you while traveling
- you have an unlimited supply of pieces

And some more practical reasons:
When you create something nice with Lego, you probably want to show it to the world. Nowadays everyone can take digital pictures, but to get good quality close-up scenes is not easy (not everyone is a professional photographer).
To show your creation on the internet, with building instructions, you can use one of the CAD programs that can even generate HTML pages automatically.
To get superb quality "pictures", you can use a ray-tracing program like POV-Ray or equivalent.

If I have the time (rare commodity...) I'll write up something on my site or blog to show how all this is done.

Hope I answered your question! :)

giberg 10-11-2009 06:19 PM

Quote:

Originally Posted by niels.horn (Post 3715504)
- LeoCAD (+ pieces) to create the constructions
[...]
Packages for all programs are available on my site and the SlackBuilds have been submitted to SlackBuilds.org

Hi Niels,

the file leocad_pieces in your site seems to be corrupted:
Code:

root@darkstar:/home/gianni# installpkg Downloads/leocad_pieces-3074-noarch-1_nhh.tgz
Verifying package leocad_pieces-3074-noarch-1_nhh.tgz.

gzip: stdin: unexpected end of file
Unable to install Downloads/leocad_pieces-3074-noarch-1_nhh.tgz:  tar archive is corrupt (tar returned error code 2)

I tried to download it again (maybe something went wrong) but it returns the same error.

niels.horn 10-11-2009 06:37 PM

@gilberg: OK, I just noticed that it is incomplete. Something must have gone wrong while rsync'ing the files from my development server.
This package should be ~14MB in size and it is only ~10MB on the web server.

I am not at home now, but I will check & correct later tonight.

Thanks for telling me!

niels.horn 10-11-2009 07:54 PM

@giberg: Should be fixed now... I uploaded the file manually.

giberg 10-12-2009 12:34 PM

It works! Thanks!


All times are GMT -5. The time now is 07:35 PM.