Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,003
» Latest member: Vaillancourt
» Forum threads: 5,997
» Forum posts: 50,727

Full Statistics

Online Users
There are currently 2204 online users.
» 3 Member(s) | 2196 Guest(s)
Applebot, Baidu, Bing, Facebook, Google, Gerald Lasser, N. W. Perry, Rene Rechthaler

Latest Threads
File paths in various pro...
Forum: LDraw Editors and Viewers
Last Post: N. W. Perry
11 minutes ago
» Replies: 0
» Views: 4
Friends Animal Series
Forum: Official Models
Last Post: Takeshi Takahashi
4 hours ago
» Replies: 21
» Views: 5,590
May stud2 be used for oth...
Forum: Parts Authoring
Last Post: Peter Blomberg
Today, 9:45
» Replies: 2
» Views: 144
Make Part 45590 Flexible
Forum: Parts Authoring
Last Post: Gerald Lasser
Yesterday, 21:41
» Replies: 4
» Views: 242
am i doing this right?
Forum: Parts Authoring
Last Post: Jeff Jones
Yesterday, 19:53
» Replies: 0
» Views: 77
Looking for easy parts to...
Forum: Parts Authoring
Last Post: Peter Blomberg
Yesterday, 19:46
» Replies: 0
» Views: 76
ConvertToLDraw Version 1....
Forum: LDraw File Processing and Conversion
Last Post: Hageta
Yesterday, 16:21
» Replies: 1
» Views: 462
Duplo 31070
Forum: Parts Authoring
Last Post: Peter Blomberg
Yesterday, 10:29
» Replies: 3
» Views: 217
Request for parts 2438pb0...
Forum: Part Requests
Last Post: Vito Tarantini
2025-05-12, 18:56
» Replies: 0
» Views: 108
Friends Fawn 13393
Forum: Part Requests
Last Post: Takeshi Takahashi
2025-05-12, 16:16
» Replies: 6
» Views: 799

 
  LDraw to Web
Posted by: Nick McBride - 2011-09-09, 19:32 - Forum: LDraw File Processing and Conversion - Replies (15)

Hi- I've been working on a converter to take ldraw dat files and parse them so they can be displayed in 3d in a canvas element on any web page. So far, I've had no problem doing this with any single parts (it works great), but I'm having trouble with assemblies (single dat files, with other referenced dat files). What's tripping me up is the 3d transformations.

I'm trying to understand the calculations that are at: http://www.ldraw.org/Article218.html#lt1


In the calculation:
u' = (a * u) + (b * v) + (c * w) + x;
v' = (d * u) + (e * v) + (f * w) +y;
w' = (g *u) + (h * v) + (i * w) + z;

Is u, v, and w the X, Y, Z coords of the vertices that we're transforming under the part itself, and the x, y, z come from the line type 1, where it gives the origin of the entire part?

My results that I seem to be getting are somewhat of a smeared part in one direction. This tells me that some of the vertices are transforming, but not all. I just need to double check that I'm doing this in the correct order.

Print this item

  This forum through Netvibes
Posted by: Philippe Hurbain - 2011-09-08, 12:38 - Forum: Website Suggestions/Requests/Discussion - No Replies

I've made a Netvibes pages to follow this forum (using RSS feeds). I personnally find this much more convenient to see what happens here, but of course your mileage may vary... Anyway, I made this page public, you may have a look here: http://www.netvibes.com/philohome#LDraw

It is also significantly faster to consult than the forum, with a drawback - there is a delay between new posts and RSS flux change.

Print this item

  OMR Spec - Official Submission to the LSC
Posted by: Orion Pobursky - 2011-09-08, 6:31 - Forum: Parts Authoring - Replies (23)

LSC,

Below is the final working draft of the OMR Spec submitted for your approval. As a request I would ask that if you significantly change the wording of this draft, please resubmit for public comment.

--
The Offical Model Repository Specification
Version: 1.0.0 Draft
Ratified: XX/XX/XXXX
Author: Orion Pobursky

Purpose:
--------
The Official Model Repository (OMR) is a database of file in the LDraw File Format describing models that are released as sets by LEGO®.

For consistency between models and ease of indexing by software, a standard for the file headers, names, and hierarchy in the OMR is needed. This document will outline the extra requirements (in addition to those set forth in the current LDraw File Format specification) for a model to be included in the OMR

Base Requirements:
------------------
All files in the model will conform to the current LDraw File Format

