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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,141
» Latest member: weinne
» Forum threads: 6,072
» Forum posts: 51,165

Full Statistics

Online Users
There are currently 568 online users.
» 1 Member(s) | 561 Guest(s)
Applebot, Baidu, Bing, Facebook, Google, Twitter, Jeff Jones

Latest Threads
LDraw.org 2025-06 Parts U...
Forum: LDraw.org Announcements
Last Post: Travis Cobbs
11 hours ago
» Replies: 1
» Views: 437
Hi-res logo primitives
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
Yesterday, 21:35
» Replies: 1
» Views: 106
500 Server error
Forum: Website Suggestions/Requests/Discussion
Last Post: Lisa Winter
Yesterday, 7:11
» Replies: 5
» Views: 220
Modulex parts
Forum: Parts Authoring
Last Post: Magnus Forsberg
2025-07-04, 15:20
» Replies: 18
» Views: 3,011
Minifigure Head 3626pb307...
Forum: Part Requests
Last Post: Philippe Hurbain
2025-07-04, 13:54
» Replies: 1
» Views: 199
23763 axl torso
Forum: Parts Authoring
Last Post: Jeff Jones
2025-07-04, 13:48
» Replies: 14
» Views: 5,412
Minifigure Head 3626pb181...
Forum: Part Requests
Last Post: Philippe Hurbain
2025-07-04, 13:32
» Replies: 1
» Views: 176
hmmmmnmmmmm
Forum: Parts Authoring
Last Post: Jeff Jones
2025-07-04, 7:45
» Replies: 9
» Views: 283
Minifig Torsoe 973p20
Forum: Part Requests
Last Post: Knud Ahrnell Albrechtsen
2025-07-04, 5:18
» Replies: 2
» Views: 195
Simple LDCad script
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
2025-07-02, 20:23
» Replies: 10
» Views: 8,974

 
  Img4Dat
Posted by: Rolf Osterthun - 2019-02-26, 23:11 - Forum: Parts Author Tools - Replies (55)

Hello,
 
long time ago I started implementing a tool to convert images to LDraw compatible .dat files. The first name was Img2Dat; but during the time the ‘version’ increased. Here is only a short description.
 
You can download the tool here (sorry, but I have to write this: the application, can be downloaded as it is. I do not take charge for errors or any kind of damage to your system that is caused by this software.): Img4Dat.zip
It is a beta version – there are some issues I that need an improvement. But I think it is stable enough for playing. It is written in C# for the .NET Framework 3.5 (so Windows).
 
If you open the application, you can open a bitmap (currently only .bmp) – it will be shown in the left half of the GUI.

.png   Clipboard01.png (Size: 144.44 KB / Downloads: 882)
 
Now you can choose colors for the color quantization by right click on the source image (select the background color first). The result will be shown in the right half of the GUI.
It is the base for the path findings (around the areas with the same color). After choosing the colors it is possible to clean the result a little bit (and to remove the obsolete areas in the background). 

.png   Clipboard02.png (Size: 204.78 KB / Downloads: 882)
You can save the result image to rework it in a different tool or just for backup.
You can search for the paths now, by clicking the 'FindPaths' button. The result will be shown on top of the original image.
Again, a little bit of cleaning can be done (here undo is possible):

  • Select one point and create a circle (with the connected points); you can define the number of points in the circle.
  • Select more then two points. The points will be projected on the line between the first and the last selected point.
  • Select more then three points. The points will be projected on a circle. The first and the last point will not change. You have to select the points in the right order.
  • Select two points. They will become one at the cut of the connected lines.
  • Select more then two points. The distance between this points will be recalculated. Here you also have to select the points in the right order.
  • When you have selected one point, you can delete it with pressing d-key.
  • When you have selected two points, you cann add a point between them by pressing the a-key.

.png   Clipboard03.png (Size: 190.53 KB / Downloads: 879)
You can also add a ‘template’ where the image should be patterned for, and scale and adjust it (currently only torso and tile 2x2 round).

.png   Clipboard04.png (Size: 196.46 KB / Downloads: 878)
When the result is fine, the triangles can be created by clicking the 'CreateTriangles' button  – a .dat file with the name of the source image becomes created in the folder of the source image. The colors need to be adjusted to LDraw colors.

.png   Clipboard05.png (Size: 4.13 KB / Downloads: 866)
(One hint: The triangle generation will not work correct, when two lines cross after cleaning the paths or adding the template.)

I would be happy, if someone gives it a try.

Rolf

Print this item

  Pictures of 89918 - Helmet Underwater Atlantis Portal Emperor anyone?
Posted by: Willy Tschager - 2019-02-26, 11:42 - Forum: Parts Authoring - Replies (5)

I'm gonna fix this hold voted part:

http://www.ldraw.org/cgi-bin/ptdetail.cgi?s=89918

and would appreciate a picture of the inside with the stud:

[Image: 89918.png]

And since we are here also a front pic. of the head wouldn't hurt:

