[REQ] Explode all below current
-
I was wondering if there is a script to explode all entities below the currently selected in the outliner? The currently selected groupo/component should be retained.
(I'm evaluating a Revit to SKP export plugin but the geometry generated is heavily nested which makes editing in SketchUp a nightmare.)
-
Select that sould be keept / Inverse Selection/ Explode Selected ?
-
@pixero said:
I was wondering if there is a script to explode all entities below the currently selected in the outliner? The currently selected groupo/component should be retained.
(I'm evaluating a Revit to SKP export plugin but the geometry generated is heavily nested which makes editing in SketchUp a nightmare.)
TIG has a snippet of ruby somewhere that did this on a selection
-
-
That's the one. I've it in my plugins menu called Depth Charge.
You should put it up on the store
-
@pixero said:
Revit to SKP export ...but the geometry generated is heavily nested which makes editing in SketchUp a nightmare
Awesome, thanks TIG for the code! I needed something like this a while back, wish I'd thought to search in Sketchucation then.
-
Thanks! I knew I could count on you.
I'm currently testing the best way of getting a textured Revit model to SketchUp.
Too bad no one can get it right.So far my tests have led to:
Best geometry import: DWG. But it comes in with no materials. Then have to use Layer names to materials and re apply all textures which can take a lot of time.
Kubitys rvt2skp exports everything triangulated. And every face as its own component.
SimLabs Revit to SketchUp exporter also exports triangulated faces and heavy nesting.
Might work after running CleanUp and Tigs code above on some parts of the model.FBX also comes in heavily nested.
Does anyone know of any other good way to export from Revit to SketchUp with materials?
-
Just to add to my testing.
http://www.inglegreen.com/revit_app.html
This Revit plugin exports objs but some faces are not planar and rounded gemetry gets nasty triangulation. Otherwise good and free. -
Revit->dwf->SimlabComposer->SketchUp
Comes in triangulated and heavily nested.
Useable after Cleanup and TIGs script. -
Hi pixero,
Did you find the best way yet? I'll have the same problem for the next project
-
If you need to edit the geometry in SketchUp dwg is the best solution. If you're just going to render it one of the methods which has materials could work.
I really wish there was a plugin that could import from Revit with materials but grouped as a dwg. And not triangulated.
Maybe if there was high enough demand for a paid plugin we could get someone to make it. -
Triangulated is not a problem, is it? With the cleanup plugin you get a perfectly usable mesh afterwards no?
I never tried with revit yet but with Allplan it solved all my triangulation in one click.
Revit really should have an export to skp. Archicad has one and it's so good I'm really tempted to model everything in archicad because it's so fast and parametric (you can change whatever you want after modelling, nothing is fixed like in skp), and then export the final model to skp to render.
I have to get into cinema4D to streamline the process even more
-
I don't think Autodesk want to make things easier for a competing product (SketchUp). Supporting SketchUp for them probably means making it easier to go from SketchUp to their product and not the other way around.
I have tried two 3rd party Revit to skp exporters but none of them was any good compared to dwg. DWF can export with materials but the only existing plugin I've tried for importing dwf into SU messed up with heavy nested geometry that made any edit in SU a pain.
Why can't someone make a plugin that does it right? -
Have you tried IFC?
It's supposed to be compatible with both Revit and Sketchup... It's a native format for both nowadays.
EDIT: Native is probably not the word. What I mean is that they come with these formats for import and export and Trimble should support seamless IFC imports/exports as well as Revit. It's a very standardized format and it should be as accurate as possible as it's BIM related.
-
What happens with textures with the IFC format? Are they kept and if so, are the UV's preserved?
-
IFC wasn't usable.
I don't remember off hand what it was but I don't believe it kept textures/materials.
The "dream solution" would be a plugin that could read FBX exported from Revit, or a Revit file directly and import it into SketchUp with the same geometry/grouping as DWG. -
@pixero said:
IFC wasn't usable.
I don't remember off hand what it was but I don't believe it kept textures/materials.I was curious since all IFC examples I've seen online (I don't use it, yet) didn't have textures.
-
I'm trying to get TIG's ruby script to work - I copied the code into a TXT then saved in the SKP plugin folder and renamed the file to "TIG-exploderizer.rb". Then I restarted SKP, went to Window>Ruby Console and typed "TIG-exploderizer" - nothing happens though. obviously I'm clueless about Ruby scripting, but what am I doing wrong? Thanks.
Also thanks to OP for starting and keeping this thread updated - good to read through his list and think "Yep, did that....then I tried that..."
Thanks!PS I'm using SKP 2017 and here is the error message:
TIG-exploderizer
Error: #<NameError: undefined local variable or methodexploderizer' for main:Object> <main>:in
<main>'
SketchUp:1:in `eval' -
Nevermind - had to have my selection first. Thanks!
Advertisement