To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10870
10869  |  10871
Subject: 
Re: dll file for use with Visual Basic Express
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 18 Jun 2008 17:53:51 GMT
Highlighted: 
(details)
Viewed: 
8855 times
  
mikeheide wrote:
Is there anybody that it interested in an dll that comes with objects and
methods to handle ldraw related files? It would not be for showing the parts but
could be base to develop that.

I like the idea, I had some head breakers while trying to read LDraw
files correctly the first time (especially regarding to reading
recursive winding information).

But I think, if there was going to be an 'official' LDraw api it should
be open source C++ or even C core wise.

You could then compile this 'core' source into a DLL for windows and
create additional source for Delphi, Visual Basic, etc wrapping it in
classes in the client language.

you could also use the core source directly in any native c/c++ language
windows, Linux, mac alike.

But it might be hard to create an efficient api because reading dat
files is mostly about pushing data around, and every application has
different requirements on how that data is used. Therefore the services
of the API might be little more then returning a list of eg triangle
coordinates.

And because most applications need different kinds of data structures
using the API might cause considerable overhead due to converting the
API data to internal data etc.

Just my 2cents.



Message has 1 Reply:
  Re: dll file for use with Visual Basic Express
 
(...) For what it's worth, LDView is Open Source (GPL v2), and all of its LDraw file loading code is kept in a separate library (which I call LDLoader). This library depends on one other of my libraries (which I call TCFoundation, short for Travis (...) (16 years ago, 18-Jun-08, to lugnet.cad.dev)

Message is in Reply To:
  dll file for use with Visual Basic Express
 
Is there anybody that it interested in an dll that comes with objects and methods to handle ldraw related files? It would not be for showing the parts but could be base to develop that. Any comments are welcome. cu mikeheide (16 years ago, 17-Jun-08, to lugnet.cad.dev)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR