You are not logged in.
Hello
I'm interested on PCB and some nice representation before the fabrication. Then I found talks about the chance to gather from the eagle PCB CAD the informations. That draws a nice 3D representation and then a good rendering with POVray.
So I found Eagle3Dmaster, but I don't get how to install correctly and how I should make a PKGBUILD.
Some error is there, regarding the python scripts, which assumed that python default is the version 2.XX also the installation scripts expecting some ENV variables to run the make in the proper way.
I suppose that the files should be adjoined into the Eagle directories (/opt/eagle/) like the ULP scripts, or a similar scheme which allows all user to access and use.
Any suggestion ?
do it good first, it will be faster than do it twice the saint ![]()
Offline
Typically you use sed to replace /bin/python (or similar) with /bin/python2. Also please provide more detail on the errors.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Error is practically mine that I dont know about to make a PKGBUILD form the install.
The natural make invoke a script which contains several environments variables.
. $(dirname $0)/setup_env.sh
##############################################
#Removing intermediate files
##############################################
echo "/// Removing intermediate files ///"
$TOOLDIR/clean_eagle_3d.sh
mkdir -p $BUILDDIR
##############################################
#Create library files
##############################################
echo "/// Create library files ///"
$TOOLDIR/create_lib_files.pl --src=$SRCDIR --build=$BUILDDIR
##############################################
#Copying povray files to release directory
##############################################
echo "/// Copying povray files to release directory ///"
mkdir -p $RELEASEDIR/ulp
mkdir -p $RELEASEDIR/povray
mkdir -p $RELEASEDIR/doc
mkdir -p $RELEASEDIR/examples
cp $BUILDDIR/inc/*.inc $RELEASEDIR/povray
touch $RELEASEDIR/povray/e3d_user.inc
cp $SRCDIR/data/fonts/*.ttf $RELEASEDIR/povray
cp $SRCDIR/data/tex/*.png $RELEASEDIR/povray
cp $SRCDIR/data/*.inc $RELEASEDIR/povray
##############################################
#Copying ulp files to release directory
##############################################
$TOOLDIR/create_ulp.sh
cp $BUILDDIR/3dpack/3dpack.dat $RELEASEDIR/ulp
##############################################
#Copying example files to release directory
##############################################
echo "/// Copying example files to release directory ///"
cp $SRCDIR/examples/* $RELEASEDIR/examples
##############################################
#Copying doc files to release directory
##############################################
echo "/// Copying doc files to release directory ///"
cp $SRCDIR/doc/* $RELEASEDIR/doc
cp $BASEDIR/COPYING $RELEASEDIRMy idea should lead the installation into the already existing eagle files, so they share the same directories and easy to fetch them. Furthermore it will be obvious to need eagle as dependency.
do it good first, it will be faster than do it twice the saint ![]()
Offline