Base File Naming:
-----------------
Each model in the OMR will consist of several files that are packaged together into a single MPD file. For sets that include instructions for multiple models, each model will have its own MPD file. Each MPD for the set will be named in the following manner:

<Set Number> - <Set Name> - <Sub Model Name>

Where:
<Set Number>: the number assigned on the container of the set
<Set Name>: The name of the set printed on the container in Australian English
<Sub Model Name>: This is Optional in most cases. This is required for alternate models that are detailed in instructions (e.g. the Creator theme). In this case the naming is left to the discretion of the author but should be descriptive of the model contained in the MPD.

For playsets or other sets where there are multiple models that are part of an integral whole, all of the submodels will be contained in one MPD.

Example:
The creator set 4896 - Roaring Roadsters has 3 models in the instructions:
Set 4896 - Roaring Roadsters - Roadster.mpd
Set 4896 - Roaring Roadsters - Dragster.mpd
etc...

MPD File Structure
-------------------
The MPD will conform to the MPD File Specification.

Each filename will have the structure:
<Set Number> - <Optional Qualifier> - <Individual filename>
Where:
<Set Number> is the the number printed on the model's container
<Optional Qualifier> is a sequential number, starting with 1, added if there are more than one sets that could be assigned <Set Number>.
<Individual filename> is up to the discretion of the author with the following guidance:
- A logical naming scheme is highly desired.
- Individual models in the set (e.g. a vehicle or minifig) shall have their own separate file inside the MPD.
- Minifig file name should have the name of the character, if known

The unofficial parts are allowed to be used. The filename of the unofficial part is subject to the naming rules above (e.g. 33056.dat would be renamed to <MPD Filename> - 33956.dat). It is highly encouraged that any parts created for use in a OMR file be submitted to the LDraw.org Parts Tracker.

If a part is unavailable either officially or on the LDraw.org Parts Tracker, a suitable substitution may be made. If the unavailable part is a patterned part with an unpatterned version available use the unpatterned version. A comment should be inserted stating that a substitution has been made or, if no substitution is available/suitable, that a piece has been omitted. Reference the step and page number of the instructions if possible.

Example:
0 // The next piece should have the Star Wars Hatch pattern per step X on page Y
or
0 // Bionicle piece X should go here per step Y on page Z

File Headers
-------------
Each individual model file in the MPD must have a standard header format.

Standard Header:
0 FILE <Filename>.ldr
0 <Individual filename>
0 Name: <Filename>.ldr
0 Author: <Author Name> [Username]
0 !LDRAW_ORG Model -OR- 0 !LDRAW_ORG Unofficial_Model
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 !THEME Theme name
0 !KEYWORDS words, more words,…,
0 !KEYWORDS words in second row, …, final words

0 !HISTORY YYYY-MM-DD [Username] Free text description of change. This can wrap to a
0 !HISTORY YYYY-MM-DD [Username] second row with the same date if necessary. However authors should lean toward writing longer
0 !HISTORY YYYY-MM-DD [Username] single !HISTORY lines(and not feel constrained to the historic 80-character limit on line length)

Where:
<Filename>: The name of the file using the rules specified in the MPD File Structure section
<Individual filename>: The name of the individual file using the rules specified in the MPD File Structure section
<Author Name>: The name of the author. Real full names (first and last) are required by the LDraw.org Contributer's Agreement
[Username]: The LDraw.org username of the author
Optional commands are !THEME, !KEYWORDS, and !HISTORY

Example:
0 FILE 4896 - Roadster Main.ldr
0 Roadster Main
0 Name: 4896 - Roadster Main.ldr
0 Author: Joe Smith [jsmith]
0 !LDRAW_ORG Unofficial_Model
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 !THEME Creator
0 !KEYWORDS car, convertible

0 !HISTORY 2011-08-01 [jsmith] Initial creation

META commands:
--------------
All META commands are allowed in the model file but not specifically required except as specified for the header. If included, any META commands used should enable any instructions generated to be as close to the official instructions as possible.

Print this item

  LSynth and MLCAD not happy.
Posted by: Jason Smith - 2011-09-08, 6:18 - Forum: LDraw Editors and Viewers - Replies (31)

I need help guys, LSynth will not work for me and I have spent that last 4hrs going around in circles.

Windows 7/64bit
MLCAD 3.30
LSynth 3.1
Everything installed in the typical locations
mlcad.ini file set correctly

