| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 225 online users. » 1 Member(s) | 220 Guest(s) Baidu, Bing, Google, Yandex
|
| Latest Threads |
4175 part depth appears t...
Forum: Parts Authoring
Last Post: Evert-Jan Boer
2 hours ago
» Replies: 1
» Views: 43
|
Discussion - proposal to ...
Forum: Official File Specifications/Standards
Last Post: N. W. Perry
11 hours ago
» Replies: 60
» Views: 6,764
|
Animal minifigure heads l...
Forum: Part Requests
Last Post: Timothy Hall
Today, 3:41
» Replies: 20
» Views: 17,122
|
Parts request, set 42224,...
Forum: Part Requests
Last Post: Alfred Schmitz
Yesterday, 17:11
» Replies: 2
» Views: 167
|
Technic 1993
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 10:10
» Replies: 4
» Views: 7,451
|
2026/2027 LDraw.org Steer...
Forum: LDraw.org Announcements
Last Post: Takeshi Takahashi
Yesterday, 9:55
» Replies: 50
» Views: 6,530
|
Parts request 7656, 7658 ...
Forum: Part Requests
Last Post: Alfred Schmitz
Yesterday, 9:17
» Replies: 4
» Views: 558
|
New Community System Soon...
Forum: All Other Programs.
Last Post: Demetree Kallergis
2026-02-27, 14:04
» Replies: 8
» Views: 426
|
4.5L technic axle and new...
Forum: Part Requests
Last Post: Gerald Lasser
2026-02-27, 13:29
» Replies: 7
» Views: 975
|
2026 - New Parts -> Raw M...
Forum: Part Requests
Last Post: Gerald Lasser
2026-02-27, 10:50
» Replies: 2
» Views: 1,432
|
|
|
| ldr-stepper |
|
Posted by: Christopher Hiller - 2015-09-16, 4:29 - Forum: LDraw File Processing and Conversion
- No Replies
|
 |
Hi,
I've written a little JavaScript to break an .ldr file into steps (assuming it has none): ldr-stepper
It sorts an .ldr file's pieces by an axis (x, y [default], or z) in ascending order. You can choose to split the file into n pieces per step, or m total steps.
The output can be a reasonable place to start breaking your model into steps. I wrote this for a 375-piece model, so YMMV.
No other heuristics are performed. If anyone has any suggestions to improve the algorithm, or finds this useful, please let me know! You can reply here or file an issue on the GitHub.
For those unfamiliar with NodeJS, just follow the instructions in the README. Please let me know if you have issues--I've heard NodeJS is better on Windows if you run cygwin.
Chris
|
|
|
| brick snapping |
|
Posted by: Christopher Hiller - 2015-09-16, 3:56 - Forum: LDraw Editors and Viewers
- Replies (3)
|
 |
Is there a general-purpose brick-snapping algorithm published anywhere?
I have some ideas around computer-generated LEGO models, and things would be much easier if I didn't have to figure it out myself.
Chris
|
|
|
| Lower-casing the library |
|
Posted by: Philippe Hurbain - 2015-09-15, 9:45 - Forum: Official File Specifications/Standards
- Replies (16)
|
 |
My attention was drawn to this topic by a post by Sylvain Sauvage on LeoCAD list:
Code: I just realized that Leocad tries to open “ldconfig.ldr”.
The problem is the file is named “LDConfig.ldr” so it’s not
found on case-sensitive filesystems (that means about every
decent FS ;o).
Not a big problem as the default color palette is up to date
but, still, worth knowing IMHO.
Code: [quote]
I thought all files in the LDraw library were supposed to be lower case.
[/quote]
Parts files and directories are. LDConfig.ldr isn’t. (And .txt files aren’t either.)
I didn’t find any reference to case sensitivity in the LDR file format. I only found that for the Official Library
(http://www.ldraw.org/article/512.html):
“While both upper and lower case letters are permitted in filenames, filenames are case-insensitive. Currently, all
official parts are issued with upper-case only names.”
and that is contradicted by the fact that the ZIP file uses lower-case only names.
Plus, “internally,” the library isn’t consistent, .dat files refer to others as:
— low.dat
— UP.DAT
— UP.dat
— low.DAT
— and a few have MiXeD-cAsE references
I think we should do something to clean up this in library, and also correct article 512...
|
|
|
| Part 272.dat |
|
Posted by: Michael Horvath - 2015-09-08, 16:57 - Forum: Parts Authoring
- Replies (5)
|
 |
Can this part connect flush on a baseplate? I am looking at the bottom and there does not seem to be room for every stud. Compare to part 3943a.dat which does connect well on a baseplate (I think).
|
|
|
| LICreator 2.0.039 |
|
Posted by: Jarema - 2015-09-07, 20:36 - Forum: LDraw File Processing and Conversion
- Replies (5)
|
 |
Go to https://github.com/Jeremy1980/licreator and try new release. This compilation is under Python v2.7.8 and newest PyOpenGL libraries.
Changes related to previous 2.0.016 version Wrote::: Can change layout orientation for selected pages in one time
:: Can remove empty|blank pages automatically
:: Can expand only children of selected node in tree view
:: Change tool bar icon size to 18 pixels
:: Re-grouped tool bar actions
:: Lock icon use SmoothTransformation and ItemIgnoresTransformations flags now
:: Layout orientation actually remember in undo stack
:: For more look into changelog.txt
Usage of this version of build.py - windows|OSX only:
On windows use now PYTHONHOME environment variable, and probably you can build this with command line outside Eclipse.
In example put as value 'C:\Python 27' for %PYTHONHOME%.
In next download and install Microsoft Visual C++ Compiler for Python 2.7
Install Python 2.7.8 and dependencies:- setuptools-18.3.1
- pyinstaller-2.1
- PIL-1.1.7.win32-py2.7
- PyOpenGL-3.1.0.win32
- PyQt4-4.10-gpl-Py2.7-Qt4.8.4-x32
- pywin32-219.win32-py2.7
and run build.py. Any response is welcome.
I need some from this forum with more that basic knowledge about LINUX operating system who test his just run LIC.py and return result.
|
|
|
| Modelling the inside of parts |
|
Posted by: Ronald Vallenduuk - 2015-09-07, 16:20 - Forum: Parts Authoring
- Replies (3)
|
 |
Under what circumstances and to what extent should the inside of a part be modelled?
The reason I'm asking this is that I'm working on the PF Track points and their 9V counterparts have the entire inside detailed in the part; the bottom cover is a complete part and everything below it is modelled too.
Personally I don't see any use or need for these details. That bottom cover is not intended to be removed and I'd say 99% of owners never have and never will.
In comparison, for example the PF motors don't have their insides modelled; the shell components are only drawn as far as they can be seen without disassembling the part.
Are there rules or guidelines about this? My intention would be to build the track points like the PF motors; only model what you can see. This would also affect the Monorail track switch that's being discussed elsewhere.
|
|
|
|