Is there an md5mesh/md5anim importer/exporter for blender 2.8x? - md5

I've been looking for an importer / exporter of md5mesh and md5anim formats for blender for a couple of hours, with no result. I tried a few of github but they didn't work for version 2.80. I used an earlier version and although if I loaded the add-on, the md5mesh files did not load correctly.

Looks like KozGit done pretty good job:
MD5 Importer/Exporter for Blender 2.80+ by KozGit

Related

Codename One Reverse Engineer Android Package

I have an android app on Google Play, from which I have lost the original files. I had everything on my computer, and usually I backup everything, but somehow I lost the project.
So, I have downloaded the APK from my Google Play Console, but the contents inside don't resemble in any way the structure of the original project. There is a Classes.dex file/ folder inside the package, which I can't seem to be able to open.
Is there a - relatively - easy way to reverse engineer the package and get the original projeckt back?
Many thanks in advance.
While there are tools to reverse engineer an Android project you won't have much to salvage. You can see some of that discussion here: decompiling DEX into Java sourcecode
But here are a few things about Codename One. I'll start with the good news: The res file will be intact.
If you didn't use CSS you can just take the res file "as is" and it should work just fine.
The bad news is that everything else is obfuscated by default. That means that all classes will be named with names such as a. So would all the methods etc. You might be able to salvage some code from that but not much.

How to create a .usdz animation?

