I would use only the Python bridge but not the Blender features (Cube, etc). Will be the Python bridge and parser contained in its own package?
I have started from MinGW and evaluated
Ephestos sendMessage: 'print("hello world")'.
Ephestos sendMessage: 'x = 3'.
Ephestos getValue: 'x'.
$ python pyAtlas.py
creating thread
calling create_socket_connection
hello world
('pherror : ', ['', 'no error\n'])
I have sent err : --->no error
��<---- and removed it from the list of errors
('pherror : ', ['', 'no error\n'])
I have sent err : --->no error
��<---- and removed it from the list of errors
('eval with pherror: ', ['', 'RetValue:3'])
('pherror : ', ['', 'RetValue:3'])
I have sent err : --->RetValue:3 <---- and removed it from the list of errors
Is this expected?
I don't know if there are other reasons but you could download the raw .py file from
https://raw.githubusercontent.com/kilon/pyAtlas/master/pyatlas.py using Metacello Configuration and start the script using OSProcess or ProcessWrapper. This is how I do it for BioSmalltalk:
>>...
������ spec for: #'common' do: [
������ ������ spec blessing: #'baseline'.
������ ������ spec preLoadDoIt: #preLoad.
>>preLoad
������ | urlIndex |
������ urlIndex := 1.
������ [ self downloadFiles: urlIndex ]
������ on: ZdcPluginMissing
������ do: [ : ex |
������ ������ urlIndex := urlIndex + 1.
������ ������ ex retry ].
>>downloadFiles: urlIndex
������ | url response |
������ url := (self platformFilesUrl at: urlIndex) asZnUrl.
������ fileRef := FileSystem disk workingDirectory / url pathSegments last.������
������ (response := ZnEasy get: url) isSuccess
������ ������ ifTrue: [ fileRef writeStreamDo: [ : stream | stream nextPutAll: response contents ] ]
������ ������ ifFalse: [ self error: 'Cannot download files' ]
>>platformFilesUrl
������ " Answer a <Collection> of download URLs for the current platform "
������ ^ Smalltalk os isWin32
������ ������ ifTrue: [ #('http://...zip'
������ ������ ������ 'http://...zip') ]
������ ������ ifFalse: [ #('http://....tar.gz'
������ ������ ������ 'http://....tar.gz') ].
Cheers,
Hern��n