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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,311
» Latest member: Sebastien Thomas
» Forum threads: 6,175
» Forum posts: 51,777

Full Statistics

Online Users
There are currently 273 online users.
» 0 Member(s) | 268 Guest(s)
Applebot, Bing, Google, Internet Archive, Yandex

Latest Threads
Fix for slightly incorrec...
Forum: Part Requests
Last Post: Huib Versteeg
3 hours ago
» Replies: 4
» Views: 639
A fresh list of "most com...
Forum: Part Requests
Last Post: tom alphin
8 hours ago
» Replies: 5
» Views: 344
Lego Town Racer 1996 - 63...
Forum: Official Models
Last Post: Chris Böhnke
Yesterday, 23:39
» Replies: 14
» Views: 1,767
Eyesight on Linux
Forum: Rendering Techniques
Last Post: Orion Pobursky
Yesterday, 18:56
» Replies: 12
» Views: 8,425
Another common varient: 1...
Forum: Part Requests
Last Post: Rene Rechthaler
2025-09-12, 14:51
» Replies: 8
» Views: 5,443
1Lx1Lx2L brick with studs...
Forum: Parts Authoring
Last Post: SNIPE
2025-09-12, 10:14
» Replies: 0
» Views: 533
LDraw Colors for OpenScad
Forum: LDraw Editors and Viewers
Last Post: Hageta
2025-09-12, 10:03
» Replies: 0
» Views: 476
Img4Dat integrated in LDP...
Forum: Parts Authoring
Last Post: Nils Schmidt
2025-09-11, 20:04
» Replies: 6
» Views: 918
TXT2DAT integrated in LDP...
Forum: Parts Author Tools
Last Post: Nils Schmidt
2025-09-11, 19:47
» Replies: 4
» Views: 1,005
Here is the raw version o...
Forum: Part Requests
Last Post: Peter Grass
2025-09-11, 4:39
» Replies: 2
» Views: 838

 
  Parts Tracker now supports long descriptions
Posted by: Chris Dee - 2013-08-08, 16:49 - Forum: LDraw.org Announcements - Replies (4)

The LDraw Parts Tracker has been updated to allow up to 200 characters in the line 1 part description.

There may be some knock-on impact on the display of the Parts List and Activity pages and I'll deal with those if they become a problem. If anyone sees any other problems, please let me know by posting here.

Print this item

  Misunderstanding transform (line type 1)
Posted by: Robert Baruch - 2013-08-07, 0:53 - Forum: LDraw File Processing and Conversion - Replies (2)

I think I'm misunderstanding something about the transform matrix for line type 1. Long story short, I've written a program to convert LDRAW files into something that threejs (3D library for JavaScript) can use, but I'm getting surfaces with the wrong normals, and it's not obvious what's going on.

So take a look at this line in p/stud.dat:

Code:
1 16 0 0 0 6 0 0 0 -4 0 0 0 6 4-4cyli.dat

And now p/4-4cyli, just the first quad:

Code:
4 16 1 1 0 0.9239 1 0.3827 0.9239 0 0.3827 1 0 0

So the vertices are (1,1,0) (0.9239,1,0.3827) (0.9239,0,0.3827) and (1,0,0). Plotting these out and assuming CCW winding shows that the normal faces outwards, as expected.


Proof for those who care: the first two vectors formed by the first three vertices are (-0.0761,0,0.3827) and (0,-1,0). Crossing the first vector by the second yields (0.3827,0,0.0761), a vector pointing positive along x and z.


Now, the transformation matrix in stud.dat transforms the vertices in 4-4cyli by scaling the x-axis by 6, the y-axis by -4, and the z-axis by 6. Unfortunately, scaling the y-axis by -4 reverses the sense of the face, and now its normal points inward.


Again, proof for those who care: the transformation matrix is
Code:
6  0 0 0
0 -4 0 0
0  0 6 0
0  0 0 1

Applying this to the first vertex:
Code:
6  0 0 0    1    6
0 -4 0 0 x  1 = -4 = (6,-4,0)
0  0 6 0    0    0
0  0 0 1    1    1

So the first three vertices transformed are (6,-4,0) (5.5434,-4,2.2962) and (5.5434,0,2.2962).

The vectors formed by these vertices are (-0.4566,0,2.2962) and (0,4,0). Crossing the first by the second yields (-9.1848,0,-1.8264): a vector pointing along the negative x and z axes.


The order of the vertices has not changed, but since y was inverted, the orientation of the face has changed. This means that stud.dat has an inward-facing cylinder, but a disc pointing in the -y direction, which is weird. But is this correct? If so, I'm not sure how stud.dat is supposed to display anything properly...

Print this item

  Error with the official parts restrictions spec?
Posted by: Santeri Piippo - 2013-08-06, 20:39 - Forum: Parts Authoring - No Replies

http://www.ldraw.org/article/512.html

' Wrote:Currently, all official parts are issued with upper-case only names.

..?

Print this item

  LDview and batch processing ldraw parts
Posted by: Petter Lerdahl - 2013-08-05, 20:32 - Forum: LDraw Editors and Viewers - Replies (4)

I trying to create some part pictures with a batch file i found on holly-wood.it
This is my second attept and it got a bit better. First i did not get any result but now i got a few pictures before it poped up with an old friend "Ldview need to close". This on my best computer (12 GB memory 3,2 quad core Intel running win 7 64 bit, ATI radon HD 68xx ) with the setting in Ldview on memory usage to low.
The batch was all parts from 3001.dat to 3089.dat. Since i got the same problem with Ldview need to close on my first attemt also, so i shorted the number off parts it needed to process. When it had processed 3004pt6.dat it stopped with the message and pressing cansel let it go on but did not create any pictures and it poped up on and on.

Print this item

Thumbs Up Is anybody working on part 32489?
Posted by: Fyodor Kolov - 2013-08-04, 7:40 - Forum: Part Requests - Replies (3)

Hello.
Is anybody working on this part? If not, then i am trying to improve this part.
32489

Print this item

  first created part
Posted by: Remco Canten - 2013-08-03, 21:54 - Forum: Parts Authoring - Replies (3)

im just figuring out how to build things and keeping how to build as a guide line.
Just finished a 1*1 block and just showing my first creation. always start something small and simple before going for a complex one. can anyone add comment and know how to get rid of:
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0

it keeps getting there after i save in MLCad.



Attached Files
.dat   blokje.dat (Size: 569 bytes / Downloads: 0)
Print this item

  BrickPad 2.2.4 is available...
Posted by: Ken Drew - 2013-08-03, 1:25 - Forum: LDraw Editors and Viewers - No Replies

BrickPad 2.2.4 is available...

It has been a long time coming but:

- Handle LDraw COLOUR commands in models.
- Handle incoming files with the same name as an existing file differently.
- Ability to not display edge lines.
- When not displaying lines, use seams between parts.
- LDraw parts library is now in zipped format.
- Gallery view of models.
- Dropbox folder support.
- Updated 3rd party tools/code/frameworks.
- Fixed a bug where color codes 75, 76, 132, 133 had 0 alpha values
- Fixed a bug where parts using direct colors didn't have the image displayed in the parts list
- Other various bug fixes.

Print this item

  Trouble with adding new primitives.
Posted by: Jude Parrill - 2013-08-02, 23:38 - Forum: Parts Authoring - Replies (14)

OK, so I've been working on some new primitives called stud4c, stud4c1, stud4c2a, stud4c2p, and stud4c3 (all .dats). Now, I have tried to insert these into a part, but keep coming back with the same error. Every time MLCad comes back with "File stu24c*.dat not found! Continue loading?" For some reason, MLCad keeps changing the "d" in "stud" to "2", for each of these files, and I have no idea why.

Here's what's interesting though, if I press "Yes" to continue loading, a bounding box that appears to be the correct size shows up, but with no geometry inside. I've tried changing it's color, but it still doesn't show up.

For the record, I have the primitives located both in the same directory as the file I'm editing as well as in the "p" directory.

I've checked the file name, the "Name" part of the header in the files, and name on line in the file a dozen times each. They are all correct. Why won't these load properly?

Print this item

  DATHeader 3.0.11.0
Posted by: Michael Heidemann - 2013-07-31, 10:16 - Forum: Parts Author Tools - Replies (7)

I just released DATHeader version 3.0.11.0.

This version of DATHeader accept files send by the new LDFind (version 1.3.2.0).

http://ldraw.heidemann.org/index.php?page=datheader

Print this item

  LDFind 1.3.2.0
Posted by: Michael Heidemann - 2013-07-31, 10:14 - Forum: All Other Programs. - Replies (1)

I just released version 1.3.2.0.

With the also updated DATHeader (now version 3.0.11.0) LDFind is now able to interact.
If you have a file in LDFind you can open that file by only one click in DATHeader.

I hope you like this tiny change.

http://ldraw.heidemann.org/index.php?page=ldfind

Print this item