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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,540
» Latest member: Mickelson
» Forum threads: 6,314
» Forum posts: 52,569

Full Statistics

Online Users
There are currently 205 online users.
» 0 Member(s) | 199 Guest(s)
Baidu, Bing, DuckDuckGo, Facebook, Google, Twitter

Latest Threads
LEGO Parts Guide - Only 6...
Forum: Part Requests
Last Post: Gerald Lasser
38 minutes ago
» Replies: 2
» Views: 137
98138pb0.dat is missing i...
Forum: Parts Authoring
Last Post: Rene Rechthaler
3 hours ago
» Replies: 1
» Views: 42
How can I install on linu...
Forum: Help
Last Post: Orion Pobursky
9 hours ago
» Replies: 1
» Views: 60
Castle Ninja / Robber
Forum: Part Requests
Last Post: Carl Rodabaugh
Today, 1:06
» Replies: 0
» Views: 55
help finding ldraw for el...
Forum: Help
Last Post: Brian H
Yesterday, 23:22
» Replies: 2
» Views: 98
Missing Opal Trans Yellow
Forum: Official File Specifications/Standards
Last Post: Philippe Hurbain
Yesterday, 19:27
» Replies: 3
» Views: 225
LEGO Icons 2025
Forum: Official Models
Last Post: Philippe Hurbain
Yesterday, 9:53
» Replies: 4
» Views: 5,000
Minifigure, Head Brown Ey...
Forum: Part Requests
Last Post: Philippe Hurbain
Yesterday, 9:20
» Replies: 2
» Views: 146
Technic 1992
Forum: Official Models
Last Post: Takeshi Takahashi
2025-12-28, 19:34
» Replies: 29
» Views: 42,170
Part 11459p01.dat colour ...
Forum: Parts Authoring
Last Post: N. W. Perry
2025-12-27, 15:11
» Replies: 3
» Views: 248

 
  Animation puzzle
Posted by: Walt White - 2021-03-15, 0:15 - Forum: LDraw Editors and Viewers - Replies (1)


.ldr   animationDemo.ldr (Size: 1.35 KB / Downloads: 1)
I'm using LDCad 1.6d, working on an animation, and have a baffling problem.  I can recreate the problem using Roland's original basic animation demo on YouTube:

I create the model and copy his LUA script. See aniDemoModel.png

As soon as I launch the LUA script, the Axle1 sub-model jumps to a new position on the first frame.  It also loses the 13° rotation that allowed its 14 tooth gear to mesh correctly with the Axle2 gear.  See aniDemoMove.png

Then using Roland's setRotate(angle, 1, 0, 0) the sub-model rotates around the wrong axis.  See aniDemoWrongAxis.png

Changing setRotate() to "angle, 0, 0, 1" fixes the wrong axis problem so the sub-model rotates around the correct axis, but I can't find any way to keep the sub-model from jumping to the new position and losing its 13° adjustment.

I've done other animations (which still work) and have never seen this problem.  Now it's happening to every new model I make!


Model:
[Image: aniDemoModel.png]

Move:
[Image: aniDemoMove.png]

Wrong axis:
[Image: aniDemoWrongAxis.png]

LDR file:

Code:
0 FILE main.ldr
0 Name: animationDemo
0 Author: LDCad
0 !LDCAD SCRIPT [source=animationDemo.lua]
1 14 0 0 0 1 0 0 0 1 0 0 0 1 3702.dat
1 14 50 0 -30 0 0 1 0 1 0 -1 0 0 3700.dat
1 14 -70 0 -30 0 0 1 0 1 0 -1 0 0 3700.dat
1 14 -10 0 -30 0 0 1 0 1 0 -1 0 0 3700.dat
1 14 0 0 -60 1 0 0 0 1 0 0 0 1 3702.dat
1 14 -70 -8 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 14 -10 -8 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 14 50 -8 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 14 50 24 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 14 -10 24 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 14 -70 24 -30 0 0 1 0 1 0 -1 0 0 3710.dat
1 16 -23 10 -30 0 0 1 0 1 0 -1 0 0 Axle2.ldr
1 14 50 -16 -30 0 0 1 0 1 0 -1 0 0 3023.dat
1 14 50 -40 -30 0 0 1 0 1 0 -1 0 0 3700.dat
1 16 60 -30 -30 1 0 0 0 0.99 0.139 0 -0.139 0.99 Axle3.ldr
1 16 -40 10 -80 -0.974 -0.225 0 -0.225 0.974 0 0 0 -1 Axle1.ldr
0 FILE Axle1.ldr
0 Author: LDraw
1 71 0 0 0 1 0 0 0 1 0 0 0 1 3736.dat
1 0 0 0 -50 0 0 -1 0 1 0 1 0 0 3706.dat
1 71 0 0 -67 -1 0 0 0 1 0 0 0 -1 4143.dat
1 71 0 0 -99.997 1 0.001 0 -0.001 1 0 0 0 1 3713.dat
1 71 -30 0 12 0 0.139 -0.99 0 0.99 0.139 1 0 0 3749.dat
0 FILE Axle2.ldr
0 Author: LDraw
1 71 0 0 0 1 0 0 0 1 0 0 0 1 4143.dat
1 0 0 0 53 0 0 1 0 1 0 -1 0 0 3706.dat
1 71 0 0 93 1 0 0 0 1 0 0 0 1 3647.dat
0 FILE Axle3.ldr
0 Author: LDraw
1 71 0 0 0 1 0 0 0 1 0 0 0 1 3749.dat
1 71 10 0 0 0 0 1 0 1 0 -1 0 0 3648.dat

LUA code:
Code:
function register()
  local ani=ldc.animation('animationDemo')
  ani:setLength(20)
  ani:setEvent('frame', 'onFrame')
end

function onFrame()
  local ani=ldc.animation.getCurrent()
  local mainSf=ldc.subfile()
  local ori=ldc.matrix()

  local angle=720*ani:getFrameTime()/ani:getLength()

  local ax1=mainSf:getRef('Axle1.ldr')
  ori:setRotate(angle, 0, 0, 1)
  ax1:setOri(ori)
end

register()

Print this item

  Standardize official search path
Posted by: Travis Cobbs - 2021-03-14, 1:50 - Forum: Standards Board - Replies (15)

It has been requested that we standardize the official search path. So I'm creating this thread to do that. Right now, I think that most programs follow in LDView's footsteps, but I'm open for the official search path being different. LDView by default looks for files in the following order:

MPD subfiles
Model Directory (the directory that the top-level model resides in)
<LDraw>\p
<LDraw>\parts
<LDraw>\models
<LDraw>\Unofficial\p
<LDraw>\Unofficial\parts

If we agree that the above order is correct, we can then discuss where to put it in the specification. If we want a different default search path, we can discuss that.

Note: If your name isn't Travis Cobbs, Chris Dee, or Roland Melkert, please don't respond to this thread. Read the rules for this board. Other than the three of us, only admins and mods can post here, but they aren't supposed to do so. If you want to bring up concerns, do so in the Parts Authoring board.

Print this item

  Bionicle / Hero Factory - 4 parts (1 left)
Posted by: Leonardo Gonzalez - 2021-03-13, 20:29 - Forum: Part Requests - Replies (2)

These are some parts from Bionicle / Hero Factory, The first 3 are in the LDD and could be converted.

98597 Large Figure Foot, with 2 Toes
20480 Large Figure Weapon Sword, Skull Warrior
15367 Large Figure Foot, with Ball Socket 5 x 6 x 2

15358pat000 Large Figure Creature Cocoon Petal with Black Base Pattern

Interestingly enough, some of these parts are the kind that appear in Rebrickable as having an LDraw part, but are nowhere to be found. If they exist and are named something else, please let me know.

Print this item

  Formed sticker on non-cylindrical surface
Posted by: Takeshi Takahashi - 2021-03-13, 11:26 - Forum: Parts Authoring - Replies (6)

