| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 8 online users. » 1 Member(s) | 1 Guest(s) Applebot, Baidu, Bing, Facebook, Google, Yandex
|
| Latest Threads |
New Click hinges
Forum: Part Requests
Last Post: Magnus Forsberg
Yesterday, 21:30
» Replies: 17
» Views: 21,577
|
Town, Trains and Paradisa...
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 16:15
» Replies: 13
» Views: 9,726
|
Parts Request: Exploriens...
Forum: Part Requests
Last Post: Carmichael
Yesterday, 9:54
» Replies: 0
» Views: 85
|
Preview Video of My New D...
Forum: All Other Programs.
Last Post: Demetree Kallergis
2026-08-25, 20:33
» Replies: 0
» Views: 91
|
New parts from Lego Instr...
Forum: Parts Authoring
Last Post: Orion Pobursky
2026-08-24, 13:29
» Replies: 102
» Views: 135,339
|
We have a problem, again
Forum: Parts Authoring
Last Post: Willy Tschager
2026-08-24, 7:33
» Replies: 6
» Views: 8,432
|
Blaster w/ Clip (Part 154...
Forum: Part Requests
Last Post: tom alphin
2026-08-22, 18:56
» Replies: 1
» Views: 200
|
Seal (Part 3380 / 3380pr0...
Forum: Part Requests
Last Post: tom alphin
2026-08-22, 18:55
» Replies: 0
» Views: 147
|
Missing Roboforce 1997 Mi...
Forum: Part Requests
Last Post: Zack Uhlenhuth
2026-08-22, 10:20
» Replies: 3
» Views: 803
|
part for Set 8880-B
Forum: Part Requests
Last Post: Alfred Schmitz
2026-08-22, 7:04
» Replies: 6
» Views: 520
|
|
|
| Online Renderer |
|
Posted by: Jamie B. - 2011-10-30, 15:47 - Forum: Rendering Techniques
- Replies (3)
|
 |
Given that browsers now support WebGL (Firefox, Chrome, and Safari), you could do a browser-based part and model viewer.
Would anyone be interested in that?
|
|
|
| Parts to be renamed? |
|
Posted by: Tim Gould - 2011-10-30, 11:08 - Forum: Parts Authoring
- Replies (12)
|
 |
Hi All,
I was looking for the 6 x 6 tile today (6881a/b) and was surprised to see it wasn't in the library. Or rather, after doing some sniffing, I discovered it wasn't a 'tile'. It was a 'Scala tile'.
This seems rather wrong to me and got me wondering if there weren't other parts with strange naming. Does anyone else know of any?
Perhaps someone can correct me if I'm wrong but I believed that part names should generally be descriptive of form and function, not of the line they appear in (aside from prints).
Tim
PS. Which isn't to single out the part authors. It is the name Peeron uses which are traditionally the source of LDraw parts. I simply think it is wrong for LDraw.
|
|
|
| 3dxml2dat |
|
Posted by: Rolf Osterthun - 2011-10-26, 21:53 - Forum: Parts Author Tools
- Replies (3)
|
 |
Hey,
some time ago Philo described a method to convert LDD parts into LDraw parts (http://news.lugnet.com/cad/?n=17697). In the <VertexBuffer> section, Philo referred to, there is next to the <Positions> tag also a <Normals> tag. With these normals there is a calculable way to differ between normal lines (linetype 2) and optional lines (linetype 5).
I wrote a small console application based on .NET 3.5 that can make these calculations. The application is kind of simple and silly; but if you play it right it might help you a lot: you have to add the desired part in the LDD without rotating the view. Than take the 3D screenshot and extract the 3dxml file out of the 3dxml archive. Open the 3dxml file and search for the <VertexBuffer> section. Copy the <Positions> and <Normals> line into a new textfile and save it (e.g. file.txt). Call the new console application with the new file as argument and you will get an LDraw part with lines and optional lines.
Please remember: "Getting the shape is only the tip of the iceberg!". This tool is ment to help part authors to create parts. Please make them LDraw parts first before you add them to the parts tracker.
You can download the tool at http://digital-bricks.de/download/3dxml2dat.zip
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 tool.
There are a few options you can play with:
Code: Usage: 3dxml2dat.exe [Options] <inputFileName>
Options:
[-scale <value>]: scale the mesh with factor <value> (default is 25)
[-out <outputFileName>]: write the result in <outputFileName> (default is <inputFileName>.dat)
[-optionalLines <true|false>]: draw optional lines (default is <true> )
[-normals <true|false>]: draw normals (default is <false> )
[-ymin <value>]: the lowest y will be at <value>
Rolf
|
|
|
| I want to put .dat files into SolidWorks |
|
Posted by: Jason Bardis - 2011-10-24, 2:44 - Forum: LDraw File Processing and Conversion
- Replies (5)
|
 |
Hi-
I'm a die-hard SolidWorks user & wish to import LDraw .dat models into SolidWorks.
I'm having some trouble. Here's what I've tried:
I downloaded LDraw & the entire part library.
I downloaded, purchased, & registered 3DWin from TB Software.
3DWin can convert .dat files to .igs or .stl, both of which can be read by SolidWorks.
When I perform these file conversions, however, the files either won't load into SolidWorks, load but with errors/warnings & come up empty, or import and have just a few curves but no solids and the curves don't even look like the completely correct part.
I know that I'm starting with good .dat files, because MLCad opens up the .dat files just fine.
Does anybody have experience with this conversion? Or, is there already a library of parts models that can be imported into SolidWorks?
Thank you very much,
-Jason
PS--Here's a little more detail on some of the trials & tribulations, if some of you are familiar with the nitty gritty of this process.
1 - STL. After I have created an .STL file with 3DWin & I open the .STL file with SolidWorks, the file opens & is empty--there is no geometry. Tested this with 3001.dat & 3002.dat. When opening an .STL file generated from 1.dat, I get some thin geometry, but no solids, & it's incomplete.
2 - IGS. After I have created an .IGS file with 3DWin & I open the .IGS file with SolidWorks, I get one of the following errors:
a) "This file contains free curves/points which are not desired according to the import options. Do you wish to import them anyway? Yes/No" After I select "Yes", the file opens with a sort of a skeleton of imported curves, but no solid geometry, & the part looks incomplete. (I get these results with file 1.dat).
b) "Unable to read IGS file. File was truncated or contains invalid data. OK". I click "OK" & the box disappears & SolidWorks gives up on opening the file. (I get these results with files 3001.dat & 3002.
During my troubleshooting, I have tried parts 1.dat, 3001.dat, & 3002.dat. All of these open fine in MLCad, so I know that the source .DAT files are OK.
|
|
|
|