Is it possible to add ctm material plugin to blender? - blender

I would like to add a plugin to import and export .ctm files to blender (version 2.78). Is it possible? If yes, then how can do it?

Blender provides a python API to access it's data, which is used to create addons. Most of the included import/export functionality in blender is provided by addons written in python.
If you can read a .ctm file using python, then you should be able to re-create it in blender.
To get started, there is an addon tutorial here, you can also look through the existing import/export Addons included with blender and you can find some more in the Addons Contrib repo, the import/export addons have names starting with io_.
You can get blender specific help with python coding at blender.stackexchange.com

Related

PySide (LGPL) : example for dynamic linked libraries for an executable application

Unfortunately I found no examples for this topic.
I want to deploy my own application written by python and I using PySide (LGPL-licensed) for GUI surface. How can I link libraries dynamically? (in this case the application has not be opensource). Does the .exe binary code generated by pyinstaller or py2exe also dynamically binded?
Thanks a lot!
Best regards

Official Tensorflow docs available in pdf form? (running Windows)

I have not been able to find pdf format docs for Tensorflow (API or tutorials).
I'm referring to the official docs, not asking for book recommendations.
Specifically pdf format, for offline local reference and study.
One problem is that I'm running Windows, so the available toolset for creating
them dynamically is limited (or different from the normally recommended tools).
But surely the pdfs must already exist online somewhere, right?
This has been answered here. How can you download Tensorflow API Documentation
Essentially you can use http://devdocs.io/, which can provide you with offline access to the documentation of many libraries and languages, including Tensorflow.
Or clone the repo and type this to generate a the documentation locally. It's described in more detail in the TensorFlow documentation.
$ cd tensorflow/tools/docs
$ ./gen_docs.sh # add -a if you want C++ documentation
If you can't do this approach due to Windows, then versus setting up a bunch of infrastructure, it maybe easier to use the gitbook for TF then generate a PDF with toolchain as described here

How can I use a pdf file as the readme in my github repo?

I have a pdf file generated by latex which has many equations and what not. I want to use this pdf as the readme.md file in my github repo. How can I do this?
Alternatively, is it possible to directly integrate the tex file in github and use that as a readme instead of the pdf version? Does github allow any integration with latex syntax as does gmail for example?
You cannot import PDF as Readme, but I also don't see the point as it support the wonderful MD Language which can be seen easily with any device (also mobile).
I have fixed the equations problem by using images. There is a nice website for that: http://mathurl.com/
Just type your latex equation and click "Make Math url" (bottom left button), the copy paste the image link (in red).
I have used it in the wiki of github (but it should work the same with readme.md): https://github.com/scholi/pySPM/wiki/Mass-calibration
Enjoy!

Pentaho Demo Graphs or Charts

Recently had a project in JBoss but want to move to Pentaho (JBoss kept crashing). JBoss was good because it showed you sample data and various types of results when you installed it. When I installed Pentaho, it is like a clean slate and I do not see a demo feature that I can install and see how data is displayed.
Is there a link that anyone can point me to in order to look at sample data being generated into charts or graphs in Pentaho? I already have the common plugins installed - CDE, CDA, CDF, and CGG.
Any help would be greatly appreciated.
There are samples in the /public/Steel Wheels folder.
If you install the CE version, you'll also get a lot of samples in /public/Plugin Samples.
Log in to PUC as admin and go to the explore files perspective. You should see them there.
Below is a very simple CDE tutorial I wrote. It uses screen shots from version 5.x but you could also use it for version 6.0 (they are similar). Nothing fancy though: http://holowczak.com/getting-started-with-pentaho-community-edition-dashboard-editor-cde/

Create a script using Blender and LuxRender Python API?

I am working on Ubuntu 12.04.
Is it possible to create a script using Blender and LuxRender Python API? Can I use both APIs in the same script?
What should I install to start programming a script using their API if it is possible?
Thanks.
Blender has python integrated into it very well and makes extensive use of it, it includes a python console and text editor to write and execute python scripts within Blender. Python access to Blender from outside of Blender is limited/experimental at best.
The Luxrender project provides a Blender addon called luxblend25, which is what you will want.
So you want to install Blender, Luxrender and luxblend25 and do your scripting within Blender. You also have the option to use an external text editor of your choice and open the script in Blender to run it. The luxblend25 scripts are in python and are your best examples of accessing the Luxrender engine from within Blender.
Blender now has it's own stackexchange site - you may find it useful for blender specific help.