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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,543
» Latest member: Brandon Ortega
» Forum threads: 6,317
» Forum posts: 52,582

Full Statistics

Online Users
There are currently 175 online users.
» 2 Member(s) | 166 Guest(s)
Applebot, Baidu, Bing, Facebook, Google, Twitter, Yandex, Rene Rechthaler

Latest Threads
LDraw Colors for OpenScad...
Forum: LDraw Editors and Viewers
Last Post: Hageta
34 minutes ago
» Replies: 0
» Views: 7
Part 24123 large rifle sh...
Forum: Part Requests
Last Post: Seth Bray
55 minutes ago
» Replies: 2
» Views: 63
LDraw.org 2025 Cost Fundr...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
2 hours ago
» Replies: 0
» Views: 48
[LDPE] 1.8.97 Released (s...
Forum: Parts Author Tools
Last Post: Magnus Forsberg
4 hours ago
» Replies: 2
» Views: 368
LDraw.org 2025-12 Parts U...
Forum: LDraw.org Announcements
Last Post: Auffenberg
5 hours ago
» Replies: 1
» Views: 301
Vertex precision
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
Yesterday, 21:58
» Replies: 5
» Views: 1,623
LEGO Parts Guide - Only 6...
Forum: Part Requests
Last Post: tom alphin
Yesterday, 20:47
» Replies: 5
» Views: 277
98138pb0.dat is missing i...
Forum: Parts Authoring
Last Post: Magnus Forsberg
Yesterday, 15:31
» Replies: 2
» Views: 136
How can I install on linu...
Forum: Help
Last Post: Orion Pobursky
Yesterday, 4:48
» Replies: 1
» Views: 100
Castle Ninja / Robber
Forum: Part Requests
Last Post: Carl Rodabaugh
Yesterday, 1:06
» Replies: 0
» Views: 91

 
  Part request 79194
Posted by: Tony Wang - 2022-03-25, 14:41 - Forum: Part Requests - Replies (6)

79194 Plate, Round 1 x 1 with Bar Handle on Long Stem

It seems that the model of this part does not exist (only with the short version). Could someone work on this one if possible? Thanks

Print this item

  [LDCad] open Stud.io-file with correct colors
Posted by: Stefan Frenz - 2022-03-25, 11:13 - Forum: LDraw Editors and Viewers - Replies (7)

I got a stud.io file with all inlined parts, size is about 7 MB. Opening this file in Stud.io is nearly impossible as I'm waiting now for about 45 minutes and still having "parsing a file 0%", while LDCad opens it in a few seconds. Smile  Unfortunately, all colors are Stud.io/Bricklink-colors, so they are "MISSING" in LDCad.

Is there an easy way in LDCad to activate an import-filter replacing all Stud.io/Bricklink-colors by LDraw-colors on load or is there a small script to replace colors after loading? If so: does such a script exist already? As far as I understand, especially the -1 and -2 colors need special attention as they map to 16/24 in the LDraw universe.

Thanks for any hint, I'm willing to implement the converting script if this is the way to go and not done yet.

Print this item

  Simple LDCad script
Posted by: N. W. Perry - 2022-03-25, 4:27 - Forum: LDraw Editors and Viewers - Replies (10)

So, I wrote my first script for LDCad, hooray! Cool

It is a simple macro to transpose two colors in a selection. You might use it if you have built a huge checkered floor out of tiles and realized you have the pattern backwards!

I'm sure there are ways to improve it, but I'm actually pleased I was able to work it out in one day. Big Grin

Here it is:

Code:
genTools=require('genTools')

function runColorSwap()

  local ses=ldc.session()
  local sel=ses:getSelection()
  local cnt=sel:getRefCount()
 
  if not ses:isLinked() then
    ldc.dialog.runMessage('No active model.')
    return
  end

  if cnt==0 then
    ldc.dialog.runMessage('No selection active.')
    return
  elseif cnt<2 then
    ldc.dialog.runMessage('At least two items must be selected.')
    return
  end

  local colors={}
 
  local function has_value (tab, val)
    for k, v in ipairs(tab) do
        if v == val then
            return true
        end
    end

    return false
  end

  for i=1,cnt do
    local ref=sel:getRef(i)
    local col=ref:getColor()
    if not has_value(colors, col) then
      table.insert(colors, col)
    end
  end

  if #colors==2 then
    for i=1,cnt do
      local ref=sel:getRef(i)
      local col=ref:getColor()
      if col==colors[1] then
        ref:setColor(colors[2])
      elseif col==colors[2] then
        ref:setColor(colors[1])
      end
    end
  else ldc.dialog.runMessage('The selection must contain exactly two colors.')
  end
end
--===================

function register()

  local macro=ldc.macro('Color swap')
  macro:setHint('Transposes two colors in a selection.')
  macro:setEvent('run', 'runColorSwap')
end

register()

Suggestions are welcome!

Print this item

  Lego dinosaur parts
Posted by: Sloan - 2022-03-24, 22:32 - Forum: Part Requests - No Replies

can anyone point me in the direction of any lego dinosaurs? particularly the "Raptor10" Big One that appears in Jurassic Park Velociraptor Chase?

Print this item

  LDraw All-In-One-Installer 2022-02 v1 now available
Posted by: Willy Tschager - 2022-03-24, 20:31 - Forum: LDraw.org Announcements - Replies (1)

An updated version of the LDraw All-In-One-Installer, in short AIOI, containing the LDraw Parts Library update 2022-02 with 366 new files (including 196 new parts and 12 new primitives) has been released.

The AIOI supports Windows XP (Home and Pro), Windows Vista or higher (all versions). There are two installer files available: Use the 64 Bit AIOI to install all the main 64 Bit programs, while the older 32 Bit programs are offered in a separated .exe file. Please note that only the 64 Bit version contains the LDraw Parts Library. If you want to use the 32 Bit programs it is mandatory that the library has been installed previously. The Installer will NOT run on Windows 95, 98, ME, NT Ver 4, 2000, or XP below SP2.

It contains the following changes:

* Update to Parts Library 2022-02
* Update to MLCad.ini 2022-02
* Update to Offline Parts Catalog 2022-02
* Update to LDView 4.4.1

You can download the AIOI from:

LDraw.org >> Help >> Get Started >> Windows >> LDraw All-In-One-Installer

Many thanks to all the programmers who contributed to this release.

Willy Tschager
(LDraw.org Content Manager)

Print this item

  Axle primitives incompatibility with HD primitives
Posted by: Max Murtazin - 2022-03-23, 7:43 - Forum: Official File Specifications/Standards - Replies (12)

Recently I have noticed that some axle primitives are incompatible with HD circular primitives. On almost any model using axle primitives have holes show up in some places. Probably, we can introduce series of HD axle primitives that would match the HD circular primitives?
   

Print this item

  Selecte same height
Posted by: Jaco van der Molen - 2022-03-23, 6:45 - Forum: LDraw Editors and Viewers - Replies (4)

Hi all,

In LDCad it is possible to select a part and then select same part, same part and color, same color, same step...

But now I am looking for a way to select all parts that are at the same height, i.e. y-coordinate.

@Roland: I'd like to suggest that for a next version?

For now: can this be done with a script?

Thanks!

Jaco

Print this item

Thumbs Up Part request: 78c13
Posted by: Thom Kok - 2022-03-20, 20:45 - Forum: Part Requests - Replies (13)

I was not able to find 78c13 on the parts tracker and would like to use it in my Rock Raiders Power Station moc. I would like to request 78c13.

Print this item

  The Lego and Batman Movie minifigs parts
Posted by: Sloan - 2022-03-19, 19:29 - Forum: Part Requests - Replies (13)

hello i am in need of some headgear from the legomovie and lego batman movie.

36853pb01 LEGO Batman Reggae man batsuit cowl.

28149pb01 lego batman movie Dick Grayson hair piece

28149pb02 Lego Batman Movie Robin hair piece

15864c01pb01 Lego movie Lord Buisiness helmet

Print this item

  Animation playback issue
Posted by: N. W. Perry - 2022-03-19, 15:55 - Forum: LDraw Editors and Viewers - Replies (3)

I wanted to report more about the animation playback issue I'm having, as mentioned here.

In the 1.7 alpha, I tried each of the scripted example models and found no issues, except for 8860. When I started the animation for this one, unlike the others, it played the colorfest animation rather than the 8860 demo. I switched to the 8860 animation and started it. The play button highlighted but the animation did not start, and it remained stuck like that for maybe two minutes. Then the program gave up and just want back to a ready state, and the animation never played.

I switched to 1.6d and went through the same process. The first scripted model I tried, 5510, had the same issue, but the hang time was much shorter, just a couple of seconds. Other scripted models worked fine, as did a second attempt at 5510. Then came 8860, and it had the same behavior as it did in 1.7, except for two things. First, it seemed to get through a single frame (the camera view changed and the counter moved to 0.16 seconds), but otherwise froze up like before. I've attached of screenshot of this stage. Second, it didn't default to the colorfest this time, but opened with its own demo script loaded.

I've also attached log files from these two sessions. (I did try again in 1.7 and it was exactly like the first time except without the colorfest. It didn't get through even one frame.)

I'm quite sure I've run this animation perfectly fine in 1.6d before, so I don't think it's a version-specific problem. But it does seem to be related to the 8860 model somehow.



Attached Files Thumbnail(s)
   

.zip   logFile-2022-03-19-11-05-45.txt.zip (Size: 43.08 KB / Downloads: 2)
.zip   logFile-2022-03-19-11-23-26.txt.zip (Size: 181.25 KB / Downloads: 3)
Print this item