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 / 819
818  |  820
Subject: 
LSynth on Mac OS X
Newsgroups: 
lugnet.cad, lugnet.cad.dev.mac
Date: 
Fri, 30 Mar 2007 23:38:28 GMT
Highlighted: 
(details)
Viewed: 
15 times
  
I just realized today that the LSynth source code builds fine on Mac OS X. Apologies if this has already been established, but it’s news to me. I’d previously only been aware of the PC binary version available here.

The Tk GUI works, too, if you tweak the path to the lsynthcp.exe executable (I renamed it lsynthcp):

LSynth Dialog Box

Now I’ve just got to learn the synthax better. The first chain I made (for this model) was wrapped around one gear properly, but the loop for the other gear extended in the wrong direction. It was easy enough to spin it around, though:

hand tweaked LSynth chain

Once I figure out how it works a little better, I might write a brief tutorial how to use it with Bricksmith. I’m thinking some sort of editor integration, like with MLCad, might not be too difficult, either. Anyway, I’d be glad to provide the binary if anyone would like to make it available for download.

One important debugging thing: it bit a bus error the first time I tried making this chain. Turns out the uninitialized variable nonwhite was being tested in the first strcmp in skip_synthesized() in lsynthcp/main.c. I think line is the variable that is supposed to be tested instead; it made the change and now it works fine.

One more step in my Macintosh LDraw compatibility campaign!

Jim



Message has 2 Replies:
  Re: LSynth on Mac OS X
 
(...) Wow. You're a one-man Mac compatiblity machine. I almost wish I had a Mac so I could play with all the toys you've ported. Tim (18 years ago, 30-Mar-07, to lugnet.cad, lugnet.cad.dev.mac, FTX)
  Re: LSynth on Mac OS X
 
(...) Sweet. I can host stuff. (...) Sweet. I guess I've kinda fallen off. Incidentally, the last few days I've been cleaning up my old files and I ran across the old LDMC website (LDraw for the Mac Campaign). Its been 5 years since I took the site (...) (18 years ago, 30-Mar-07, to lugnet.cad, lugnet.cad.dev.mac)

9 Messages in This Thread:



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

Custom Search

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