Jump to content
Electronics-Lab.com Community
Sign in to follow this  
FH16

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

Share this post


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

Share this post


Link to post
Share on other sites

Nice Job GreekPic
  What package did you use for the push buttons. I couldn't get mine to work.
I think I loaded the librarys in the wrong directory.
                                Thanks gogo

Share this post


Link to post
Share on other sites
Guest Kasamiko

OK..heres what I done so far..

Form this:

Timer1.jpg

To this..WOW!!!

[img width=680 height=510]

I did it!!

rhonn  ;) ;)

Share this post


Link to post
Share on other sites

Nice Job GreekPic
  What package did you use for the push buttons. I couldn't get mine to work.
I think I loaded the librarys in the wrong directory.
                                Thanks gogo


??? Me? ???

You probably mean FH16...

Share this post


Link to post
Share on other sites

Cool thanks.
        Did you dl the librarys and if you did where did you install them.
  Also the dc input jack I can't even find that in egale so I dl'd of the site.
                                      gogo

Share this post


Link to post
Share on other sites
Guest Kasamiko

Here's the trick I used..I don't know if this is the proper way of doing it  :P

Before creating the POV File check this:

post-0-14279142695766_thumb.gif

post-0-14279142696128_thumb.gif

Share this post


Link to post
Share on other sites

Hello logan
        there is afew hints on there web site, I figured it out in about two hours. How you doing with eagel?
      I found the rest of the parts with your help kasamike and GreekPic thanks
                                                have fun gogo

Share this post


Link to post
Share on other sites

Nice Job GreekPic
  What package did you use for the push buttons. I couldn't get mine to work.
I think I loaded the librarys in the wrong directory.
                                Thanks gogo


I'm Using
Library: switch-omron
Device: 10-XX
Pacage: B3F-10XX

Share this post


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 :)

Share this post


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..



Share this post


Link to post
Share on other sites

I am facing a problem with the 3d conversion.When i convert it then a horizontal bar is rendered in place of some of the components. I downloaded all the png files from the mentioned site.Are these library files? If so then where should I place these ?

Share this post


Link to post
Share on other sites

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...
Sign in to follow this  

×
×
  • Create New...