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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,050
» Latest member: Michał
» Forum threads: 5,508
» Forum posts: 47,381

Full Statistics

Online Users
There are currently 643 online users.
» 1 Member(s) | 637 Guest(s)
Applebot, Baidu, Bing, Google, Yandex, Philippe Hurbain

Latest Threads
2024/2025 LDraw.org Steer...
Forum: LDraw.org Announcements
Last Post: Max Martin Richter
2 hours ago
» Replies: 0
» Views: 25
Request for 102735
Forum: Part Requests
Last Post: Stephan den Ridder
Today, 4:56
» Replies: 3
» Views: 132
Wedgy-Slopes from '24 Spe...
Forum: Part Requests
Last Post: Ryan Hicks
Today, 0:12
» Replies: 4
» Views: 71
WeDo 2.0 electronics
Forum: Part Requests
Last Post: Philippe Hurbain
Yesterday, 18:39
» Replies: 22
» Views: 35,496
Part request: 50986pb003 ...
Forum: Part Requests
Last Post: Gerald Lasser
2024-04-21, 16:16
» Replies: 4
» Views: 430
Technic 1982
Forum: Official Models
Last Post: Takeshi Takahashi
2024-04-21, 14:37
» Replies: 13
» Views: 3,058
LPub3D and highlight step
Forum: General LDraw.org Discussion
Last Post: Leszek
2024-04-21, 10:01
» Replies: 0
» Views: 80
Creator 2023
Forum: Official Models
Last Post: Marc Giraudet
2024-04-20, 21:42
» Replies: 5
» Views: 553
Lego House - Lego Exclusi...
Forum: Official Models
Last Post: Marc Giraudet
2024-04-20, 17:21
» Replies: 2
» Views: 284
The Muppets CMF - 71033
Forum: Parts Authoring
Last Post: Fredrik Hareide
2024-04-20, 10:08
» Replies: 12
» Views: 1,807

 
  Writing .dat to .obj converter in JS, but having BFC problems
Posted by: Mike "Pomax" Kamermans - 2012-12-30, 20:16 - Forum: LDraw File Processing and Conversion - Replies (7)

I'm writing a .dat to .obj converter in JavaScript so I can do LEGO modelling using WebGL, and the following the documentation for data interpreting is pretty straight forward, except I'm gettting weird looking inverted faces when loading several parts.

So, I took part 75535 (technic pin joiner round) and commented off the parts after the initial two inner cylindrical surfaces. This turns it into the following extremely simple .dat file:

75535.dat reduced version Wrote:0 BFC CERTIFY CCW
0 BFC INVERTNEXT
1 16 18 0 0 0 -16 0 6 0 0 0 0 6 4-4cyli.dat
0 BFC INVERTNEXT
1 16 -18 0 0 0 16 0 6 0 0 0 0 6 4-4cyli.dat

They're both inner cylinders, with the same definition, so they should both face the same direction. However, one part faces inward (correctly) and the other part faces outward (incorrectly): http://www.int13h.com/webgl/matviewer/testParse.html (four meshes, twice, visualisation of this .obj definition is at http://www.int13h.com/webgl/matviewer for the duration of this thread)

Viewing the .dat file in LDView shows two cylinders, facing inward, so the .dat file is interpreted correctly by .dat readers. However, the converted .obj data is very wrong. Somehow my parser is screwing up, but at this point the only thing I can think of is that the RT matrix for the include operation is doing something really funky, flipping the vertices to effect a reversed winding or something. I'm kind of at my wits end, following the documentation is apparently not enough to interpet the .dat format... what am I still missing here?

- Pomax

N.B: parser code is in http://www.int13h.com/webgl/matviewer/DATParser.js

Print this item

  LDraw.org 2012-03 Parts Update Now Available
Posted by: Chris Dee - 2012-12-28, 18:12 - Forum: LDraw.org Announcements - Replies (14)

The 2012-03 LDraw Parts Update has been now been released. This update includes 564 new files in the core library, including 354 new parts and 56 new primitives.

As ever, thanks are due to the small community of part authors who created or corrected parts for this release and to those who have reviewed files in order to make this release happen.

You can preview the new parts in 2012-03 and download the update by going to the Latest Parts page.

Most of the 113 certified files remaining on the LDraw Parts Tracker were held back from this update in keeping with our normal practice of not releasing new primitives or subparts until they are needed for an official part file.

Print this item

  Parts Tracker
Posted by: Michael Heidemann - 2012-12-26, 18:36 - Forum: Website Suggestions/Requests/Discussion - Replies (6)

It would be very helpful if the PT reports in any case the occurence of a given filename in the official library such as:

Code:
However, 52031.dat does exist in the Official LDraw Parts library.

Today we get this information only if no entry on the PT matches the search criteria.

I would like to see this information if I enter a number with or without the extension.

Print this item

