3d Polyline slope routine needed

3d Polyline slope routine needed

Anonymous
Not applicable
7,834 Views
43 Replies
Message 1 of 44

3d Polyline slope routine needed

Anonymous
Not applicable

Im in need of a command or routine that will take a flat polyline and slope it at a certain degree or run. 

For example, I drew a polyline from point A to B.  It includes arcs and straights and isnt closed.  I want to set point A at some elevation like 12'-0",  and then have a routine that will slope the polyline consistently from A to B at 1/4" every 12" or even 5/16" every 12".  Is there something like that anywhere or can someone help me out please?  Id be really grateful.

 

 

0 Likes
Accepted solutions (3)
7,835 Views
43 Replies
Replies (43)
Message 41 of 44

CADaSchtroumpf
Advisor
Advisor
Accepted solution

@Anonymous  a écrit :

Oh this is handy when you dont know the slope.  It lets you set the ends and slopes it evenly between.  Very Cool.


The version modified for mixte Z or slope (at choice) for the end point.

It also works in USC parallel to WSC

0 Likes
Message 42 of 44

Kent1Cooper
Consultant
Consultant

@john.uhden wrote:
Re: " Downward Slope percent: "
Why be restrictive?
3DEDIT accepts both positive and negative values and ....

Only because downward slope is what the OP was after [see Message 5].  It could certainly be made to let you go either way with a positive or negative input value, easily enough.

 

[Is 3DEDIT a Civil3D operation or something?  It's not a native AutoCAD command.]

Kent Cooper, AIA
0 Likes
Message 43 of 44

Sea-Haven
Mentor
Mentor

Hi devitg look at my code has a check for Left or right pline.

0 Likes
Message 44 of 44

devitg
Advisor
Advisor

Hi, Sea.Haven. 

When I do a LISP, I do just and no more that the required task to do , and given data,  by the OP. 

Just It. 

 

 

 

 

 

 

 

0 Likes