[cgma-dev] Facet/Cholla engine

Jane Hu janejhu at gmail.com
Fri Jan 17 14:18:40 CST 2014


Hmmm...

I'll put this into our bug system and hopefully find chances to fix it
either myself or by others.

Sorry for the inconvenience.

Jane


On Fri, Jan 17, 2014 at 5:57 AM, David Thompson
<david.thompson at kitware.com>wrote:

> Hi Jane,
>
> > ... Other than sending facet group separately to make individual
> surfaces, I understand it's the most accurate approach, can you try to give
> an feature_angle and set split_surfaces=true to see if, first of all, it
> gives 4 surfaces?
>
> I tried using feature_angle+split_surfaces but always get a single surface
> back.
>
>         Thanks,
>         David
>
> > On Wed, Jan 15, 2014 at 2:47 PM, David Thompson <
> david.thompson at kitware.com> wrote:
> > Hi Jane,
> >
> > > I debugged your program today, it seems that the code does have some
> bug when trying to create individual surface and body through individual
>  build_facet_surface() calls, here you are trying to create 4 surfaces and
> 4 bodies.
> >
> > I do need 4 surfaces, but just 1 body. I thought that by calling
> make_facet_shell() with all 4 of the surfaces returned by
> build_faceted_surface() that the surfaces might be stitched (or at least
> included in the same shell and thus body). Is that wrong?
> >
> > > However, I am not familiar with the code enough to make any changes.
> >
> > Thanks for taking a look at it; it's good to know it's not all my fault.
> :-)
> >
> > > I did checked that if you pass in all the facets, with empty point
> list, it can create a single FacetBody and  you can export it.
> > >
> > > I attached the changed code for you, don't know if it's sufficient for
> your purpose.
> >
> > The problem is that the faceted model I am trying to import has multiple
> model-faces (each with multiple triangles) on the same shell, which I would
> like to model with CGM. Among other things, I need to attach attributes
> (ToolData) to portions of a shell, not an entire shell at a time. Is there
> another way to do that?
> >
> >         Thanks,
> >         David
> >
> >
> >
> > --
> > Jane Hu
> >
> > Asst. Researcher
> > Dept. of Engineering Physics
> > UW @ Madison
> >
> > "And we know that for those who love God, that is, for those who are
> called according to his purpose, all things are working together for good."
> (Romans 8:28)
>
>


-- 
Jane Hu

Asst. Researcher
Dept. of Engineering Physics
UW @ Madison

"And we know that for those who love God, that is, for those who are called
according to his purpose, all things are working together for good."
(Romans 8:28)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20140117/0c8dc31a/attachment.html>


More information about the cgma-dev mailing list