Thumbs Up Technic Action Figure Torso with Snowflake Logo and Red Stripes
Posted by: Ignacio Fernandez Galvan - 2012-12-26, 18:24 - Forum: Part Requests - Replies (4)

As seen here: http://www.peeron.com/inv/parts/2698c01px23

The snowflake logo can be found in 4215ap19. I could try to provide a better picture of the torso.

Print this item

  LSynth result dependent on absolute position
Posted by: Ignacio Fernandez Galvan - 2012-12-26, 15:16 - Forum: All Other Programs. - Replies (2)

Consider this simple file:

Code:
0 SYNTH BEGIN ELECTRIC_CABLE 7
0 SYNTH SHOW
1 1 40 10 0 0 1 0 -1 0 0 0 0 1 LS04.dat
1 1 10 0 0 0 1 0 -1 0 0 0 0 1 LS04.dat
1 1 0 0 0 0 1 0 -1 0 0 0 0 1 LS04.dat
0 SYNTH END

0 SYNTH BEGIN ELECTRIC_CABLE 7
0 SYNTH SHOW
1 1 40 10 500 0 1 0 -1 0 0 0 0 1 LS04.dat
1 1 10 0 500 0 1 0 -1 0 0 0 0 1 LS04.dat
1 1 0 0 500 0 1 0 -1 0 0 0 0 1 LS04.dat
0 SYNTH END

The two portions are exactly the same, the second is just displaced +500z. When processed with LSynth, however, the first portion generates only 24 lines, while the second generates 2911 lines!

I guess this is due to rounding errors and matrix transformations being referred always to (0,0,0), but can it be fixed (other than by splitting the code in two parts)?

Print this item

  Scrolling within ML CAD parts in Windows 7
Posted by: René Virsik - 2012-12-25, 12:18 - Forum: LDraw Editors and Viewers - Replies (11)

Hello,

at first I wish you all Merry Christmas and many nice CAD models in 2013 ! Wink
I'm new by Windows 7 but not new by ML CAD. Till today I used ML-CAD 3.20 on Windows XP. All worked perfect. Now I installed ML-CAD 3.40 on my new PC with Win7. When I go with mouse on graphic parts list on the left side I can't scroll with mouse scrolling key (on the top od the mouse) down and up between the parts. I can scroll only within the text list above the graphic list. Any idea where's the problem ?
Thanks.

Print this item

  Nomenclature for tyres
Posted by: Max Martin Richter - 2012-12-24, 14:20 - Forum: Parts Authoring - Replies (6)

Hej,
yesterday, I got a copy of the Power Pull set and just for fun I have looked into our library, if the BIG tyre is available. I found it, but it has an odd name.
I left a comment on the part's page. Steffen BFC'ed the file in the meantime - thanks for that.
Now I was looking for the right name. I checked the wiki and the old Lugnet entries.
And I found out, that our naming system is a bit chaotic (for me). Sometimes it is like the version in our wiki and sometimes it starts with the diameter (like on some Lego tyres). I have checked the rim for the tyre, too. Here it is the same. It doesn't correspond with the wiki.

And another thing: I have no idea, where I should do the measurement at the tyre. At the widest width, at the inside width (because it's a balloon), should I include the bead for the rim in the "percentage" measurement or not and and and.

It would be really great if we could find a way to describe this in a good way.


/Max

Print this item

  Merry Christmas
Posted by: Max Martin Richter - 2012-12-24, 10:02 - Forum: Off-Topic - Replies (6)

Hej,
I want to wish everybody in the LDraw community a Merry Christmas - especially to the admin, the programmers and the part authors.
I'm not sure where all these persons come from. So I write the main fact in the languages, from which I know, that somebody is participating here.

  • Merry Christmas
  • Joyeux Noël
  • God Jul
  • Vrolijk Kerstfeest
  • Buon Natale
  • Feliz Navidad
  • Fröhliche Weihnachten
and of course the language of the home country of TLG ;-)
  • Glædelig Jul


/Max

Print this item

  32168 Technic Arm Forked with Flexible Center and Ball Joint
Posted by: Michael Heidemann - 2012-12-23, 17:05 - Forum: Part Requests - No Replies

If someone is able to finish my work I am greatly happy. All what I have done so far is packed in this mpd content file.

I look currently through my system for non finished parts. If I find some (like this) I will post it here, so maybe someone else can finish that.



Attached Files
.mpd   32168 Technic Arm Forked with Flexible Center and Ball Joint.mpd (Size: 20.79 KB / Downloads: 1)
Print this item

Thumbs Up 4350c01: Electric 4.5V Battery Box 4 x 22 x 2 & 1/3
Posted by: Ignacio Fernandez Galvan - 2012-12-23, 10:09 - Forum: Part Requests - Replies (5)

Anyone willing to model this piece? http://www.peeron.com/inv/parts/4350c01 (and its companion http://www.peeron.com/inv/parts/x472)

I don't have this one, I've only seen it in the instructions for other models, as an extension pack (http://www.peeron.com/inv/sets/8700)

Print this item