| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 162 online users. » 1 Member(s) | 155 Guest(s) Applebot, Bing, Facebook, Google, Twitter, Yandex, Orion Pobursky
|
| Latest Threads |
Could stickers be mapped ...
Forum: Parts Authoring
Last Post: N. W. Perry
11 hours ago
» Replies: 10
» Views: 323
|
Suggestion: for primitive...
Forum: Parts Tracker Discussion
Last Post: Willy Tschager
Yesterday, 15:51
» Replies: 1
» Views: 118
|
Feature request - Add cur...
Forum: LDraw Editors and Viewers
Last Post: Roland Melkert
Yesterday, 8:11
» Replies: 5
» Views: 174
|
View LDraw files in-brows...
Forum: Website Suggestions/Requests/Discussion
Last Post: N. W. Perry
Yesterday, 2:06
» Replies: 2
» Views: 179
|
Wavy Hair with Hole in Ba...
Forum: Part Requests
Last Post: Van Esbroeck
2025-12-22, 11:03
» Replies: 0
» Views: 96
|
Parts Request: Ninjago Dr...
Forum: Part Requests
Last Post: Peter Grass
2025-12-21, 7:10
» Replies: 8
» Views: 749
|
3DToLD Release 1.6.1 - Mi...
Forum: LDraw File Processing and Conversion
Last Post: Hageta
2025-12-20, 16:52
» Replies: 0
» Views: 138
|
Axlecap primitive
Forum: Parts Authoring
Last Post: Rene Rechthaler
2025-12-20, 15:23
» Replies: 3
» Views: 223
|
Parts Tracker Landing Pag...
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2025-12-19, 20:17
» Replies: 1
» Views: 160
|
Promotional Sets 2025
Forum: Official Models
Last Post: Philippe Hurbain
2025-12-19, 8:22
» Replies: 7
» Views: 5,961
|
|
|
| LDcad Colors. Where is...? |
|
Posted by: Michael Wilson - 2019-03-03, 23:45 - Forum: Help
- Replies (2)
|
 |
I'm having a blast playing around in LDcad. After I finished my first model, I wanted to price it out over at Bricklink. Unfortunately, many of the parts were unable to be found. It seems to me that some parts can't be found because of their color. Many technic bricks are "Light Bluish Grey" but I cannot find that color on any color wheel in LDcad. Or maybe it's something completely different. Any ideas what this noob is doing wrong?
Thanks!
|
|
|
| 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.
Clipboard01.png (Size: 144.44 KB / Downloads: 925)
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).
Clipboard02.png (Size: 204.78 KB / Downloads: 925)
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.
Clipboard03.png (Size: 190.53 KB / Downloads: 922)
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).
Clipboard04.png (Size: 196.46 KB / Downloads: 921)
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.
Clipboard05.png (Size: 4.13 KB / Downloads: 909)
(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
|
|
|
|