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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,168
» Latest member: Alex0
» Forum threads: 6,087
» Forum posts: 51,284

Full Statistics

Online Users
There are currently 763 online users.
» 0 Member(s) | 759 Guest(s)
Baidu, Bing, Facebook, Google

Latest Threads
Part Request: Plastic Sci...
Forum: Part Requests
Last Post: Dmitry
39 minutes ago
» Replies: 7
» Views: 1,573
Updates of the Bricklink ...
Forum: Parts Authoring
Last Post: Peter Blomberg
3 hours ago
» Replies: 7
» Views: 840
Possible duplicate faces ...
Forum: Parts Authoring
Last Post: Peter Blomberg
3 hours ago
» Replies: 1
» Views: 30
Are conditional lines ste...
Forum: Parts Authoring
Last Post: Peter Blomberg
10 hours ago
» Replies: 1
» Views: 1,008
3D print LEGO element
Forum: Off-Topic
Last Post: Nate87
Yesterday, 19:39
» Replies: 18
» Views: 9,389
Most Common Parts that re...
Forum: Part Requests
Last Post: Peter Blomberg
2025-07-20, 11:35
» Replies: 34
» Views: 14,630
Can we get the part 4364p...
Forum: Part Requests
Last Post: Vincent Messenet
2025-07-20, 9:40
» Replies: 3
» Views: 231
LDraw Additional-Tools-In...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
2025-07-20, 9:30
» Replies: 0
» Views: 96
LDraw All-In-One-Installe...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
2025-07-20, 9:22
» Replies: 0
» Views: 86
Modulex parts
Forum: Parts Authoring
Last Post: Chris Böhnke
2025-07-19, 15:35
» Replies: 34
» Views: 5,094

 
  Aligning parts using rotation scripts
Posted by: David Manley - 2021-12-16, 8:24 - Forum: LDraw Editors and Viewers - Replies (35)

1. Background

A few months ago, I wrote a Lua script for LDCad to animate the rotation of a 4 (or 3) bar linkage, posting the script to the LDraw forum. Writing that script got me thinking about writing a script which would determine the joining point for two parts, each being rotated about their own designated rotation point.

I’ve now written a version of the script. This post describes how to use the script and provides details about downloading and installing the script.


2. Expectations

The aim of the script is to provide a point-and-click mechanism to rotate parts within LDCad. Conceptually, the parts serve different purposes; some are identified as a rotation origin, some are identified as being aligned to another part and some parts are those which are being rotated. Although this post tends to use the term part, the script can also be used with sub-files.

The script provides solutions for two different scenarios

  • rotating a single part to a designated alignment point
  • rotating two parts to a join point common to both parts

Images from an incomplete model of set 9748-1 (a current work-in-progress) illustrate the script's capabilities.

Print this item

  Help with edge prim
Posted by: Willy Tschager - 2021-12-15, 19:27 - Forum: Parts Authoring - No Replies

Anybody with a suitable code using edge prims for these intersections?

1 9 93 -103 70 4 0 0 0 20 0 0 0 4 4-4cylo.dat
4 9 89.304 -85 71.531 91 -85 80 91 -103 80 89.304 -103 71.531
4 9 95.828 -103 67.172 100 -103 71 100 -85 71 95.828 -85 67.172
1 9 96 -92 60 4 0 0 0 0 -4 0 11 0 2-4cyli.dat
3 9 92 -92 70 92 -92 60 60 -92 60
1 9 79.093 -90 65.966 .895 11.6199 0 0 0 3 -2.864 3.6315 0 4-4cyli.dat


w.

Print this item

  looking for ldcad linkage animation help
Posted by: liu - 2021-12-13, 4:30 - Forum: Rendering Techniques - Replies (10)

tried several hours couldn't sove it

https://youtu.be/QSMPZDEJ_H4

ldr file I'v upload to google drive  https://drive.google.com/drive/folders/1...sp=sharing

Could somebody help me?

Print this item

  Part 2853
Posted by: N. W. Perry - 2021-12-13, 3:32 - Forum: Parts Authoring - Replies (4)

Why is this part 10.2+29.8 in length rather than 10+30? When assembled in an engine, all it does it create a collision:
   

Print this item

  LDInstruction
Posted by: Stefan Frenz - 2021-12-12, 13:09 - Forum: LDraw Editors and Viewers - Replies (52)

Thanks to all helping me with LDInspector. In the last weeks I wrote a new module to generate instructions from a MPD model. It is far from being complete or feature-rich like LPub3D, but for me it suits better in some situations. The generated file is a LibreOffice Draw (odg) file, so further modification is very easy and only limited by LibreOffice.

You may give it a try if you have Java installed (no need for JavaFX for this module). You only need the jar file and a context definition file LDInspector.ldi - you can use the one created by LDInspector or create one containing one line per LDraw part source like in

