Showing posts with label sketchup. Show all posts
Showing posts with label sketchup. Show all posts

11 March 2023

I once saw a SKP file THIIIIIIS big

 (Originally posted to the "Corner Bar" of the SketchUp forums)


I've seen about a half-dozen posts this morning from users making SketchUp files in sizes I frankly never would have dreamed possible in a thousand years. I think the largest file I've ever made in SketchUp was maybe 10MB. 90% of my work is for 3D printing, so I don't really need a lot of components, textures, or assets from the 3D Warehouse, and geolocation is only handy for a few practical demonstrations of scale.  

One of the files I saw someone have difficulty opening was almost 300MB. A lot of it turned out to be some unused components, and a quick purge from my fellow users with Enlightenment levels of patience brought it down to a somewhat more manageable 100MB. 

Moments later, I happened upon another forum post from someone else having difficulty opening a file. I get a bit worried; maybe there's something wrong with 2023 that's emerging or some compatibility issue with Apple Silicon nobody's worked out just yet. I click on the provided Google Drive link and almost fell out of my chair. 
It was nearly a full gigabyte. I mean... how? I'm frankly surprised it took getting to that size for them to start having issues. It's as if they made everything in one single session and only reopened it the next day. 

This isn't me knocking these folks for not being efficient. I recently spent a fair chunk of time re-uploading the same model file to the 3D Warehouse because I could not for the life of me figure out how a shipping pallet with a default texture was a full megabyte. It was literally made from a single component (a plank) arranged in the overall shape of a pallet. Even with the default scale figures (of which there were two for some reason) successfully purged, it was showing up as a full MB. It finally dawned on me that I had saved the geolocation in the file, complete with satellite image and topography. Obviously, that's not going to be much use to someone who just wants something for their forklift to pick up and set down, so it had to go. The final tally sits at 89KB. 


I was an early adopter of the browser-based version of SketchUp (I've still got files that have the "my SketchUp beta" watermark on them), so I've been at this for a while, and even I can still lose sight of the bigger picture and bog down a file with unnecessary guff. I think we're also all spoiled on larger hard drive sizes and file transfer services like WeTransfer and Drive that we don't see a large SKP as any big deal. I scoffed once at a YouTube video of someone proudly bringing the size of their file down to a few hundred kilobytes. Now, I understand. 

It's important that, when we pass on our knowledge to others, be it at work or through these forums or YouTube comments or wherever, that we emphasize simplicity and efficiency. Space-saving tricks like components should be introduced as early as possible, even if the other person doesn't grasp it right away. It will plant a seed in their mind that they don't have to model multiple identical versions of an object. It will teach them to think more laterally and embrace "creative laziness." 

Thanks for coming to my corner of the corner bar. 

Goodnight, and good luck.

09 April 2018

Spoiled On Legos

For all the ranting and raving and raging I've done about Sketchup, some may wonder why I keep going back and trying again at it. Is it pure stubbornness? Maybe. Is it because more often than not it actually does work and produce usable results? Yes. In fact, at least two of my most popular and liked models on Thingiverse were made in Sketchup. There's a fine line between valid criticism and outright negativity, and I realize I tend to feed into that negativity feedback loop when I complain about how almost every other step in every other Sketchup tutorial is a workaround for something the program can't do, how what's streamlined in one application is almost abstract in this one. For that skewed view which I'll elaborate on in a moment, I owe Trimble my sincerest apologies, for whatever they're worth. 
Speaking of fine lines, my overall issue with Sketchup is that it walks a very fine line between having a learning curve and being badly-designed. As for that latter point, I'm here to give Trimble a great big pass wrapped up in my apology like a pig in a blanket because even if we all agree their software is badly-designed in some key areas, it's not entirely their fault. Without getting into a long, drawn-out history of how Sketchup came to be as it is, the fact of the matter is Sketchup is not a 3D modeling tool. At least, it's not a 3D modeling tool out of the box. 
Sketchup was made to be a visualization tool for architects, landscapers, and interior designers. All of these jobs have one common thread that Sketchup uses as its foundation, and that's... a foundation. Before you can make any sort of structure or even arrange existing elements within a structure, you need to know how much real estate/floor space you've got to work with. Barring any low ceilings or overhead lighting or air traffic considerations, this is fundamentally a two-dimensional exercise. 
That's "Josh" by the way. He's the default height reference for every new document. 
Think about it. If you didn't have the benefit of modern CAD technology, you'd be using a straight-edge, a pencil, and a piece of paper, not to mention a tape measure and maybe some masking tape to mark out spaces on the floor. 
You certainly wouldn't be stacking cardboard boxes in the middle of the room unless you've got some enormous on-hand supply of moving boxes of various sizes depending upon your needs. My point is that Tinkercad, one of the programs I use for my 3D printing work, is absolutely horrible in this capacity.
Not pictured: Josh.
Ignoring the fact that Tinkercad was never meant to be an architectural tool (and therefore all your default dimensions are in millimeters), there's also the matter of exporting the model into a usable format. Tinkercad exports to the STL and OBJ formats, which are 3D. There is a 2D format it can export to, but it's a simple vector image (SVG) meant for laser-cutting, and not very useful if you're trying to show a client how a location is going to be arranged. Sketchup, meanwhile, allows me to export my current view of the scene as a PNG file (that's in the free browser-based version) as well as having an entire host of 2D tools for sharing one's work as architectural blueprints (that's in the full-size version). 
Sharing one's work aside, this comparison is meant to demonstrate the fundamental difference between the mindset of someone who would need Sketchup and someone who would need Tinkercad. The best analogy is that Sketchup is like cutting posterboard and foamcore to build your structures while Tinkercad is like playing with Legos. 
Not pictured: Emmet.
This is not meant to put down either program. Both are perfectly valid solutions to their respective problems, just as foamcore is a perfectly valid material for making architectural models and dioramas while Legos are a perfectly valid material for making mockups of physical objects or scenes (even practical protoypes if we want to get Technic...al). 
We can work on the decor.
Going back to what I was saying before, Sketchup was originally a visualization tool for people more concerned with open floorspace than tight tolerances. After Google picked up the project to make it some sort of plug-in for Google Earth, it seems the need for 3D functionality increased and suddenly all these new features need to be shoehorned into a program not intended for them. Even on their own forums, many users often joke about making circles and spheres in Sketchup. I built up a small archive of screenshots demonstrating the results of early attempts at mastering the delicate and subtle art of making spheres, but I won't put them here. It wouldn't be fair. Rather, I would encourage you, even if you've only a passing interest in the subject, to give the free, browser-based version of Sketchup a try, maybe sit through a few tutorials first to get an idea of what you're in for, and see if it's something you want to invest in. I even used its visualization/layout aspect for a recent DIY project of a computer monitor stand that used a combination of scrap wood and metal, as well as some 3D printed parts (which were modeled in Tinkercad). 

07 February 2018

A Sketchy Arc

Damn it, Sketchup, why do I have to fight with you so much? I keep trying to give you the benefit of the doubt that you've simply got a learning curve and how you work as a 3D modeling program isn't like those other 3D modeling programs. I write these long, angry diatribes about how making a sphere is like summoning a demon while on the moon and with a bucket over my head, yet I wait. 
Now, today, after revisiting the browser-based version, I swear you're pulling the wool over my eyes. 


I was literally trying to recreate what I saw in this video in another tab and at around the 4:10 mark, I see a sleight of hand. This is the comment I left verbatim and a screenshot of exactly what I was seeing when I tried to follow along.

Okay, I hate to be "this guy" but I feel like we're either missing a step or calling a tool by the wrong name. I'm literally following this to the letter in another tab right now and my arc tool isn't working like this... at all. I didn't even see you click on the arc tool, it was just selected after you made the line.
I make the vertical line, put the circle on top, draw another line from the center of the base to the edge... and then the arc tool acts nothing like what I'm seeing on screen. I click on the arc tool and I get a compass overlay that keeps trying to draw an arc that's convex to the vertical line. After some fiddling to try and at least get the arc to be concave, it doesn't go from the edge of the base to the circle up top. It's only as tall as it is wide and trying to tweak it gets me an error message about too many segments.
I have no clue what I'm doing wrong and I feel like this happens every time I try to do anything in Sketchup.

It may be a little hard to see, but that little green circle near the edge of the base is what I somehow have to place somewhere to make an arc between the edge of the base and the circle atop the line. It's also worth repeating that we saw this tutorial first select the arc tool, then change their minds and select the line tool, draw a line from the center of the base to the edge, and next thing we know we're drawing an arc between those two points. 


Let's be clear: you have to select the tools on the left hand side of the screen. His mouse cursor never ventures close to that and suddenly we go from a line tool to an arc tool. I can't find any keyboard shortcuts that would allow this, and even if I did, the arc tool doesn't work as it's being shown. 

This is why I hate learning any kind of software. There's always something in the tutorial (which I've sometimes PAID for the "opportunity" to sit through) that is not accurate, it's fairly important, and whoever I learn it from gets so embarrassingly tripped up it's like watching someone try to recite the alphabet backwards and start over every time they mess up. Normally, when I've written these, I leave them in the drafts folder until I calm down a little, I read a few more tutorials, wind up feeling stupid because I missed something obvious, and then the post never goes live due to its newfound inaccuracy. Given I've also left a comment on the video, I should probably wait until I get an answer to that before I go pressing the publish button. However, I've wound back this video at least five times and whatever the instructor is doing, it's not working when I try to do exactly as he says. 

Please, whatever I'm doing wrong, tell me. 
I'm not trying to shame anyone. I just want the damn thing to work as advertised. 

UPDATE: Okay, so about an hour after posting this, when I was still too frustrated to sit back down and give it another go, I reasoned that maybe it was the 2-point arc tool being used. This morning it turns out I'm right. So, that half of the mystery is solved, but it doesn't explain how he selected the arc tool, to say nothing of simply not specifying which of the 4 distinct arc tools he was referring to. I mean, that's kind of important. How many shapes are there?

Also, the top of the pawn is hollow now, and that's an improvement over the first time I tried using the "Follow Me" tool in order to make the upper portion.

UPDATE II: It's the mid-afternoon, and Sketchup responded to my YouTube comment, but only about halfway. 
Het Matt! InSketchUp Free, the nested tools show the last tool you clicked on. In this video, Aaron is showing the default tools (the ones that are available by default when you first start Sketchup Free). In the case of the Arc tool, 3 point Arc is the default, but if you clicked on 2-point Arc previously, that will be the tool that activates when you click on the Arc icon. Your best bet is to start a totally new session of Sketchup Free and try again.
Like I said before about the 2-point arc, he selected that particular arc tool, which means that if he ever goes back to it, that's the one that's selected. Fine, except that's not my problem. Not specifying which arc tool is annoying enough, but he seems to select it without using his cursor at all. There's a keyboard shortcut for the Arc tools, which is "A" conveniently enough. What's not convenient is that he doesn't mention this in the video and I don't even think it's mentioned in another video dedicated to explaining all the different arc tools. Exactly how "Step 1" is this chess piece tutorial? Admittedly, that's on me. I'm hardly a stranger to Sketchup, and I haven't touched the software in a while, so forgetting a shortcut or two isn't Trimble's fault. Known issues, though.... 

A quick check on the forums also revealed that if your model is too small, Sketchup will not draw certain faces. In my case, because my pawn is small, it puts a hole in the top. Here's where this software starts to fail at justifying its 800USD full version. If I take my model, before I use the "follow me" command to make a sphere and a pillar, and scale it up, it not only makes the sphere whole, but if I then scale it back down to where it couldn't draw the full sphere, there's still no hole. 
I'm not changing the number of polygons when I scale it, so why does the overall size matter?