| Welcome, Guest | 
 
You have to register before you can post on our site. 
 
 | 
 
  
 
| Forum Statistics | 
 
» Members: 5,418 
» Latest member: slvn 
» Forum threads: 6,244 
» Forum posts: 52,214
  Full Statistics
 | 
 
 
 
| Online Users | 
 
There are currently 241 online users. » 0 Member(s) | 234 Guest(s) Applebot,  Baidu,  Bing,  Facebook,  Google,  Twitter,  Yandex
 | 
 
 
 
| Latest Threads | 
 
Keywords and invalid 0 li...
 
Forum: Parts Tracker Discussion 
Last Post: Orion Pobursky 
1 hour ago 
» Replies: 6 
» Views: 94
 | 
 
Minifigure Head MINI HEAD...
 
Forum: Part Requests 
Last Post: Bailey Meyer 
3 hours ago 
» Replies: 5 
» Views: 147
 | 
 
Friends 2025
 
Forum: Official Models 
Last Post: Philippe Hurbain 
Yesterday, 19:24 
» Replies: 1 
» Views: 171
 | 
 
Technic 1990
 
Forum: Official Models 
Last Post: Takeshi Takahashi 
Yesterday, 15:05 
» Replies: 14 
» Views: 18,183
 | 
 
Sorting by date
 
Forum: Website Suggestions/Requests/Discussion 
Last Post: Peter Blomberg 
2025-11-01, 10:22 
» Replies: 5 
» Views: 276
 | 
 
Parts request , spider we...
 
Forum: Part Requests 
Last Post: Peter Grass 
2025-10-31, 11:23 
» Replies: 1 
» Views: 144
 | 
 
Part 4070 differences in ...
 
Forum: Parts Authoring 
Last Post: Peter Grass 
2025-10-31, 10:58 
» Replies: 7 
» Views: 317
 | 
 
Empty file with MLCad
 
Forum: Parts Authoring 
Last Post: Orion Pobursky 
2025-10-30, 0:20 
» Replies: 2 
» Views: 202
 | 
 
Duplo parts not yet in LD...
 
Forum: Part Requests 
Last Post: Peter Grass 
2025-10-29, 9:46 
» Replies: 16 
» Views: 2,161
 | 
 
Part Request Minifigure B...
 
Forum: Part Requests 
Last Post: San 
2025-10-29, 2:49 
» Replies: 2 
» Views: 246
 | 
 
 
 
 | 
  | 
|   Drawing a cylinder from A to B | 
 
| 
Posted by: Wolstan Dixie  - 2014-11-27, 14:56 - Forum: Help 
- Replies (5)
 | 
 
	
		
  | 
		
			 
				I wish to use the primitive 'cyli.dat' to draw a cylinder from one arbitrary point in 3-space to another arbitrary point in 3-space, ie from (X1,Y1,Z1) to (X2,Y2,Z2) - the points being the centres of the circles defining the two ends of the cylinder.  It will have a fixed diameter which I can code in the primitive. 
 
I therefore need a general algorythm which will produce a suitable transformation matrix - I realise there may be more than one, anything that works would do! 
 
I am getting old and slow and understanding transformation matricies is now beyond me - I need the help of a young wiz-kid! 
 
Please!
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
|   Adding simple mechanic tags as a recommendation to standard | 
 
| 
Posted by: Jakub Trznadel  - 2014-11-17, 18:31 - Forum: Official File Specifications/Standards 
- Replies (21)
 | 
 
	
		
  | 
		
			 
				All, 
 
I've spent quite a lot of time recently working on my webgl viewer/robot simulator. While creation on robot simulator targetted at children is my primary goal, I made ldraw viewer as it was neccessary to create rendering backend. I am not very good at creating objects in CAD, being rather a programmer. Frankly, I would not succeed without having such a great resource as ldraw.org library is. Thank you! 
 
The reason I write here is because CAD files does not contain any hints about mechanical nature of models. While some movements are definetly too dificult to model with simple description language, there are plenty of situations which can be modelled by rotation/shift axis and min/max values for movement. 
 
I tried to check other applications to figure out if there is any format that I could reuse for my needs. But I havn't found anything suitable. That is, my best understanding is that: 
  - ld4dstudio - uses information in higher-level files, 
  - ldcad - uses LDCAD-extensions (0 !LDCAD ... ) to define LDCAD-specific GROUP, plus lua language to control it, 
  - brigl - uses BRIGL-extensions to define animation (0 SIMPLEANIM ) 
  - sr3d - seems to be most suitable, but I do not have sr3d license to try animation. As far as I understand new tags are added to describe scene. 
  - my viewer - added my-specific-extension to define engine rotation group, color/distance sensor position, and scene (0 MOTOR_AXLE), plus NXT-inspired graphical language to control (not really mature yet). 
 
