Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187270503
Reply with quote
#1
Hi TBD, looking for a workaround to solve a problem with rendering scenes. As for a script writer I hope to get a solution. Sometimes my interior scenes are large. For renderings I need just a part of it. To work only with Groups or Layer seems not a good solution. To setup ie a corner of the room it is not useful to load the whole geometrie. Is it possible for a script to hide what is outside the rendering scene? It could be a cylinder or a box which pulls over the desired scene and hide the outside? ...or something similar like section cuts which works in that way. Burkhard
TBD
Registered:1162307044 Posts: 1,178
Posted 1187272787
Reply with quote
#2
here ya go a quick script that hides everything what is outside the selected entity. I use a box made only from edges for quick scale. btw, thanks for german translation of podium documentation on SUC.
Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187273907
Reply with quote
#3
I'll give it a try...thanks for it
Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187276731
Reply with quote
#4
great! It is also possible to cut the passing faces like walls, ground and ceilling? Maybe after an intersection? That can fake a section cut view. thanks again for the script Burkhard
TBD
Registered:1162307044 Posts: 1,178
Posted 1187278974
Reply with quote
#5
it is possible but it is way more complicated and I should concentrate on 1.5b but if someone wants to expand the script - (s)he is free to do it
TBD
Registered:1162307044 Posts: 1,178
Posted 1187292380
Reply with quote
#6
a small test: 1) select the bounding box made of edges 2) "[TBD] ScenePart" from Plugins menu 3) all entities that are outside the bounding box are hidden
Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187294260
Reply with quote
#7
Does really works good here. For groups and single face. see attached. Works also with a faced box made as group. It is only the hidden geometrie visible before the box disappears. For large and more complex models...tomorrow Burkhard
sepo
Registered:1162553861 Posts: 4,326
Posted 1187347965
Reply with quote
#8
Burkhard...any chance to consolidate your findings and make a little report/tut so we could move it to TTT forum. Cheers
Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187365212
Reply with quote
#9
I'll make a test and then a tut....but I hope the script is not finished yet I think it is a good solution, alternate to the section cut, with less of geometrie to calculate. more to come. Burkhard
Tuts3d
Time Keeper
Registered:1177722847 Posts: 285
Posted 1187488411
Reply with quote
#10
Hi burkhard How do yo install the ruby script? I have no idea in doing this. thanks
__________________ The only way to cure a doctor, is to hand him his own bitter pill
Burkhard
Mac Master
Registered:1166525400 Posts: 385
Posted 1187515610
Reply with quote
#11
just copy the file into the plugins folder rename scenepart.rb.txt into scenepart.rb start sketchup. You should find it in Menu>Plugins