Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,002
» Latest member: ARZHost
» Forum threads: 5,996
» Forum posts: 50,723
Full Statistics
|
Online Users |
There are currently 512 online users. » 0 Member(s) | 508 Guest(s) Baidu, Bing, Facebook, Google
|
Latest Threads |
May stud2 be used for oth...
Forum: Parts Authoring
Last Post: Peter Blomberg
2 hours ago
» Replies: 2
» Views: 98
|
Make Part 45590 Flexible
Forum: Parts Authoring
Last Post: Gerald Lasser
Yesterday, 21:41
» Replies: 4
» Views: 208
|
am i doing this right?
Forum: Parts Authoring
Last Post: Jeff Jones
Yesterday, 19:53
» Replies: 0
» Views: 60
|
Looking for easy parts to...
Forum: Parts Authoring
Last Post: Peter Blomberg
Yesterday, 19:46
» Replies: 0
» Views: 54
|
ConvertToLDraw Version 1....
Forum: LDraw File Processing and Conversion
Last Post: Hageta
Yesterday, 16:21
» Replies: 1
» Views: 458
|
Duplo 31070
Forum: Parts Authoring
Last Post: Peter Blomberg
Yesterday, 10:29
» Replies: 3
» Views: 195
|
Request for parts 2438pb0...
Forum: Part Requests
Last Post: Vito Tarantini
2025-05-12, 18:56
» Replies: 0
» Views: 92
|
Friends Fawn 13393
Forum: Part Requests
Last Post: Takeshi Takahashi
2025-05-12, 16:16
» Replies: 6
» Views: 781
|
Friends Animal Series
Forum: Official Models
Last Post: Takeshi Takahashi
2025-05-12, 15:53
» Replies: 20
» Views: 5,524
|
MLCad.ini 2025-04 update ...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
2025-05-12, 12:48
» Replies: 0
» Views: 101
|
|
|
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.
|
|
|
Looking for some Spyrius parts. |
Posted by: Jude Parrill - 2011-10-22, 9:56 - Forum: Parts Authoring
- No Replies
|
 |
I've been working on some Spyrius sets and was wondering if anybody has or could make the following parts for me:
3626bpx193 Minifig Head with Blue Headband, Red Hair and Eyebrows Pattern
3626bpx252 Minifig Head with Moustache Thin, Stubble and Sideburns Pattern
2446px14 Minifig Accessory Helmet Modern with Silver and Blue Vents Pattern
3039px2 Slope Brick 45 2 x 2 with Horizon Pattern
3039px32 Slope Brick 45 2 x 2 with Yellow Droid Outline on Screen Pattern
4346px15 Container Box 2 x 2 x 2 Door with Slot and Spyrius Pattern
I'd appreciate it.
|
|
|
|