 | | Re: Ldraw Viewer Update (v 0.3)
|
|
(...) Give me a couple of days, and I'll give it a try. Chris (23 years ago, 6-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) I agree. It seems like a step backwards. (...) Ahh.... so it is a 10.2 thing. Thanks, Chris (23 years ago, 6-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) I suspected that POV-Ray was just being difficult, especially when simply adding (I didn't know if it was adding or changing the file type) the text file type. (...) Actually, that makes sense. But do you think that they are doing the "text (...) (23 years ago, 6-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) I found the sample code that loads the System.framework from a CFM carbon app and runs a unix process with popen... (URL) (23 years ago, 6-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) These might not be the cleanest solution. I want the same binary to launch on OS 8.6 or 9. But I think you can still try to bring in a Cocoa framework at runtime to a CFM process though. CFM is required on OS 9. Mixing Cocoa and Carbon is (...) (23 years ago, 6-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Ldraw Viewer Update (v 0.3)
|
|
In lugnet.cad.dev.mac, Andrew Allan writes: Another quick note, today, I posted another update to Ldraw Viewer on my .Mac site. homepage.mac.com/aal...GLite.html This takes the development verion to 0.3 New features include full model editing (well (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) I think ldglite has this same problem. Remember when we had the discussion about using the linux parts vs. the parts that Erik has for download? I could not get Erik's parts to work with l3p either. (...) You can mix Cocoa and Carbon, can't (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
This is more of an issue with POV-Ray. It has everything to do with Macintosh Meta data. l3p creates files with no meta data. If you type: /Developer/Tools/GetFileInfo -c /path/to/.pov /Developer/Tools/GetFileInfo -t /path/to/.pov You get: "" Which (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Interesting idea. Unfortunately either way fopen creates a file with no Mac type or creator code at all. Because I told the Finder once to open a .pov file with BBEdit, it knows to do that for me. But I still get a blank icon because it has no (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Essentially the \r make it one big line. L3P says it has the wrong number of fields. Maybe it reads the buffer limit and tries again because there is a variety of error messages per file. Now that you ask I don't know how one can use fgets for (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) I wonder if this could be solved with something as simple as doing an fopen() with "wt" instead of just "w"? And... And... I just can't help myself here, sorry Lars... If the code were available you might get better, more helpful or accurate (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Well, I don't really know. As I said, James said to do this at the command line /Developer/Tools/SetFile -c "POV3" -t "TEXT" /Users/yourname/yourfile.pov and after doing that, the POV-Ray programs processed the files normally. I don't know why (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Sure, if you tell me what exactly what you want... /Lars (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) How does it behave badly? Does it fail to read some lines? L3P uses fgets and then removes trailing \n and \r, but perhaps this fails on "old" mac files, which I believe use the CR ending. On MacOSX, \n is mapped to LF, so how do you read CR (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Erik, How did you render the POV files produced by l3p. Neither POV-Ray 3.1 (Classic) nor POV-Ray 3.5 (OS X) liked the file that l3p produced. When I dropped the file onto the applications incons in the Dock, the applications just ignored the (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
Lars, I used L3P this weekend. Since this is my first time using it, I tested only very simple uses. No problems found, unless you consider it a bug that it behaves badly with CR line endings. It's hard to tell which input file it is complaining (...) (23 years ago, 4-Dec-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: ldglite broke in Mac OS X 10.2.2
|
|
(...) Just making sure that we are on the same page here. In 10.1.x I had to click the menubar to activate LDGLite to received comands from the keyboard, but in 10.2.2, clicking the menubar does succesfully activate LDGLite to receive the commands (...) (23 years ago, 29-Nov-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) Ahh... I see. I forgot that the three different ways of openning a file often behave quite differently. 1. Double clicking the mini.pov file 2. Dropping the icon for mini.pov onto the running POV program's icon in the Dock. This is my (...) (23 years ago, 29-Nov-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: L3P v1.3 for Mac OSX
|
|
(...) (URL) was playing with AppleScipts to do something similar to your lani program. I used l3p in VPC to create a .pov file. Then I used AppleScript and BBEdit to change the camera position in the .pov file. This all worked in OS 9 becuase I had (...) (23 years ago, 29-Nov-02, to lugnet.cad.dev.mac)
|
| |
 | | Re: Ldraw Viewer Update
|
|
Ok, I know I am really chatty tonight. I promise I wont always be like this... Here are some practical feature requests for Ldraw Viewer: Large models get clipped really bad if they extend beyond the "camera". That is, I have to zoom way out before (...) (23 years ago, 29-Nov-02, to lugnet.cad.dev.mac)
|