#86 how to import data (IGES/asc/STL) ??

closed
3
2011-10-27
2011-10-27
nephesh
No

I am attempting to compile and correctly execute a code in the BRL-CAD 7.20 source package.
I want to take a BRL-CAD data(*.g). So I try to import data that is iges/asc/STL format. But data isn't import.

Question 1. how to get the *.g format data from convert iges / asc / stl ?

Question 2. Q1 answer's command ??? type at the command window prompt ??

Discussion

  • Sean Morrison

    Sean Morrison - 2011-10-27

    Nephesh, you'll have to be more specific about what you're trying to export and how you're trying to export it. If you can attach your .g file as an attachment, even better.

    For Q1: There are more than a dozen exporters that can be run on the command line (outside of mged, on unix command line) named "g-FMT" where FMT is one of various formats such as g-stl, g-iges, g-obj, and many more. Your model will generally have to be modeled correctly with a proper assembly hierarchy that has regions specified with no/minimal overlaps.

    For Q2: There are manual pages for all of the exporters as well as some documentation at http://brlcad.org/wiki/Documentation including a conversion document that specifically addresses this particular need with examples.

     
  • Sean Morrison

    Sean Morrison - 2011-10-27
    • milestone: 485592 -->
    • priority: 5 --> 3
    • assigned_to: nobody --> brlcad
    • status: open --> closed
     
  • nephesh

    nephesh - 2011-10-27

    I want to import data ( IGES/ asc / STL ) to BRL-CAD.

    Import data make Catia or 3D Scanning mesh data.

    I don't know how to import data.

    Other program make data ( IGES / asc / STL ) -> I want to import this data at BRL-CAD.

     
  • Sean Morrison

    Sean Morrison - 2011-10-27

    The same response holds true. There are a couple dozen importers all named "FMT-g" and the wiki documentation link goes into further detail. Type stl-g for a basic usage statement or "brlman stl-g" for the manual page.

     
  • nephesh

    nephesh - 2011-10-28

    I don't find import contents.

    I want to get *.g file. So I want to import IGES/asc/stl data and save *.g format.

    In other words, I was modeling in other programs. and export iges/asc/stl format.
    BRL - CAD (MGED 7.20.0) program run. I make database.
    next stage....... I don't know.

    what article explain about import at wiki documentation link ???

     
  • Sean Morrison

    Sean Morrison - 2011-10-28

    I understand that you're trying to import geometry from some other modeling program. You do not seem to be understanding my response. Did you go to the link I provided in my first response? [1] The fourth link covers geometry import in depth, chapter 4 is particularly relevant to what you are attempting to do.

    I think where you are getting confused is you're running the 'mged' application, which is only 1 of 400+ applications in BRL-CAD. BRL-CAD is a suite of many applications. Several dozen applications (NOT mged) are importers and exporters for the .g file format.

    Please reread my first two responses and the wiki link provided.

    [1] http://brlcad.org/wiki/Documentation

     
  • Sean Morrison

    Sean Morrison - 2011-10-28

    Yes, you already have numerous importers and exporters for BRL-CAD. You have to access them through a command line, though, not through a GUI and not through MGED. As you're on Windows, that means you'd have to run the converters via the 'cmd' command line interpreter. There are numerous tutorials available around the web on how to use cmd.exe but I'm afraid teaching you that topic is beyond the scope of support I'm able to provide you.

    All I can offer is, go to the Windows menu, select Run..., type "cmd.exe", and in the command window that opens up, you'll need to change directory to BRL-CAD's "bin" directory where the various "FMT-g" importers are located. From there, it'll be something like "FMT-g file.FMT file.g" on the command line to convert to .g format. Best of luck.

     
  • nephesh

    nephesh - 2011-10-28

    thank for you answer.
    But FMT-g file is not exist in "bin" directory.

    MGED program is not possible import data(IGES/STL/asc)??

    So very hard program.......!!!!!!

     
  • Sean Morrison

    Sean Morrison - 2011-10-28

    You are still not reading everything I've written. Or at best, you're just not understanding. I explained what "FMT" meant earlier. It was not meant to be typed verbatim. There are numerous importers, such as obj-g where "FMT" is "obj".

    It is possible to import geometry data into MGED using the various importers available. Those tools are simply not used from within MGED.

    BRL-CAD does have a very steep learning curve and takes time to learn, but it seems more like you're having trouble understanding due to language comprehension issues. I'm afraid you're not going to be able to use BRL-CAD if you are not able to fully read and understand the available documentation. Alas, BRL-CAD is not a system you can just play with and discover.

     
  • nephesh

    nephesh - 2011-10-28

    I am not just play.

    Utilities, and many unfamiliar words is just hard to understand.

    And I priority know that how to get g.file from other program make solid / surface / mesh data.

    in addition,

    file conversion program is plug in BRL-CAD ????

    I'm sorry that I don't understand what you say.

     
  • Sean Morrison

    Sean Morrison - 2011-10-28

    It is not a plugin, the converters are separate applications. Like mged. There are 400 applications. stl-g is one example. obj-g is another. You run those applications on a command line, not through a graphical user interface (gui).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks