Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

import a javascripts/ java code in a python script/ print point cloud data

Message 1 of 4
322 Views, 3 Replies

import a javascripts/ java code in a python script/ print point cloud data

Dear all


Happy Saturday. Do you know a way to call/import a JavaScripts/ java code from/in python script?

Secondly how to write a simple point cloud Camera  python/c++/javascript file and print the values of the camera ?







Message 2 of 4
in reply to: nggarnaud



I don't have experiences to call Javascript code in Python script. But I found the answer from the page. Please give a try and have a good luck.


Could you please explain a little about your second question? What's mean "point cloud camera"?






Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 4
in reply to: nggarnaud

Hello Marshatu


This a link to a point cloud camera video : Raw Depth Data

In my project i am trying to do the same thing using a c code (instead of a JavaScript) and a cheap camera that could replace kinect2 camera. but hte most important thing is a point cloud c code that i could use to implement a Objectarx_point cloud command. And then usein autocad 2015 for mac os x 10.11.6


Thanks a lot, i will check the link.

Message 4 of 4
in reply to: nggarnaud

Fusion 360 doesn't currently support any point cloud capabilities.  In the future you'll be able to draw points using low-level graphics but I'm still not sure that would be the best solution for a point cloud.  Of course the Fusion 360 API doesn't have any support for talking to a Kinect or other devices.  You'll need to use the libraries associated with those devices to interact with them.

Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report