Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,166
» Latest member: Alan Zhu
» Forum threads: 6,086
» Forum posts: 51,274
Full Statistics
|
Online Users |
There are currently 545 online users. » 0 Member(s) | 542 Guest(s) Baidu, Bing, Google
|
Latest Threads |
Most Common Parts that re...
Forum: Part Requests
Last Post: Peter Blomberg
5 hours ago
» Replies: 34
» Views: 14,510
|
Can we get the part 4364p...
Forum: Part Requests
Last Post: Vincent Messenet
6 hours ago
» Replies: 3
» Views: 163
|
LDraw Additional-Tools-In...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
7 hours ago
» Replies: 0
» Views: 28
|
LDraw All-In-One-Installe...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
7 hours ago
» Replies: 0
» Views: 25
|
Modulex parts
Forum: Parts Authoring
Last Post: Chris Böhnke
Yesterday, 15:35
» Replies: 34
» Views: 4,968
|
New part
Forum: General LDraw.org Discussion
Last Post: Rene Rechthaler
2025-07-18, 20:38
» Replies: 1
» Views: 105
|
Owl with spread wings
Forum: Part Requests
Last Post: Philippe Hurbain
2025-07-18, 15:16
» Replies: 2
» Views: 150
|
80503pb01 lute instrument...
Forum: Part Requests
Last Post: N. W. Perry
2025-07-16, 14:24
» Replies: 9
» Views: 6,072
|
Parts we are Working on -...
Forum: Part Requests
Last Post: Jeff Jones
2025-07-16, 10:14
» Replies: 158
» Views: 153,038
|
Same set, different sheet...
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2025-07-15, 6:15
» Replies: 8
» Views: 595
|
|
|
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
|
|
|
|