Hello, Robert,
Thanks a lot for the insight. In fact, I am trying to find an automated way
to
perform this process (for instance with a BASH script). In order for me to
understand this more thoroughly, could you please show, on an example
(for instance the STEP file that I linked in my previous e-mail), how you
would
approach such transformation? I don't exactly understand what you mean by
"converting each solid separately". In this case, what are the solids? Do
they
correspond to BRL-CAD objects and how to I find their list?
Sincerely,
Filip Binkiewicz
On Wed, Jul 26, 2017 at 2:10 PM, Bob Anderson <[email protected]>
wrote:
> Hello Flip,
>
>
>
> Using g-stl on already facetted parts is tricky. If the region that is
> being converted has a single facetted part in it, you are fine…usually.
> However, if there are multiples unioned in a region or if there is a
> Boolean cut or intersection then it tries to refacetize (if that’s a word)
> and fails. In this case I usually convert each solid individually and
> perform whatever Boolean necessary using an STL editor. Good luck.
>
>
>
> Robert Anderson
>
>
>
> *From:* Filip Binkiewicz [mailto:[email protected]]
> *Sent:* Wednesday, July 26, 2017 7:27 AM
> *To:* [email protected]
> *Subject:* [brlcad-users] Hey, I'm trying to convert a STEP file into an
> STL triangle mesh, and BRL-CAD seems to be the perfect match for this task.
> I am having trouble achieving it, however. Here's what I do I take any
> model, let's say this one: https://raw.gith...
>
>
>
> Hello,
>
> I would appreciate some help with the usage of g-stl. I have posted
> my problem on the Discussion / Help forum, and it can be found here:
>
> https://sourceforge.net/p/brlcad/discussion/362510/thread/f2789f55/
>
> Below is the content of my question:
>
> Hey,
> I'm trying to convert a STEP file into an STL triangle mesh, and BRL-CAD
> seems to be the perfect match for this task. I am having trouble achieving
> it, however. Here's what I do
>
> I take any model, let's say this one:
> https://raw.githubusercontent.com/floatingpointstack/aoc-
> xchange/master/examples/models_in/step/aube_pleine.stp
>
> I transform it to .g, like this:
>
> $ ./BRL-CAD_7.26.0_Linux_x86_64/bin/step-g -o aube_pleine.g
> aube_pleine.stp
>
> This works fine. Now, I find the name of the part I want to export:
>
> $ ./BRL-CAD_7.26.0_Linux_x86_64/bin/mged aube_pleine.g tops
> Assembly1/
>
> Now, when I try to produce an STL file, I get an error:
>
> $ ./BRL-CAD_7.26.0_Linux_x86_64/bin/g-stl -o aube_pleine.stl
> aube_pleine.g Assembly1
> ERROR(Brep_2.s): tessellation failure
> 0 triangles written
>
> I don't know how to handle this, as I am quite new to BRL-CAD - I would
> appreciate some insight
>
> Sincerely,
>
> Filip Binkiewicz
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-users
>
>
--
[image: Filip Binkiewicz]
*Filip Binkiewicz*
R&D Support
*T * +48 725 048 447 <+48725048447>
*E * [email protected]
*S * filipbinkiewicz
[image: 3D HUBS] <https://www.3dhubs.com/>
[image: Facebook] <http://www.facebook.com/3dhubs>
[image: Twitter] <http://www.twitter.com/3dhubs>
Check out 3D Hubs Knowledge Base <https://www.3dhubs.com/knowledge-base>:
quality articles for engineers and designers to learn about 3D printing.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users