Everything related to SDK.
By d76
Hello, it me again,
I got segmentation fault with this.. am i doing something wrong?
(python 3.2, Mac OS X 10.9)
Code: Select all
# -*- coding: utf-8 -*-

import os
from pymaxwell import *

f = "particles-00000.bin"
n = os.path.splitext(f)[0]

s = Cmaxwell(mwcallback)

m = CextensionManager.instance()
e = m.createDefaultGeometryProceduralExtension('MaxwellParticles')
p = e.getExtensionData()
p.setString('FileName', os.path.realpath(f))

# and now.. it's.. Segmentation fault
o = s.createGeometryProceduralObject(n, p)

User avatar
By Brany
It seems to work fine in Windows (python 2.6, 2.7 and 3.2). I will try it in OSX
By d76
hi Brany
have you tried it? i also forgot to mention that i am using pymaxwell from 3.1

and one side note, i read somewhere in docs which gave me impression that inside bin, particles can have radius specified per particle, is that possible? i have read anything inside specs (realflow 2013), have something changed or i just didn't understand it well
User avatar
By Brany
We don't distribute pymaxwell for python 3.1 now, what version of the libraries (Cmaxwell.getEngineVersion()) do yo use?
User avatar
By Brany
OK, pymaxwell 3.0.1 for python 3.2 then ;)

I've just installed python 3.2 in my osx 10.9 machine and it causes a segmentation fault just running this code
Code: Select all
import sys
print sys.path
from the command line. pymaxwell not installed yet.

The python 3.2 installer is for osx 10.5 so I suspect that I will have to compile python 3.2 using the sources to try to have an stable python 3.2 on my machine.

I'll try to do this tomorrow. Meanwhile I encourage you to try python 2.6 or 2.7 if you can.
By d76
um, it's part of our studio internal tools i wrote, currently updating to maxwell 3, and it's all python 3.. i think it is impossible for me to use python 2.x, i even started learning python from version 3, and since blender is important part of it (also python 3) i am seriously screwed..

wouldn't it be possible to provide python 3.4 pymaxwell? pretty please?
it will also save me from pickling data and running python 3.2 from python 3.4 each time i need to write a scene, get rid of a bit of "punks not dead" style.. :(

meanwhile i try also work machine, that's still OSX 10.8

also found this: http://stackoverflow.com/questions/1956 ... -mavericks
Maxwell Showreel 2021

That’s so good, we’ll done :D

I use the newest version of Rhino Mac (7.12) and M[…]

Maxwell 5.2 Rhino mac - Tutorial

I have a question: Is there a tutorial about how […]

Fully working plugin for C4D

Did the 5.2.2 Update resolve the problems?