Hi,

I have tried another run on files that were not successfully converted.

For sample this file:

mac:brl-cad-conv lothar$ ls -l gta02-mme01_asm.igs*
-r--r--r-- 1 lothar staff 152091796 30 Jun 16:09 gta02- mme01_asm.igs # Converts to -rw-r--r-- 1 lothar staff 104 24 Sep 18:55 gta02- mme01_asm.igs.g # this, when deleted
mac:brl-cad-conv lothar$ ./convert.sh

#!/bin/sh

for file in *.igs; do
        if [ ! -e $file.g ]; then
                /usr/brlcad/bin/iges-g -t -o $file.g $file      
        fi
done

Can anybody else convert this file ?

Thanks

Lothar

******************************************

BRL-CAD Release 7.10.4  Crash Report
    Thu Nov 29 17:25:17 EST 2007, Compilation 2
    [EMAIL PROTECTED]:/usr/brlcad/rel-7.10.4

Command: iges-g
Process: 5011
Path: /usr/brlcad/bin/iges-g
Date: Wed Sep 24 18:56:05 2008

Call stack backtrace:
#1  0x9224e900 in nanosleep ()
#2  0x92265cd0 in sleep ()
#3  0x0017e4dc in bu_backtrace (fp=0xa0398e5c) at backtrace.c:377
        start = {
  tv_sec = 1222275365,
  tv_usec = 435849
}
        end = {
  tv_sec = 1222275380,
  tv_usec = 436193
}
        start = {
  tv_sec = 1222275365,
  tv_usec = 435849
}
        end = {
  tv_sec = 1222275380,
  tv_usec = 436193
}
        start = {
  tv_sec = 1222275365,
  tv_usec = 435849
}
        end = {
  tv_sec = 1222275380,
  tv_usec = 436193
}
        start = {
  tv_sec = 1222275365,
  tv_usec = 435849
}
        end = {
  tv_sec = 1222275380,
  tv_usec = 436193
}
#4 0x0018515c in bu_crashreport (filename=0x1a9654 "iges-g-5011- bomb.log") at crashreport.c:109
#5  0x0017f370 in bu_bomb (str=0xa0360424 "\005<80>\006") at bomb.c:186
#6 0x008641f4 in rt_nurb_s_eval (srf=0x7783f10, u=1.046846010283, v=2.5684601028290004, final_value=0xbffff230) at nurb_eval.c:88
        mesh_ptr = (fastf_t *) 0x7784210
        curves = (fastf_t *) 0x2
        i = -1073745360
        row_size = 2
        col_size = 2
        c_ptr = (fastf_t *) 0x8e17b4
        diff_curve = (fastf_t *) 0x7784b70
        ev_pt = (fastf_t *) 0xe
        k_index = -1
        coords = 3
#7 0x00019418 in Assign_vu_geom (vu=0x7784930, u=1.046846010283, v=2.5684601028290004, srf=0x7783f10) at trimsurf.c:390 uvw = {3.4869690200662636e-76, 8.9972621536927546e-311, 6.1918101183250712e-316}
        pt_on_srf = {0, 0, 0, 0}
        moved = 1
#8 0x000198d8 in Add_trim_curve (entity_no=125323632, lu=0x77848d0, srf=0x7783f10) at trimsurf.c:478
        entity_type = 110
        crv = (struct edge_g_cnurb *) 0x7784970
        eu = (struct edgeuse *) 0x77848d0
        new_eu = (struct edgeuse *) 0x1dc40
        x = 5.0448064652679996
        y = 1.1000000000000001
        z = 0
        ncoords = 125323792
        i = 121920
#9 0x00019f48 in Make_trim_loop (entity_no=1064, orientation=1, srf=0x7783f10, fu=0x77849f4) at trimsurf.c:635
        curve_count = 4
        curve_list = (int *) 0x77849f0
        lu = (struct loopuse *) 0x77848d0
        new_eu = (struct edgeuse *) 0x10a0
        entity_type = 102
        ncoords = 1064
        x = 1.3527723018393412e-312
        y = 8.4880254361177474e-314
        z = -1.9972382932903736
        u = -1.3347076269835431e+88
        v = 0
        i = 1
#10 0x0001a584 in Make_loop (entity_no=121920, orientation=1, on_surf_de=2115, srf=0x7783f10, fu=0x7784780) at trimsurf.c:828
        lu = (struct loopuse *) 0xe
        entity_type = 142
        surf_de = 2115
        param_curve_de = 2129
        model_curve_de = 2119
        i = 0
#11 0x0001b29c in trim_surf (entityno=125316160, s=0x776c380) at trimsurf.c:1080
        m = (struct model *) 0x5501d50
        srf = (struct face_g_snurb *) 0x7783f10
        fu = (struct faceuse *) 0x7784780
        lu = (struct loopuse *) 0x5501d50
        kill_lu = (struct loopuse *) 0x7782c40
        verts = {0x77835d0, 0x7784700, 0x7783630}
        entity_type = 144
        surf_de = 2115
        has_outer_boundary = 1
        inner_loop_count = 0
        outer_loop = 2131
        inner_loop = (int *) 0x0
        i = 89136464
        lu_uv_orient = 125316160
