![]() screw threads, shoe sizes), the Options window may be more appropriate. This will depend on the context of the component - for "snap to grid" type functions, using the scale tool is usually most natural, whereas for "real world" objects that come in standard sizes (e.g. So, as you say, it is a matter of choosing one method or the other. ![]() ![]() But, to do that, you would still need to disable the scale tool completely, as there is no way to make the formula switch automatically between using the custom attribute when editing the window, or using current("LenZ") when you use the scale tool - it would require a function something like "Most_Recently_Changed(attr1,attr2)", which SU does not have (though it would be nice). I find a better modeling method is to model the components in place so you don’t spend a lot of time moving and rotating the components to get them into place. You can create a custom "data entry" attribute to use in the Options window, and then reference that inside the formula. Grab a corner of one component that has a location on the neighboring component and move the cursor until the cursor snaps to the destination point. As soon as the user chooses a new value in the window, the literal value will replace the formula - leaving the snapping disabled. To use snapping from the Options it's best to use a drop-down list - if an attribute is using a formula, it cannot also be editable in the Component Options window. Goele wrote: So I figure that it is either one or the other. No matter what units you use for your drawing, current(), always return the length in inches! So if you are working in metric you may have to multiply the result by 2.54 before rounding. Here, if current("LenX") is over 25, you will get the result of the rounding functions, otherwise you get a fixed value of 25.Īnd there is yet another thing to be careful of. Open the scene that you would like to work on by. I clicked on two components and selected ‘Join’ in the Tools section but it said something about one component not being a solid object. Start SketchUp by clicking 'Start,' then 'All Programs.' Click the 'Google SketchUp' folder, then click the 'Google SketchUp' entry. Similar to 'snap to grid in MS Powerpoint. I’ve created the different components but am unsure how I can accurately join them all together. ![]() I’m trying to make one box out of one 8x4 sheet of OSB. You could also use the functions ceiling() or floor(), if you want the snapping to always round up, or always round down - round() always goes to the closest one.Īlso, watch out for small lengths that might snap to zero length - the IF function can test for this, e.g. Hi, I’m a newbie at Sketchup but trying to learn. Note that you must wrap the parameter name in quotes as shown here. In reality, this kind of error is trapped, but still gives strange results. doesn't know when to stop calculating, because every change to LenX makes it change again, and again - a circular reference. For this, you need the special function "current()".Ĭurrent() receives a value from your mouse (or VCB) interaction, and then makes the DC equations update once, and only once. It's a combination of having snapping off, constructing new components on the exact same plane as previous components when possible and using plenty of construction lines.The maths to do this is relatively simple - divide by your "snap unit", round to an integer, then multiply up again by the snap unit.īut first, you need to know about the way that new values get updated from the user interface. I don't know if I'm writing this coherently enough for anyone to understand, I've tried Google in vain. If you had 12 parts of varied length, all butted to each other, then took a measurement you can get "this length is ~Xcm" (almost), not "this length is =Xcm" EXACTLY Xcm. This becomes an issue when you need a few components of exact size to come together exactly, and then make and exact measurement of them all together. It would be like putting some individually wrapped truffles into a box. And then I can't guarantee its in the right place, back to the first paragraph. A nested component would contain more than one component. Say if snapping is set to 0.1cm, I can have a component that is 0.05 cm away so I can never move it where I want it exactly, unless I turn snapping off. Yes I could turn on snapping to a degree of accuracy, but it is very easy for a part to be off by a fair margin. There is almost always some level of the components being inside each other or fractions of a distance apart. It's pretty difficult to get them resting exactly on top of, or next to each other. If I'm putting a top on a table, a roof on a house or butting two joints together. TL DR: I want my components to hit each other and stop, I don't want them to pass through each other.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |