Monday, April 30, 2007

You want a solid from your surface?

Ok, so I had a customer call me up today and ask me if Civil 3D could quickly create a solid from a surface. Apparently, they create physical models of the surface for use in their wind tunnel (how cool is that?) and the equipment that creats the models has to use a solid.

Sounds like a good challenge to me. So, looking around, there seem to be several ways to do this but all of them are very time consuming, until I stumble upon this little gem. Someone out there in the great wide internet wrote a lisp routine that will create a solid out of 3d faces. So, in Civil 3D, you can display your surface as 3D faces, explode the surface (or better yet use the Extract Objects from Surface routine in 2008), and run this neat little routine and you have a solid. It took about 5 minutes to process 1,400 faces in 2008.

Now, I know I focus primarily on Civil 3D (all of my previous three posts so far) but this will work for Land Desktop as well. Just import your 3d Faces into your drawing and away you go!

If you are interested, you can find the lisp routine HERE

Civil 3D 2008 Deployment Woes

So, you say you've received your disks for Civil 3D 2008. Now when you created your deployment, did you notice that you could wash your car, paint your house, and get a four year degree in the time it took to create it? Well, there seems to be a problem with the deployment for the Civil suite of products (Civil 3D, Civil 3D Land Desktop Companion, and Land Desktop) for 2008. When you create the deployment directly from the DVD, it copies the necessary information multiple times. To get around this hassle, first copy everything to a local drive and then create the deployment from there.

You can find more (and better?) information at the Autodesk website HERE

Happy deployments everyone!

Sunday, April 1, 2007

Lane Narrowing

Allright, so we all know corridors are great for modeling roadways, but what if you have to narrow your lanes? If we simply target our pavement to an alignment, the rest of the subassemblies are parrallel with the original corridor section. In many cases, we don't want that, we want the rest of the subassembly to be perpendicular to our target alignment. Well, that's where Offset Assemblies come into play. Here's our situation, our roadway narrows to provide traffic calming in our subdivision and our curb and gutter and sidewalk flow along with the narrowing. We will need three alignments for this situation, one for the centerline or our roadway and one for each sides narrowing.

We'll need two assemblies for this, one for the standard section of the roadway, before and after the narrowing, and one for the narrowing section itself. The standard section is an assembly like you would have for anything else but the narrowing section needs a special assembly. This assembly has two offset assemblies. These offset assemblies will follow the alignment of the edge of asphalt and the associated profile. If you use an offset assembly, you must have an alignment and profile or they just won't work right.
Here you see the profile views for the three alignments, you'll notice that the Left and Right alignments don't have a design profile yet, we'll make those later. Our centerline alignment has the design profile for our roadway.


Now we need to create our corridor. When we create our corridor, we'll go ahead and add all three of the regions to our baseline, before the narrowing, the narrowing, and after the narrowing. However, since we don't know the elevations for our profile along the Left and Right alignments, we'll uncheck the region for the narrowing so nothing is built in this area for the moment. This will provide us with the beginning and ending elevations for our Left and Right profiles.

This is what our corridor looks like after building it and creating a surface for it. As you can see, there is nothing in the region where the narrowing is.




The next thing we'll do is sample our design surface for the Left and Right alignments. This allows us to design the slope of our curb and gutter based on the corridor elevation before and after the narrowing. We could have gotten this information other ways but I like this way because it makes modifying the design easier. If things change, simply uncheck the region, rebuild the corridor, and you'll see the new elevations you need to connect to.
Now, we go back to our corridor properties and set the targets. The left offset will target the Left alignment and it's corresponding design profile and likewise for the right. The left pavement will also have to target the Left alignment and it's profile.








Once this is all done, here is our finished product. Notice how the curb and gutter and the sidewalk follow along the narrowing?
I hope you got something out of this little lesson. If you have any questions feel free to e-mail me at brianh at ctcivil dot com.

Thursday, February 22, 2007

Tool Palette Customization

Hello and welcome to the new CommTech Cad Cafe!

Since you've already met Brian, allow me to introduce myself. My name is LuAnn, and I have been working with AutoCAD since release 10, and giving instruction in it for 6 years. I'll be posting tips and instructions for all of you who use regular vanilla AutoCAD. Most of us only use the commands and tools we already know, hopefully I can show you some things you might never have tried that will speed up your work. I also will be posting things geared towards beginners, since I meet so many of you in our classes.


I'm going to start out with creating a custom Tool Palette, then adding command tools to it. Tool Palettes are not just for inserting Blocks!



Tool palettes are the easiest way to customize your AutoCAD experience, and you won’t have to worry about ruining anything in your system! To make a new tool palette, right click on the spine of the tool palette, or in the gray area of any palette, and choose “New Palette”. Immediately a new palette comes up, with the cursor blinking in a window, waiting for you to type in a name. It's already highlighted, so just go ahead and type in a name for your palette. (You can easily rename a palette, notice that "Rename Palette" is one of your right-clicking options)


One easy way to add drawing commands to a tool palette is to drag an object, like a line or a circle, onto your tool palette. The secret to this is to click the object so you see the grips, and then put your cursor anywhere on the object except for a grip, and drag it onto your new tool palette. When this is working right, your cursor turns into an arrow, a copy of the object gets dragged along and you’ll see a small rectangle at the base of the arrow.
As soon as you see a black line on the palette, you can let go of the mouse button, and a fly-out button with the object you dragged on it will appear. One click on this button will start the same command; in this example I dragged a line onto the palette, so it’s showing a line.

