Thursday, December 18, 2014

Die Viewcube, Die!!!!

I tried to like the viewcube that shows up in the corner of the screen. I really did, but it kept getting in the way. I needed to put it out of my misery. In order to do this you’ll want to go into OPTIONS. In options head over to the 3D Modeling Tab and then in the Display Tools in Viewport uncheck the 2D Wireframe visual style and possibly the All other visual styles check boxes. The viewcube will then go away.


This tends to be the number one tip people enjoy the most when I teach Civil 3D and I can definitely understand why.

Sunday, December 14, 2014

Custom Bench Subassembly

Sometimes the regular Civil 3D benching just won’t work. It’s fairly bad at showing benching like it will be constructed in the real world. Sometimes it does work like in the image below where the roadway provides for a natural slope so the basins go into the downspouts.


Sometimes, like shown in the image below to the left, we want more control to provide low points. To get the case to the right it might take some time with some link slope and width to get it into the correct location.


With the custom bench subassembly one can set a profile elevation for the benching and get those results rather easily.

The pictures above where taken from an Infraworks presentation at Autodesk University, created by Autodesk. The model was created by HUITT-ZOLLARS, INC. users of the Custom Bench Subassembly.

Sunday, November 23, 2014

Delete Duplicate Point Groups

There is an update to this old post:

A version should be available for a buck on the app store:

If you want it sooner, send an email to me to purchase a copy, the email link is on the right side of this page.

Thursday, November 13, 2014

Custom Bench Subassembly

Do you want more control over your bench subassembly? The one that comes with Civil 3D is rudimentary and doesn’t allow you to set the slopes of the benches. I recently updated the Civil 3D 2015 custom subassembly for benching and is now available for sale. The cost for the subassembly is $100 per office. Send an email to get more information (link to the right).

Here is what the contours look like.


Here is a picture of what it does.


Sunday, November 02, 2014

Alignment Curve Mid Point Coordinates

Remember primary school math? I sure don’t remember all of it. I find I’m relearning the remedial math over and over again since I forget the intricacies of what I learned before. One such concept is similar triangles. I learned it in Middle School math class and then once again during surveying class and once again programming numerous solutions. So sometimes I spend too much time solving other people’s problems. This blog post is one such instance.

The problem is adding Northing and Easting value of the mid point of an alignment curve. I usually break out the problem into parts. The first part is to determine how you want to solve the problem. I could have solved this problem by solving for the equation of line, or utilize the delta angles of a curve. I choose to utilize similar triangles. So first I have to figure out what similar triangle to use. In this case I know the center point location and the PI point, this has a length property that I can use. Here is the expression to get that value:

SQRT(({PI Easting}-{Center Easting})^2+({PI Northing}-{Center Northing})^2)

Next I need to know both the difference in northing and easting between those two values.

ABS({PI Easting}-{Center Easting})

ABS({PI Northing}-{Center Northing})

I need the difference as an absolute value because I need to some checks based on the delta angle later on. Next I need to get the distance of the leg of the triangle I’m solving for. In this case the Northing and Easting expressions are below.



Now I need to figure out how I should subtract or add the expressions above. One solution in this is if the delta angle is larger or smaller then pi (180%%d). The other solution is if center easting is larger or smaller then the PI easting. Once we determine this we can then apply the math correctly. Here is the expressions for the cases.

IF({Delta Angle}<pi,
IF({PI Easting}<{Center Easting},{Center Easting}-EastingDistance,{Center Easting}+EastingDistance),
IF({PI Easting}>{Center Easting},{Center Easting}-EastingDistance,{Center Easting}+EastingDistance))

IF({Delta Angle}<pi,
IF({PI Northing}<{Center Northing},{Center Northing}-NorthingDistance,{Center Northing}+NorthingDistance),
IF({PI Northing}>{Center Northing},{Center Northing}-NorthingDistance,{Center Northing}+NorthingDistance))

Now the ending expression can be used in an alignment label or curve table.


Here is a link to a drawing with the expressions.


Blog Widget by LinkWithin