ToleranceOCD SketchUp Plugin Demo - tidy up 3d modelling precision in SketchUp
Автор: Ignatius Christianto
Загружено: 2025-11-30
Просмотров: 41
Описание:
ToleranceOCD is a SketchUp Plugin to tidy up SketchUp Model.
It will round up your model to the nearest multiplier tolerance you choose.
Currently only supporting milimeter / mm unit.
Here is a link to buy me coffee if you'd like to :)
https://ko-fi.com/tiuscp
That said, the limitations are:
Curves, arcs and circles are ignored. Intended to leave these geometry as is.
Intersection where it is nonPerpendicular will be rounded as well when selected, which could result in undesired output (be conscious of selected geometry, and deselect unwanted geometry to be processed)
It has been personally developed, used and tested since 2022.
Disclaimer:
Always save and back-up your model. Although I have personally used this in my workflow and crushing crashing bugs. It is always better to assume the worse and prepare mitigations just to be safe.
Release 25.11.29
There are 2 versions:
1. Recurring version which loops inside groups / components
2. Non recursive version, just process the selected geometry without going in each of entities inside the group
Notable Behavior:
1. It ignores curves, arcs, circles. Which will be discussed later in the limitation.
2. Currently only supports milimeter / mm unit tolerance.
3. The tolerance is actually a multiplicative. For example:
0.001 : it will round 0.0006 to 0.002
3 : it will round instead to nearest multipliers of 3
100 which means 1 cm, it will round to nearest 100mm
and so on.
4. It respects axis of each group and only round it based on each axes, not the origin of the model.
This way, an object that is rotated will be rounded according to the group axis containing it.
5. If a component is rounded, it is rounding the original / base component.
Therefore any scaled component will look like it is not rounded. This behaviour is intended to prevent confusion. If you would like to use the scaled component as the base or original component, use native "Scale Definition" on the scaled component.
How it works:
1. Select objects
2. Right click and select from the menu Tolerance OCD
3. Choose which mode:
Geometry
Group Position (which also includes group and also component)
4. It will ask on what degree of tolerance. the unit is in mm (put 0.1mm or 0.5mm or 5mm)
5. Only in recurring version. If it detects group inside group of the selected objects it will asks if you would like to repeat the process inside.
Limitations:
1. If the object has the dimension of exactly 1500 and you want to round it to 1000 tolerance, it will have varying result. It can go to either 1000 or 2000. While this case does not seem to matter in practice, it is good to take note on this.
2. Curves, arcs, and circles are ignored completely because the nature of mesh modelling and how SketchUp handles curves, arcs and circles as single entity. Second reason is usually these geometries / shapes intended not to be precisely at certain tolerance. Except if you are machining. It is better to use nurbs modelling for those smooth curves.
3. Of course, if you have geometry that is divided equally and has an infinite trailing number behind comma, it will round it if selected for rounding.
4. At the end of "fixing" the geometry to the tolerance, it will create a triangulation on affected faces. To fix this in bulk, I use CleanUp plugin by thomthom. Merge Faces function.
Incompatibility:
1. Currently has a crashing issue with enscape. Trying to pinpoint the issue: It only happens when rounding geometry in root hierarchy (not inside any group). Perhaps it has something to with how enscape handle observer.
Credit:
To me of course :)
Working with multiple people on the same drawings / model I thought that similar feature should be a native feature.
Everyone in this forum discussion,
https://forums.sketchup.com/t/force-roundi...
especially Centaur - https://forums.sketchup.com/u/centaur/
SketchUcation for being a great resource for learning ruby and SketchUp.
Last but not least, personal note.
At the start, I intended to make a one click tolerance tool for the entire model. But as development goes, I realized I had to choose between a practical solution (this plugin) or a parametric modelling workflow instead. I found that it is impossible to have that one click tolerance tool without extensive tagging which model parts should and should not be rounded (for example as mentioned, excluding equally divided geometries like: stairs height, window muntin, or intersection of different construction grid, roof details, etc..). That path is going to the direction of parametric modelling approach like FreeCAD.
Sound Attribution:
Local Elevator by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: