Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 152 online users. » 0 Member(s) | 147 Guest(s) Applebot, Baidu, Bing, Google, Yandex
|
Latest Threads |
2003 Pattern
Forum: Parts Authoring
Last Post: Javier Orquera
Yesterday, 12:04
» Replies: 1
» Views: 303
|
Part Request - 51008pb01 ...
Forum: Part Requests
Last Post: Stefano
Yesterday, 11:29
» Replies: 3
» Views: 2,771
|
reviewing obsoleted parts
Forum: Parts Tracker Discussion
Last Post: Peter Blomberg
Yesterday, 10:32
» Replies: 2
» Views: 351
|
Part Request: 90190 & 902...
Forum: Part Requests
Last Post: Julian Raymond Ruan
Yesterday, 0:49
» Replies: 1
» Views: 2,377
|
I'm going to be getting a...
Forum: Parts Authoring
Last Post: Hageta
2025-09-19, 22:37
» Replies: 8
» Views: 580
|
Third voting option?
Forum: Website Suggestions/Requests/Discussion
Last Post: Peter Blomberg
2025-09-19, 21:48
» Replies: 4
» Views: 1,233
|
Primref wiki
Forum: Website Suggestions/Requests/Discussion
Last Post: Magnus Forsberg
2025-09-19, 15:08
» Replies: 0
» Views: 309
|
Dots 1x1 printed alphabet...
Forum: Part Requests
Last Post: Orion Pobursky
2025-09-19, 6:28
» Replies: 4
» Views: 604
|
Koala animal part 2589pb0...
Forum: Part Requests
Last Post: Ollie
2025-09-19, 2:02
» Replies: 0
» Views: 376
|
Stud groups
Forum: Official File Specifications/Standards
Last Post: Magnus Forsberg
2025-09-18, 20:34
» Replies: 1
» Views: 627
|
|
|
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.
|
|
|
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
|
|
|
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! 
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. 
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!
|
|
|
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?
|
|
|
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)
|
|
|
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
|
|
|
|