Jump to content
Electronics-Lab.com Community

Convert your projects in 3D mode


Recommended Posts

Matthias Weiber has write a ulp for Eagle to convert PCB's in 3D images or animation.
The ulp create a POV Ray file that can be used in program to create images and animation for your project.
You can download the ulp from Matthias Weiber website http://www.matwei.de/doku.php?id=en:home and POVRay from from the official site www.povray.org for free.

Samples from Eagle 3D
fetch.php?cache=cache&media=images:eagle
fetch.php?cache=cache&media=images:eagle
fetch.php?cache=cache&media=images:eagle
fetch.php?cache=cache&media=images:eagle
fetch.php?cache=cache&media=images:eagle

Link to post
Share on other sites

Is there something similar that outputs 3D solids? I'm using Autodesk Inventor and I-DEAS which can import IDF files. Those are 3D representations of the boards (not photorealistic as this, just the basic shapes). You can then use them to model the housing, heatsinks, wire harnesses etc without guestimating.

However Eagle doesn't output IDF. Target does but I'm not so eager to learn a second PCB layout program (I haven't really learned the first yet). So, if there's a way to output *.iges, *.sat, *.step or something like this from Eagle, it would be great.

Nikolas

Link to post
Share on other sites

Hello. I use this ULP for some time now, althought I couldn't yet figure out how to create the animations of the board. Does anyone knows how to do this? best regards...


After the creation of POV Ray file from Eagle, open it and find and replase the following:

--- Find ---

//Animation
#declare global_anim = off;

--- Replace ---

//Animation
#declare global_anim = on;

--- Find ---

#if(global_anim=on)
camera
{
	location global_anim_spline_cam_flight(clock)
	#if(global_anim_npoints_cam_view>2)
		look_at global_anim_spline_cam_view(clock)
	#else
		look_at global_anim_spline_cam_flight(clock+0.01)-<0,-0.01,0>
	#end
	angle 45
}
light_source
{
	global_anim_spline_cam_flight(clock)
	color rgb <1,1,1>
	spotlight point_at 
	#if(global_anim_npoints_cam_view>2)
		global_anim_spline_cam_view(clock)
	#else
		global_anim_spline_cam_flight(clock+0.01)-<0,-0.01,0>
	#end
	radius 35 falloff  40
}
#else
camera
{
	location <cam_x,cam_y,cam_z>
	look_at <cam_look_x,cam_look_y,cam_look_z>
	angle cam_a
	//translates the camera that <0,0,0> is over the Eagle <0,0>
	//translate<-48.730000,0,-21.585000>
}
#end

--- Replace ---

#if(global_anim=on)
camera {
  angle    45
  location <100.0 , 100.0 ,10.0>
  right    x*image_width/image_height
  look_at  <0 , 0, 0>
  rotate   <0,-360*(clock+0.10),0>
}
light_source
{
	<0,0,0>
	color rgb <1,1,1>
}

}
#else
camera
{
	location <cam_x,cam_y,cam_z>
	look_at <cam_look_x,cam_look_y,cam_look_z>
	angle cam_a
	//translates the camera that <0,0,0> is over the Eagle <0,0>
	//translate<-48.730000,0,-21.585000>
}
#end

Then Create .ini file and add the following: --- Add ---

Initial_Frame = 1
Final_Frame = 500
Initial_Clock = 0
Final_Clock = 0.9
Cyclic_Animation=on

[80x80 Low Resolution]
Width=80
Height=80
Antialias=off
Antialias_Threshold=0

[100x100 Low Resolution]
Width=100
Height=100
Antialias=off
Antialias_Threshold=0

[640x640 Low Resolution]
Width=640
Height=640                
Antialias=Off
Antialias_Threshold=0
        
[800x600 Low Resolution] 
Width=640
Height=640                
Antialias=Off
Antialias_Threshold=0

[1024x768 Low Resolution]
Width=1024
Height=768                
Antialias=Off
Antialias_Threshold=0 

[640x640 High Resolution]
Width=640
Height=640                
Antialias=On
Antialias_Threshold=0.5

[800x600 High Resolution]
Width=800
Height=600                
Antialias=On
Antialias_Threshold=0.5

[1024x768 High Resolution]
Width=1024
Height=768                
Antialias=On
Antialias_Threshold=0.5

[640x640 Very high resolution]
Width=640
Height=640                
Antialias=On
Antialias_Threshold=1.0

[800x600 Very high resolution]
Width=800
Height=600                
Antialias=On
Antialias_Threshold=1.0

[1024x768 Very high resolution]
Width=1024
Height=768                
Antialias=On
Antialias_Threshold=1.0



Save file and exit
(Final_Frame = 500 is the numbers of frames)
Press from Pov Ray the INI button and select your ini, press button "Set but don't render"
Select the resolution you want and press "RUN".
Thats all :)

Link to post
Share on other sites

Hello logan
How you doing with eagel?


Eagle? hmm.. let me see.. frustrating? ehehe.. i can't seem to find a good way to strat learning it.. any suggestions how? what are the basics that is should learn? what exercises can i perform to familiarize myself with eagle?

hmm.. does it need computer upgrades to operate?  i have a very low-performance computer.. P3, no video card, no sound card, 13G hard disk.. its still  very young..

i really want to learn eagle.. please help.. thanks..



Link to post
Share on other sites
  • 6 months later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...