| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,306
» Latest member: ipefix
» Forum threads: 6,625
» Forum posts: 54,487
Full Statistics
|
| Online Users |
There are currently 10 online users. » 0 Member(s) | 6 Guest(s) Baidu, Bing, Facebook, Google
|
| Latest Threads |
Part Vs. Shortcut
Forum: Parts Tracker Discussion
Last Post: Philippe Hurbain
1 hour ago
» Replies: 3
» Views: 118
|
Cutting down sticker imag...
Forum: Parts Authoring
Last Post: Philippe Hurbain
1 hour ago
» Replies: 2
» Views: 102
|
Missing Stingrays/Hydrona...
Forum: Part Requests
Last Post: Chris Böhnke
9 hours ago
» Replies: 14
» Views: 3,408
|
Pirate Themed Parts
Forum: Part Requests
Last Post: Charlotte Evans
Today, 2:27
» Replies: 50
» Views: 46,017
|
Super Mario tiles with st...
Forum: Parts Tracker Discussion
Last Post: Chris Böhnke
Today, 2:05
» Replies: 10
» Views: 252
|
LDCad 1.7 Beta 2b (win+li...
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
Yesterday, 23:04
» Replies: 16
» Views: 5,774
|
Meta Quest 3 block buildi...
Forum: All Other Programs.
Last Post: Joseph Miller
Yesterday, 19:59
» Replies: 1
» Views: 569
|
Parts Request: Exploriens...
Forum: Part Requests
Last Post: Chris Böhnke
Yesterday, 0:51
» Replies: 1
» Views: 666
|
Electric contacts, Plug o...
Forum: Parts Authoring
Last Post: Magnus Forsberg
2026-11-15, 16:45
» Replies: 0
» Views: 145
|
Minifig Torso with HP Qui...
Forum: Parts Authoring
Last Post: Tom Lemmens
2026-11-15, 16:33
» Replies: 4
» Views: 297
|
|
|
| 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
|
|
|
|