Not sure if this list is complete. My question is: is there interest to create common standart to define simple mechanics? Or at least: common groups that are connected without any movement possiblity? 
 
For example: 
 - I would like to add something that could describe crane and wheels rotations to small crane model. 
( for example: 4838 model.  ) 
 
 - I would like to add groups to techincs/mindstorms models that have gears: couple of groups with one control (+scale). 
( for example:  8464 model ) 
 
 - I would like to have mindstorms-engine part with description that some part of the model does rotations. 
( for example: my industrial  - the orange part of engine does not rotate ) 
 
 - It could be nice to have minifig-rotations inside minifig models. 
 
 
I have a feeling that instead of implementing my own-incompatible way, it could be reasonable to define some common standartized extension so each project could (at least: partially) reuse models created for other. Also, I do not want to implement CAD on my own. 
 
I am looking forward for any feedback on this idea   
 
Thank you, 
Jakub
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
|   Auto correcting (some) defects in the official library | 
 
| 
Posted by: Roland Melkert  - 2014-11-15, 22:20 - Forum: Official File Specifications/Standards 
- Replies (52)
 | 
 
	
		
  | 
		
			 
				Like mentioned in some of the other threads, the current official library suffers from a number of defects which can be corrected automatically but can be somewhat of a pain to new software trying to use the library. 
 
It also has been suggested many times most of these errors can be fixed using an automated process. 
 
So I did a quick hack in the LDCad 1.4 code to make it possible to save corrected .dat files back to disk, this resulted in about 116 corrected .dat  files.  
 
Only downside I noticed is the loss of some indenting (only for the corrected lines, as LDCad preserves unmodified line content). 
 
I also noticed some minor mixed dos/unix line endings which are indirectly auto corrected for any file that needed rewriting. 
 
This test includes only 'hour glass quad' corrections, but with some additional tweaks I can also auto correct: 
 
case mismatches 
non flat triangles 
quad with duplicate point (degrade to triangle) 
all zero row or col ref matrix 
type 5 line with missing or duplicate control points (degrade to normal line) 
 
 
Should I continue my tweaks, and compile a patch containing all changed files so someone else can double check and merge them into the part tracker?  
 
If so which corrections are actually wanted, and or which additional correction would be needed/wanted. 
 
ps: this topic might be better off in the part authoring forum, not really sure though, admins feel free to move it.
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
|   Ring8.dat | 
 
| 
Posted by: Knud Ahrnell Albrechtsen  - 2014-11-15, 6:23 - Forum: Part Requests 
- Replies (1)
 | 
 
	
		
  | 
		
			 
				Hi 
 
I have been using Big Ben Bricks Wheels parts in MLCAD for some time now. 
When I entered my model into LDView I noticed it complained about a missing part - ring8.dat. 
I Can't seem to find it anywhere. 
Does anyone know what to do about this?
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
 
|   Official parts with errors/typos | 
 
| 
Posted by: Mario Pascucci  - 2014-11-09, 10:14 - Forum: Parts Authoring 
- Replies (25)
 | 
 
	
		
  | 
		
			 
				Hi all. 
 
Working on coding some Java libraries to handle LDraw libraries I hit some parts with errors. Following a brief list with errors/typos I found: 
 
 * 3842a.dat  		uses BFC CERTIFY INVERTNEXT 
 * 3842b.dat  		uses BFC CERTIFY INVERTNEXT 
 * s\3068s101.dat  	uses color 391 (unknown) 
 * 973psk.dat		uses color 391 (unknown) 
 * 4150p02.dat		uses color 354 (unknown) 
 * 973p7b.dat		uses color 354 (unknown) 
 * s\2528s01.dat 	at line 385 there is a triangle with 4 vertices 
 * s\6582a.dat		all quads are "bow-tied" 
 * s\6582b.dat		all quads are "bow-tied" 
 * s\6580a.dat		all quads are "bow-tied" 
 * s\6581a.dat		all quads are "bow-tied" 
 * s\6594a-c.dat	all quads are "bow-tied" 
 * s\6595a-d.dat	all quads are "bow-tied" 
 * 2907.dat		some quads are "bow-tied" 
 * s\6579a.dat		all quads are "bow-tied" 
 
HTH 
Mario
			 
			
		 | 
	 
	
		
			
				 
			
		 | 
	 
 
 | 
 
 
 
 
 |