chẽ tới các yếu tố như: bề rộng đường, cấu tạo mặt cắt ngang, kiểu mặt cắt ngang, siêu cao, độ mở rộng, khối lượng đường… Có thề tạo mặt cắt ngang từ thư viện sẵn có trong Civil hoặc kha
Trang 1Bài 1: Tạo bề mặt
Trang 2Ở đây không đi sâu vào phân tích địa hình và khai thác các thuộc tính của nó Chúng ta có
thể tự tìm hiểu thêm trong tài liệu lớp chuyên đề qui hoạch chiều cao đã đề cập
Trang 3Bài 2: Thiết kế bình đồ tuyến
Có hai cách tạo Aligments (AL),
nếu chúng ta đã có tim tuyến thì
chọn Create Aligment form
Polyline nếu chưa và tự tạo mới thì
chọn Create Aligments by Layout
Trang 4
Sau đó thực hiện theo dòng lệnh của chương trình
Tiếp theo chúng ta xem xét vấn đề tiêu chuẩn thiết kế và quay siêu cao như thế nào
Trang 5Chúng ta có thể hiệu chỉnh lại
công thức tính siêu cao cho chính
xác Với các phương pháp quay siêu
cao khác nhau
Quay siêu cao theo tim
Trang 6Công thức quay siêu cao đã hiệu chỉnh chính xác:
Trong đó:
Trang 8Gán siêu cao cho tuyến
Chọn vào tuyến cần áp siêu cao và click chuột phải chọn:
Trang 10Hiệu chỉnh nhãn cho tuyến Cách hiệu chỉnh giống nhau cho các loại nhãn
Trang 15Thiết kế đường đỏ
Sau đó thực hiện các lệnh theo dòng lệnh
Trang 16Xuất thông số trắc dọc
Trang 17Chọn vào trắc dọc cần xuất, click chuột
phải chọn Profile View Properties…
Chọn vào tab Band
Trang 19Gán nhãn cho trắc dọc
Chọn vào trắc dọc cần gán nhãn, click
chuột phải chọn Edit Lables…
Trang 20chẽ tới các yếu tố như: bề rộng đường, cấu tạo mặt cắt ngang, kiểu mặt cắt ngang, siêu cao,
độ mở rộng, khối lượng đường…
Có thề tạo mặt cắt ngang từ thư viện sẵn có trong Civil hoặc khai báo một loại mặt cắt
ngang mới Mở hộp thoại Tool Palettes từ menu Corridor/Subassembly Tool Palettes
(Ctrl+3) chứa các mẫu mặt cắt ngang, các loại vật liệu áo đường, bó vỉa và góc hướng
taluy…
Trong Tab Assemblies, đã có sẵn những mặt cắt ngang, click vào đối tượng đó và kéo ra
nền cad sẽ tạo ra mặt cắt ngang với các thông số hình học và loại vật liệu mạc định ban đầu
Hộp thoại Tool Palettes
Trang 21Tạo mới một mặt cắt ngang như sau: Chọn menu Corridors/Create Assembily…, xuất
hiện hộp thoại Create Assembily, đặt tên là mat cat 1, chọn OK
Tùy theo vào yêu cầu thiết kế mà chọn ra các kiểu áo đường, bó vỉa, phân cách, taluy…
thích hợp để gán cho Assembily đó Mỗi một loại Subassemblies đều có những đặc điểm
riêng, dùng cho từng yêu cầu nhất định, chẳng hạn như loại đường có siêu cao, mở rộng bụng
trong đoạn cong, đường ngoài đô thị, trong đô thị, đường có giải phân cách…
Trang 22Các thuộc tính trong Properties của Subassemblies đó có thể tìm hiểu thêm trong file
pdf đã nêu ở trên Đây là loại Subassemblies có thề tự động quay siêu cao khi vào đường
cong và được sử dụng cho tất cả các loại đường
Trang 23− Khai báo bó vỉa
− Khai báo vỉa hè
− Khai báo Taluy
Trang 242 Tạo mô hình tuyến
Trên cơ sở bình đồ tuyến, trắc dọc, mặt cắt ngang tuyến, tiến hành xây dựng mô hình
tuyến như sau:
Chọn Alignment
Chọn đường đỏ thiết kế Chọn mặt cắt ngang
Xuất hiện hộp thoại Create Corridor, chọn set Targets để tham chiếu với bề mặt tự
nhiên
Trang 25Click trong Frequency để chỉnh khoảng cách các cọc trong tuyến, ví dụ ngoài đường
cong cắm 20m, trong đường cong và đoạn nối siêu cao cắm 10m…
Trang 26Mô hình 3D tuyến đường
3 Tạo các đường Samle Lines cắt ngang qua tuyến
Chọn menu Sections/Create Sample Lines…, chọn Alignment cần trắc ngang, xuất
hiện công cụ Sample Line Tools:
Trang 27Công cụ Sample Line Tools
Trong Sample Line Creation methods mạc định ban đầu là At a Station cho phép add
từng Sample Line trên mặt bằng tuyến, Chọn From corridor stations cho phép tạo hàng loạt các
sample line theo các cọc đã định trên Corridor ban đầu:
Trang 28
Xuất hiện hộp thoại Sample Line Lables, chọn Section Name và Add
Nhãn được tạo ra mạc định lấy tên theo lý trình, có thể sửa bằng cách đổi tên Sample Line
trong ToolSpace
Trang 29Đối với đường thẳng có khoảng cách các cọc đều nhau, có thể tạo nhãn nhanh bằng cách
thêm tiền tố trước Sample Line Number trong hộp thoại Text Component Editer – Contents
Trang 31Bài 5: Xuất trắc ngang
1 Xuất trắc ngang
Chọn menu Section/ Create Multiple Section View
Chọn Create Section View, chương trình tự động xuất trắc ngang theo mẫu mạc định Từ
đây, chúng ta sẽ chỉnh sửa nhãn của nó theo các bản vẽ ở VN
Trang 32Chọn Edit Section View Style…, trong Tab Title Annotation
Trong hộp thoại Text Component Editor lần lượt gán thêm các thuộc tính…
Trang 33b) Cắm cờ và ghi đường gióng tại khoảng cách lẻ và mia
Tạo Block có tên co như sau:
Từ đường phía trên của Assemblies trong mặt cắt ngang, chọn Edit Lable
Kết quả như sau:
Trang 34Tạo các đường gióng bằng cách Add line trong hộp thoại Lable Style Composer
Trong Type là Grade Breaks tạo thêm nhãn mới đặt tên là cam co, Add Block tên
co vừa tạo ra trong Tab Layout
Trang 35Tăng Weeding nhãn cam co giá trị 100
Trang 36Kết quả như sau:
c) Tạo các bảng ghi giá trị
− Bảng cao độ tự nhiên
Trong hộp thoại Section View Properties, tạo nhãn mới đặt tên là CDTN
Trang 37Các nhãn cao độ sẽ lấy theo tick của Grade Breaks
− Bảng khoảng cách lẻ
Từ nhãn CDTN, tạo mới nhãn tên Khoang cach le, nhãn lấy ra khoảng cách lẻ là
Incremental Distance
Trang 38− Bảng khoảng cách mia thiết kế
Tương tự như nhãn Khoang cach le, tạo nhãn mới tên là Khoang cach mia với Section tham
chiếu là Corridor… Kết quả sau khi hiệu chỉnh như sau:
Quá trình hiệu chỉnh trên đối với một mặt cắt ngang điển hình Để tạo ra cho tất cả các mặt cắt
ngang còn lại, ta làm như sau:
Trong hộp thoại Section View Properties, chọn Save as band set…
Trang 39Chọn sectionView Group…, trong Change Band Set, chọn Import Band set tên cat ngang
vừa tạo ra
Kết quả sau khi gán các nhãn cho toàn bộ mặt cắt ngang như sau:
Trang 40“Copy to”, “Move to”, or “Mirror”?
After the jump learn how to resolve this issue
The issue lies with the subassembly naming template I don’t know if others out there in
blog land knew this but using “<[Subassembly Local Name]>” is no good
Trang 41To fix the issue change your naming template to use “<[Macro Short Name]>” (see below)
The same name is provided but now when you copy, move, or mirror the names don’t
disappear
Trang 422 Magic Corridor Boundary
So you have a corridor surface which needs a boundary You’re used to using Civil 3D
2009 and you know about the Automatic boundary, say, from the daylight lines
You also know that the Automatic boundary doesn’t always happen depending on certain
conditions So you installed Civil 3D 2010 because you heard about this new fantastic
boundary method known as “Corridor extents as outer boundary” You opened your
corridor properties only to discover that the option isn’t where it’s supposed to be Follow
the jump to find it
This option only exists when your corridor has multiple baselines CRUD! Enter the
workaround
Just add another baseline to your corridor That’s it Don’t add any regions to it, just an
empty baseline Go back to your boundaries tab and voila, you can add the extents
boundary
Trang 433 Civil 3D Part Builder – Not JUST 3D – Part 2
Creating a Custom Variable
Based on some of the comments from the previous post, I am going to take a couple of steps
ahead and cover creating a custom variable that can be passed to the Parts List in Civil 3D
This post is assuming you already understand the basics of Part Builder and know how to
model a structure If not don’t worry, we will be getting back to the basics in Part 3
Step One (Note: it is very important that these steps be followed in exact order), click the
options button at the top of the Content Builder as shown
Trang 44Step Two, create the initial variable In the Content Builder go to Model Parameters right
click and select Edit
In the Model Parameters click New and you will get the following dialog box
In this example I am creating a parameter that I will use for an inline reducer structure I
created I am already using SID, the Inner Structure Diameter for the diameter coming
Trang 45into the structure So I need another parameter for the reducing diameter coming out of
the structure so that I will be able to create multiple part sizes in Parts List from a single
structure Make sure you keep in mind or write down the exact name and description of
the new parameter just created, because we will need to add that exactly as it is here in one
of the xml files For now just use a constant value for the Equation because we will modify
this in the Size Parameters
Step three, modify the size parameters Right click on Size Parameters, as show below, and
select Edit Configuration
In the Parameter Configuration dialog box, shown below, find your new variable We will
want to modify this variable here as much as we can to be what we want so there will be
less to do in the xml files
Trang 46the other variables have a specific context matching the variable itself This is because the
context for this variable does not exist in the xml file, so we are going to have to add it Also
you will notice the Index of this variable is set to 1, were the others that pass to the Parts
List are 0, we will have to modify this as well in the xml file
Step four, edit the xml files Make sure you save your structure and exit Part Builder, and
close Civil 3D before we edit the xml files Once everything is saved and closed there are
two xml files we need to edit The first will be the xml file for the structure itself which will
be located in …/Pipes Catalog/US Imperial Structures/Your Chapter/Reducer.xml, where
… is the location on your system for the Pipes Catalog and Your Chapter is the chapter
you created at the time you created or saved the initial structure The second xml file to
edit will be …/Pipes Catalog/Aecc Shared Content/AeccPartParamCfg.xml, this is the xml
file that will read the context of the structure and eventually allow us to pass this variable
to the Parts List
Open the structure xml file with notepad
Find your new variable as shown highlighted above Then find the context and index for
this variable also shown highlighted above Change the context to be something similar to
the description with no spaces, for this variable I used “StructReduceDiameter” Then
change the index to “0” Remember to keep the parenthesis on these attributes Save and
close the xml file
Trang 47Now open the AeccPartParamCfg.xml file
In this xml file the new variable does not exist, so we have to create it in two places In this
case the easiest thing to do is find a variable that is similar to the one you created; the RID
variable is similar to the SID variable Do a search for SID copy the line and paste into a
new line as shown highlighted above Edit the variable name, description and context to
match what is in the structure xml file
Now we need to add the context to the Structure Domain
Trang 48Find the Structure Domain towards the bottom of the xml file or do a search for the
context of the variable that is similar to the one you created It is very important in this
step to make sure we add the context of the new variable in the appropriate Domain type
In the case of the inline reducer, I created it as a Junction Structure, so I added the context
of “StructReduceDiameter” in the Junction Structure category, as highlighted above Save
and close the xml file
The final step is to verify that everything works Reopen your structure in Part Builder and
go to the Size Parameters, Edit Configuration
Trang 49ou will see by the highlighted information above that the Context and Index of the variable
is now reading the information that we edited in the xml files Exit Part Builder and go to
your Parts List in Civil 3D add the Part Family for the structure if not already in your list
and go to Add Part Size
You will see by the highlighted information that our custom variable is now available in
Parts List
Microsoft XML Notepad 2007 ~ this is a full-featured XML editor
Download:
http://www.microsoft.com/downloads/details.aspx?familyid=72d6aa49-787d-4118-ba5f-4f30fe913628&displaylang=en
Trang 50appreciate having the pipes down at the zero elevation Here’s a way to change the rule to put the
elevation at a place which would be more desirable without having to move the pipes later on
NOTE: Before you start make sure you save a copy of the C3DPipeRules.dvb to another location
to easily go back to the original state
To do this open up the Visual Basic Editor after you have worked with a pipe (working with a
pipe should load the C3DPipeRules.dvb file automatically) This post has more information on
how to load Visual Basic files Go to the CoverAndSlope Module and scroll down to the Public
Sub ApplyWithoutSurface routine, to the part that is below:
1 ‘ If the last elevation is equal to our double max,
2 ‘ then the last elevation has not been set in the network state
3 ‘ and we will set the starting elevation to the minimum cover
4 ‘
5 If dLastElevation = c_DBL_MAX Then
6 dNewPipeZ = 0
7 If eFlowDir = aeccPipeFlowDirectionStartToEnd Then
8 dNewPipeZ = dNewPipeZ – dMinimumCover
9 oPipe.StartPoint.Z = (dNewPipeZ – oPipe.OuterDiameterOrWidth * 0.5)
10
11 ElseIf eFlowDir = aeccPipeFlowDirectionEndToStart Then
12 dNewPipeZ = dNewPipeZ – dMinimumCover
13 oPipe.EndPoint.Z = (dNewPipeZ – oPipe.OuterDiameterOrWidth * 0.5)
You can change the dNewPipeZ = 0 (Line 5), to a new value or we can change it to prompt the
user for the elevation they want to use The new line could be the following:
dNewPipeZ = ThisDrawing.Utility.GetReal(vbCrLf & “Surface not found, enter invert elevation
to use:”)
If you then create a pipe network you will see that we have two problems with the change of
prompting the user for the invert elevation The first is the invert elevation of the first pipe is not
the same as the one we entered into the program and the second is that it asks you again to enter
the invert elevation at the end of laying out the network
Trang 51The first problem is explained in the code shown above, it is setting the starting elevation to the
minimum cover as told in the programming notes To correct this remove lines 8 and 13 from the
code above and change the negative sign and the word outer in lines 9 & 14 to a positive and
Inner I suggest using a ‘ before the line to remove it and adding a note to explain why you did
the change so you can easily go back at a future date and reverse the revision The
oPipe.Endpoint.Z and oPipe.StartPoint.Z refer to the center of the pipe
The next change we have to make is to get the program to not ask you what the invert elevation
is the second time To accomplish this we are going to add an If Then statement around where it
is setting the starting elevation So right after line 5 add:
If oPipe.StartPoint.Z = 0 Then
After line 16 put End If So the finished code should look something like this:
1: ‘ If the last elevation is equal to our double max,
2: ‘ then the last elevation has not been set in the network state
3: ‘ and we will set the starting elevation to the minimum cover
4: ‘ This portion was revised to allow the user to input the starting elevation instead of
5: ‘ setting the starting elevation to the minimum cover
6: ‘
7: If dLastElevation = c_DBL_MAX Then
8: ‘ To get the program to not ask us for the elevation again we will check to see if the start point
12: If eFlowDir = aeccPipeFlowDirectionStartToEnd Then
13: ‘ Line below removed to allow the user to provide the invert elevation