Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kml / kmz exporter #94

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

kml / kmz exporter #94

wants to merge 5 commits into from

Conversation

s-leger
Copy link
Contributor

@s-leger s-leger commented Dec 28, 2017

Simple kml / kmz gps based path to setup (dji phantom like) drones fly path right in blender.
Does reproject your points in gps coord system on the fly.

Usage:
Select a single curve and choose file->export-> kml / kmz.
Note:
Only export real curve points, so use a normalized curve to achieve desired result.

request #61

Export a single curve as kmz file
Use to setup dji drones path
Add single path export as kml / kmz
Use to setup path into dji and compatibles soft
@TJRL
Copy link

TJRL commented Jul 12, 2018

How difficult would it be to write something that imports georeferenced kmz/kml models from sketchup's 3D warehouse? There already is a importer for such files that works well, it only doesnt import the coordinates: https://github.com/heikkisa/blender-import-sketchup
I've just started learning python, so for now its a bit out of my competence to program this. But at some point I intend to make an attempt to write something that does the above. That is, if not someone else will do it.

@s-leger
Copy link
Contributor Author

s-leger commented Jul 17, 2018

This exporter currently only generate a very small and limited subset of the format specifications, and is dev mainly as a simple "mission" planing tool for drones.
Providing full featured kmz/kml will require lot more work, and is definitely out of the initial scope.
As far as i'm aware, there are some old import / export for kml (kmz being a .zipped version) around, so you probably should ask authors, and extend / adapt existing solutions to fulfill your needs.

@domlysz
Copy link
Owner

domlysz commented Jul 18, 2018

That's right, kmz just store 3d models as DAE files embedded into a zip. This pull request only import kml paths not DAE. So the best way to import 3d KMZ is to rely on existing DAE importer, this is what the blender-import-sketchup addon do. I think it must not be too complicated to extend this existing addon to extract the georeference (longitude and latitude of the scene origin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants