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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,659
» Latest member: Paulito
» Forum threads: 6,397
» Forum posts: 53,084

Full Statistics

Online Users
There are currently 500 online users.
» 1 Member(s) | 493 Guest(s)
Applebot, Baidu, Bing, Google, Internet Archive, Yandex

Latest Threads
Decorated Part: 21560 - L...
Forum: Part Requests
Last Post: Paul Haan
1 hour ago
» Replies: 0
» Views: 21
Help unscaling a whole LD...
Forum: Help Wanted
Last Post: SNIPE
2 hours ago
» Replies: 0
» Views: 23
Help Wanted: Discord Admi...
Forum: Help Wanted
Last Post: SNIPE
2 hours ago
» Replies: 2
» Views: 494
2x2 slope double tapered ...
Forum: Part Requests
Last Post: SNIPE
6 hours ago
» Replies: 2
» Views: 130
Incorrect reference to Br...
Forum: Parts Tracker Discussion
Last Post: Chris Böhnke
Today, 5:22
» Replies: 5
» Views: 133
Complex Figures (Duplo/Te...
Forum: Official File Specifications/Standards
Last Post: Chris Böhnke
Today, 4:04
» Replies: 6
» Views: 809
Holographic Materials
Forum: Official File Specifications/Standards
Last Post: Chris Böhnke
Today, 3:20
» Replies: 6
» Views: 786
Part Request: Part 49523...
Forum: Part Requests
Last Post: Peter Grass
Yesterday, 18:15
» Replies: 6
» Views: 337
Modular Buildings
Forum: Official Models
Last Post: Willy Tschager
Yesterday, 15:33
» Replies: 88
» Views: 177,688
Parts Request- Marvel 202...
Forum: Part Requests
Last Post: Gerald Lasser
Yesterday, 9:34
» Replies: 9
» Views: 1,866

 
  Rules for tile descriptions
Posted by: Massimo Maso - 2022-03-29, 21:32 - Forum: Parts Authoring - Replies (7)

In your opinion it would not be better to omit the presence of the groove in all the tiles and indicate only the possible lack.

I know that it is contrary to the principle of expressing what is there and not what is missing, but in this case it seems to me that we would have more advantages than anything else:
  in alphabetical order the first part of a tile family would be the neutral version (as is now the case for 1x3 tiles, 1x6 tiles and 1x8 tiles, but not for 1x2 tiles, 1x4 tiles and 2x2 tiles)
  the descriptions would be shorter and more homogeneous (already now, most of the 1x4 and 2x2 patterned tiles do not give indications of the presence or absence of the groove)
  the new parts are already with the groove, only very first versions were devoid of it (and there are many more patterned or stickered parts based on the grooved versions than on the others).

Print this item

  Need feedback
Posted by: Max Murtazin - 2022-03-27, 20:18 - Forum: Parts Authoring - Replies (5)

May I get some feedback on the part?
https://www.ldraw.org/cgi-bin/ptdetail.c.../47311.dat

Print this item

  Primitive Reference
Posted by: Orion Pobursky - 2022-03-26, 17:56 - Forum: Help Wanted - Replies (6)

The primitives reference needs to be updated. This is a manual process which I have little time to do. If someone knowledgeable wants to put together an updated reference, I can format it for the site.

Print this item

  stud.io special line types
Posted by: Stefan Frenz - 2022-03-26, 8:59 - Forum: LDraw Editors and Viewers - Replies (2)

Hi there,

there are some lines in a stud.io file that I don't understand.

Example for line-3-triangle:

Code:
3 -1 12 0 10 14.345 2 10 -14.345 2 10 0.345 0.954 0.329 0.897 0.524 0.897
3 -1 16 32 -6 19 32 -10 -19 32 -10
The second line is fine, but the first line has six additional floats - most probably two additional points. Is this a shortcut for some kind of triangle-stripe? As not all lines have the same number of arguments, this seems to be some kind of option? The corresponding part is not existing in LDraw-world, so I can't replace it.

Example for line-5-auxline:
Code:
5 -2 7.654 4.000 -18.478 7.654 8.000 -18.478
This line is missing the control points as far as I can see. The auxline here is inside the inlined part 4032.dat, which is moved to 4032a.dat in LDraw. The corresponding auxline there is:
Code:
5 24 7.6537 4 -18.4776 7.6537 8 -18.4776 14.14 4 -14.14 0 4 -20
The color is ok (Bricklink -2 matches to LDraw 24), and the coordinates just have one digit less precision. But it seems the stud.io-file skipped the control-points. Is there some default for the control-points? As this part is just an inlined version of an official part, I could easily replace it, but I would like to know how this works.

Thanks in advance for any hint.

Print this item

  Color numbers
Posted by: dkd - 2022-03-25, 15:44 - Forum: Help - Replies (5)

Hi
Have looked in my folders (comp.) - would like a complete list of color codes - like bricks (mklist) - is it possible?
Thanks in advance  Smile 

Dan

Print this item

  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