I have everything and I mean everything exactly as is written in holly-woods tutorial. When trying to run LSynth the command console (system32\cmd.exe) says the following, 'C:\Users\J' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified. I had to take video of the console pop up and slow it down and freeze it to see what it says. I also get the first pop up shown on holly-woods troubleshooting page. I DO have the correct path set in the ini file though so this is what's confusing me!! I even set the wrong path and it took away the ability to even add a LSynth command in MLCAD, so MLCAD is reading the ini. I'm not getting any of the other errors so I don't know. any help would be greatly appreciated, thanks.

Print this item

  Problem with Conditional Lines
Posted by: Gerald Lasser - 2011-09-07, 16:31 - Forum: LDraw File Processing and Conversion - Replies (1)

Hello,

I have been using different versions of LPUB and LDview in the past without
issues.

Also the most recent ones, LPub V4.0.0.11 along with LDView 4, were working in
the past (till 2 month ago) without issues.

Now I tried to render another Instruction and I got all the conditional lines in
the instructions.

I tried several settings in LDView before launching LPUB to switch off the
Contitional Lines.

I tried LDView from the commandline by myself to see when I can force the
Conditional lines, I succeeded with "-ConditionalHighlights=1"

Now I went through the code of LPUB on Sourceforge and I saw in the rendering
part that indeed this "-ConditionalHighlights=1" is set.

This made me really confused because I installed LPUB ...11 quite some time back
and then it was working fine... no other reinstall in the meantime...

Can anyone help me with this issue?

Thanks a lot!


Gerald

Print this item

  LDraw Parts Tracker now uses LDView
Posted by: Philippe Hurbain - 2011-09-07, 14:59 - Forum: Website Suggestions/Requests/Discussion - Replies (5)

Chris Wrote:I am pleased to announce that the LDraw Parts Tracker has been updated to render its images using LDView, instead of ldglite.
Thanks to Travis Cobbs for building a version of LDView on the server and to Don Heyse for all his previous support for ldglite.
Is it expected that silver color (80) looks so desperately black here http://www.ldraw.org/cgi-bin/ptdetail.cg...336p36.dat or here http://www.ldraw.org/cgi-bin/ptdetail.cg...336p35.dat ?

Philo

Print this item

  Consolidating Forums
Posted by: Orion Pobursky - 2011-09-06, 12:03 - Forum: Website Suggestions/Requests/Discussion - Replies (3)

So after a month and a half or so of the new forums, I have a feel for how the discussion is going. Due to relatively low usage I think that the MLCad, SR 3D Builder, Bricksmith, and LDView forums should be combined into one: LDraw Viewers and Editors. LPub can stay since it's the only instruction generating program and I think it would be inappropriate to lump into the All Other Programs forum.

Thoughts? Objections?

Print this item

  Looking for parts 45179, 64699 and 64225
Posted by: Daniel - 2011-09-06, 5:26 - Forum: Parts Authoring - Replies (8)

I'm trying to find the files for 64225 (Peeron link). There is a similar part already in LDraw (part 47753), that's 4x4. I'm looking for the 4x3. Peeron has a rendered image for it, so I'm sure someone's made one, just don't know where to find it.
I'm also looking for the foldable box/playset base (Peeron link). Peeron doesn't have that one rendered yet. And for the ramp from the Bridge Chase set (Peeron link).
I'm trying to make the cars and sets from the Tiny Turbos line. I'd love to see more stickers, but I totally understand the issues involved in making those. :-)
Thanks in advance for anything anyone can do to help me with these.
-Daniel

Print this item

  LDD-derived parts
Posted by: Travis Cobbs - 2011-09-04, 17:42 - Forum: Standards Board - Replies (5)

Chris Dee asked me to bring up something that was brought to his attention by Magnus Forsburg.

Magnus Forsburg Wrote:Hello Chris,

I have seen a lot of parts extracted from LDD recently. Do/Should we have a policy on how to give credit to TLG on these parts?

Maybe all should have to have a History line like this:

0 HISTORY 20??-??-?? {LEGO Digital Designer} Original part shape
0 !HISTORY 20??-??-?? [UserName] File preparation for LDraw Parts Tracker

Do I dare publish this part, before it exists in any of LEGO's official sets?

/
Magnus

I agree that there should be something in the parts to indicate the origin of their base geometry. I would think that the same type of thing should be done with LEGO Universe-derived parts.

Print this item

  OMR File Spec - Updated 9/4
Posted by: Orion Pobursky - 2011-09-04, 3:30 - Forum: Parts Authoring - Replies (4)

The Offical Model Repository Specification
Version: 0.6 (will turn 1.0.0 upon ratification by the LSC)
Author: Orion Pobursky

