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:fi...@3dhubs.com]
Sent: Wednesday, July 26, 2017 7:27 AM
To: brlcad-users@lists.sourceforge.net
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
brlcad-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-users