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 8: Line 8:
  
 
== 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. This tutorial is about the workflow, not about each tool.
+
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 23:
  
 
===== Creation of data set of photos=====
 
===== Creation of data set of photos=====
# Recommendation: Camera's metadata must include focus lens (you can add that information manually later).  
+
# 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 [[AEC_Free_Software_directory|Software Directory]] for more options.
+
# 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 46: Line 46:
 
# Import a point cloud file in the empty object, using PCV.
 
# Import a point cloud file in the empty object, using PCV.
 
# Edit the point cloud position and scale it, if it is necessary (use Enable Edit Mode, in the PCV panel).
 
# Edit the point cloud position and scale it, if it is necessary (use Enable Edit Mode, in the PCV panel).
# Export the edited point cloud in the empty object, to save the edition (use Export PLY in the PCV panel).  
+
# Export new edited point cloud in the empty object, to save the edition (use Export PLY in the PCV panel).  
# When you open the blender file, select the empty object and load the last exported PLY file, to display the edited point cloud, with the right position and scale..
+
# When you open the blender file, select the empty object and load the last exported PLY file, to display the edited point cloud.
  
 
+
[[File:Blender PCV.png|250px|none]]
[[File:Blender PCV.png|500px|none]]
 
  
 
[[File:Blender pointcloud.png|700px|none]]
 
[[File:Blender pointcloud.png|700px|none]]
  
 
===== Geometry modeling =====
 
===== Geometry modeling =====
# Model the main volumes with Blender, using the points as reference.  
+
# Model the main volumes with Bleder, using the points as reference.  
# Option 1) Once you have the 3D model complete, you could convert the Blender meshes into BIM models using [https://blenderbim.org/ BlenderBIM] add-on.
+
# Opt 1) convert the Blender meshes into BIM models using [https://blenderbim.org/ 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
  
# Option 2) Once you finish with the 3D modeling, export the model as a simple mesh file (OBJ, STL...).
+
# Opt 2)Export the model as a mesh file (OBJ, STL...).
  
 
   
 
   
Line 69: Line 68:
  
 
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]. at the end of this workflow the idea is to save a FreeCAD file with only 3D models. You can have a look to a FreeCAD file example [https://wiki.osarch.org/images/f/f2/Dormitorios01_02.FCStd here].
+
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 with [https://wiki.freecadweb.org/Mesh_Workbench Mesh Design workbench].
+
#* 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].
#* Fix position and scale of the mesh with [https://wiki.freecadweb.org/Mesh_Scale Mesh Scale] tool.
 
 
# 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 80:
 
# 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 elevations, plans, sections, etc).
+
# 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].  
Line 90: Line 88:
  
  
[[File:Freecad mesh.png|700px|none]]
 
 
[[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 99: Line 96:
 
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 [https://wiki.freecadweb.org/Draft_Module Draft workbench] and [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench].
 
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 [https://wiki.freecadweb.org/Draft_Module Draft workbench] and [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench].
  
I share the 2D Freecad file as example of CAD documentation made with FreeCAD. You need FreeCAD +0.19 to open the file. Also, there is a bug with the TechDraw pages when you open the file (the drawing layout is a mess). Don't worry. Just click on Turn View Frames On/Off command in TechDraw Workbench and it will fix it. [https://community.osarch.org/uploads/editor/9w/0qj3m2zvdwbx.zip Link to the 2D FreeCAD file.]
+
As an example you can have a look on this FreeCAD file:[https://community.osarch.org/uploads/editor/9w/0qj3m2zvdwbx.zip Link to the 2D FreeCAD file.]
  
 
===== 2D drawing with Draft workbench =====
 
===== 2D drawing with Draft workbench =====
Line 115: Line 112:
  
 
===== Page layout with TechDraw workbench =====
 
===== Page layout with TechDraw workbench =====
This workflow is just 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 sheet presentation.
+
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 sheet presentation.  
 
 
[https://wiki.freecadweb.org/TechDraw_Preferences TechDraw Preference] allows to setup many preferences and styles.
 
  
 
# Open [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench]
 
# Open [https://wiki.freecadweb.org/TechDraw_Module TechDraw workbench]
 
# Create a [https://wiki.freecadweb.org/TechDraw_PageDefault new TD Page] (define format and scale).
 
# Create a [https://wiki.freecadweb.org/TechDraw_PageDefault new TD Page] (define format and scale).
 
# Select a Shape2DView object or a group of them, from the Combo View panel.
 
# Select a Shape2DView object or a group of them, from the Combo View panel.
# Press [https://wiki.freecadweb.org/TechDraw_View TechDraw Insert View] (TDIV) command to insert them in the TD page.
+
# Press [https://wiki.freecadweb.org/TechDraw_View TechDraw Insert View] (TDIV) command.
 
# Select Draft objects (lines, symbols), from the Combo View panel.
 
# Select Draft objects (lines, symbols), from the Combo View panel.
 
# Press TDIV command to insert them in the TD Page.
 
# Press TDIV command to insert them in the TD Page.
 
# On the TD page, place the TDIV of draft objects on top of the first TDIV.   
 
# On the TD page, place the TDIV of draft objects on top of the first TDIV.   
 
# 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).  
#* Also, you can select specific lines of these TDIV and change their appearance with [https://wiki.freecadweb.org/TechDraw_DecorateLine TechDraw DecorativeLine].
 
 
# Select the Draft Layer of dimensions, in the Combo View panel.  
 
# Select the Draft Layer of dimensions, in the Combo View panel.  
 
#* Press [https://wiki.freecadweb.org/TechDraw_DraftView TD Draft View] and setup its properties.   
 
#* Press [https://wiki.freecadweb.org/TechDraw_DraftView TD Draft View] and setup its properties.   
 
#* 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 properties:   
 
# For lines with style, select their Draft Layer. Press TD DraftView and setup the properties:   
#* Data/ Line Style = 5,2,0,5,2 (or something similar, different numbers will produce different patterns).  
+
#* Data/ Line Style = 5,2,0,5,2 (or something similar).  
 
#* Data/ Override Style = true  
 
#* Data/ Override Style = true  
 
# Create a [https://wiki.freecadweb.org/TechDraw_ClipGroup TD ClipGroup] and place all the views inside.  
 
# Create a [https://wiki.freecadweb.org/TechDraw_ClipGroup TD ClipGroup] and place all the views inside.  
# You can create more TD pages if you want. If you need many pages, split the project in several FreeCAD files.
+
# You can create more TD pages if you want.
  
 
{| class="wikitable"
 
{| class="wikitable"

Please note that all contributions to Wiki.OSArch are considered to be released under the Creative Commons Attribution-ShareAlike (see Wiki.OSArch:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)