Purpose:
--------
The Official Model Repository (OMR) is a database of file in the LDraw File Format describing models that are released as sets by LEGO®.

For consistency between models and ease of indexing by software, a standard for the file headers, names, and hierarchy in the OMR is needed. This document will outline the extra requirements (in addition to those set forth in the current LDraw File Format specification) for a model to be included in the OMR

Base Requirements:
------------------
All files in the model will conform to the current LDraw File Format

Base File Naming:
-----------------
Each model in the OMR will consist of several files that are packaged together into a single MPD file. For sets that include instructions for multiple models, each model will have its own MPD file. Each MPD for the set will be named in the following manner:

<Set Number> - <Set Name> - <Sub Model Name>

Where:
<Set Number>: the number assigned on the container of the set
<Set Name>: The name of the set printed on the container in Australian English
<Sub Model Name>: This is Optional in most cases. This is required for alternate models that are detailed in instructions (e.g. the Creator theme). In this case the naming is left to the discretion of the author but should be descriptive of the model contained in the MPD.

For playsets or other sets where there are multiple models that are part of an integral whole, all of the submodels will be contained in one MPD.

Example:
The creator set 4896 - Roaring Roadsters has 3 models in the instructions:
Set 4896 - Roaring Roadsters - Roadster.mpd
Set 4896 - Roaring Roadsters - Dragster.mpd
etc...

MPD File Structure
-------------------
The MPD will conform to the MPD File Specification.

Each filename will have the structure:
<Set Number> - <Optional Qualifier> - <Individual filename>
Where:
<Set Number> is the the number printed on the model's container
<Optional Qualifier> is a suqential number, starting with 1, added if there are more than one sets that could be assigned <Set Number>.
<Individual filename> is up to the discretion of the author with the following guidance:
- A logical naming scheme is highly desired.
- Individual models in the set (e.g. a vehicle or minifig) shall have their own separate file inside the MPD.
- Minifig file name should have the name of the character, if known

The unofficial parts are allowed to be used. The filename of the unofficial part is subject to the naming rules above (e.g. 33056.dat would be renamed to <MPD Filename> - 33956.dat). It is highly encouraged that any parts created for use in a OMR file be submitted to the LDraw.org Parts Tracker.

If a part is unavailable either officially or on the LDraw.org Parts Tracker, a suitable substitution may be made. If the unavailable part is a patterned part with an unpatterned version available use the unpatterned version. A comment should be inserted stating that a substitution has been made or, if no substitution is available/suitable, that a piece has been omitted. Reference the step and page number of the instructions if possible.

Example:
0 // The next piece should have the Star Wars Hatch pattern per step X on page Y
or
0 // Bionicle piece X should go here per step Y on page Z

File Headers
-------------
Each individual model file in the MPD must have a standard header format.

Standard Header:
0 FILE <Filename>.ldr
0 <Individual filename>
0 Name: <Filename>.ldr
0 Author: <Author Name> [Username]
0 !LDRAW_ORG Model -OR- 0 !LDRAW_ORG Unofficial_Model
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 !THEME Theme name
0 !KEYWORDS words, more words,…,
0 !KEYWORDS words in second row, …, final words

0 !HISTORY YYYY-MM-DD [<Author Name>] Free text description of change. This can wrap to a
0 !HISTORY YYYY-MM-DD [<Author Name>] second row with the same date if necessary. However authors should lean toward writing longer
0 !HISTORY YYYY-MM-DD [<Author Name>] single !HISTORY lines(and not feel constrained to the historic 80-character limit on line length)

Where:
<Filename>: The name of the file using the rules specified in the MPD File Structure section
<Individual filename>: The name of the individual file using the rules specified in the MPD File Structure section
<Author Name>: The name of the author. Real full names (first and last) are required by the LDraw.org Contributer's Agreement
[Username]: The LDraw.org username of the author
Optional commands are !THEME, !KEYWORDS, and !HISTORY

Example:
0 FILE 4896 - Roadster Main.ldr
0 Roadster Main
0 Name: 4896 - Roadster Main.ldr
0 Author: Joe Smith [jsmith]
0 !LDRAW_ORG Unofficial_Model
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 !THEME Creator
0 !KEYWORDS car, convertible

0 !HISTORY 2011-08-01 [Joe Smith] Initial creation

META commands:
--------------
All META commands are allowed in the model file but not specifically required except as specified for the header. If included, any META commands used should enable any instructions generated to be as close to the official instructions as possible.

Print this item