Stream: brlcad

Topic: brep


view this post on Zulip Daniel Rossberg (Aug 06 2023 at 13:39):

rt_brep_ifree() does not free the OpenNURBS objects. Does anybody remember why?

view this post on Zulip Sean (Aug 06 2023 at 14:49):

Not offhand. Only thought that comes to mind would be ownership -- ON_Brep* is passed to the mk_brep() from a calling context so that code typically owns the object and may be doing something else with it would be my immediate thought. But then it would seem wrong if the ON_Brep* that are created on import aren't released. On thought our memory footprint was clean there last I checked though.. Is it free'd somewhere else?

view this post on Zulip Daniel Rossberg (Aug 06 2023 at 15:05):

Sean said:

Is it free'd somewhere else?

Yeah, in rt_brep_free(struct soltab *stp).

view this post on Zulip starseeker (Sep 12 2026 at 11:23):

Here's a comparison run for the new, improved brep wireframe and triangulation:

image.png

view this post on Zulip starseeker (Sep 12 2026 at 11:25):

image.png


Last updated: Sep 18 2026 at 02:09 UTC