Here's about as good as it gets...
You need to install both of these scripts into the Plugins folder and follow the
TIG.weldall instructions to make every edge in the model a welded curve...
###
TIG-weld.rb
Copyright 2004-2005 by Rick Wilson [parts], and 2012 (c) TIG.
Permission to use, copy, modify, and distribute this software for
any purpose and without fee is hereby granted, provided that the above
copyright notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Name:-
TIG-weld.rb
Description:
Joins selected edges into a 'curve' (~"polyline").
Author:-
TIG - based heavily on RickW's 'weld.rb'...
[but no close/face, and also suitable to be called in other methods].
Usage:-
Make a selection which includes the edges to be joined.
Run the script from the menu:
Tools > Weld
or type in the Ruby Console:
TIG.weld +<enter>
Selected edges will then be 'welded' into a curve wherever possible.
Disconnected edges or branching edges might give unexpected results.
A curve will be split where any 'branching' edge intersects it.
The process is one step undoable.
To use the tool run within another method include...
require 'TIG-weld.rb'
and use
TIG.weld(true)
to supress 'undo' complications.
The calling method must make a selection of potential edges to process,
even if inside another context, perhaps iterated in turn,
see "TIG-weldall.rb" for an example...
Version:-
1.0 20120305 First public issue.
###
TIG-weldall.rb
Copyright 2012 (c) TIG.
Permission to use, copy, modify, and distribute this software for
any purpose and without fee is hereby granted, provided that the above
copyright notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
###
TIG-weldall.rb
###
Welds ALL edges in a model [including any nested inside groups/component-
definitions] into curves.
Note that disconnected edges or branching edges will all become curves, but
some might be one segemnt long where a vertec has more than two edges...
Note: it requires script TIG-weld.rb loading too...
Usage: in the Ruby Console type, TIG.weldall +<enter>
It is one step undobale.
###
Donations:
By PayPal.com to info @ revitrev.org
###
Version:
1.0 20120305 First issue.
###
Please, register (free) to access all the attachments on the forums.