To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 715
714  |  716
Subject: 
Re: How do I get these new applications working?
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Mon, 29 Aug 2005 02:35:09 GMT
Viewed: 
3855 times
  
Christopher Masi <cjmasi@*nogarbageplease*rcn.com> wrote:

Christopher Masi wrote:
I tested the dat the you sent me. I copied from Mail to TextEdit, and I
left in the extra lines too. I'm guessing that these "extra lines" were
"added" by MLCad. It's that whole LF vs LF CR thing... or what ever
is... I keep forgetting.

LDGLite opened the file without a problem.
Mac Brick CAD 2.4b1 opened the file without a problem. MBC 2.4b1 did
leave out things from another Mecha called White Tiger that I got from
Mladen's web site.
MBC 3.0b1 displayed part of the model.
Bricksmith opened the file without a problem (though some of the white
pieces were hard to see).

I think I have the LDGLite problem figured out. Your ldraw library
string and the location of your LDRAW library aren't the same. What you
sent me

        <string>~/Library/ldraw</string>

means that LDGLite is going to look in your user library. The "~" is
short for /User/yourusername. When I intentionally misplaced my LDRAW
library, the WhiteRabbit file opened with two partial parts showing.
This is because those parts are defined using primitives in the dat file
itself. So, LDGLite doesn't need to look up the information for those
parts. None of the other parts is drawn because LDGLite cannot find the
LDRAW library. Either edit the string and eliminate the "~" or move your
LDRAW library back to your user library.

Why didn't it work in the first place before you moved your LDRAW
library from ~/Library to /Library? I don't know... did you log out and
then back in after installing LDGLite? Apparently, our Macs only read
the contents of the ".MacOSX/environment.plist" at login. So, if you
don't login, the file doesn't get read, and the location of the LDRAW
library doesn't get passed to LDGLite.

OK, here is my advice, finally. Put the LDRAW library in your user
library because this is easier than changing the environment.plist so
that LDGLite knows where to look.
Use the prefernces dialogue in Bricksmith to tell Bricksmith where your
LDRAW library is.
Log out and then back in.
Bricksmith and LDGLite should both open the file now. MPD's have been
problematic in the Mac world. I'll leave it to the real developers to
comment on how well their apps handle MPD's because I don't really know.
I don't build with MPD's so I don't ever test those features :)

Is there more to it than just logging out and logging back in? I moved
the ldraw foler to my user library folder, reran the
set-ldrawdir.command, and logged out and back in using the "Log Out..."
command under the apple menu. (is that the correct way to log out and
back in?)
Reopening the WhiteRabbit file in LDGLite still has the same result of
showing only the two parts, a 'Flag 2 x 2'
(<http://www.peeron.com/inv/parts/2335> and a 'Bracket 1 x 2 - Dish 4 x
4' (<http://www.peeron.com/inv/parts/30209>.)

Is there any significance to what is shown in the first
'<string>..</string>' line of the '.MacOSX/environment.plist' file? (On
my Mac it is '<string>-l3</string>'.)


If you haven't looked into it yet, check out MBC 2.4b1.
http://homepage.mac.com/aallan/mbc.html
It is another good option :)

I have tried it, and it does show the WhiteRabbit file, and others,
correctly on my Mac. It also does not seem to have any problem finding
the submodels.

Erik



Message has 1 Reply:
  Re: How do I get these new applications working?
 
(...) Now I know! There is a bug in set-ldrawdir.command. Set-ldrawdir.command should not be using a "~". I just confirmed this by chaning mine to a "~", and ldglite could not find my ldraw directory. So, you did everything right, we didn't. Sorry. (...) (19 years ago, 29-Aug-05, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: How do I get these new applications working?
 
(...) I tested the dat the you sent me. I copied from Mail to TextEdit, and I left in the extra lines too. I'm guessing that these "extra lines" were "added" by MLCad. It's that whole LF vs LF CR thing... or what ever is... I keep forgetting. (...) (19 years ago, 29-Aug-05, to lugnet.cad.dev.mac)

16 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