This blog is dedicated to Tips, Tricks, and stuff that I find interesting related to CAD, 3D Printing, and engineering.
Wednesday, August 1, 2018
Introduction to Visualization in Inventor
I know it has been awhile since I have posted to this blog. Summer has been a busy time and I have been working on many topics. However, none of them are ready for a blog post. I am sure they will show up here soon. In the meantime, I presented a webinar yesterday on how to use Inventor Studio to create still and animated renderings. It is just an introduction, but should be enough to help you get started.
Tuesday, April 17, 2018
Creating 3D Models From 2D Floor Plans: Part 3
In previous posts, I started to outline a workflow that eased the process of taking an existing AutoCAD floor plan to a 3D model, the workflow was also using 3D scans as an error check. The final installment is where all the work pays off and we can validate our model with the 3D scan data.
In the last post, I had connected the Revit and ReCap models, with the help of Navisworks. Using the Real View function in ReCap, we are able to see both models as an overlay. We are then able to take measurements from the model to determine corrections that should be made. It is important to understand, that we could potentially take real life measurements too.
Once we know what corrections or additions need to be made, you return to the CAD models, in their native applications and use standard editing and modeling techniques to make the corrections. In the case of AutoCAD and Revit, you have to decide if you want to maintain the Revit model, AutoCAD floor plan, or both. Personally, I would maintain the Revit model and designate the AutoCAD floor plan as an obsolete file.
Once the CAD models are changed, it will be important to incorporate those changes in the Navisworks model, especially if you want to see them in the combined ReCap and Revit view, in ReCap. The trick here is that the NDW file, that is attached to the ReCap point cloud, will not live update and will need to be re-exported. So the proper workflow is to open the Navisworks NWF file, which does maintain a live link to the CAD models represented. I recommend using Save As to create the NWD file and overwrite the previously created NWD file. The reason for this, is that we can reload, or refresh, the attached Navisworks project in ReCap. If you generate a new NWD, you will have to delete the attached model and attach the new one.
If you find that you have a significant amount of changes to make to your Revit model, it might be easier to insert the ReCap model into the Revit model in Revit. There are tools that will allow you to snap to the point cloud when moving and inserting objects.
Here is a YouTube video that demonstrates this portion of the workflow.
Thursday, April 5, 2018
Who Can Use Factory Design Utilites? (Hint: Probably You!)
In March, I hosted MESA Inc's webinar entitled "Who Can Use Factory Design Utilites? (Hint: Probably You). In the webinar, I demonstrate how the Factory Design Utilities workflow can be applied to non-factory facilities. There are plenty of ways these tools can be applied to factory and non-factory facilities. If you want to see how these tools work, you can watch a recording of the webinar here.
Friday, March 16, 2018
Creating 3D Models From 2D Floor Plans: Part 2
In my last post, I began a series of posts that was going to create a 3D model from a 2D floor plan. The floor plan is also going to be compared to a 3D scan to verify the accuracy of the 2D floor plan.
The first portion of the workflow was to take the facility scans into ReCap to create a 3D Point Cloud. Now that we have done that, we are ready for Phase 2, which is building the Revit model on the 2D floor plan. One key element to the whole workflow is making sure that the Point Cloud and 3D model have a common origin. We set the origin in the ReCap model, so we just need to make sure that we have the same point as the origin of the AutoCAD file. The origin of the AutoCAD model will be connected to the origin of the Revit model. The standard AutoCAD move command can be used to move the entire floor plan to the origin, if it is not already in the correct location.
Now we are ready for Revit, so we can create a new Revit model, from an Architectural template. The AutoCAD file can be inserted as a linked CAD file. Then the AutoCAD file can be used to snap to as walls, door, etc are added to the model.
The following video shows how to move the desired AutoCAD point to the origin, insert it into a Revit model, and create the building architecture from standard Revit workflows.
Once the Revit model is done, the next step it to connect the Revit Model to the ReCap model. There are two ways to do this. One is to insert the ReCap model into the Revit model. However, there is a ReCap Beta function that I want to show off in this workflow, so I am going to focus on the second method. The beta function that I want to show allows the user to overlay a Navisworks project over the scan image in a 3D view. Again, this requires a Navisworks file, so my next step will be to append the Revit model to a Navisworks model.
There is not much to appending a Revit model to a Navisworks file. It really is just a matter of clicking the Append command and picking the Navisworks file. Navisworks will insert the model origin to origin, thus the earlier importance of getting the AutoCAD file's origin to the right place. There is one tricky point to the Navisworks portion of the workflow. ReCap wants an NWD file, not the typical NWF file. The NWF file mostly references other files, the NWD will contain all the model geometry, which ends up being easier for ReCap to overlay. One downside to the NWD file is that it will not update dynamically. So as the Navisworks model changes, you will need to export another NWD file. Creating the NWD file is pretty simple, it is just a matter of performing a Save As of the Navisworks model.
Once you have the NWD file, it is time to attach the file to the ReCap project. The attachment of the NWD file is done through a command from the menu in the bottom right corner of the interface. All you have to do is click on the Attached Project command and pick an NWD. It can be confusing at times because you really will not see the project change after the file is attached. That is because the overlay occurs only in the RealView, which allows the user to look at the actual scan image. However, if the project attached successfully and you enter a RealView, from one of the scan locations, you will see the Navisworks project overlayed with the scanned image.
Here is a video that demonstrates the workflow of taking the model from Revit to Navisworks to ReCap.
The benefit to this is that it should be easier to visually compare the ReCap to the Revit model. If any discrepancies are found, the user has a pretty good idea of what portions of the facility need to have some measurements taken.
In my next post, I will discuss how to correct some of the discrepancies between the 3D scan and 2D floor plan.
The first portion of the workflow was to take the facility scans into ReCap to create a 3D Point Cloud. Now that we have done that, we are ready for Phase 2, which is building the Revit model on the 2D floor plan. One key element to the whole workflow is making sure that the Point Cloud and 3D model have a common origin. We set the origin in the ReCap model, so we just need to make sure that we have the same point as the origin of the AutoCAD file. The origin of the AutoCAD model will be connected to the origin of the Revit model. The standard AutoCAD move command can be used to move the entire floor plan to the origin, if it is not already in the correct location.
Now we are ready for Revit, so we can create a new Revit model, from an Architectural template. The AutoCAD file can be inserted as a linked CAD file. Then the AutoCAD file can be used to snap to as walls, door, etc are added to the model.
The following video shows how to move the desired AutoCAD point to the origin, insert it into a Revit model, and create the building architecture from standard Revit workflows.
Once the Revit model is done, the next step it to connect the Revit Model to the ReCap model. There are two ways to do this. One is to insert the ReCap model into the Revit model. However, there is a ReCap Beta function that I want to show off in this workflow, so I am going to focus on the second method. The beta function that I want to show allows the user to overlay a Navisworks project over the scan image in a 3D view. Again, this requires a Navisworks file, so my next step will be to append the Revit model to a Navisworks model.
There is not much to appending a Revit model to a Navisworks file. It really is just a matter of clicking the Append command and picking the Navisworks file. Navisworks will insert the model origin to origin, thus the earlier importance of getting the AutoCAD file's origin to the right place. There is one tricky point to the Navisworks portion of the workflow. ReCap wants an NWD file, not the typical NWF file. The NWF file mostly references other files, the NWD will contain all the model geometry, which ends up being easier for ReCap to overlay. One downside to the NWD file is that it will not update dynamically. So as the Navisworks model changes, you will need to export another NWD file. Creating the NWD file is pretty simple, it is just a matter of performing a Save As of the Navisworks model.
Once you have the NWD file, it is time to attach the file to the ReCap project. The attachment of the NWD file is done through a command from the menu in the bottom right corner of the interface. All you have to do is click on the Attached Project command and pick an NWD. It can be confusing at times because you really will not see the project change after the file is attached. That is because the overlay occurs only in the RealView, which allows the user to look at the actual scan image. However, if the project attached successfully and you enter a RealView, from one of the scan locations, you will see the Navisworks project overlayed with the scanned image.
Here is a video that demonstrates the workflow of taking the model from Revit to Navisworks to ReCap.
The benefit to this is that it should be easier to visually compare the ReCap to the Revit model. If any discrepancies are found, the user has a pretty good idea of what portions of the facility need to have some measurements taken.
In my next post, I will discuss how to correct some of the discrepancies between the 3D scan and 2D floor plan.
Thursday, February 15, 2018
Creating 3D Models From 2D Floor Plans: Part 1
Recently, I was my opinion on the best way for a customer to build a 3D model of their facility. They were considering getting the building scanned to aid in the process. As much as I like working with scan data, I personally see some sort comings from modeling from scans. When it was mentioned that the customer had a 2D AutoCAD floor plann of the facility, I was hit with a little inspiration.
Using a 2D floor plan as the basis of a 3D building model in AutoCAD Architecture or Revit is really easy. Those softwares allow you to create walls, doors, windows, etc, while snapping to geometry from the 2D floor plan.
One of the problems with working from 2D floor plans of a building is that they are rarely up-to-date. At my last job, we had a floor plan of the entire building, but no one ever maintained it. That is unless a project arose that needed it. Then it was a scramble to update the drawing by going and taking a ton of measurements.
This is where the 3D scan can come into play. The 3D scan can be used to validate the model from the 2D floor plan. Sure Revit and AutoCAD Architecture both have tools for inserting a ReCap point cloud, but ReCap has a function, currently in Beta, where you can attach a Navisworks model. Once the Navisworks model is attached, it will overlay the Navisworks model when you are viewing the actual scan in RealView. There is just one catch to this, the origins of the ReCap model and the Navisworks model need to align. If not, you find it a lot harder to detect the differences between the two models.
The initial ReCap workflow is the same as pretty much every other ReCap project.
- Create a Project
- Import the Scans
- Process the Scans, manually registering any scans that did not get merged into the project
- Create regions as needed
- Update the origin if needed
Here is a video that shows these steps for my sample project.
The next step will be to import the AutoCAD floor plan into Revit and create the walls and other architecture element. These steps will come in my next blog post and video.
Wednesday, January 24, 2018
Introducing ReCap Photo
Last Fall, Autodesk released ReCap Photo. It is only partially a new product and a companion product for ReCap and ReCap Pro. I say it is partially a new product because the technology has been around for over a year before the release of ReCap Photo. If you have been following Autodesk, ReCap, or reality capture, in general, you should have heard of or seen Project Memento. Project Memento was focused on mesh files while ReCap's photogrammetry workflow was focused on point clouds.
I really like this "semi-new" product. One of the biggest struggles for the casual ReCap user was how to go from the point cloud to something solid. Anyone using ReCap as part of a survey workflow, actually had tools inside of AutoCAD Civil 3D to turn point clouds into Civil 3D surfaces. However, there seemed to be a lack of tools for other applications. As I learn about ReCap Photo, I find that it is capable of functions that make my work easier. For example, I just found a way to use ReCap Photo and Fusion 360 to turn an STL file into a solid model.
If you have used the previous web-based Photo to 3D workflow, it is pretty similar. ReCap still uses the cloud to process the photos and make a 3D model. The biggest differences are that the project is created in a local application, and not a web site, and the output is now a mesh file instead of a point cloud. At first, I was not sure if I would like the mesh output because I was pretty comfortable with the point cloud output. I am growing to appreciate the mesh output and recognize that the mesh output is better suited for working toward a solid output.
I was a little nervous the first time I tried to run a ReCap Photo project because I was not able to set the scale of the model in the photos while uploading the photos. I discovered that scaling of object based projects is now done after the model is made. Which actually fits some advice Autodesk had for the previous workflow. Autodesk said that ReCap works best if it is allowed to figure how the photos fit together without having to worry about scaling. The old advice was to run projects once without control points, then run it again with them. Now that does not need to be done.
To help you make the transition into using ReCap Photo I have made two videos. The first video shows how to create an Object based project.
The second video shows some of ReCap Photo's tools for processing the mesh output.
I really like this "semi-new" product. One of the biggest struggles for the casual ReCap user was how to go from the point cloud to something solid. Anyone using ReCap as part of a survey workflow, actually had tools inside of AutoCAD Civil 3D to turn point clouds into Civil 3D surfaces. However, there seemed to be a lack of tools for other applications. As I learn about ReCap Photo, I find that it is capable of functions that make my work easier. For example, I just found a way to use ReCap Photo and Fusion 360 to turn an STL file into a solid model.
If you have used the previous web-based Photo to 3D workflow, it is pretty similar. ReCap still uses the cloud to process the photos and make a 3D model. The biggest differences are that the project is created in a local application, and not a web site, and the output is now a mesh file instead of a point cloud. At first, I was not sure if I would like the mesh output because I was pretty comfortable with the point cloud output. I am growing to appreciate the mesh output and recognize that the mesh output is better suited for working toward a solid output.
I was a little nervous the first time I tried to run a ReCap Photo project because I was not able to set the scale of the model in the photos while uploading the photos. I discovered that scaling of object based projects is now done after the model is made. Which actually fits some advice Autodesk had for the previous workflow. Autodesk said that ReCap works best if it is allowed to figure how the photos fit together without having to worry about scaling. The old advice was to run projects once without control points, then run it again with them. Now that does not need to be done.
To help you make the transition into using ReCap Photo I have made two videos. The first video shows how to create an Object based project.
The second video shows some of ReCap Photo's tools for processing the mesh output.
Thursday, October 12, 2017
Saving a PDF of a Drawing Using iLogic
As you probably have noticed, Inventor iLogic rules are a frequent topic in this blog. Sharing some ways I have used iLogic in the past is a subject I like sharing with others. One of my first rules, that I was pretty proud of, was the ability to have iLogic save a PDF of Inventor drawings. I tackled this because it is a task a large number of Inventor users need to perform. I was able to figure out the code and I shared it in a YouTube video and in an Autodesk University class in 2012. With the updated Event Triggers in Inventor 2018.1, I figured it might be time to updated the rule and share it with all of you.
Happy Coding!!!
The most popular question I got about the previous version was, "How do it get it to print all the sheets?" By default, Inventor uses the last settings for one sheet or all sheets. I had not figured out how to do that programmatically. So I wanted to figure that out for this go round.
Like any other coder, I went to the web for help. I pretty quickly found Curtis Waguespack's post. So I used this code and my code to create what I call Franken-code (i.e. Frankenstein Code).
If you are interested in the code, you can download it from here.
The code is documented, but here is an explanation and demonstration of the code.
Happy Coding!!!
Subscribe to:
Posts (Atom)