Jump to content
THIS IS THE TEST SITE OF EUROBRICKS!
THIS IS THE TEST SITE OF EUROBRICKS!

njsokalski

Eurobricks New Members
  • Joined

  • Last visited

  1. Exact same problem here. I can't imagine why they would not make it fit when they first created it, why would anybody ever want a piece that doesn't fit? And as bublible said, I think certain pieces should be able to be bendable (I would also like a similar feature for springs to change whether they are squeezed or not). For now, I am just going to leave one of the 56145 pieces out of my LDD model and hope that me and everyone else is smart enough to realize that it needs added.
  2. If 3 is the max nest leve, then I that is probably the reason for my problem (I thought it was 4). I am not especially familiar with editing xslt, but I would guess that there is some way to modify the code to support more, and 3 seems like somewhat of a small number. At some point I may try to learn enough about writing xslt so that I can make my code usable for deeper nesting levels, and I'm sure that both me and many other users would appreciate any help in doing this, and if I do figure out a way to make it work I will be sure to post it here.
  3. Like I said in my post, it does not ALWAYS keep with the Groups result, only SOMETIMES. It always creates BIs, just not always ones that match the groups.
  4. I have been using Groups2BIs.xslt for a while now, and it usually seems to work pretty well. However, it occasionally creates building instructions that get immediately overwritten by instructions generated by LDD, even though I do not modify my model and go straight to the building guide after opening LDD. I have checked to make sure my groups include all bricks and have only 1 root group, but the problem still remains. I seem to remember hearing something about using directives with LDD, but never found anything (are there any kind of directives for LDD?) I also seem to remember there being some kind of limit as to the nesting level (I think it said 4?), although the *.xslt file has a value of 999999 for maxnestlevel. Does anybody have any suggestions? Thanks.
  5. I have been using your instructions for a while, and I want to thank you very much. I have also written a *.bat file that makes it easier to do (you may need to edit them slightly depending on what directories you have). Here are the *.bat files: Start_Building_Instructions.bat (this is just to make it easier to start so you don't need to remember the command line parameters): %windir%\system32\cmd.exe /K CreateBuildingInstructions.bat LineBot.lxf CreateBuildingInstructions.bat (change the values of LegoModelsNoQuotes, msxsl, and xslt to the values copy into a file named CreateBuildingInstructions.bat): @echo off set LegoModelsNoQuotes=C:\Users\Nathan Sokalski\Documents\LEGO Creations\Models\ set LegoModelsDir="%LegoModelsNoQuotes%" set msxsl="C:\Users\Nathan Sokalski\Desktop\msxsl.exe" set xslt="C:\Users\Nathan Sokalski\Desktop\Groups2BIs.xslt" set lxfml=%~1ml set xml=%~n1.xml set zip=%~n1.zip echo LegoModelsNoQuotes = %LegoModelsNoQuotes% echo LegoModelsDir = %LegoModelsDir% echo msxsl = %msxsl% echo xslt = %xslt% echo lxfml = %lxfml% echo xml = %xml% echo zip = %zip% echo/ cd %LegoModelsDir% echo Please export %~1 as %lxfml% echo %~1 will now open, close it after exporting pause "%~1" echo/ echo msxsl.exe will now create %xml% from %lxfml% pause %msxsl% "%lxfml%" %xslt% -xw -o "%xml%" echo/ echo %~1 will now be renamed to %zip% pause ren %1 "%zip%" echo/ echo Please copy IMAGE100.LXFML from %zip% to %LegoModelsNoQuotes% echo Windows Explorer will now open, close it after copying pause %windir%\explorer.exe %LegoModelsDir% echo/ echo Please copy all text (except 1st line) from %xml% to the Clipboard echo NotePad will now open, close it after copying pause %windir%\notepad.exe "%xml%" echo/ echo Please paste the copied text at the end of IMAGE100.LXFML between the BuildingInstructions tags echo NotePad will now open, close it after pasting and saving (make sure to first delete anything already between the BuildingInstructions tags) pause %windir%\notepad.exe IMAGE100.LXFML echo/ echo Please copy IMAGE100.LXFML to %zip% replacing the existing one echo Windows Explorer will now open, close it after copying pause %windir%\explorer.exe %LegoModelsDir% echo/ echo IMAGE100.LXFML, %xml%, and %lxfml% will now be deleted pause del IMAGE100.LXFML del "%xml%" del "%lxfml%" echo/ echo %zip% will now be renamed to %~1 pause ren "%zip%" "%~1" echo/ echo The new %~1 will now be opened pause "%~1" You will need to modify Start_Building_Instructions.bat for each of your models. I have been trying to find a way to automate some of the steps such as pasting the copied text into IMAGE100.LXFML, but the Windows Command Prompt has limitations on the amount of text it can work with (IMAGE100.LXFML is larger than it can edit). Hopefully this makes things easier!
Sponsored Links