Adjustable Fillet command for radiis along offsets?

Adjustable Fillet command for radiis along offsets?

claimed4all
Advocate Advocate
1,727 Views
5 Replies
Message 1 of 6

Adjustable Fillet command for radiis along offsets?

claimed4all
Advocate
Advocate

Does such a lisp exist? 

 

When manually drawing contours we will work on offsets for slope and daylight points.  Then I go back and fillet edges for a clean look.  I can not fillet the first and offset as I have no idea of my radiis till I see my daylight points.

 

Right now fillet like that for a 1:3 slope.

 

Fillet -> R -> 10 -> pick lines to fillet, then

Fillet -> R -> 13 -> pick lines to fillet, then

Fillet -> R -> 16 -> pick lines to fillet

 

What I am wondering if it exists is a command that runs as such:

 

FilletCommand -> Radius -> 10 -> OffsetValue -> 3, pick the lines to fillet and get a 10 radius, then pick the next two lines and get a 13', then a 16' and it keeps counting until I exit the command.  Offset value could be positive or negative.

 

I have altered some code before, just not sure where to start on something like this.

0 Likes
1,728 Views
5 Replies
Replies (5)
Message 2 of 6

Kent1Cooper
Consultant
Consultant

If I understand correctly what you're trying to do, I would suggest you Fillet the first pair of Lines at your radius of 10, then PEDIT or JOIN them together into a Polyline.  Then you can just use Offset with a distance of 3, and make as many successive Offsets as you want.  The Lines and Arcs will be Offset in combination [not as Lines and Arcs but as joined segments in Polylines], and the radii of the arc segments in the Offset ones will be larger by 3 with each one [that's Offset outward, that is -- smaller if you Offset inward].

 

Or did I misunderstand your intent [since I'm not familiar with the phrase "daylight points"]?  If so, post an image or drawing.

Kent Cooper, AIA
0 Likes
Message 3 of 6

claimed4all
Advocate
Advocate

I wish it was that easy. When it works with standard offsets thats how I currently do it.

 

Sometimes you work your way out and at the end you have an 80' radius, but if that outside was 100' instead, I could save a few trees.  Now I have to set the end at 100' radius and work my way in 4' less each line.  I can not just offset the lines as they have different start and end points depending on where the proposed surface meets the existing surface.

 

Civil3D has built in Grading and I try to use it when I can and when it works.  Some areas still require hand feathering to get the proper look/outcome.

 

 

0 Likes
Message 4 of 6

Kent1Cooper
Consultant
Consultant

I think a sample drawing would be very helpful for understanding the problem.  EDIT:  But maybe something like this as a starting point?

 

(defun C:FRI ; = Fillet with Radius Incrementing
  (/ rad inc)
  (setq
    rad (getdist "\nInitial Fillet Radius: ")
    inc (getdist "\nRadius Increment: "); can be negative to increment inward
  ); setq
  (setvar 'filletrad rad)
  (while T
    (command "_.fillet")
    (while (> (getvar 'cmdactive) 0) (command pause))
    (setvar 'filletrad (+ (getvar 'filletrad) inc))
  ); while
); defun

It could be much more sophisticated, if its basic approach is in the general direction....

 

Kent Cooper, AIA
0 Likes
Message 5 of 6

john.uhden
Mentor
Mentor
I have to agree with @Kent1Cooper . Create a polyline with fillets and then offset. Then use the existing contour (at same elevation) to trim or extend. That method goes back to the 80s.

Actually, I'm wondering if you can offset a Civil 3D contour.

And what about elevation?

John F. Uhden

0 Likes
Message 6 of 6

john.uhden
Mentor
Mentor
It just occurred to me... What is your OFSETGAPTYPE set to? Maybe your offsets have sharp corners and that's why you need to fillet them. Try setting OFFSETGAPTYPE to 2 and your polyline corners will be arced with a radius increased by the offset value. It's also extremely important to set OFFSETGAPTYPE to 2 when creating setback lines from anything, especially wetlands. There's no sense giving up property that could otherwise be developed.

John F. Uhden

0 Likes