Matine Posted January 13 Posted January 13 This is my first post here, and I appreciate your help. I’m currently working on a tunnel project. I’ve created the tunnel corridor in Civil 3D and also generated the tunnel profile in Leica Infinity, which I then exported as a DBX file. The only part I need help with is adding rock bolts to the tunnel body (mostly perpendicular, as shown in the photo below). These bolts are positioned along chainages defined by the alignment and follow a staggered pattern. I searched online and found a Dynamo script (only screenshots of the script). I tried replicating it in Dynamo, but it didn’t work for me. The Lisp should allow me to: -Choose the corridor or 3D model. -Specify the alignment. -Define the bolt pattern (centered / staggered). -Set the spacing between bolts. -Input the length of the bolts. -Select the layer for all bolts. -Export the lines and name them based on their corresponding chainage and the number of lines in each chainage, to be shown in Leica TS and able to select the line by name. I understand this is not an easy task, and I truly appreciate your support! Quote
BIGAL Posted January 18 Posted January 18 Its not an easy task and has a very technical answer, so may need some extensive testing, it is very much a 3d answer, You can get the perpendicular direction of a point from say a pline then draw the rock bolt, pushing the Z value each time. I am not sure that need a solid rather just the extrusion end shape. It may be a pay for task. Can you post a sample dwg and some idea about the rock bolt spacing. Had a quick go at it. Quote
Matine Posted January 20 Author Posted January 20 C3D_Drawing2.dwg Hello Bigal, Thank you for your response. I am currently working on a tunnel corridor and need the rock bolts to be positioned on the body of the corridor. While I can convert the corridor into a 3D solid and manually place the bolts, I am looking for an automated solution due to the large number of bolts required. I have attached a file that includes rock bolts created by someone else for a different project (unfortunately, I have no contact with them) and a 3DFace representation of the tunnel. I need a solution that replicates the rock bolts exactly as shown in the file, but applied to the tunnel corridor I’m using. I am willing to pay for a solution that meets these requirements, and we can discuss all the details further if you’re open to it. Thank you! Quote
Matine Posted January 20 Author Posted January 20 On 1/18/2025 at 1:56 AM, hosneyalaa said: Can you attached example drawing Hi Hosneyalaa, Please find my example in my new post to Bigal above Quote
hosneyalaa Posted January 20 Posted January 20 5 hours ago, Matine said: Please find my example in my new post to Bigal above PLS attached example CIVIL drawing Quote
BIGAL Posted January 20 Posted January 20 If you zoom in close then can see that a point is on a 3d face. So there will be formula for a 90 to a face or use ucs in some way. I really have no idea where to start as I used a simple shape so just used a move Z, working out 3d points on the faces is where I stopped, so I don't think I can help you, will email some one I know maybe he can help. The issue is when the 3dfaces make a non parrallel shape ie one end is different to the other. Quote
Matine Posted January 21 Author Posted January 21 19 hours ago, hosneyalaa said: PLS attached example CIVIL drawing ACAD-Drawing2.dwg Hi hosneyalaa, I have attached the cad file. Thank you! Quote
Matine Posted January 21 Author Posted January 21 11 hours ago, BIGAL said: If you zoom in close then can see that a point is on a 3d face. So there will be formula for a 90 to a face or use ucs in some way. I really have no idea where to start as I used a simple shape so just used a move Z, working out 3d points on the faces is where I stopped, so I don't think I can help you, will email some one I know maybe he can help. The issue is when the 3dfaces make a non parrallel shape ie one end is different to the other. Hi Bigal, Thank you so much, appreciate it! Quote
hosneyalaa Posted January 21 Posted January 21 10 hours ago, Matine said: I have attached the cad file. Thank you! USE Dynamo IN CIVIL drawing Quote
BIGAL Posted January 21 Posted January 21 @hosneyalaa can you show the 3D image ? Vpoint -1,-1,1 etc Quote
Matine Posted January 21 Author Posted January 21 10 hours ago, hosneyalaa said: USE Dynamo IN CIVIL drawing Hello hosneyalaa, Can you please attach the Dynamo images with high resolution. Thank you! Quote
Matine Posted January 21 Author Posted January 21 10 hours ago, hosneyalaa said: If you could please attach the dwg example and Dynamo file. I appreciate this. Thanks! Quote
Matine Posted January 24 Author Posted January 24 23 hours ago, hosneyalaa said: C3D_Drawing21.dwg 1.64 MB · 1 download @hosneyalaa thank you so much. I will try it and let you know. Quote
Matine Posted February 10 Author Posted February 10 (edited) On 1/23/2025 at 12:12 AM, hosneyalaa said: TUNAIL_s.dyn 116.82 kB · 2 downloads @hosneyalaa thank you Hosneyalaa!, and sorry for the delaying of my reply. I tried it but found that the lines are not perpendicular to the 3d object. Also, can I start those lines from a specific range of chainage (e.g. CH +15.00 to CH +30.00), control how many in raw, the second line should be in Staggered(photo attached), last thing to add all these lines to a layer (each raw in a layer with the name of the chainage that the line on it). a gain thank you so muchi Edited February 10 by Matine Quote
Recommended Posts
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.