If you click on the flyout arrow, a small submenu will appear with buttons for LINE, ARC, CIRCLE, ELLIPSE, POLYLINE, RAY, SPLINE, and XLINE. Using any of those buttons will start that command, and the object will be drawn with the same properties (layer, color, linetype) as your original object.
If you right-click on the button that was created, you have the option there to rename it – for example, you could name it after the layer you’d be drawing on. Also in the right-click menu is the properties option, and here you can change your flyout a little bit.
If you click on “Flyout Options”, an ellipsis button will show, (the one with “…” on it ) simply click on that to choose which of the above commands you want shown on your flyout. For example, if your button was created on layer ‘property lines’, you could uncheck the boxes for RAY, CIRCLE and ELLIPSE if you would never use those to draw your property lines.


In this example , I have unchecked everything except LINE, ARC and POLYLINE. The next picture shows how this button will look.




If you only want one command to show, click in the box labeled “Use flyout”, and you will get the ‘No’ option, which will eliminate the flyout and change your button into just one command. Make sure before you do this that the last command you used it for is the one you want; because that’s the one it will default to. Here I changed that option to "No" which changed this into just the line command. It's set on layer 'Walls', so I named it Draw Walls. This could really be helpful when you're training in a new person who always draws things on the wrong layer!
Another thing you can do to customize a tool palette is to put commands from various toolbars on it. If you get tired of opening a toolbar just to get to one command, and you work in a place where they don't want you messing around with the CUI file, this is the tip for you! First of all, open up the toolbar from which you want to use a button or two. Next, on the spine of the tool palette you are customizing, right click and in the menu find "Customize Tool Palettes". When you click on this, a big dialog box comes up. In a later post, I'll talk about some other things you can do here, but for now all you need to do is keep this box open.

Put your cursor on the button you want to use, and drag it over onto the tool palette. As soon as you see the black line shown in the next illustration, let go, and the command is copied onto your tool palette. In the illustration, I have a red arrow pointing to the command I am copying - you can see it's been pushed down, but my cursor won't show up on the screen capture. I am dragging that command onto my own custom tool palette, and the next illustration shows how it will look when it's done.



This will not work with any buttons that have flyouts or menu pulldowns, like for example the Layers pulldown; the ones you can't copy will be greyed out as soon as you open the Customize Tool Palettes Dialog Box. When you've finished dragging buttons onto your tool palette, just close the dialog box.
Using this simple method, you can create as many custom tool palettes as you need. Tool palettes are not limited to Block insertion!

Wednesday, February 21, 2007

Lot and Block Parcels

Welcome to the first installment of the Civil 3D CAD Café. The first thing I would like to do is to introduce myself. My name is Brian Hailey. I graduated from Colorado State University with a Bachelor of Science in Civil Engineering. I’ve worked as a civil engineer for the past eight years on a variety of different projects. And, just in case you thought I might actually have a life, I am also a licensed Professional Engineer in the State of Colorado. Since coming to Comm-Tech, I’ve been certified as an Implementation Certified Expert for Civil 3D and my life pretty much revolves around Civil 3D (oh yeah, and my wife and three boys).

Well, let’s just jump into the meat of things. In this edition of the Comm-Tech Civil 3D CAD Café, we’ll be discussing parcel labels and how to apply them to subdivisions that are laid out in a lot and block pattern. Parcels, as you may or may not know, cannot have duplicate numbers. This makes it challenging on a lot and block layout because you may have several parcels that are “Lot 1” but in different blocks. What this means is, you can’t simply create a label that adds the word “LOT” in front of the parcel number.

The solution I use in this situation is a unique number scheme for these lots. The parcel number is a compound number, the first digit(s) is the block number and the last two digits are the lot number. For example, Lot 1, Block 2 has the parcel number 102. I’ll refer to this structure as BBLL. We then create an expression to label just the portion we want.

I’ve created an extremely simplified parcel layout consisting of two blocks, each with ten lots.

Now, the first thing we have to do is create two expressions. These expressions will strip off the portion of the parcel number we need for the label. The first expression I will call BLOCKLOT to BLOCK. This will convert the parcel number from the BBLL format to BB.

What this expression does is to take the parcel number, “BBLL” and divide it by 100. This results in “BB.LL”. It then Truncates this resulting value and we are left with “BB”. We can now use this expression anywhere we want to label just the Block number. Likewise, we can use an expression to convert the parcel number from the BBLL format to LL. I called this expression BLOCKLOT to LOT.

This expression is a little bit trickier but not too bad. In essence, we use the same expression as before to get the block number, “BB” but now, we multiply it by 100 to get “BB00”. We then subtract this from the original number to get just the lot number, “BBLL - BB00 = LL”.

Now that we have our two expressions, we can use them in a parcel area label style. I created a new label style and edited the text component. Since we have made these expressions, they are available to us to use in the text component.

This is what the final composition of the text component of our new label looks like:
Now that we have our label style all set up, we simply apply this style to the parcels we need labeled. The result looks like this:

As you can see, we need to renumber our parcels to match our new labeling scheme. The block to the left is Block 1 and on the right is Block 2. In our Renumber/Rename Parcels dialog box, we set the starting number to 101, corresponding to Block 1, Lot 1.

And then select our parcels in order. We then repeat the process for Block 2 using a starting number of 201 to correspond to Block 2, Lot 1.

Our final product now looks very much how we would like to see it.

I hope you’ve enjoyed this issue of the Comm-Tech CAD Café.