Kathy,

Are you familiar with the ³reid² and ³remat² commands in MGED?  The reid
command will renumber all regions under a given combination.  It walks the
hierarchy and automatically set the region ID on regions it encounters,
which may work even better for you than ³wcodes² or ³idents².

That said, the rcodes/wcodes problem is a ³bug².  Not technically a bug, but
it¹s a stupid path limitation.  There is/was both a limit on the length of
object names as well as a limit on the depth of paths that those commands
will work with.  I just applied a change to those commands that should make
the problem go away (should be in 7.16.6 or later).

I¹d encourage you to submit a feature request [1] to have those sorts of
limitations and issues resolved if you know of any others.

[1]: https://sourceforge.net/tracker/?func=add&group_id=105292&atid=640805

Cheers!
Sean



On 1/21/10 10:21 AM, "Cook, Kathy" <[email protected]> wrote:

> I have a large Pro/E model that I used the convertor to create a brlcad model.
> This has a very deep hierarchy.  I had used xpush to get individual components
> instead of instances and needed to renumber the region ids.  I have used
> wcodes before to create a list of all components and renumber that file and
> read back into mged with rcodes and this has worked successfully in the past
> with simpler models.
>  
> In this case I have 589 regions.  I tried wcodes, on Linux with the version
> 7.14.8 that came with AJEM, and got only 544 regions.  I used idents and could
> get all 589 components.  Comparing the 2 outputs, it appears that ones with
> the longest hierarchy (levels and length of names, don¹t know which is the
> issue or both).  I reworked the idents output to the wcodes format and
> renumbered the idents.  I then used rcodes to read it back in.  When I
> checked, only the 544 parts that could be written with wcodes actually changed
> regionid (which makes sense).   I had to individually export (wcode) the
> problem parts from a lower level in the tree and fix the regionids and rcode
> them.
>  
> I had also tried this model with the newest brlcad for windows and neither
> wcodes or idents extracts the correct number of parts.  It extracted even less
> parts than the Linux 7.14.8 version.
>  
> Kathy

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to