| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,540
» Latest member: Mickelson
» Forum threads: 6,314
» Forum posts: 52,570
Full Statistics
|
| Online Users |
There are currently 204 online users. » 3 Member(s) | 197 Guest(s) Applebot, Baidu, Bing, Google, Rene Rechthaler
|
| Latest Threads |
LEGO Parts Guide - Only 6...
Forum: Part Requests
Last Post: Peter Grass
23 minutes ago
» Replies: 3
» Views: 144
|
98138pb0.dat is missing i...
Forum: Parts Authoring
Last Post: Rene Rechthaler
4 hours ago
» Replies: 1
» Views: 47
|
How can I install on linu...
Forum: Help
Last Post: Orion Pobursky
10 hours ago
» Replies: 1
» Views: 60
|
Castle Ninja / Robber
Forum: Part Requests
Last Post: Carl Rodabaugh
Today, 1:06
» Replies: 0
» Views: 56
|
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: 228
|
LEGO Icons 2025
Forum: Official Models
Last Post: Philippe Hurbain
Yesterday, 9:53
» Replies: 4
» Views: 5,006
|
Minifigure, Head Brown Ey...
Forum: Part Requests
Last Post: Philippe Hurbain
Yesterday, 9:20
» Replies: 2
» Views: 148
|
Technic 1992
Forum: Official Models
Last Post: Takeshi Takahashi
2025-12-28, 19:34
» Replies: 29
» Views: 42,178
|
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)
|
 |
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]](https://www.bricksafe.com/files/Walt.White/animation-demo/aniDemoModel.png)
Move:
![[Image: aniDemoMove.png]](https://www.bricksafe.com/files/Walt.White/animation-demo/aniDemoMove.png)
Wrong axis:
![[Image: aniDemoWrongAxis.png]](https://www.bricksafe.com/files/Walt.White/animation-demo/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()
|
|
|
| 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.
|
|
|
| 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.
|
|
|
| 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.
|
|
|
| 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
|
|
|
| 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
|
|
|
|