yes this is where Ephestos is going. However I wanted first to make sure
that the core works as I wanted.
The goal is not only to offer an easier API to play with for people that
dont want to do hardcore 3d graphics but also an easier GUI as well for
Blender. Pharo acting as the GUI of Blender.
Actually I already have started the idea, if you get Ephestos you can try
this code
cube := Cube new.
cube move: #(1.0 1.0 0.0).
As you may have guessed this creates a cube in Blender and moves to x y z
coordinates.
instead of this:
EphPyParser bpy ops mesh primitive_cube_add:'()';e.
EphPyParser bpy data objects:'["Cube"]';location:'=(1.0 , 1.0,
0.0)';e.
As you can see it already looks much better.
Of course that class is pure experimental and this is why I have not
announced it yet. I will however offer a Pharo API for Blender so you don't
need to use python or know blender or know the Blender python API.
Expect in version 0.2 to have such an API for Blender editor and Blender
game engine. It wont be 100% of what I want but it will get there
eventually hopefully in version 1.
On Sun, Sep 21, 2014 at 3:39 PM, Hilaire <[email protected]> wrote:
> Le 21/09/2014 13:07, kilon alios a écrit :
> > In theory ? yes
> >
> > but you would not want to do that
>
>
> Ok. For a small subset of the Python API, I imagine you can write over
> Ephestos a Smalltalk wrapper.
>
> The intend is to make it is easier for learner (let's say high school
> student) to play with 3D objects in blender (a bit like the DrGeo API to
> define a sketch with Smalltalk), it could look like:
>
> |scene|
> scene := BlenderScene new.
> scene add: (BLSphere centre: 1@2@3 radius: 10).
>
> Does it make sense in your perspective?
>
> Hilaire
>
> --
> Dr. Geo - http://drgeo.eu
> iStoa - http://istao.drgeo.eu
>
>
>