[Image: lego-portal-emperor-head-safety-stud-908...727547.jpg]
I remember a thread with a link to high res pics of heads but cannot find it.


w.

Print this item

  Import dwg or image
Posted by: navarra - 2019-02-25, 17:19 - Forum: LDraw File Processing and Conversion - Replies (1)

Hi,

I'd like to know if it is possible to import a dwg file or a jpg file inot LDRaw?
Thanx.

Print this item

  2019/2020 LDraw.org Steering Committee: Nominations closing on 28 February 2019
Posted by: Willy Tschager - 2019-02-25, 16:06 - Forum: LDraw.org Announcements - Replies (2)

Hi folks,

As outlined here:

https://forums.ldraw.org/thread-23140.html

nominations for the 2018/2020 LDraw.org Steering Committee election will close at 11:59 PM GMT on 28 February 2019 and elections will start on 01.03.2019. Only those candidates who have been nominated, seconded, and have accepted as outlined, will be eligible for election. So if you are a candidate that has not yet accepted or declined, please consider deciding. The list with the candidates as well as their status can be found here:

https://forums.ldraw.org/thread-23164.html

If you feel your favourite nominee is missing on the list please use the link above to nominate him/her.

Willy Tschager
On behalf of the LDraw.org Steering Committee

Print this item

  Is creating a new LDraw primitive allowed?
Posted by: David Manley - 2019-02-25, 10:26 - Forum: Parts Authoring - Replies (3)

I'm working my way through addressing issues identified in some stickers I have submitted. One of the suggestions is to use a primitive instead of some quads.

Using "Rings and Cones", I can see some primitives with a suitable radius once a scaling factor is applied. However, rather than wanting a ring, I'm looking for a partial ring. While one of the primitives (3-16ring14) I could use is already available, a second one (3-8rin21) is not. I have played with PrimGen2 to generate the second desired primitive locally.

My question is, if I'm modelling a part and need a currently unavailable primitive, am I allowed to simply define the appropriate primitive (using PrimGen2) and submit the primitive through the parts authoring process? If this isn't allowed, is there an an (official) alternative way to get a new primitive created?

I do have an alternative where I can use a different primitive and apply a scaling to it but the ring segment ends up being too "thick" compared to the actual sticker. My preference is to try to model the sticker with the ring segments having the actual measured thickness.

Regards,

David

Print this item

  Printing parts from Ldraw part database
Posted by: Andrew L - 2019-02-24, 20:09 - Forum: Help - Replies (2)

Hi!
I tried converting some parts from LDraw to STL and printing them on the 3d printer.
I encountered a problem that all pinholes are too small, doesn't matter which part i use. Part size, however, is precise compared to existing parts (so i know it's not printer being buggy).
I have then found same parts elsewhere that print and that are compatible with other Lego bricks i've got.
Wonder if there's anything obvious i'm missing out while converting ldraw library parts to stl and printing.

Thanks and sorry if it's a noob question, i just have a line of children waiting for missing parts Smile

Print this item

  STL to LDD or other Lego Draw program
Posted by: George Ducharme - 2019-02-24, 15:22 - Forum: General LDraw.org Discussion - Replies (2)

Hi,

Is there a simple way or set of instructions to turn an .stl file (taken from SketchUp) into a Lego model?  I have used Brickify, however it appears the model is too large to process so the site is hanging.  I did remove unused layers, however that doesn't seem to help.

Unable to load file via the forum, so here is the link to the model via the 3D Warehouse -  

https://3dwarehouse.sketchup.com/model/1...ape-May-NJ

Apologies in advance if this topic has been covered and I completely missed it.

Thanks for any and all assistance.

George

Print this item

  broken main menu on Android
Posted by: Steffen - 2019-02-24, 8:23 - Forum: Website Suggestions/Requests/Discussion - Replies (2)

the main menu (see screenshot)
on Android is without function.
clicking it has no effect...



Attached Files Thumbnail(s)
   
Print this item

Video Continuous Variable Displacement Compressor
Posted by: Joscha - 2019-02-23, 23:14 - Forum: MOCs (My Own Creations) - Replies (1)

Hi there

After some time again I finally managed to release a video of my compressor. Here it is.

https://www.youtube.com/watch?v=rsH1Px7-qBA


Enjoy
Joscha

Print this item

  LDraw All-In-One-Installer 2018-02 v1 now available
Posted by: Willy Tschager - 2019-02-23, 15:09 - Forum: LDraw.org Announcements - No Replies

An updated version of the LDraw All-In-One-Installer, in short AIOI, has been released.

The AIOI supports Windows XP (Home and Pro), Windows Vista or higher (all versions). On 64-Bit Operating Systems it will install in the "Program files (x86)" folder. 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 LDraw Parts Libary 2018-02
* Update to LPub3D 2.3.6
* Update to MPDCenter 2.5.0.0
* Update to LDFind 1.3.5.4

You can download the AIOI from:

Home > Help > Get Started > LDraw All-In-One-Installer

Willy Tschager
(LDraw.org Content Manager)

Print this item