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 / 6877
6876  |  6878
Subject: 
Re: A comprehensive LDraw object model
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 10 Feb 2002 07:49:56 GMT
Viewed: 
458 times
  
In lugnet.cad.dev, Jeremy H. Sproat writes:
In lugnet.cad.dev, Jeremy H. Sproat writes:
If the LDraw community can pool their efforts into providing at least an
object model for LDraw parts and functionality,

Here's my first contribution, a rough outline of a class structure.

<snip>

First, this is a nifty idea. Objectifying this is long overdue. But I was
struck wondering, is this trying to objectify the current dat format as it
is, or an ideal one as we would like to see it be...

Also, are you a fan of the MVC paradigm/pattern? (I am... MVC = Model View
Controller)

If you are, are all these classes supposed to be part of Model? Stuff like
the renderer class seems more part of View, either you may have some
muddiness, or I may not be seeing intent clearly.

If you're not, let's talk further... LDraw seems a natural application of
the MVC pattern.

Also, do you have an object diagram whipped up that you can share? I find
when I'm modeling it's often better to start from an object diagram and let
inheritance take care of itself. Relations among objects are often the most
important things about them.



Message has 1 Reply:
  Re: A comprehensive LDraw object model
 
(...) Well, this raises the point: what ideal is the LDraw format aiming for? I don't think it's really going anywhere; any real change to the format would break compatability with the legacy LDRAW.EXE. I'm proposing a class library for the existing (...) (22 years ago, 10-Feb-02, to lugnet.cad.dev)

Message is in Reply To:
  Re: A comprehensive LDraw object model
 
(...) Here's my first contribution, a rough outline of a class structure. *** LDRAW LINE TYPE CLASSES *** abstract class LineType - ancestor class for all line-type objects + class LineType0 - comment line-type + class LineTypeCommand - command (...) (22 years ago, 9-Feb-02, to lugnet.cad.dev)

30 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