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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,416
» Latest member: ChrisSchick
» Forum threads: 6,244
» Forum posts: 52,209

Full Statistics

Online Users
There are currently 273 online users.
» 2 Member(s) | 267 Guest(s)
Baidu, Bing, Google, Yandex, Philippe Hurbain

Latest Threads
Keywords and invalid 0 li...
Forum: Parts Tracker Discussion
Last Post: Peter Blomberg
11 hours ago
» Replies: 3
» Views: 56
Friends 2025
Forum: Official Models
Last Post: Philippe Hurbain
Yesterday, 19:24
» Replies: 1
» Views: 150
Technic 1990
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 15:05
» Replies: 14
» Views: 18,159
Minifigure Head MINI HEAD...
Forum: Part Requests
Last Post: Philippe Hurbain
Yesterday, 15:04
» Replies: 3
» Views: 126
Sorting by date
Forum: Website Suggestions/Requests/Discussion
Last Post: Peter Blomberg
2025-11-01, 10:22
» Replies: 5
» Views: 262
Parts request , spider we...
Forum: Part Requests
Last Post: Peter Grass
2025-10-31, 11:23
» Replies: 1
» Views: 137
Part 4070 differences in ...
Forum: Parts Authoring
Last Post: Peter Grass
2025-10-31, 10:58
» Replies: 7
» Views: 305
Empty file with MLCad
Forum: Parts Authoring
Last Post: Orion Pobursky
2025-10-30, 0:20
» Replies: 2
» Views: 198
Duplo parts not yet in LD...
Forum: Part Requests
Last Post: Peter Grass
2025-10-29, 9:46
» Replies: 16
» Views: 2,151
Part Request Minifigure B...
Forum: Part Requests
Last Post: San
2025-10-29, 2:49
» Replies: 2
» Views: 235

 
  SNOT road generator help
Posted by: Michael Horvath - 2013-11-01, 12:14 - Forum: LDraw Editors and Viewers - Replies (21)

I'm writing a script to generate SNOT roads but I have encountered a problem. As you can see the bricks in the attached file follow a neat curve. However the rotation of the parts around the z-axis is backwards. How do I fix this in the bricks' rotation matrices? Here's the relevant bit of code in the script I wrote:

Code:
var fTime = 1/2
while (fTime <= 1)
{
    var thisCoo = tCoordinates(fTime)
    var thisDiv = tDerivatives(fTime)
    thisDiv = vnormalize(thisDiv)
    sOutString += '1 16 ' + thisCoo[0] + ' ' + thisCoo[1] + ' 0 ' + thisDiv[0] + ' ' + thisDiv[1] + ' 0 ' + (-thisDiv[1]) + ' ' + thisDiv[0] + ' 0 0 0 1 3004.dat\n'
    fTime = bGetStuff(fTime, fTime + steps_distance_big, steps_distance_big, 1)[0]
}



Attached Files
.ldr   temp.ldr (Size: 1.21 KB / Downloads: 4)
Print this item

  Springs
Posted by: Roland Melkert - 2013-10-30, 23:30 - Forum: Parts Authoring - Replies (19)

Hi I'm working on a spring generator for LDCad, and was wondering how far I should take the details.

I've looked at the existing springs in the library, and noticed they don't have conditional lines in the way I would expect them. They also use static lines around the (very low res) wire edges.

Is this on purpose or pure some performance issue ?

Anyway this is what my current code generates (no lines at all).

[Image: springs.png]

Print this item

  LEGO Space: Building the Future With Toy Bricks
Posted by: Mark Kennedy - 2013-10-29, 5:17 - Forum: Off-Topic - No Replies

Book with pictures of Lego models inspired by space.
LEGO Space: Building the Future With Toy Bricks

Print this item

  How to import MLCad.grp?
Posted by: Michael Horvath - 2013-10-29, 3:02 - Forum: LDraw Editors and Viewers - Replies (11)

I installed MLCad 3.40 a while ago but didn't bother with importing MLCad.grp. How do I do so now? I've copied the file into MLCad's directory but MLCad ignores it as far as I can tell. Thanks.

Print this item

  Legal info and Non-CA
Posted by: Santeri Piippo - 2013-10-24, 19:37 - Forum: General LDraw.org Discussion - Replies (2)

http://www.ldraw.org/article/227

I thought we expunged all Non-CA parts by now? Thus the Non-CA section in the legal info should be redundant.

EDIT: gee, can we get URL auto-linking? I keep forgetting to put url tags just for this forum...

Print this item

  Update model to use new parts?
Posted by: Michael Horvath - 2013-10-23, 21:54 - Forum: Help - Replies (5)

What tool can I use to update all my models to use the newest parts? (E.g. parts that have been renamed or moved, etc..) Thanks!

I can't use MLCAD since Datsville (the model I am trying to update) has nested MPD files which MLCAD doesn't like.

Print this item

  xkcd
Posted by: Travis Cobbs - 2013-10-23, 16:21 - Forum: Off-Topic - Replies (1)

Today's xkcd was LEGO-centric. Don't forget to hover over the image to read the alt tag (although I susect many people here already knew the relevant tire fact).

If you aren't an xkcd fan, I feel it's important to point out that it is occasionally not safe for work. I'd say 99% of the comics are fine, but a few aren't.

Print this item

  How to create edge lines?
Posted by: Michael Horvath - 2013-10-22, 22:37 - Forum: Parts Authoring - Replies (1)

I've imported some heightfield data using stl2dat and want to know how to create edge lines (using LDDP presumably). I want every triangle edge to have a line so that I can orientate my models around the terrain better. Thanks.

Print this item

  LDView 4.2 Beta 1 locking up my computer
Posted by: Michael Horvath - 2013-10-22, 20:34 - Forum: LDraw Editors and Viewers - Replies (9)

LDView locked up my computer three times in a row when viewing the attached model. I had to reboot each time. This only started happening today.

Maybe my video card is dying. I'm going to try blowing the dust out of my case.

LDView 4.2 Beta 1

Operating System
Microsoft Windows 7 Home Premium 64-bit SP1
CPU
Intel Core 2 Duo E6600 @ 2.40GHz 36 °C
Conroe 65nm Technology
RAM
3.00GB Single-Channel DDR2 @ 333MHz (5-4-4-14)
Motherboard
eMachines EMCP73VT-PM (CPU 1) 26 °C
Graphics
ASUS VS247 (1920x1080@60Hz)
767MB GeForce GTX 460 (nVidia) 43 °C
Hard Drives
466GB Seagate ST350041 8AS SCSI Disk Device (SATA) 35 °C
Optical Drives
HL-DT-ST DVDRAM GH41N SCSI CdRom Device
Audio
High Definition Audio Device



Attached Files
.ldr   worldmachine_output.ldr (Size: 3.74 MB / Downloads: 1)
Print this item

  SR 3D Builder - mysterious error
Posted by: Michael Horvath - 2013-10-21, 23:29 - Forum: LDraw Editors and Viewers - Replies (8)

I got an error in SR 3D Builder that is a bit mysterious to me. It says:

Found 1 parts duplicated in the model file. These parts need to be removed to load selected model. Proceed?

My problem with it is that it provides little feedback. Which part is being removed? Which is the other part? Why can't it continue?

This is very vague.

[edit]

Also, the model I am working on (Datsville) has 170,000 parts. I do not want to click through every one of these errors.

Print this item