Round dimensions to the nearest 0.5 mm

From what I see you can’t be bothered to create your models accurately. Maybe you should hire someone who will.

Evidently the modeling you are doing is a hobby for you. Maybe accurate dimensions don’t matter.

2 Likes

Thanks ever so for your massively useful input :slight_smile:

Pro user as in “has paid for licence”, rather than “is expert.”
Now I know there’s an extension that does what I want, and a way to do it in layout, and all thanks to the nice people here.

Why? Because you’re new to sketchup, you’re up against a hard deadline and you need to give something to a fabricator in a world of imperfect information.

You are a member of this forum since June 2019… I don’t call that “new to SketchUp”…
But even for someone new to SketchUp it would be weird to model something to other dimensions than the dimensions you really want…

1 Like

Capture d’écran 2024-01-19 à 16.59.01

… I’m lost, you have paid for a “pro” licence ? I reads here that you are a free user… we all base our answers on the info given to us, and the main info is in our profiles.

right, right.

it’s been an hour though since your answer to Dave, and still your profile reads free user.
here is a guide. it’ll take you a minute.

and at least we’ll know

2 Likes

As this is a feature request, correctly place in the feature request category, nothing after the original post is particularly relevant, and certainly nothing should have risen to level of talking about door handles.

Of course, accurate measurements come from accurate drawings and an understanding of the program’s limitations.

Here I have drawn a 5m radius circle with a 3m square centred in the circle twice, the difference being the number of segments the circle is made from; the one on the left has the standard 24 and the one on the right is 240. In both circles, I’ve measured from the upper right vertex of the square to the same point on the “circumference” of the 5m radius but due to the way the circles have been made the dimensions are different, The first screenshot shows the dimensions to 3 dp and the second to the maximum dp within SU. Where does rounding to the nearest unit work here as measuring from a fixed point to a point on any curve within SU carries an inherent inaccuracy? Not applicable to architectural structures as mentioned many times in the forum as this is what SU was designed for but if you want to design microprocessors to microns, this isn’t the best program.

When displayed dimensions are rounded as a way to conceal actual sizes or sloppy modeling, you can end up with confusing situations such as

The actual lengths of the two smaller rectangles are 2 1/4 and 2 3/4.

What will your fabricator make out of that? If the actual dimensions matter, you won’t get what you wanted!

2 Likes

Hello, I have updated the extension with support units in Inches. While waiting for Extension Warehouse team accept the new update, you can download here:
5d_round_vertices_v1.1.0_signed.rbz (20.6 KB)
The extension simply round the coordinates of vertices to the closets value defined by user, based on axes (global or local). So it can only 'round" dimension between 2 points in a line that parallel with X or Y or Z. Understand it, you can use it your own way because it will actually transform your model.

5D Round Vertices

But it still doesn’t make sense to me? Why would you model with the exact dimensions if the manufacturer works with rounded dimensions, plus if you have a dimension that is N.250000 mm what value should it be rounded to. Sketchup and layout dimensions can round depending on the decimals but a dimension that is 27.425 mm will round it to 27.4 if you choose just one decimal, if you round all the dimensions to the closest half of a mm, you’ll end up with a extremely imprecise model and the manufacturer will have problems cause adding all the decimals that you’re rounding could lead even to centimeters of offset.

2 Likes

(quote just as an example)
I think we are running around in circles, not fully understanding the request (for that is what it is).
Taken that OP, @RobbityBobbityBoo, is actually modeling as precise as possible, there can still be situations where you want to convey some of your model dimensions in the “not current” display precision settings and even different units. This is often done in drawings (2D with extra information on each drawing / (possible in LayOut?)) but could also be a wish in 3D models → hence a feature request for SketchUp.

Think of different units in drawings. LayOut could be your friend here.
Why not have such options in a 3D model as requested.

If you tinker with dimensions in SketchUp the association with the measured distance breaks.
You can restore that by changing the text again. Where you want the restored dimension you type <> within the text.

<> = restore non-associated dimension to associated to the model again, using current units and display precision.

Something like this could be the feature request (extra user input in changed dimensions, implemented in SketchUp to iterate through all dimensions):
<0.1> = same but set to 1 decimal, against current overall setting / use current units
<0.01> = Same but set to 2 decimals, … , … / use current units
etc.

<0.5> = round to nearest 0.5, against current overall setting / use current units
<0.05> = round to nearest 0.05 against current overall setting / use current units
etc.

<0.1/m> = same but set to 1 decimal, against current overall setting / override current units by meters, including dispaying m !!!
<0.01/m> = Same but set to 2 decimals, … , … / override current units by meters, including displaying m !!!
etc.

<0.5/m> = round to nearest 0.5, against current overall setting / override current units by meters, including displaying m !!!
<0.05/m> = round to nearest 0.05 against current overall setting / override current units by meters, including displaying m !!!
etc.

So for example you model in cm and display dimensions with 1 decimal. But for some dimensions you would want them to only show in meters rounded to 0.05 in 2 decimals. You then change the value to <0.05/m>

p.s. anytime you edit your model between measured points the dimension will follow accordingly but with the desired special setting(s). This has nothing to do with not wanting to model accurately.

Don you really think that 28,5cm is an error?

It was a typing mistake in my mind I meant 10.0285 a 2.8 cm offset which is pretty common in a civil work, if it was 10.285 I would round it to 10.3 meters, thanks for noticing it.

2 Likes

I didn’t ask for help. I merely submitted a suggestion. Thx.

I understand this request. I’m not sure I would ever use it but, I get it. I do often use dim rounding in Layout, sometimes it’s super handy. Ironically, in imperial we can already limit rounding to 1/2 inch, so which is effectively a version of the request. Not everybody is designing houses, spending months perfecting one set of con docs. I often churn out 10 or more one sheet build documents in a day, all sent to fabrication in different materials with different methods in a fast paced workflow. especially when modeling organic shapes rounding is useful, sure there are compromises with rounding and it’s not always appropriate, but it’s a good tool to have.

The request is for an option to display dims rounded to the nearest .5 increment. Simple enough.

Yes.

and 16h after it was notified to you, you still haven’t updated your profile. despite my step by step link too.
thanks for disrespecting the social constructs of this place.

Box had a point.

1 Like

This place has a few things… social constructs really aren’t among them. :slight_smile:

snape-obviously

edit : yes, I intended to… Snape at you.
pun intended too.

1 Like

I don’t need to explain what I’m doing, but if it means that much to you… What we’re making has loose tolerances, is subject to late night on-site edits, and has very tight deadlines. Sometimes we adjust the measurements with a pen on the paper-printout without redrawing anything. It’s going to the fabricator as a pdf. The draughtsman there redraws it for their CNC. It’s essentially a sketch. Hence sketchup. It all works without confusion about how long things are because the human in the loop checks it makes sense before sending it through. At present I sometimes do it by pen, or by typing a dimension to override the automatic one. (Why is that a feature of sketchup come to think of it. Who on earth on this forum cleared that one?)

Say I have one measurement at 21.4 and the neighbouring one at 8.6. I can change them to 21.5 and 8.5. The overall stays the same right?
Could I redraw? Of course. But it’s an extruded 3D and that would take me some time I don’t have.
Could I leave it as it was with .4 and .6 in there? Of course. But if there is 1mm of play anyway, it’s neater to round it.
Can I change it however I like to make my life simpler if it has that effect? Of course.
All these things are possible. And you know what? Nobody else has to do it how I do it. You can all use your own methods. I won’t care. If you don’t think my way is right for you, pretty simple… do it your way.
(Or y’all could go straight into attack and kill mode. Whatever works for you I guess.)