Jump to content

Draw a stepped polyline between two other polylines


Recommended Posts

Posted

Hi All!

 

I'm after some help creating a routine that would draw a line between two other parallel polylines. as pictured below in red. I'm then hoping to turn this red line into a civil 3d profile using dynamo. I need each vertical line to have a slight x value (say 0.01m)

I've been playing around all afternoon with little luck. 

 

Any starting points or tips would be great!

Its been fun digging through the vaults looking for similar LISPs, 

 

Thanks in advance

image.thumb.png.7428dc75fec5a8170277a5283ec1a4cb.png

Posted

Well that opens the other 52 questions now. Why can you not add profile details with a IP at 0.01 apart making the jump in steps. One trick is make these part of the crossection template do your design in a 90 degree approach.

 

Ok you have a long section but how does that apply in the cross section modelling. 

 

The grading tools may be more what your after.

 

You can get at some of the properties inside Civ3D but its very hard using V lisp. Not sure if dynamo is way to go. 

 

Post a sample dwg that shows what you are really trying to do. 

 

 

Posted

Generally our workflow is: 

 

we will model walls in our corridor,

then create longsections,

then add in our top ground and bottom ground profiles (usually our design surface profiles at either side of the wall),

then we will manually draw our stepped profiles (TWL & BWL) onto the profile view to simulate a block work wall, which can be quite tedious on larger sites when we have complicated walls spanning hundreds of metres.

 

Hopefully this is clearer, otherwise I'll send over a sample DWG :)

 

Thanks!

 

 

image.thumb.png.32e5edd94e7810083fce196a5d084091.png

Posted

Sorry I should have added, the process for drawing the TWL line is:

 

- stepping the profile at intervals of 200H x 400W, (rough dimensions of the standard besser block and mud)

- maintaining a min 50mm clearance above the top ground profile.

- generally do this by drawing a big grid of guidelines to help, which is then deleted afterwards

 

Same process for the BWL level however a 200mm Clearance below the bottom ground profile is used

Posted (edited)

It is a complex task as your only showing the section view the plan view is also critical. One way around the problem is to have multiple design lines that are linked via a template leg of   say 0.399 & -0.2 ie a block step

 

I have been retired for 4 years now so have no access to any examples. 

 

There is a CIV3D forum at https://forums.autodesk.com/t5/civil-3d/ct-p/4003

 

You may get help there.

 

Re ground profile run a design and save surface, then use that surface as well as top design in plotting cross sections. Or else a complex subgrade.

 

Thats probably it for me. I used Civil Site Design with CIV3D and it has some extra functions that may be helpful. They are very helpful with questions like this. 

Edited by BIGAL
Posted

Thanks for the help! ill check that out :) 

 

 

Posted

 

I don't know much about civil works, but if you have red and green lines and want to draw the outline of a block, this link may be helpful.

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/convert-splines-to-polylines-horizontal-and-vertical-line/m-p/8603503/highlight/true#M381260

 

 

SPC routine in this link can draw step lines along polylines.

you can specify the horizontal and vertical width.

 

Because this routine draws along a polyline

like a dot graphic on the selected line,

so you will need to do this after offsetting your red and green lines.

Posted

Oh wow this is almost perfect, hopefully I can make a few tweaks, thanks alot!

Posted
4 minutes ago, bhowitt said:

Oh wow this is almost perfect, hopefully I can make a few tweaks, thanks alot!

 

spacer.png

like this I think

 

or

 

if you are stacking blocks, an integer multiple of the height of the block will be required,

and above routine cannot take this into account.

If that's the condition,

I think there might be a way like this.

I don't know if this is shorter than the existing your method.

just for fun 

spacer.png

Posted

That works very well! 

 

I just need to add a small x value increase to each vertical step, so theyre not exactly vertical (civil 3d doesnt like vertical lines in profiles) of say 10mm?

 

Hopefully I can get it working, thanks for pointing me to that thread!

Posted (edited)

Understand now missed the green line in cross section. There may be a way to do this, I have do waffle slabs any shape which is similar that it draws rectangs within a shape.

 

 You over fill the area with rectangs using array, then use say extrim to remove all that are outside of the new line. 

 

image.thumb.png.aa6c133bd442cd8e3ba01c25293c7eac.png

 

I did this manually using "Erase F" option to remove rectangs along the offset pline. If doing only occasionally would be reasonably quick without a program.

Edited by BIGAL

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...