Marked as rejected for now given it has various memory and initialization issues. The patch goes in the right direction, but is still (as was noted) incomplete and needs some more work. Other issues include style and whitespace formatting.
Per discussion, may want to check out nmg_junk.c for an (old) example that does something very similar when reading polygons from a file. Not the best approach as there are undoubtedly better nmg routines that should be used for constructing a valid nmg from a bot. Left, however, as an exercise to the reader.. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a routine to convert a BoT solid to a nmg
Marked as rejected for now given it has various memory and initialization issues. The patch goes in the right direction, but is still (as was noted) incomplete and needs some more work. Other issues include style and whitespace formatting.
Per discussion, may want to check out nmg_junk.c for an (old) example that does something very similar when reading polygons from a file. Not the best approach as there are undoubtedly better nmg routines that should be used for constructing a valid nmg from a bot. Left, however, as an exercise to the reader.. :)
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).