Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Triangular hole array

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
neilyj666
2720 Views, 20 Replies

Triangular hole array

I need to create a triangular grid of injection boreholes with side lengths of 2m and can't think of a slick way to do it.

 

I've created two linear arrays of polyline at the correct spacings and MAPCLEANed to break all the crossing lines so I now have line segments at the correct locations.I now need to put a point at each vertex to show the locations of the holes.

 

I'm sure there must be a better way of doing this - just thinking while typing: if the two array are on different layers, I could JOIN the polys on each layer and then add POINTS at vertices??

 

Thanks

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
20 REPLIES 20
Message 2 of 21
dasindog
in reply to: neilyj666

I would either use the "create points on verticies" or by "divide" method. Once you figure out the lengths of polyline you need you would just join them up in some manner and run the commands. I think you are on the right track.

-Dustin
Civil 3D 2013 64 bit SP1
Windows 7 Pro 64
Intel Xeon 2.93GHz
24GB RAM
NVIDIA Quadro FX 580
explodetheblock.wordpress.com
Message 3 of 21
neilyj666
in reply to: dasindog

I did try using MEASURE but it got a bit tedious....but I think it's going to have to be tedious....

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 4 of 21
sboon
in reply to: dasindog

I'm assuming that the grid is made up of equilateral triangles with 2m sides.  I would create the first row manually, then copy them down and over to build the second row.  From there you can either copy two rows down at a time, or use the ARRAY command to finish off the grid.  Do you want the point numbers in a sequence so that they can be laid out boustrophedonically or do you want a repeated left to right pattern?

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

 

Clipboard01.png

Steve
Expert Elite Alumnus
Message 5 of 21
neilyj666
in reply to: neilyj666

the screenshot is exactly what I'm trying to achieve although the actual boundary is a bit ragged. how could the point numbers be done boustrophodenically (I had to Google that one..!!)

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 6 of 21
troma
in reply to: sboon


@sboon wrote:

...

 Do you want the point numbers in a sequence so that they can be laid out boustrophedonically or do you want a repeated left to right pattern?

 

 


 Nice!  Way to improve my vocabulary, Steve.


Mark Green

Working on Civil 3D in Canada

Message 7 of 21
sboon
in reply to: troma

Using the phrase boustrophedonic layout is a good way to impress the hell out of an old-time surveyor. 

 

Neil - if you create the starting sequence of points correctly then the sequential pattern will be repeated when you copy them.

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

Steve
Expert Elite Alumnus
Message 8 of 21
BrianHailey
in reply to: neilyj666

Just another thought;

 

Hatch pattern.

Adjust origin to get the pattern the way you need it.

Explode.

Drawing cleanup - break crossing.

Create Points - Automatic.

Brian J. Hailey, P.E.



GEI Consultants
My Civil 3D Blog

Message 9 of 21
NMRollo
in reply to: sboon

Thanks for the word. As an old time surveyor, I am impressed.

 

As a matter of interest, how would you number the points "boustrophedonically"

C3D 2012 SP4
Win 7 64 i5
8GB RAM Quadro FX 1800
Message 10 of 21
sboon
in reply to: NMRollo

Create the first row of points left to right, and the second row right to left.  When you copy them they will maintain that order, with new point numbers.

 

Steve
Please use the Accept as Solution or Kudo buttons when appropriate

Steve
Expert Elite Alumnus
Message 11 of 21
tcorey
in reply to: neilyj666

Neil, it looks like it would be simple to create a LISP routine that would make AutoCAD Points, then you could convert those to Civil 3D points.

 

Post a drawing and I could probably write something for you in a few minutes.



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 12 of 21
neilyj666
in reply to: neilyj666

thank for all tbe replies I'll try them and post a drawing on Monday 🙂

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 13 of 21
neilyj666
in reply to: neilyj666

Drawing attached

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 14 of 21
tcorey
in reply to: neilyj666

Is it always twenty/twenty-one columns by ten rows? Odd numbered rows have 20 points and even numbered rows have 21 or do you need those values to be variable?



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 15 of 21
neilyj666
in reply to: tcorey

Ideally variable as the areas for holes vary in size and shape but it is easy enought to just "lasso" the points required and make a group for instance

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 16 of 21
tcorey
in reply to: neilyj666

Is this what you're talking about?

 

File is .lsp but I had to rename it to post. You'll need to rename it back.

 

Tim

 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 17 of 21
neilyj666
in reply to: neilyj666

thanks will look at when back in work tomorrow

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 18 of 21
neilyj666
in reply to: tcorey

Perfect - many thanks for this

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 19 of 21
neilyj666
in reply to: tcorey

The lisp works great in 2013 but seems to behave differently in 2014 - I'm not complaing just curious as to why...Smiley Wink

 

In 2013, I had a boundary and the routine created the stated number of rows and columns per the input parameters but in 2014 the routine stopped either side of the boundary but the distance from the last point to the boundary was greater than the stated 2m spacing so I'm wondering why (as I'm lisp illiterate)

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 20 of 21
tcorey
in reply to: neilyj666

Weird. I wrote and tested in 2014.

 

Be sure you turn off any osnaps before you run it and see if you get different results. Sorry, I usually am good about  safety features but I was in a hurry to get this out between support calls...

 

Tim

 

 



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report