
Expose a C function to Python via Blender's API
- or -
Post a project like this1803
£50(approx. $67)
- Posted:
- Proposals: 1
- Remote
- #3084921
- Awarded
Description
Experience Level: Entry
Estimated project duration: 1 day or less
Blender is an open source software for 3d artists. It's UI is written mostly in python, and it's backend is a combination of C and C++, the python front end communicates with C backend via the python API:
https://docs.blender.org/api/current/
In the interface when a mouse hovers over a UI element, a tooltip is displayed by a python call to the following page:
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/interface_region_tooltip.c%24465
The tooltip displays a description, shortcut, and the python command which will be triggered when the user interacts with that UI element. This information is generated in the C code and I believe drawn directly from C as well.
I need someone to expose to Python via the API the following information about whatever is hovered over:
tooltip description
tooltip python command
unique identifier used by C to ascertain the above (I believe this is the ID)
This may require the creation of an additional C function if the existing one in the tooltip file is not suitable. Once coded, the user must submit to blender for review, and make any changes the reviewer requests. Information on how to do that can be found here:
https://www.blender.org/get-involved/developers/
information on how to get the source and build blender are here:
https://wiki.blender.org/wiki/Building_Blender
You don't have to go the tooltip route, as long as I'm able to get the python command, description and any unique identifier for the hovered item and expose it to python via the API, then that's fine.
I will ask a test question to ensure you have the necessary skills prior to awarding, so please only apply if you're sufficiently skilled in C, C++ and python (so you can test it works).
Should be less than 1 days actual work, but it may take a few weeks for the review process.
https://docs.blender.org/api/current/
In the interface when a mouse hovers over a UI element, a tooltip is displayed by a python call to the following page:
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/interface/interface_region_tooltip.c%24465
The tooltip displays a description, shortcut, and the python command which will be triggered when the user interacts with that UI element. This information is generated in the C code and I believe drawn directly from C as well.
I need someone to expose to Python via the API the following information about whatever is hovered over:
tooltip description
tooltip python command
unique identifier used by C to ascertain the above (I believe this is the ID)
This may require the creation of an additional C function if the existing one in the tooltip file is not suitable. Once coded, the user must submit to blender for review, and make any changes the reviewer requests. Information on how to do that can be found here:
https://www.blender.org/get-involved/developers/
information on how to get the source and build blender are here:
https://wiki.blender.org/wiki/Building_Blender
You don't have to go the tooltip route, as long as I'm able to get the python command, description and any unique identifier for the hovered item and expose it to python via the API, then that's fine.
I will ask a test question to ensure you have the necessary skills prior to awarding, so please only apply if you're sufficiently skilled in C, C++ and python (so you can test it works).
Should be less than 1 days actual work, but it may take a few weeks for the review process.
Michael C.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
33%
Last project
7 Dec 2025
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies