603,940 active members*
2,112 visitors online*
Register for free
Login
IndustryArena Forum > CAD Software > Rhino 3D > Offset Curve Not Coming Out
Results 1 to 18 of 18
  1. #1
    Join Date
    Dec 2006
    Posts
    947

    Offset Curve Not Coming Out

    OK, so I have a surface that is the carved top of my guitar. I then do this Curve > Curves from Objects > Duplicate Border. This gives me an outline curve of the carved top, matching it's ups and downs on the edge. Now when I go Curve > Offset Curve > .19, it gives me an exact outline at the correct distance from the original BUT the outline is broken up into about 4 pieces and where the pieces meet they overlap with points that don't line up, very jagged.

    So how do I make an exact copy of the curve but at an even distance away from the original so I can make a binding channel. Thanks.

  2. #2
    Join Date
    Aug 2006
    Posts
    133
    Offset should work on a good curve. Try to fitcrv tolerance 0 degree 3 the dup border curve. That should create a new curve to very tight tolerance that you can then offset. Fitcrv, rebuild etc will make small changes to the curve so check to make sure it still matches your purpose.

  3. #3
    Join Date
    Sep 2004
    Posts
    264
    Offset is not necessarily reliable in 3D, especially if you have kinks or other probelms with your original. If you could post just the curve as an attachment here, someone may be able tolook at it and help you. --ch

  4. #4
    Join Date
    Dec 2006
    Posts
    947
    I can't have any changes it has to be perfect.

    Here is the curve by itself.
    Attached Files Attached Files

  5. #5
    Join Date
    Sep 2004
    Posts
    264
    Your original curve is pretty junky. In the attached file, I offset it, it is almost OK, but there is one problem spot (where the points are). This is due to a kink in your original curve. Offset is CPlane dependent, so offset from the top view.

    I adjusted the curve slightly to remove the kinks and make it offset better, you can try that one if you want. The deviation is around .001. I would think about improving your original curve and surface geometry if possible... --ch
    Attached Files Attached Files

  6. #6
    Join Date
    Dec 2006
    Posts
    947
    Thanks, I'll check it out. Why is the original junky? I just cleaned up the original in Illustrator, then I Imported it into Rhino, then make an extrusion and made a carved top, then cut the carved top to the outline of the body, then made the current curve as I described abovel. Is that method producing inferior results?

  7. #7
    Join Date
    Sep 2004
    Posts
    264
    Well, the Illustrator curves may have been poor, depending on how you made them. Illustrator doesn't necessarily guarantee you smooth curves, there's no good tangency or curvature control at joints between sections.

    Good curve geometry is the key to making good surface geometry in Rhino (or any other program, for that matter). If you really want to make smooth geometry, you need to be careful how you make stuff, with the fewest control points possible and looking at the curvature graph while editing.

    The curve you are trying to offset is also an edge curve, that is, it's derived from the intersection of two surfaces. That means it's always going to be somewhat more noisy than the original curves, and if your originals aren't that clean, the derived stuff will be much worse.

    You might try creating your curves in Rhino as a comparison. I think you should be able to get a close approximation of your shape with around 30 control points and have it be reasonably smooth. --ch

  8. #8
    Join Date
    Dec 2006
    Posts
    947
    CH, thanks, but how did you do that, I need to be able to create them myself becasue the offset changes periodically. Thanks.

  9. #9
    Join Date
    Aug 2006
    Posts
    133
    Your curve has 1044 points (pointson will show them) and if you explode it 19 segments. Try a analyze>curve>curvature graph (this is 3d). The spikey stuff are curve control points that are not tangent to the surrounding ones or at an abrupt change in the direction of the curve. As ch says you need to simplify the original curves and the offset which will also usually be overly complex. fitcrv is one tool. At 0 tolerance it uses your absolute tolerance units setting so it's probably much smaller than the eye can possibly see.

    Binding curves/routes etc are hair-tearing learning experiences. Don't forget to think about that piece of plastic binding and the X-Y radius you can bend it to (heat will help) around the body. Any itsy-bitsy radius change in your curve will turn into a gap because you can't force the plastic to conform to it. Binding doesn't bend well in the Z direction at all but you can force it to a smooth gradual ramp up/down. When you offset the edge by the cutter_radius - binding thickness, the top surface at the inside of the binding ledge may be doing something different than that body edge. Also think about the contact points of the endmill that are going to run along cutting that ledge. The CAM has to build a toolpath that gets close but doesn't gouge so it's going to leave a little extra material. Bottom line is the design for manufacturability may need a little tweaking. What the eye can see trumps aerospace precision Make test parts and adjust.

  10. #10
    Join Date
    Dec 2006
    Posts
    947
    Weird in Illustrator I only have about 10 points. For the future, although I appreciate the help, stuff like pointson doesn't mean anything to me...LOL I'm pretty proficient getting around Rhino but terms and tags are beyond me right now...please dumb it down.

    So Rand, what you're saying is if I click on the curve (before making the offset) > then typing in fitcrv at 0 will help clean up the curve?

  11. #11
    Join Date
    Aug 2006
    Posts
    133
    Dup border is giving you a curve that reflects the complexity of the surfaces. As ch said an intersection of freeform surfaces is going to be complicated

    PointsOn and curvature graph are useful tools for inspecting and by dropping/dragging/deleting/adding points changing curves.

    Try selecting your original curve. PointsOn; Curvaturegraph. See lots of points and the curvature "hairs" are trying to show you what the curvature is doing. Now do your fitcrv and see how it reduces the number of points and really cleans up the curvature graph. You won't visually see a difference in the simplified curve. Now you can do your offsets. Hint: you probably want to do an overcut on the binding ledge leaving a 1/16th or so and then a quick cut to the full offset to prevent tearout. So do two offsets one slightly oversized for the overcut.

  12. #12
    Join Date
    Dec 2006
    Posts
    947
    Thanks, I'll try that later tonight.

  13. #13
    Join Date
    Dec 2006
    Posts
    947
    Thanks guys that worked. So just so I understand completely. I took my original outline of my guitar then I did FitCRV > .001" > Degree 3 > Enter -- This cleaned up my original curve. Now I take that cut my carved top with it > Then I duplicate boarder from that carved top. Offset that curve to my desired distance. It still comes out with a few bad end but I just do PointOn and reconnect them and then join the entire curve and BAMMO you're done. Sweet.

  14. #14
    Join Date
    Aug 2006
    Posts
    133
    You need a clean 2d curve for the outline of the body so you can profile the body/top with that. You also need a clean 3d curve that you then offset to create the binding ledge. The curve from dup border should be fine after it has been cleaned up with fitcrv then do your offsets on that. You'll need to move the offset curve down to the depth of your binding.

    Where are the bad ends coming from ?

  15. #15
    Join Date
    Dec 2006
    Posts
    947
    Have no idea, Rand, when you made the curve for me after you cleaned it up with FitCRV and then offset it did it come out in parts, that you then had to join? If not I wonder why it's happening when I do it. But after joining it looks fine.

    For the future the way I get outlines into Rhino is take a black and white scan of the body and bring it into Adobe Streamliner which will take line art and turn it into vector art. I then bring it into Illustrator and clean it up. I then import it into Rhino. Is there a better way to do this besides drawing it from scratch in Rhino?

  16. #16
    Join Date
    Aug 2006
    Posts
    133
    Shouldn't have upgraded to SR4 today because fitcrv is acting differently now

    Anyways here's what I did with the attached file:

    1. change absolute tolerance to .0001 for the drawing.
    2. copied the original profile to a new layer
    3. fitcrv .001 tolerance. specifying zero in SR4 doesn't work the same as SR3 did
    4. That curve is clean looks clean but isn't totally.
    5. Offset that curve outward .190. That results in 2 open curves with small overlaps if you zoom in real close at the breaks.
    6. Use the MATCH command to fix the overlap from the offset: Pick the bottom half (with horns) down by the right side break. Pick the top curve by the right side break. Specify position and position with no checkboxes selected. Do the same for the left side. Then select the two segments and join them.
    This is a good thing to inspect with the curvature graph to see if anything wild is happening at the break and after the match. Matching tangency or curvature would be a better way to make those sections join smoothly but I can see a very small change in the shape of the curve if I let it do it automatically. There are ways of taming this by playing with points.
    Attached Files Attached Files

  17. #17
    Join Date
    Dec 2006
    Posts
    947
    Rand, is there a way in Rhino to always have the absolute tolerance set to .0001 on new files. It seems so basic being able to set global parameters.

  18. #18
    Join Date
    Aug 2006
    Posts
    133
    It gets saved in a template file so I have my own version of the "Small Objects - Inches" template that I've saved as template to a different name. If you then make a new file you can pick your template and check the box to always use that file when Rhino starts. There is a decent, short article in the wiki on tolerance:

    http://en.wiki.mcneel.com/default.as...olerances.html

Similar Threads

  1. Radius Offset and Length Offset
    By jim_stoll in forum Dolphin CAD/CAM
    Replies: 13
    Last Post: 10-15-2010, 01:47 AM
  2. Learning curve!
    By IanH in forum Benchtop Machines
    Replies: 1
    Last Post: 06-01-2009, 02:36 PM
  3. Replies: 11
    Last Post: 03-11-2007, 10:35 AM
  4. What's the learning curve for the TL-2
    By rbest27 in forum Haas Mills
    Replies: 4
    Last Post: 12-18-2006, 05:29 PM
  5. Project a curve
    By keithorr in forum OneCNC
    Replies: 1
    Last Post: 04-03-2003, 05:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •