This shows you the differences between two versions of the page.
ko:rhino:badobjects [2020/08/14] 127.0.0.1 external edit |
ko:rhino:badobjects [2024/08/14] (current) heeyoung |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ======Fixing Bad Objects====== |
- | ======I’ve got a bad object, why did that happen and how do I fix it?====== | + | |
- | =====What is a bad (invalid) object? | + | >How to find and (hopefully) fix bad objects created by Rhino, or by importing from other programs |
- | “Bad” objects in Rhino are ones that either violate certain [[rhino: | + | =====I’ve got a bad object. Why did that happen |
- | =====How do I know if I've got one?===== | + | ====What is a bad (invalid) object?==== |
- | The simplest way to find bad objects | + | “Bad” |
- | =====Why are these objects considered bad and how were they created?===== | + | ====How do I know if I've got one?==== |
- | Well, there are many technical explanations. | + | The simplest way to find bad objects is to use the command **SelBadObjects** (// |
- | Why might a surface trim curve be bad? You probably didn’t intentionally make it so. Bad objects | + | ====Why are these objects |
- | =====Bad | + | Well, there are many technical explanations. |
- | Importing geometry from other programs can also produce | + | Why might a surface trim curve be bad? You probably didn’t intentionally make it so. |
- | It is important to understand that the imported | + | ====Bad |
- | =====Phantom surfaces===== | + | Importing geometry from other programs can also produce bad objects. |
+ | |||
+ | It is important to understand that the imported objects were likely not considered bad in the originating program. | ||
+ | |||
+ | ====Phantom surfaces==== | ||
//Why can't I see my bad object?// | //Why can't I see my bad object?// | ||
- | Occasionally, | + | Occasionally, |
- | These can usually be selected with **SelBadObjects**, | + | These can usually be selected with **SelBadObjects**, |
- | ===== Bad Meshes===== | + | ==== Bad meshes==== |
- | If a polygon mesh object rings up as bad, use **CheckMesh** to see a more detailed report of what is wrong with it- this command | + | If a polygon mesh object rings up as bad, use **CheckMesh** to see a more detailed report of what is wrong with it. This command |
**ExtractDuplicateMeshFaces** | **ExtractDuplicateMeshFaces** | ||
Line 43: | Line 46: | ||
=====OK, How do I fix bad curves and surfaces? | =====OK, How do I fix bad curves and surfaces? | ||
- | Bad polycurves are most often fixed by just exploding and re-joining. Otherwise, look for microscopic segments included in the curve and eliminate those. | + | Bad polycurves are most often fixed by just exploding and rejoining. Otherwise, look for microscopic segments included in the curve and eliminate those. |
- | My strategy for dealing with bad surfaces due to trim curves | + | My strategy for dealing with bad surfaces due to trim curves follows. Before |
- | **1.** First I usually run the command **RebuildEdges** on all bad objects. This may fix some. It more or less restores the edges of a surface to the state they were before joining. | + | **1.** First, I usually run the command **RebuildEdges** on all bad objects. This may fix some. It more or less restores the edges of a surface to the state they were before joining. |
- | **2.** Use the Untrim command with the "keep trim objects" | + | **2.** Use the **Untrim** command with the **keep trim objects** option selected (otherwise known as **DetachTrim**) on the first bad surface, then, while the trim curve is still selected, use Trim to retrim |
- | **3.** If any bad objects are left, run **DetachTrim** on them again. **Explode** the resulting trim curve and look for micro segments in the curve somewhere. This is the most common case of bad trims. Look at how many component curves the trim curve has. Often there will be a suspicious number, i.e. what looks like it should be a rectangle says 5 curves not 4. Somewhere in there is a micro curve that is messing things up. Often it's near a corner, try window selecting near the ends of your trim curve segments. Or, use the command **SelShortCrv** and set a small value. | + | **3.** If any bad objects are left, run **DetachTrim** on them again. **Explode** the resulting trim curve and look for micro segments in the curve somewhere. This is the most common case of bad trims. Look at how many component curves the trim curve has. Often there will be a suspicious number, i.e. what looks like it should be a rectangle says 5 curves not 4. Somewhere in there is a micro curve that is messing things up. Often it's near a corner. Try window selecting near the ends of your trim curve segments. Or, use the command **SelShortCrv** and set a small value. |
- | **4.** Last, try unhiding everything (**Show**), and see if you can join all up without having objects go bad again. | + | **4.** Last, try unhiding everything (**Show**), and see if you can join all up without having objects go bad again. |
> **Note:** //The above methodology is for dealing with surfaces with bad trim curves. | > **Note:** //The above methodology is for dealing with surfaces with bad trim curves. | ||
+ | |||