Editing Regard3D+Blender+FreeCAD workflow
From Wiki.OSArch
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Workflow Example}} | {{Workflow Example}} | ||
− | [https://community.osarch.org/discussion/474/floss-workflow-with-regard3d-blender-freecad#latest Forum | + | |
+ | Work in Progress... [https://community.osarch.org/discussion/474/floss-workflow-with-regard3d-blender-freecad#latest Forum discussion]. | ||
This wiki present a [[FLOSS]] workflow for an architecture job (documentation and registration of an existing house renovation), that involve the use of Regard3D, Blender and FreeCAD for Geometry Scanning, BIM modeling and CAD documentation. | This wiki present a [[FLOSS]] workflow for an architecture job (documentation and registration of an existing house renovation), that involve the use of Regard3D, Blender and FreeCAD for Geometry Scanning, BIM modeling and CAD documentation. | ||
Line 8: | Line 9: | ||
== Tools == | == Tools == | ||
− | As a basic requirement for this tutorial, it is necessary to have a medium level of knowledge about the tools used in this workflow | + | As a basic requirement for this tutorial, it is necessary to have a medium level of knowledge about the tools used in this workflow. |
Line 23: | Line 24: | ||
===== Creation of data set of photos===== | ===== Creation of data set of photos===== | ||
− | # | + | # Camera's metadata must include focus lens (you can add that information manually later). |
# Shoot several photos of the building with a camera or smartphone. In general it is good to take more than 60-80 images from different angles. Look for info about photogrammetry good practices. | # Shoot several photos of the building with a camera or smartphone. In general it is good to take more than 60-80 images from different angles. Look for info about photogrammetry good practices. | ||
===== Point cloud generation with Regard3D. ===== | ===== Point cloud generation with Regard3D. ===== | ||
− | # For this step it is used Regard3D, but there are other photogrammetry programs that can be used. Refers to | + | # For this step it is used Regard3D, but there are other photogrammetry programs that can be used. Refers to Software Directory for more options. |
# Import image set. | # Import image set. | ||
# Generate point clouds of the model (see [https://www.regard3d.org/index.php/documentation/tutorial tutorial] ). | # Generate point clouds of the model (see [https://www.regard3d.org/index.php/documentation/tutorial tutorial] ). | ||
Line 39: | Line 40: | ||
Volumetric mesh reconstruction with Blender + point cloud visualizer (0.9.3v). | Volumetric mesh reconstruction with Blender + point cloud visualizer (0.9.3v). | ||
− | Using Blender | + | Using Blender You can visualise the point cloud and generate a volumetric mesh to get the general dimensions and shapes of the building. However, this step is optional, because you can directly import the point clouds into FreeCAD. Anyway, the point cloud visualiser has more manipulation options than FreeCAD. |
===== Importing the point clouds ===== | ===== Importing the point clouds ===== | ||
− | # Install | + | # Install point Cloud Visualiser add-on (0.9.3v). |
# In blender create a empty object. | # In blender create a empty object. | ||
− | # Import a point cloud file in the empty object | + | # Import a point cloud file in the empty object (you can use several empty objects to use several point clouds to recreate the whole building). |
− | # Edit the point cloud position and scale it | + | # Edit the point cloud position and scale it (in edit mode). |
− | # Export | + | # Export new edited point cloud from empty object (to save the edition). Now you can load the new point cloud each time you open the blender file. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===== Geometry modeling ===== | ===== Geometry modeling ===== | ||
− | # Model the main volumes with | + | # Model the main volumes with Bleder, using the points as reference. |
− | # | + | # Opt 1) convert the Blender meshes into BIM models using BlenderBIM add-on. |
#* Install BlenderBIM Add-on | #* Install BlenderBIM Add-on | ||
#* Set the meshes as BIM objects | #* Set the meshes as BIM objects | ||
#* Export the model as IFC file | #* Export the model as IFC file | ||
− | # | + | # Opt 2)Export the model as a mesh file (OBJ, STL...). |
Line 69: | Line 64: | ||
Develop a BIM model with FreeCAD (using as reference the mesh or the IFC file from Blender). | Develop a BIM model with FreeCAD (using as reference the mesh or the IFC file from Blender). | ||
− | Once you got a good mesh volume of the building geometry, export a stl file or IFC file to FreeCAD to recreate the main walls, windows, doors and aditional architecture details of the building with the [https://wiki.freecadweb.org/Arch_Module Arch Workbench]. | + | Once you got a good mesh volume of the building geometry, export a stl file or IFC file to FreeCAD to recreate the main walls, windows, doors and aditional architecture details of the building with the [https://wiki.freecadweb.org/Arch_Module Arch Workbench]. For this workflow the idea is to save a file with only 3D models. |
===== Importing the files to FreeCAD ===== | ===== Importing the files to FreeCAD ===== | ||
# Opt 1) Import a mesh file. | # Opt 1) Import a mesh file. | ||
− | #* If the result of the previous step was a simple mesh file, you can import | + | #* If the result of the previous step was a simple mesh file, you can import and scale the mesh with [https://wiki.freecadweb.org/Mesh_Workbench Mesh Design workbench]. |
− | |||
# Opt 2) Import a IFC file. | # Opt 2) Import a IFC file. | ||
#* If the result of the previous step was a IFC file, FreeCAD can import IFC2x3 or IFC4 based files. See [https://wiki.freecadweb.org/Arch_IFC Arch IFC]. | #* If the result of the previous step was a IFC file, FreeCAD can import IFC2x3 or IFC4 based files. See [https://wiki.freecadweb.org/Arch_IFC Arch IFC]. | ||
Line 82: | Line 76: | ||
# Based on the mesh/IFC, generate or complete the BIM model using the [https://wiki.freecadweb.org/Arch_Module Arch Workbench] or eventually, [https://wiki.freecadweb.org/BIM_Workbench BIM Workbench]. | # Based on the mesh/IFC, generate or complete the BIM model using the [https://wiki.freecadweb.org/Arch_Module Arch Workbench] or eventually, [https://wiki.freecadweb.org/BIM_Workbench BIM Workbench]. | ||
# For each building, place the 3D model components (walls, structures, and other arch elements) into an [https://wiki.freecadweb.org/Arch_BuildingPart Arch Building Part]. | # For each building, place the 3D model components (walls, structures, and other arch elements) into an [https://wiki.freecadweb.org/Arch_BuildingPart Arch Building Part]. | ||
− | # For each Arch Building Part, create [https://wiki.freecadweb.org/Arch_SectionPlane Arch Section Planes] ( | + | # For each Arch Building Part, create [https://wiki.freecadweb.org/Arch_SectionPlane Arch Section Planes] (elevations, plans, sections, etc). |
# For each Arch Section Planes, create [https://wiki.freecadweb.org/Draft_Shape2DView Draft Shape2DView] objects. You can edit the labels of these Shape2DView to refer view names. | # For each Arch Section Planes, create [https://wiki.freecadweb.org/Draft_Shape2DView Draft Shape2DView] objects. You can edit the labels of these Shape2DView to refer view names. | ||
#* Open [https://wiki.freecadweb.org/Draft_Module Draft Workbench]. | #* Open [https://wiki.freecadweb.org/Draft_Module Draft Workbench]. | ||
#* Create all the Shape2DView projections, considering the necessary 2D views for the CAD documentation. | #* Create all the Shape2DView projections, considering the necessary 2D views for the CAD documentation. | ||
− | #* Arrange the Shape2DView projections in the 3D scene. Once you are done, you | + | #* Arrange the Shape2DView projections in the 3D scene. Once you are done, you will not be able to move these projections anymore. |
# Save and close this file. This file will contain the 3D geometries and the plain Shape2DView projections for future references. | # Save and close this file. This file will contain the 3D geometries and the plain Shape2DView projections for future references. | ||
− | |||
[[File:FreeCAD BIM.png|700px|none]] | [[File:FreeCAD BIM.png|700px|none]] | ||
[[File:Freecad 3G2B1kQvK2.png|700px|none]] | [[File:Freecad 3G2B1kQvK2.png|700px|none]] | ||
Line 97: | Line 90: | ||
== 2D CAD documentation == | == 2D CAD documentation == | ||
− | This step is for generating PDF files for printing, with 2D CAD documentation (sections, elevations, etc) with FreeCAD. The idea is to work with these 2D drawings in a new and independent FreeCAD file (independent from the 3D models file) that is very light and can be shared easily. The workflow involves the use of | + | This step is for generating PDF files for printing, with 2D CAD documentation (sections, elevations, etc) with FreeCAD. The idea is to work with these 2D drawings in a new and independent FreeCAD file (independent from the 3D models file) that is very light and can be shared easily. The workflow involves the use of Draft workbench and TechDraw workbench. |
− | |||
− | |||
===== 2D drawing with Draft workbench ===== | ===== 2D drawing with Draft workbench ===== | ||
# Create a new FC file. | # Create a new FC file. | ||
# Import the Shape2DView objects from the FreeCAD file with the 3D models, using [https://wiki.freecadweb.org/Arch_Reference Arch Reference]. | # Import the Shape2DView objects from the FreeCAD file with the 3D models, using [https://wiki.freecadweb.org/Arch_Reference Arch Reference]. | ||
− | # | + | # Alternative you can import the Shape2DView objects using [https://wiki.freecadweb.org/Std_LinkMake App:Link] option. |
# Open [https://wiki.freecadweb.org/Draft_Module Draft workbench]. | # Open [https://wiki.freecadweb.org/Draft_Module Draft workbench]. | ||
# Arrange the Shape2DView objects in the 3D space. | # Arrange the Shape2DView objects in the 3D space. | ||
Line 111: | Line 102: | ||
# Place each group of 2D elements into the respective layer. | # Place each group of 2D elements into the respective layer. | ||
# Save the file. | # Save the file. | ||
− | |||
− | |||
===== Page layout with TechDraw workbench ===== | ===== Page layout with TechDraw workbench ===== | ||
− | This workflow is | + | This workflow is jut a suggestion. You can develop one for your own. But the purpose is to generate drawings with different line widths and styles, to enrich the sheets. |
− | |||
− | |||
# Open [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench] | # Open [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench] | ||
− | # Create a | + | # Create a new page (define format and scale). |
− | # Select a Shape2DView object or a group of them | + | # Select a Shape2DView object or a group of them. |
− | # Press [https://wiki.freecadweb.org/TechDraw_View TechDraw Insert View] (TDIV) command | + | # Press [https://wiki.freecadweb.org/TechDraw_View TechDraw Insert View] (TDIV) command. |
− | # Select Draft objects (lines, symbols) | + | # Select Draft objects (lines, symbols)-Press TDIV command |
− | + | # On the page, place the TDIV of draft objects on top of the first TDIV. | |
− | # On the | ||
# With several TDIV for each group of objects, you can assign different properties (line width). | # With several TDIV for each group of objects, you can assign different properties (line width). | ||
− | + | # Select the Draft Layer of dimensions. | |
− | # Select the Draft Layer of dimensions | + | #* Press TD Draft View and setup its properties. |
− | #* Press | ||
#* Place on top of the rest of TDIV. | #* Place on top of the rest of TDIV. | ||
− | # For lines with style, select their Draft Layer. Press TD DraftView and setup the | + | # For lines with style, select their Draft Layer. Press TD DraftView and setup the property: |
− | #* Data | + | #* Data: Line Style = 5,2,0,5,2 (or something similar). |
− | #* Data | + | #* Data: Override Style = true |
− | # Create a | + | # Create a TD Clip and place all the views inside. |
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||