#12 0x0001c180 in Convtrimsurfs () at trimsurf.c:1521
        i = 1066
        convsurf = 4
        totsurfs = 36
        m = (struct model *) 0x5501d50
        s = (struct shell *) 0x776c380
        fu = (struct faceuse *) 0x42a
        hit_list = {
  magic = 1607280,
  forw = 0x0,
  back = 0x20e0c
}
#13 0x0001154c in main (argc=89136256, argv=0x0) at main.c:315
        i = 0
        c = 14
        file_count = 0
        output_file = 0x24cdc "\001\001e<80>\005P\034<80>\005P\034<80>"
#14 0x00001eb4 in _start (argc=5, argv=0xbffff7b8, envp=0xbffff7d0) at /SourceCache/Csu/Csu-57/crt.c:272 p = 0xa036262c "<92>\034+P<92>\034:\f<92>\035Y<<92>\034¸ø<92>- <93><80><92>\034õ(<92>-<93>0<92>#:h<92>\034©\f<92>-<90>¼<92> \034<84>h<92>\034Àà<92>\034:|<92>-<97><94><92>-<9a><9c><92>\034Ò$<92> \035\\ð<92> <84>Ð<92>#:Ø<92>\037ø <92>$ $<92>#\bp<92>%^?@<92>#\002p<92> \"1Ø<92>0&0<92>0$<98><92>+q8<92>$±\024<92> <99>¨<92>.1\f<92>(<9a>8<92> +p(<92>0*P<92>0,ð<92>01d<92>#\006\004<92>\"3¨<92> Õ`<92>\034·à<92> \0344 <92>\0344 <92>\034+ <92>!Â<<92> <83> <92>!Ñ<88><92>-<90>0<92> \034<98>4<92>\034. <92>!·,"...
        q = (char **) 0x0
        term = (void (*)()) 0
#15 0x00001d54 in start ()

System characteristics:
Darwin mac.behrens.de 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:37:58 PDT 2007; root:xnu-1228~1/RELEASE_PPC Power Macintosh powerpc



Am 24.09.2008 um 16:58 schrieb Lothar Behrens:

Hi,

I have converted as much as possible from the CAD files into BRLCAD files.

Propably I have forgotten to tell Michael Shiloh where the converted files are.
(As of I had eMail contact to him)

Also I am not much familar with the BRL CAD and I also could not compare
the files to their orginal versions.

Where could I put the tgz file that contains all the others (~ 16 MB) ?

The file also contains a script. (How I have converted the igs files)

Regards,

Lothar

Am 24.09.2008 um 16:09 schrieb Claus Christmann:

Please see inline and below...

On Wednesday 24 September 2008 08:59:12 am Breakable wrote:
Hi,
Anybody got any success for editing CAD files for the phone case?
Basically I am trying to get them open in brlcad (which seems to be the
best free CAD software ever),
without any success yet.
I had some success in VariCad demo (proprietary) where parts of the design are imported using STEP format, but it does not seem good enough, as I see
about 50% of the shapes usually.
IGES on the other hand seems like a total dissaster.
The IGES files I created seemed to work in Pro/E and CATIA V5. Can you figure out if the files are corrupted or if it is a non-working import filter in
brlcad that does not work?
Have you tried opening a single file and not the complete assembly?

The only solution I currently see is buying or pirating the Pro/ ENGINEER to
edit or convert them  to brlcad .g format using the Pro/E to BRLCAD
converter plugin for Pro/ENGINEER from the brlcad suite. Buying or pirating
for this task is not the option I like.
Anybody that has a  Pro/ENGINEER license can assist with that?
There is a nice description how to do it in
http://brlcad.org/w/images/6/66/Converting_Geometry.pdf
in section 4.9 page 27 of pdf.
I have access to a Pro/E licencense and can look into that. However, it won't
happen till the weekend...

After this is done properly, maybe the BRLCAD to DXF converter can be used
to
improve accessibility of design files for those that have AutoCad.
DXF is essentially a 2D format. Since there is no conversion from 3D to 2D that does not lose information, a "usefull" conversion heavily depends on the
need of the user of those 2D DXF files.

IF the list could agree on a limited number of planes/slices through the 3D
model I might be willing to put the time into creating them.


If this issue wont be resolved I don't believe a community effort to build
on the openness
of the device will ever succeed.

Regards,
Ignas

As said above, I will look into this brlcad over the weekend and look into the conversion of the files into the appropriate format. However, I can't promise
anything... (BTW, I have never heard of brlcad, but I also hardly use
anything else than CATIA these days...)

Regards,

Claus

--
Claus Christmann
Graduate Research Assistant

Georgia Institute of Technology
270 Ferst Drive
Atlanta, GA 30332-0150, USA

http://uav.ae.gatech.edu

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen








_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to