You can now convert 3D models to .usdz files (uncompressed zip archive) using Apple's command line tool bundled with Xcode 10 beta.
Example code to convert an .obj file to .usdz:
xcrun usdz_converter magnifying_glass.obj -g frame magnifying_glass.usdz
-color_map gold-basecolor.png -normal_map gold-normal.png
-roughness_map gold-roughness.png -metallic_map gold-metallic.png
The following input 3D file types are supported:
OBJ file
Single-frame Alembic (ABC) file
USD file either .usda (ascii) or .usdc (binary)
It's my understanding the OBJ file does not support animation natively.
A single-frame Alembic file won't support animation either as its a single-frame.
So I'm guessing you need to use usda file which link to a sequence of single-frame Alembic or single-frame OBJ files to generate animations.
Is there any Publicly Available documentation on how to go about this?
A usda file can use payload files to reference single-frame meshes. The example below references a Treasure Chest single-frame alembic file geometry.
#usda 1.0
def "Chest_Base" (
references = [ #./Chest.abc#</Chest_Base> ])
{
}
But I haven't found any concrete way of linking a sequence of .obj or single-framed alembic .abc files together to create say a 10-second animation.
Any help or hint would be greatly appreciated.
Edit 30th June:
I’ve now managed to animate a USDZ file. I’ve got a live demo here of a rotating gears and helicopter.
Basically, I needed to download the usd pipeline from github and build it on my mac. You can get good instructions on how to do that from here
Be warn set aside at least a couple of hours, the build itself takes about an hour.
After that i ran the animated tutorial example in the usd pipeline bundle. Step5.usda (ascii usd file) has an animation example which I followed to create my own animations using rotations.
Running this usdz command will create a simple animation of a spining top if you create the Step5.usda file following the pixar tutorial at the link above.
xcrun usdz_convertor Step5.usda animationTest.usdz
Edit 10th July 2018:
usdz also supports alembic assets (with animations).
I have now managed to get a simple animation working in usdz (using the alembic file format). However, a bone animation on a character I tried didn't work.
I exported Alembic assets with both the Blender & Modo Alembic exporters... same results.
UV materials were also not mapping correctly to the mesh. Something wrong with the uv scaling & mapping... materials come out fragmented. At this stage I don't know if this is a bug, or whether I'm not doing something wrong here. There is some discussion about this uv mapping issue on the Apple forum
Edit 8th Sept 2018:
This is a rapidly evolving area and I'm sure more ways to tackle usdz animation creation will appear over time. However, at present the best & least costly way (open source) to make transform, bone, blend-shape or morph animations usdz files is using a command-line tool hosted on GitHub called glTF2usd.
The tool can convert a glTF animation file into a usda file (the intermediary file type) for creating the usdz file. It should also support direct usdz creation shortly, negating the need to use Apples usdz_converter command line tool to go from usda -> usdz.
Only currently supports 1 animation group. Some bugs still exists regarding rotations, --use-euler-rotation handle can be used to help with smoother rotations.
I've been posting usdz animations I have been creating with the tool to an online usdz gallery www.fusionar.app
Updated: October 16, 2022
USDZ with Animation
You can easily import, animate and then export binary and ascii USD, models from Autodesk Maya 2020 | 2022 | 2023 with pre-installed Maya USD plug-in. All you need to do is to know how to animate your model in Maya (whether it's Asset Animation or Transform Animation), the rest is as easy as saying "cheese".
Read this post to find out how to unzip a USDZ model.
Read this post to find out how to zip a USDA/USDC model.
Also, simple Transform Animation for USDZ models is possible in Apple Reality Composer.
For that, just drop USDZ model into Reality Composer's scene, apply any behavior you need and then export a result as USDZ file.
However, Transform Animations are programmatically available in RealityKit.
In SceneKit, unlike RealityKit, the animation in USDZ model plays automatically, as soon as the model is loaded. In SceneKit, don't forget to activate the autoenablesDefaultLighting = true option.
USDZ Schemas
If you like Python scripting you can apply simple Transform Animations using USDZ Schemas.
FBX with Animation
After creating an animation in Maya 2020 | 2022 | 2023, bake your animation using menu:
Edit -> Keys -> Bake Simulation
After that you can alternatively export your scene as .fbx:
File –> Export All (option box) –> FBX Export (dropdown menu)
Now it's time to prepare your .fbx file for Xcode 13/12/11 using the following Terminal command:
usdzconvert ~/Desktop/model.fbx -v
If you're using Xcode 10, a command in Terminal looks like this:
xcrun usdz_converter ~/Desktop/model.fbx ~/Desktop/model.usdz -v
A detailed description of how to work with the usdzconvert command in Terminal you can see HERE.
And of course, Reality Converter is an easy way for those who prefer GUI:
Now Apple provided a much easier way to convert almost any file (I would recommend using glTF/ glb as export option in Blender):
Reality Converter
It is a simple GUI tool released in January 2021, where you drop your files onto and it will give you a usdz file. Including mesh, materials and animation. For the download you need an Apple developer account.
I had an character with a simple armature animation in .fbx file, and I used "Reality Converter" by Apple to make it into a .usdz file that contains the animation. The animation even works in "Reality Composer".
The link for Reality Converter can be found here.

Export data into SPSS file (*.sav)

Is there any solution to export data into SPSS (*.sav) files?
I have a web service with surveys, and result needed to be exported to different formats.
I cant find any solution for SPSS.
(in any language, free or non-free products - but need to execute on the server!)
I found a good library https://github.com/tiamo/spss.
It was updated, and works as a charm

MongoDb and Symfony2.4 file is not stored in Gridfs

I have implemented the file upload functionality with reference to this link
http://www.slideshare.net/mongodb/mongo-db-bangalore-2012-15070802
But the file is not stored into the Gridfs.
I had done some research for the same and also with reference to this blog post
http://php-and-symfony.matthiasnoback.nl/2012/10/uploading-files-to-mongodb-gridfs-2/
But again, unfortunately, I stuck with this issue since last from 15 days
please help.
Please take a look at KnpLabs/Gaufrette and the related KnpLabs/KnpGaufretteBundle
The Gaufrette bundle provides a level of abstraction around file systems and, it helped me get file-oriented operations up and running quickly. I found it very useful, and in fact the Symfony CMS package leverages this bundle. It may help you out as well.

Google App Engine PDF converter

I'm looking for a good, open source, PDF generator/library that will convert html (with styling etc.) into a PDF file.
Requirement:
Must be Java or Python and run on Google App Engine.
Must be Free, open-source.
Must be easy to use/consume.
Yes I have tried searching for this myself - I've tried many "solutions" that I've found on Google etc. None yet satisfy me. Many seem incomplete, buggy or don't work well on GAE. So I figured I would appeal to the StackOverflow community for opinions or suggestions.
For HTML/image to PDF I use the Python library http://www.xhtml2pdf.com/ which uses Pisa, Reportlab, pyPdf, and html5lib running on GAE. I have been using it to generate very nice article PDFs with embedded images and once I figured out how to get the page size correct I have found this to be a very good library.
You will need the xhtml2pdf library and it's dependencies:
https://github.com/chrisglass/xhtml2pdf
I threw together some example Python code and put it in this pastebin:
http://pastebin.com/FFEZjNs3
The pdf_data you get at the end is the binary PDF file data. The html_data you give to pisa is really any string containing an HTML document.
There are some recommended things to include in your HTML to get a well formatted PDF output. Here is an example HTML document similar to the base template I use. Note the author meta field and the #page CSS:
http://pastebin.com/q1wRm9nJ
Here are the docs about the compatible CSS and HTML:
https://github.com/chrisglass/xhtml2pdf/blob/master/doc/usage.rst#supported-css-properties
You can include images using either the URL of the external image or you can use a dataUri and xhtml2pdf has a function for creating these "pisa.makeDataURI()".
Hopefully that helps.

Resources