Model Lost in Zoom Extent

For reference, @eneroth3’s snippet cited earlier should also fix the file.

1 Like

I’ve tried 6 times to upload the file but each time Drop Box reports a server error. I’ll try later but did you tried Julia’s code snippet?

Dave, thank you for your assistance in fixing my file. I have not been able to locate the file in DropBox yet. Is there a link I should follow?

I haven’t had any success uploading it. For whatever reason, DropBox fails the upload with a message about a server problem.

Did you try the code snippet supplied by Eneroth3?

I’ll check it out. Thanks

Dave, I haven’t had any success either. Would it be too much of an imposition if I sent you a flash drive and return envelope? I need to start on the 3-D build for this project. Thanks for you consideration. Glenn
206-495-2031

That could work but I’m on the right hand side of the pond at the moment and my computer is on the left hand side.

In my opinion you must have a lost entitity somewhere, very, very far away from the rest of the model and when you made ZOOM EXTENTS, the screen seems blank but it is not. It is just that the entities are so far away, that they are too small to display. I have uploaded a small image with 2 Sketchup sessions opened at the same time. On the left screen you can see 2 entities far away from each other. On the right windows I have raised the distance between them and made a ZOOM EXTENTS. The entities are still there but very small to be displayed. I think this is something similar to what´s happening to you.
My sugestion is that you should make a ZOOM EXTENTS again, try to make a small ZOOM OUT, open the MODEL INFO TRAY and try to select entities using a crossing window on the borders of the screen, until you find the lost entities. If you find them, make a zoom on them and erase them if they are not needed. After that, try a ZOOM EXTENTS once again…

1 Like

Copy and Paste in Place in a new file seems to fix the problem.

1 Like

You have two Text entities in the model that are lightyears off:
Arbor walk to entry
160sf incl. 10% over
at
( --2147483648’, --2147483648’, --2147483648’)
( --2147483648’, --2147483648’, --2147483648’)
Obtained from:

Sketchup.active_model.active_entities.grep(Sketchup::Text).to_a.each { |t| puts t.point if t.point.to_a.any?(&:nan?) }; nil

where – xyz >>> NaN
Fixing these by moving the two Texts to the ORIGIN with:

Sketchup.active_model.active_entities.grep(Sketchup::Text).to_a.each { |t| t.point=ORIGIN if t.point.to_a.any?(&:nan?) }; nil

does not fix it.
So we must assume that there’s something else lightyears away…
Perhaps nested inside a group or component…
I’ve grepped all of the definitions’ entities for wayward Text and find none - so perhaps there’s a cpoint, or dim, or even an instance misplaced in the next galaxy ?
But I haven’t found any…
Weird…
George’s copy+paste-in-place fix seems to miss the broken entities, and works !
It’s still >33Mb and of course you’ll lose any scenes etc…

1 Like

PS: If I move the problem Texts to the ORIGIN, and then Purge unused items, it is still foobar.
I had hoped that unused component definitions might be the issue [as the copy+paste leaves those behind], as definitions with geometry miles from their origin can cause weird issues, even if there are no instances placed !

Here’s the log from my Purge Unused Tool…

…/1232 Rosemont-PurgeLog.txt

Purged Unused…

Components: 22 of 751

1232 Rosemont Dr
220 sf for Tile
322 sq. ft.
Chris
Covered
Electrical Plan
Enter text
Enter text#1
Enter text#2
Enter text#3
Frig.
Frig.#1
Living Area 1,55
New Tile Floorin
Order 650
Order: 650
Ovens
Pantry & Storage
Pantry, Bar & Me
Revised Stairwel
Total Sunroom ar
master bathroom

Layers: 2 of 9

Main Roof Slanted
Master Bdrm Roof Slanted

Materials: 29 of 159

Carpet Berber Multi
Carpet Diamond Olive
Chris_Hair
Chris_Pants
Chris_Shirt
Chris_Shoe
Chris_Shoe_Sole
Chris_Skin
Color M03
Concrete Tile
Field Square Tile
Mirror 01
Roofing Slate Tan
Stone Vein Gray
Textile Rug Stripes
Tile Border Travertine
Tile Ceramic Natural
Tile Limestone Large
Tile Limestone Multi
Tile Navy
Translucent Glass Blue
Travertine Small Tile
Vegetation Blur 02
Vegetation Blur 03
White Square Tile
Wood Floor
Wood Floor Dark
Wood Floor Light
[Textile Rug Stripes]1

Styles: 0 of 1

#EOF

I guess it doesn’t count because I didn’t share the repaired model, but way back in this topic I found the same two defective texts as @TIG and no other stray geometry. But also the camera has gone singular due to the zoom attempt. While looking at other models with the stray text issue I’ve found that even after the problem texts are repaired or erased, another zoom attempt will not heal the camera, you have to use other means. I have a Ruby snippet that does this, and I suspect it is also why the cut and paste methods work.

Here’s a screenshot of what I get. Notice the massive clutter from a large number of texts that annotate the upper right part of the image. They are usable only when zoomed in quite close to that part of the model because texts have a fixed screen size, they don’t scale during zoom. That part of the model contains 2D floorplans. Annotating 2D geometry with leader texts and subsequently editing the model is a known way to trigger the singular text bug.

Edit: Also be aware that the Volvo 850 group that you have placed 4 times in the model contains almost 150000 edges and 97000 faces - a substantial fraction of the model total. I’d advise not adding this kind of “entourage” until you are farther along with the model! I didn’t go looking for other edge-heavy items.

1 Like

76 View Road.skp (1.1 MB)
Hi guys, I have the same problem. Can somebody please help me?
Thank you.

Here you go.

76 View Road.skp (1.1 MB)

Thank you Colin!!