Code:
0 FILE LDIContext.ldi
0 LDInspector context configuration
0 Name: LDIContext.ldi
0 Author: LDInspector

0 !LDINSP PART_SOURCE [type=Directory] [origin=ofc] [dest=/path/to/ldraw/]
0 !LDINSP PART_SOURCE [type=ZIP] [origin=uno] [dest=/path/to/ldraw/Unofficial/ldrawunf.zip]
where parameter type is one of "Directory" or "ZIP" and origin is one of "ofc" (official parts) or "uno" (unofficial parts).

To start the GUI, please use
Code:
java -cp ldinstr.jar ldinsp.guisw.InstructionHelper

For a slightly modified version of the 603 model you should get an output odg file looking like the attached image:
   

To me this approach has several PROs and CONs:
  • Pro: single-step processor: there are no commands having range limits ("start-end"), the commands only set parameter ("from here on").
  • Pro: stable behavior even for large projects (tested with >320 pages and >350 steps).
  • Pro: most options may be changed for each step (for example highlight-color etc.).
  • Pro: real WYSIWYG for current model step, option to use and/or overwrite LDCad/MLCad ROTSTEP angles.
  • Pro/Con: not full-featured instruction commands (no arrows, no lines, no number editing), but fully editable in LibreOffice (free placement for all items, changing of all background/frame colors, adding elements like arrows and lines, editable text and numbers).
  • Pro/Con: focus on steps instead of pages, so (pro) you can later change steps with LDCad without risking already done layouts but (con) you have to re-run the build process to see page layout changes.
  • Pro/Con: orthogonal projection, no option to have perspective projection.
  • Pro/Con: completely software rendered, no OpenGL/Vulkan/DirectX acceleration (a bit slow, but no special driver/hardware/library required).
  • Con: no WYSIWYG-gui for pages.

I would appreciate any feedback or even "this could be done easier using x, y or z". Wink If there is interest in this project, the GUI will have to support the process much more than it does at the moment like hinting about options (left align, center align, right align, fixed offset), support in creating a valid LDInspector.ldi file and maybe a page-preview for multiple steps.

Best regards and thanks in advance
Stefan

Print this item

  42130 Technic BMW Bike with a bunch of new Parts...
Posted by: Gerald Lasser - 2021-12-09, 16:48 - Forum: Part Requests - Replies (1)

Wow, that's a pretty big bike that LEGO releases here!

Zusammengebaut.com has some nice pictures of the new parts, abd thoese are plenty:

- Two new huge tyres
- New large rim
- Two new shock absorbers
- a new breakdisc
- and finally a new wheel-hub holder

amazing parts...

and of course Sariel's review with even better pictures:
https://www.youtube.com/watch?v=H2ATATLj64g

forgot about the windscreen, which is pretty unique

Print this item

Thumbs Up Challenging Pieces: 2557c03 and 2559c03
Posted by: Bela - 2021-12-08, 9:42 - Forum: Part Requests - Replies (2)

Hi Everyone!

First time posting! Was only lurking until now and once working with stud.io, i realized the complexity of 3D Modeling. 
I have no skills in 3D Modeling at all by myself, but i have enough technical knowledge to realize that the pieces i'm asking for are a living inferno to do!

I'm working on recreating vintage dioramas from the background images on the old LEGO IDEAS books, and after working on castle builds (with instructions downloadable for free on the site https://www.backoftheboxbuilds.com/idea-book-260/) , now I started tackling pirates builds from the same book, but quickly realized that plenty of pieces are missing!

Therefore i'm here to ask if someone could try to tackle the Large Boat Hulls 2559c03 and 2557c03 from vintage pirates sets, as for these pieces, i really cannot find any possible alternatives (like i did for  2552px3)

Print this item

  Tips for using BUILD_MOD
Posted by: mihao - 2021-12-08, 6:50 - Forum: Help - No Replies

Hi,

I am trying to use the new BUILD_MOD feature in my instruction, but honestly this feature doesn't seem to be very stable. For example, sometimes, it complains the "BUILD_MOD END" is missing, but apparently, it is there in the source file, as below.

   
   

Is there some best practices that I should follow to make this feature work?

Thanks

Print this item

  93148pb01
Posted by: Neme287 - 2021-12-07, 19:35 - Forum: Part Requests - Replies (4)

Hi, could it be possible to request this part to Stud.io?: 
93148pb01: https://www.bricklink.com/v2/catalog/cat...1#T=C&C=48

Please?

Print this item

  Castle - Lion Knights
Posted by: Takeshi Takahashi - 2021-12-05, 13:30 - Forum: Official Models - Replies (11)


.mpd   6055 - Prisoner Convoy.mpd (Size: 11.03 KB / Downloads: 10)
   

OMR compliant
Missing items: none

Print this item