[Bf-committers] What documents should I read in order to embedblender?

Jonathan Merritt merritt at unimelb.edu.au
Thu Apr 23 14:09:20 CEST 2009


Well, gcode generally specifies how a robotic machine tool should move:
     http://en.wikipedia.org/wiki/G-code
It isn't quite the same as what we would ordinarily think of as an  
"export script".

Having worked on some CAM tools, I think that this project has a lot  
in common with the goals of the Blender Robotics community:
     http://wiki.blender.org/index.php/Robotics:Index
Maybe try posting on their mailing list (linked from the wiki page).   
After all, a CNC cutting tool *is* just a robot. ;-)

Jonathan Merritt.

On 23/04/2009, at 9:55 PM, Wael EL ORAIBY wrote:
> Re,
>
> Actually, there are plenty of ways to do that from within blender. You
> can keep your code separate, and only use blender to do the modeling.
> You can very simply write a python script that invokes your program
> externally to generate the gcode for mechanical part. So basically,
> you are writing an exporter, or if you need more feedback a custom
> python script will do. It is even simpler than rewriting a user
> interface, do all the handling and picking, etc...
>
> Don't you agree? :-)
>
> 2009/4/23 明覺 <shi.minjue at gmail.com>:
>> 2009/4/23 Wael EL ORAIBY <wael.eloraiby at gmail.com>:
>>> Hi,
>>>
>>> I would advise you to do it the other way around: embed your code  
>>> into
>>> blender! I think it's better. If not, there are plenty of OSS engine
>>> that you can use and that provides a good UI handling like irrlicht,
>>> OGRE3D or crystal space.
>> The purpose of my program is to first design a 3D surface, which is
>> the surface of a mechanical part, then generate gcode for machine  
>> tool
>> to produce this surface, and many other mechanical analysis for the
>> result. So this is program mainly used in mechanical field, it's not
>> possible to make blender contain those mechanical analysis code,
>> right?
>> But I think it will be a good news for blender to be used in
>> mechanical design and process software, I really hope blender keeps  
>> as
>> the No.1 3D software in free software world, yes, it has been, but I
>> hope all the effort from our programmers for 3D software will focus  
>> to
>> blender, not spread around all kinds of small projects, that's not
>> good for our free software users.
>> So I hope you can support me to modularize blender so that it can be
>> used in all kinds of fields, not only in mechaniccal. I believe, the
>> more blender is used, the stronger it will be, and more people will
>> come to contribute on it.
>>
>>>
>>>
>>> 2009/4/23 明覺 <shi.minjue at gmail.com>:
>>>> 2009/4/23 Terrence Vergauwen <terrence27 at gmail.com>:
>>>>> Hi,
>>>>>
>>>>> There's a very elegant and simple C/C++ 3D engine that allows  
>>>>> you to read
>>>>> objects in popular 3d formats like 3ds/obj, and makes it quick  
>>>>> and easy to
>>>>> program 3D viewports with object/view manipulation ontop of  
>>>>> opengl or
>>>>> directx.
>>>>> It's called irrlicht: http://irrlicht.sourceforge.net/
>>>>>
>>>>> I'd recommend you check it out it will save you heaps of  
>>>>> headaches of trying
>>>>> to reverse engineer blender into your application :)
>>>> thank you, but I really do not like to work out many copies of  
>>>> codes
>>>> which provides the similiar functions, I would really like to  
>>>> modulize
>>>> blender, not to write my own 3d program, for I can predect that I  
>>>> will
>>>> need to write all the code blender owns in my future programming  
>>>> life,
>>>> so why not start to read blender code earlier? :)
>>>>
>>>>>
>>>>> Radiance
>>>>>
>>>>> On Thu, Apr 23, 2009 at 12:22 PM, 明覺 <shi.minjue at gmail.com>  
>>>>> wrote:
>>>>>>
>>>>>> On Thu, Apr 23, 2009 at 5:21 PM, Remo Pini  
>>>>>> <remo.pini at avexys.com> wrote:
>>>>>>> Why don't you just use OpenGL directly? Sounds a lot simpler  
>>>>>>> than using
>>>>>>> Blender for that...
>>>>>> I need the blender functions such as rotate, scale, move and  
>>>>>> maybe
>>>>>> many other export/import functions, and I'd like to contribute  
>>>>>> code to
>>>>>> existing big project, like blender, not just make some standalone
>>>>>> pieces of code(a drop of water can only alive in the sea:). but  
>>>>>> thanks
>>>>>> for the suggestion.
>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: bf-committers-bounces at blender.org
>>>>>>> [mailto:bf-committers-bounces at blender.org] On Behalf Of ??
>>>>>>> Sent: Donnerstag, 23. April 2009 11:13
>>>>>>> To: bf-blender developers
>>>>>>> Subject: [Bf-committers] What documents should I read in order  
>>>>>>> to
>>>>>>> embedblender?
>>>>>>>
>>>>>>> Dear blender developers:
>>>>>>>
>>>>>>> I'm a newbie in blender development, (also a new user of it, I  
>>>>>>> have
>>>>>>> completed following the user manual to make a walking boy by
>>>>>>> blender:), the main purpose I learn to use and develop blender  
>>>>>>> is I
>>>>>>> need to embed the 3d view window of blender into my own  
>>>>>>> program to
>>>>>>> display a 3d surface(yes, all i need is to display a 3d  
>>>>>>> surface as
>>>>>>> blender display it). Blender is an amazing work in free  
>>>>>>> software, so I
>>>>>>> also have much interest in developing for it. I have  
>>>>>>> succesully built
>>>>>>> blender from the source code, and now I want to dive into the  
>>>>>>> code to
>>>>>>> realize my purpose - embed blender 3d view window. Could you  
>>>>>>> suggest
>>>>>>> me some proper documents so that I can begin my work? I hope I  
>>>>>>> can do
>>>>>>> the job mainly in C language programming. Thank you!
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> My platform is debian-sid gnome mozilla eclipse monodevelop  
>>>>>>> blender.
>>>>>>> _______________________________________________
>>>>>>> Bf-committers mailing list
>>>>>>> Bf-committers at blender.org
>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>> _______________________________________________
>>>>>>> Bf-committers mailing list
>>>>>>> Bf-committers at blender.org
>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> My platform is debian-sid gnome mozilla eclipse monodevelop  
>>>>>> blender.
>>>>>> _______________________________________________
>>>>>> Bf-committers mailing list
>>>>>> Bf-committers at blender.org
>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> My platform is debian-sid gnome mozilla eclipse monodevelop  
>>>> blender.
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>
>>>
>>>
>>>
>>> --
>>> Wael El Oraiby
>>> Laboratoire MIA
>>> Université de Haute Alsace
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>
>>
>>
>> --
>> My platform is debian-sid gnome mozilla eclipse monodevelop blender.
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>
>
>
>
> -- 
> Wael El Oraiby
> Laboratoire MIA
> Université de Haute Alsace
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list