Community
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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lego models with fusion 360. LDR to fusion 360 script

1 REPLY 1
Reply
Message 1 of 2
sram27
1012 Views, 1 Reply

Lego models with fusion 360. LDR to fusion 360 script

 

Hello 


Recently to learn fusion 360, I used lego models to train with this models

My fusion 360 models https://grabcad.com/stephane.ramauge-1

 

I'm using the tutorials of DK https://grabcad.com/dk/tutorials to build my first parts and models.
DK made lot of pieces in .IPT format (inventor) format. IPT Part numbers follow Bricklink convention.

 

Maybe someone with python or java skill could make a script to translate .ldr instructions into instructions to build
models using a fusion360 shared library ?


A fusion or inventor assembly is series of components with coordinate, rotation, colors like in a LDR models.
A series of script can import nut, screw in .STL format from a online tools dealer for example. 
I think it's possible to parse a .ldr file and translate *.dat from it to .ipt files or fusion360 library component.

www.ldraw.org/article/218.html for *.ldr file description

 

For example  Ldr file :

colour  x y z a b c d e f g h i piece1025.dat

 

Fictive fusion script : 

{ Insert piece1025.ipt

coordinate x y z

Transform a b c d e f g h I}

{Insert piece9990.ipt

coordinate....}

 

.......   So with the help of a develloper it could be possible in fusion360 to load and  ldr file, translate the instruction for fusion, insert the good piece at the right place and finally construct the model  

 

It's just an idea 

1 REPLY 1
Message 2 of 2
goyals
in reply to: sram27

Interested Idea. looks doable through Fusion API. 



Shyam Goyal
Sr. Software Dev. Manager

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