vagabondfantasist opened this issue on May 08, 2022 ยท 6 posts
vagabondfantasist posted Sun, 08 May 2022 at 10:32 PM
I went to redownload Matmatic from bagginsbill's site only to find the site has gone - no big problem as I found primorge's thread about that and found it on the Wayback Machine (8 captures 4 Feb 2009 - 20 Oct 2020). Downloaded all versions (each download sent me to an archive.org page that said it was redirecting, and after a short while during which it appeared that nothing was happening the download started. So it would appear that patience is required)
I recently had to reinstall everything from backups and I initially got that "No module named matmatic.compiler" error - obviously the backup I used had the Poser 5,6,7 beta version.
So I deleted that and installed the latest 1.6.0, along with the documentation (separate download) and the Matmatic demo (just the .mm1.txt file)
Matmatic runs okay (compile.py), although it tells me in the debug Window that it's 1.3.0, but it doesn't appear to actually compile the .mm1.txt
My Poser 11 is installed in the usual place C:\Program Files\Poser Software\Poser11\
My default Poser runtime is separate from that, in C:\Users\<me>\Documents\Poser 11 Content\
I've put Matmatic in C:\Program Files\Poser Software\Poser 11\Runtime\Python\poserScripts\matmatic\
I have one MM1 file to test things C:\Program Files\Poser Software\Poser 11\Runtime\Libraries\Materials\MatmaticDemos\PP2012\PP2012.mm1.txt (as I said before, JUST the MM1 file - no timestamp file, no MT5s/MC6s)
When I run compile.py from the Poser menu File > Run Python Script (verbose set to 2 in config.txt) I get this, which proves that it's working
There's no indication that it's found the MM1 file , and when I look in the MatmaticDemos folder nothings changed.
I'm almost certainly missing something obvious. Can anybody help ?
vagabondfantasist posted Sun, 08 May 2022 at 10:39 PM
P.S. It's not that my default runtime is in a different place.
I already have a second MM1 file there just to check
C:\Users\<me>\Documents\Poser 11 Content\Runtime\Libraries\Materials\MatmaticDemos\BB matmatic candle flame.mm1.txt
After running matmatic there's nothing new here either. Also with verbose = 2 I'd expect to see something in the debug window.
Note: this is the reason I need to run Matmatic - I'm trying to rebuild the candle flame shader for which bagginsbill posted a matmatic script
vagabondfantasist posted Sun, 08 May 2022 at 11:05 PM
As often happens, thoughts that occur after posting have led me to the solution
The two lines in config.txt which tell matmatic which folders to scan were commented out - I uncomment them and matmatic compiles the bagginsbill supplied demos. There's a problem with the candle flame shader script, but I'll chase that up on the candle flame thread
hborre posted Sun, 08 May 2022 at 11:07 PM
I haven't run matmatic in quite a long time but the only thing that comes to mind is that P11 may be finding illegal connectors in its code. There are many BB scripts that will no longer run in P11.
vagabondfantasist posted Mon, 09 May 2022 at 1:15 AM
I think hborre and I posted at the same time, so just to confirm that the problem turned out to me me - not Matmatic, not Poser 11.
I like problems that turn out like that. :)
Boni posted Mon, 09 May 2022 at 3:33 PM
I had quite a few matmatic scripts that worked in Poser 6 but NOT in Poser 9 as python had changes in that period. It had to do with making some pretty cool Greko/Roman columns. Later versions of Poser didn't create the columns as all.
Boni
"Be Hero to Yourself" -- Peter Tork