I'd like to make a formed sticker of 4620859d
https://www.ldraw.org/cgi-bin/ptdetail.c...20859d.dat
to put on a bucket 48245.
https://www.bricklink.com/v2/catalog/cat...7#T=C&C=47

As the side surface of bucket is not cylindrical,
the Pattern Folder web-app by Lasse cannot be used.
Are there any smart ways for creating this sticker,
or should I cut the pattern manually with tweaking the coordinates in LDPE?

Thanks,
Takeshi

[Edit] 2021-06-20
Thanks again for a lot of advice.
The part has been admin-certified and will be included in next release.

Print this item

  Is it OK that parts are deleted from unofficial library?
Posted by: Denis - 2021-03-11, 15:45 - Forum: General LDraw.org Discussion - Replies (2)

Hi there,

Just wanted to confirm if one can expect parts to be deleted from unofficial library from time to time. 

This definitely happened recently with the part 5306c01 that used to be in the library but is now gone. It wasn't moved to the official list, so I assume it was simply deleted.

I know that such kind of thing cannot happen with files in the official library, because they stay there forever for backwards compatibility. But looks like things work differently in the unofficial library, which makes it even less reliable.

Print this item

  Export of all render-pictures from LDraw WITHOUT LEGO logo
Posted by: Ludwig - 2021-03-10, 9:02 - Forum: Help - Replies (2)

Hello community,
Is it possible to export the render-pictures for all parts included in LDraw as single files? WITHOUT LEGO logo on the studs?

Is there a data set like this somewhere already available for download?  Rebrickable offers pictures from all parts, but only with the LEGO logo in the studs.


Help appreciated

Print this item

  Part No. 37697
Posted by: JC0345 - 2021-03-08, 2:58 - Forum: Part Requests - No Replies

Good evening all. I just joined LDraw.org this evening. I'm here to make a request for #37697, Hair Mid-Length and Wavy with Bangs.
I don't know if the part was already requested, even after searching the forums and not seeing anything come up for it.

Print this item

Wink Donald Trump "President" MOC
Posted by: Leon Zandman - 2021-03-07, 14:39 - Forum: MOCs (My Own Creations) - Replies (5)

Some months ago Matthew Fleming on Twitter posted instructions for a funny Donald Trump MOC (branded as the "President" model from the "Ego" company). I couldn't find the LDraw file for it, so I made it myself. I hope you like it.

[Image: eHsG9rq.jpg]



Attached Files
.ldr   Trump.ldr (Size: 4.96 KB / Downloads: 7)
Print this item

Thumbs Up 47577 Minifig Hockey Body Armor Plain
Posted by: Derek Pearce - 2021-03-05, 17:49 - Forum: Part Requests - Replies (5)

Hey all,

I'm looking to have these 2 parts made and added to the library.

47577 Minifig Hockey Body Armor Plain

https://www.bricklink.com/v2/catalog/cat...77#T=C&C=1

And

[color=#000000][font=Tahoma, Arial]92814 Minifigure, Headgear Cap, Graduation Mortarboard with Tassel[/font][/color]

https://www.bricklink.com/v2/catalog/cat...4#T=C&C=11

Hoping someone do this for me?
Thanks in advance.

Regards

Derek Pearce (The Brickspace)



Attached Files
.png   47577.png (Size: 74.89 KB / Downloads: 55)
.png   92814.png (Size: 65.06 KB / Downloads: 54)
Print this item

  Parts made from several individual parts.
Posted by: Manfred Schaefer - 2021-03-04, 20:38 - Forum: Parts Authoring - Replies (13)

Hello,

I noticed that some parts consist of one or more individual parts, e.g. "Hinge Control Stick and Base (Complete)", Design 4592c01. This part is also available in other versions where the stick has a different color. Or the upper and lower parts of mini figures, some of which are already in the library. My question now is, does it make sense or is it desirable or not to include these parts in the library?

Greeting

Manfred

Print this item