LDraw.org Discussion Forums

Full Version: I’d like to introduce our new Digital LEGO builder called MOC Builder.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Dear fellow digital builders,

I’m Henry Park, a member of BrickLink's tool development team.
I’d like to introduce MOC Builder, our new Digital LEGO builder, that was developed based on LDraw's library of virtual LEGO bricks. It allows you to build a virtual LEGO creation on your Windows, Mac, or Linux computer. It also helps you order real LEGO bricks to turn your virtual creation into a physical model. To make that possible, we added part connectivity on top of the LDraw library and integrated BrickLink's marketplace within the tool.

[Image: MOCBuilder.png]

[Image: MOCBuilder_price.png]

Here are key features of MOC Builder:
  • Drag-and-drop building
  • Building with Connectivity
  • Undo, Redo, Cut, Copy and Paste
  • Loads both LDraw and LDD (Lego Digital Designer) models
  • Search parts by name and description either from LDraw library or BrickLink Catalog
  • Part Browser with customizable category
  • Supports all LDraw colors (as of 10/30/2014)
  • Find and replace (with color) parts within a working Set
  • Step browsing for building instructions
  • Automatic grouping
  • Overlap Check
  • Import a set as a model from local file system
  • Import a set from the Set Inventory of BrickLink
  • Export parts to BrickLink Wanted List
  • Calculate price of model based on BrickLink market price of the parts
  • +Connectivity Editor

MOC Builder is an open source, free software. Any ideas, comments, or bug reports will be greatly appreciated. If you are a developer of existing tools on LDraw platform and wish to integrate your tools with MOC Builder, I’d love to hear any suggestions from you.
Please feel free to contact me.

MOC Builder is licensed under The BSB 3-Clause License.

MOC Builder can be download following link:
https://github.com/MOCBuilderOrg/MOCBuilder/releases

Thanks,
Henry Park
I just played a little bit with this new tool. Seems to be a good approach. It should support also mpd content files, but I can not find a way to modify mpd content files.
I just also quickly played with it on PC. These are my initial thoughts to it:

(1)
I was confused that all parts have a "chain link" icon in the parts tree and in the model parts list.
I would have preferred some nicer icon, for example, a 1x1 plate.

(2)
All part aliases (for example "= Animal Dragon Wing") are displayed with a yellow exclamation mark
overlay icon. Why? And can you do something about polishing the title a little? The initial special character "="
should be suppressed IMHO. Part aliases are alternative part numbers of a part that already exists with a different number.

(3)
The "Option" menu should be named "Options" IMHO, and the menu item "Option/Shortcut" renamed to
"Options/Keyboard Shortcuts".

(4)
I can not see any studs!?

(5)
Ugh, the loading of .ldr scenes needs improvement.
When I load some .ldr scene from some folder on my harddisk (outside the LDRAW installation folder),
and that file uses some other *.ldr files (which lie next to the scene), these are not found
and shown with a red X icon. This is frustrating, because I cannot load my .ldr scenes.......
When fixing this, please also make sure that the ldraw "models" folder is also sought for part files,
as this is also a standard LDRAW search location. Additionally, I would like to be able to add more custom
part search folders, for example I want to use LSYNTH primitives. ----> Can you add a .ini file
where I can edit the part search folders manually?

[attachment=1378]
Thank you for your valuable comments!
I'd like to reflect it in the next release.

p.s I can't understand the meaning of "(4)I can not see any studs!?" Please give me more example(screenshot or description etc).

Regards,
Henry Park.
Open source, free, available on Linux, WOW! I'm so going to test this tonight. Thank you for the "open"ness of this project. That should help keep it alive for years to come.
I'm only seeing the Apple and Windows packages, does it need to be compiled for Linux distros? I have no idea how to do that yet.
Well, LEGO bricks have the small connectors on their top. These are called "studs",
and as you can see in the screenshot above, your LEGO renderings do not have these,
they just appear as a blue box, but there are no cylindrical connectors at the top.
Or did I do something wrong?
just tested it, look really impressive actually. love the snapping of parts and the collision detection.
I'll try and model a complete build later.. I hope it could become my default editor Smile

I'll check the sources too.
Could you add a "LEdit/MLCAD" mode? By this I mean the part movement and rotation keyboard controls of LEdit and MLCAD, as well as the flat-sided orthographic views. These are the main things I'm missing in recent LDraw editors.
I've found my first bug: it looks like when you write floats into the file, they get the decimal separator defined by Locale, instead of the dot. Here's what i find in a file saved with MOC Builder:

Code:
0
0 Name: spaceship2.ldr
0 Author:
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 8 0,000 -8,000 -10,000 1,000 0,000 0,000 0,000 1,000 0,000 0,000 0,000 1,000 3032.dat
0
1 8 0,000 -8,000 40,000 1,000 0,000 0,000 0,000 1,000 0,000 0,000 0,000 1,000 3666.dat

The problem is in the method in LDrawUtilities, here's one of the possible solutions:

Code:
public static String outputStringForFloat(float f) {
        // Locale.US ensure using dot as decimal separator
        return String.format(Locale.US, "%.3f",
                Math.round(f / LDrawGlobalFlag.DecimalPoint)
                        * LDrawGlobalFlag.DecimalPoint);
    }
Pages: 1 2 3 4