Subject:
|
Re: How do I get these new applications working?
|
Newsgroups:
|
lugnet.cad.dev.mac
|
Date:
|
Mon, 29 Aug 2005 01:24:04 GMT
|
Reply-To:
|
cjmasi@*nogarbageplease*rcn.com*SayNoToSpam*
|
Viewed:
|
3830 times
|
| |
| |
Christopher Masi wrote:
> Erik L. Knopp wrote:
>
> > Don Heyse <dheyse@hotmail.spam.go.away.com> wrote:
> >
> >
> > > In lugnet.cad.dev.mac, Erik L. Knopp wrote:
> > >
> > > > It is good to see new LDRAW applications (Bricksmith 1.0, LDGLite
> > > > 1.1.18) coming out for the Mac. However, I can't seem to get either of
> > > > them to display some of the .dat files I've collected from various
> > > > sources. I have viewed them using MLCad on a Windows machine, so I'm
> > > > thinking the files are okay. The behavior I'm seeing essentially
> > > > amounts
> > > > to no parts being shown (white screen.) Other files only partially
> > > > display. Are there some steps I might have overlooked when installing
> > > > the applicaions? How long should it take with either application for
> > > > the
> > > > parts to appear? I'm running them on a 20" 2GHz iMac G5, with Mac OS X
> > > > Tiger 10.4.2.
> > >
> > >
> > > Sounds like it can't find the parts. For ldglite, you can use the
> > > instructions here. For BrickSmith, I suspect your best bet is to use
> > > the one that comes with the parts.
> > >
> > > http://ldglite.sourceforge.net/osxinstall.html
> > >
> > > Good luck,
> > >
> > > Don
> >
> >
> >
> > I do have the parts that came with the Bricksmith download. I placed the
> > folder in the /Library directory. I believe I have set both applications
> > to look at that location. After some further experimenting, I have now
> > found some files that appear to fully display in Bricksmith, but only a
> > couple of parts show, if any, in LDGLite. (Still have files that do not
> > display in either application.)
> >
> > I followed the instructions at the link you provided and downloaded the
> > .tar archive from ldraw.org and replaced the ldraw folder with that one.
> > Still having the results decribed above.
> >
> > Erik
>
>
> So in LDGlite, most of the files open up and show nothing, and a few of
> the files show a couple of bricks?
>
> launch your teminal.app and type
>
> more .MacOSX/environment.plist
>
> Do you see something like this
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> "http://www.apple.
> com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>LDGLITEARGS</key>
> <string>-LE -v800,537</string>
> <key>LDRAWDIR</key>
> <string>/Users/username/Library/ldraw</string>
> </dict>
> </plist>
>
> <string>/Users/username/Library/ldraw</string> should be the path to
> your LDRAW folder. But if some of the parts are showing, then LDGLite is
> finding them. If LDGLite couldn't find your LDRAW folder you would see
> only a white window. I am not a programer, but I am Don's beta tester :)
> Could you e-mail me one of the dats? I want to see if they will work here.
>
> Thanks
> Chris
> Hi Chris,
>
> Here is what I get when I type the command you listed in Terminal:
> (I have the LDRAW folder in the main Library folder, not the user library folder. Had the same behavior when I had it in the user library folder.)
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.
> com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>LDGLITEARGS</key>
> <string>-l3</string>
> <key>LDRAWDIR</key>
> <string>~/Library/ldraw</string>
> </dict>
> </plist>
>
>
> Here is one of the dats that displays okay in Bricksmith, but only shows two parts in LDGLite (it is Mladen Pejic's "WHITERABBIT" Mech):
>
> Hmm, there are extra blank lines appearing here. (I pasted the dat file from TextEdit, set to plain text.)
>
> Erik
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 :)
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 :)
--
http://users.rcn.com/cjmasi/lego/
Learn about brittle bone disease
http://www.oif.org/
|
|
Message has 1 Reply: | | Re: How do I get these new applications working?
|
| (...) 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 (...) (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?
|
| (...) So in LDGlite, most of the files open up and show nothing, and a few of the files show a couple of bricks? launch your teminal.app and type more .MacOSX/environment.plist Do you see something like this <?xml version="1.0" encoding="UTF-8"?> (...) (19 years ago, 28-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
|
|
|
|