Wikihouse porting tutorial: Difference between revisions

From FreeCAD Documentation
m (added templates)
(WikiHouse -> Wikihouse)
 
(11 intermediate revisions by 3 users not shown)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
{{TutorialInfo
{{TutorialInfo
|Topic= Wikihouse porting tutorial
|Topic=Wikihouse porting tutorial
|Level= Intermediate/Advanced
|Level=Intermediate/Advanced
|Time= 60 minutes
|Time=60 minutes
|Author=
|Author=
|FCVersion=
|FCVersion=
Line 15: Line 15:


<!--T:3-->
<!--T:3-->
This tutorial will show you how to convert [http://www.sketchup.com/ SketchUp] files used by the [http://wikihouse.cc/ WikiHouse] project to FreeCAD, making use of the [[Arch Panel]] tools in FreeCAD. The result is a full copy of the original SketchUp file, except that it has become fully parametric. The level of parametricism of the final file depends on the work you spend on it, as explained below. But it is totally possible to do things step by step, and rebuild the Wikihouse file rather quickly, and leave the more lengthy conversion of base profiles to sketches for later.
This tutorial will show you how to convert [http://www.sketchup.com/ SketchUp] files used by the [http://wikihouse.cc/ Wikihouse] project to FreeCAD, making use of the [[Arch_Panel|Arch Panel]] tools in FreeCAD. The result is a full copy of the original SketchUp file, except that it has become fully parametric. The level of parametricism of the final file depends on the work you spend on it, as explained below. But it is totally possible to do things step by step, and rebuild the Wikihouse file rather quickly, and leave the more lengthy conversion of base profiles to sketches for later.


<!--T:4-->
<!--T:4-->
This tutorial will require intermediate knowledge of FreeCAD, that is, you are able to find your way between the different workbenches and tools, are already able to model simple objects, and, above all, are comfortable with [[Draft Move]] and [[Draft Rotate]]. It will use mostly Draft and Arch tools, but knowledge of the Sketcher will become necessary when converting the base profiles to sketches.
This tutorial will require intermediate knowledge of FreeCAD, that is, you are able to find your way between the different workbenches and tools, are already able to model simple objects, and, above all, are comfortable with [[Draft_Move|Draft Move]] and [[Draft_Rotate|Draft Rotate]]. It will use mostly [[Draft_Workbench|Draft]] and [[Arch_Workbench|Arch]] tools, but knowledge of the [[Sketcher_Workbench|Sketcher Workbench]] will become necessary when converting the base profiles to sketches.


<!--T:5-->
<!--T:5-->
Line 32: Line 32:


</translate>
</translate>
[[Image:Arch Wikihouse 05.jpg]]
[[Image:Arch_Wikihouse_05.jpg]]
<translate>
<translate>


Line 39: Line 39:


</translate>
</translate>
[[Image:Arch Wikihouse 06.jpg]]
[[Image:Arch_Wikihouse_06.jpg]]
<translate>
<translate>


<!--T:10-->
<!--T:10-->
This is not how we will proceed in FreeCAD. Since one of the most powerful features of FreeCAD is [[Sketcher Module|Constrained Sketches]], we'd better take advantage of this, and base all our Wikihouse elements on Sketches. That way, modifying any part can be done in the Sketcher, which is much more comfortable.
This is not how we will proceed in FreeCAD. Since one of the most powerful features of FreeCAD is [[Sketcher_Workbench|Constrained Sketches]], we'd better take advantage of this, and base all our Wikihouse elements on Sketches. That way, modifying any part can be done in the [[Sketcher_Workbench|Sketcher Workbench]], which is much more comfortable.


<!--T:11-->
<!--T:11-->
In order to turn our SketchUp objects into FreeCAD sketches, which can then be used to create [[Arch Panel]] objects, we need to extract one, flat face from each wikihouse piece. The thickness will be re-added later, in FreeCAD, directly in the Arch Panel properties. This way, we will keep it parametric as well. To turn each wikihouse component into a single, flat face, enter each component by double-clicking it, then select each sub-component, and right-click → Explode, until all sub-components are exploded, and your component is composed only of faces and edges:
In order to turn our SketchUp objects into FreeCAD sketches, which can then be used to create [[Arch_Panel|Arch Panel]] objects, we need to extract one, flat face from each Wikihouse piece. The thickness will be re-added later, in FreeCAD, directly in the Arch Panel properties. This way, we will keep it parametric as well. To turn each Wikihouse component into a single, flat face, enter each component by double-clicking it, then select each sub-component, and right-click → Explode, until all sub-components are exploded, and your component is composed only of faces and edges:


</translate>
</translate>
[[Image:Arch Wikihouse 08.jpg]]
[[Image:Arch_Wikihouse_08.jpg]]
<translate>
<translate>


Line 56: Line 56:


</translate>
</translate>
[[Image:Arch Wikihouse 07.jpg]]
[[Image:Arch_Wikihouse_07.jpg]]
<translate>
<translate>


Line 63: Line 63:


<!--T:14-->
<!--T:14-->
When our piece of house is fully made of flat elements, we can select everything and export it to a .dae file, and then import this file into FreeCAD. Be sure to mark the "triangulate all
When our piece of house is fully made of flat elements, we can select everything and export it to a .dae file, and then import this file into FreeCAD. Be sure to mark the "triangulate all"


== Solving the double faces bug == <!--T:15-->
== Solving the double faces bug == <!--T:15-->
Line 77: Line 77:
# Press {{Button|TAB}} to exit edit mode
# Press {{Button|TAB}} to exit edit mode
# Repeat for all the components
# Repeat for all the components
# Save a new dae file ({{MenuCommand|File → Export → Collada}})
# Save a new [[Arch DAE|DAE]] file ({{MenuCommand|File → Export → Collada}})


<!--T:18-->
<!--T:18-->
Line 85: Line 85:


<!--T:20-->
<!--T:20-->
Note that it might be easier to go by parts and treat + export objects group by group, as we did below, we exported only the first layer, made of yellow elements in SketchUp. These elements will come into FreeCAD as [[Mesh Module|Mesh]] objects:
Note that it might be easier to go by parts and treat + export objects group by group, as we did below, we exported only the first layer, made of yellow elements in SketchUp. These elements will come into FreeCAD as [[Mesh_Workbench|Mesh]] objects:


</translate>
</translate>
[[Image:Arch Wikihouse 09.jpg]]
[[Image:Arch_Wikihouse_09.jpg]]
<translate>
<translate>


<!--T:21-->
<!--T:21-->
The next step is to create wires from each of our meshes. There is a convenient Macro named [[Macro Extract Wires from Mesh]] that does just that. Install it (Refer to the [[Macros]] page for instructions), then one by one (you can do them all at once, but this macro takes some time), convert all our meshes to wire objects:
The next step is to create wires from each of our meshes. There is a convenient Macro named [[Macro_Extract_Wires_from_Mesh|Macro Extract Wires from Mesh]] that does just that. Install it (Refer to the [[Macros|Macros]] page for instructions), then one by one (you can do them all at once, but this macro takes some time), convert all our meshes to wire objects:


</translate>
</translate>
[[Image:Arch Wikihouse 10.jpg]]
[[Image:Arch_Wikihouse_10.jpg]]
<translate>
<translate>


<!--T:22-->
<!--T:22-->
We could now already make [[Arch Panel]] objects from each of these wire-like objects, simply by selecting them and pressing the [[Arch Panel]] button. However, their base shape wouldn't be parametric. We now have several options: We could turn each component into a sketch, using the [[Draft Draft2Sketch]] tool, but these will be rather heavy sketches, and might not be very manageable on a slow machine, or we could turn each individual wire (the outline and each hole) of the sketch into a separate sketch. This would allow us, for example, to reuse a typical hole, make it only once, then duplicate it with [[Draft Clone]] to make the other holes. This way, you would only need to edit one to edit them all.
We could now already make [[Arch_Panel|Arch Panel]] objects from each of these wire-like objects, simply by selecting them and pressing the [[Arch_Panel|Arch Panel]] button. However, their base shape wouldn't be parametric. We now have several options: We could turn each component into a sketch, using the [[Draft_Draft2Sketch|Draft Draft2Sketch]] tool, but these will be rather heavy sketches, and might not be very manageable on a slow machine, or we could turn each individual wire (the outline and each hole) of the sketch into a separate sketch. This would allow us, for example, to reuse a typical hole, make it only once, then duplicate it with [[Draft_Clone|Draft Clone]] to make the other holes. This way, you would only need to edit one to edit them all.


<!--T:23-->
<!--T:23-->
The Extract Wires from Mesh macro also sometimes fails in finding closed wires inside a mesh, which will not produce correct Panels. An easy procedure to recompose the wires of a component is this:
The [[Macro_Extract_Wires_from_Mesh|Macro Extract Wires from Mesh]] also sometimes fails in finding closed wires inside a mesh, which will not produce correct Panels. An easy procedure to recompose the wires of a component is this:


<!--T:24-->
<!--T:24-->
# Select the component, optionally hide everything else to see better
# Select the component, optionally hide everything else to see better
# [[Draft Downgrade]] it. It will be exploded into a series of individual edges
# [[Draft_Downgrade|Draft Downgrade]] it. It will be exploded into a series of individual edges
# Start selecting the holes with Ctrl or by using Shift + B to box-select
# Start selecting the holes with Ctrl or by using Shift + B to box-select
# Press [[Draft Upgrade]] to turn back each hole into an individual wire
# Press [[Draft_Upgrade|Draft Upgrade]] to turn back each hole into an individual wire
# Finally select all the remaining individual edges in the tree, which form the outline, and [[Draft Upgrade]] them
# Finally select all the remaining individual edges in the tree, which form the outline, and [[Draft_Upgrade|Draft Upgrade]] them
# Select '''Part → make Compound''' to join back all these wires into one object
# Select '''Part → make Compound''' to join back all these wires into one object
# Select the compound and press the [[Arch Panel]] button
# Select the compound and press the [[Arch_Panel|Arch Panel]] button


</translate>
</translate>
[[Image:Arch Wikihouse 11.jpg]]
[[Image:Arch_Wikihouse_11.jpg]]
<translate>
<translate>


<!--T:25-->
<!--T:25-->
There are many possible strategies here, depending on how editable and precise you need the result. The [[Arch Panel]] object needs a base object made of wires. It doesn't matter how this object is made, if it is a single sketch, or, like in the example above, a compound of different sketches or draft object.
There are many possible strategies here, depending on how editable and precise you need the result. The [[Arch_Panel|Arch Panel]] object needs a base object made of wires. It doesn't matter how this object is made, if it is a single sketch, or, like in the example above, a compound of different sketches or Draft object.


== Converting to Sketches == <!--T:26-->
== Converting to Sketches == <!--T:26-->
Line 126: Line 126:


<!--T:28-->
<!--T:28-->
# Create a copy of your wire-like object with Ctrl+C, Ctrl+V. This si so we can modify it but still keep one in its correct location
# Create a copy of your wire-like object with {{Button|Ctrl}}+{{Button|C}}, {{Button|Ctrl}}+{{Button|V}}. This is so we can modify it but still keep one in its correct location
# Move and rotate it so it lies in the XY plane, using [[Draft Move]] and [[Draft Rotate]]. This is not indispensable, but the next point sometimes fails otherwise
# Move and rotate it so it lies in the XY plane, using [[Draft_Move|Draft Move]] and [[Draft_Rotate|Draft Rotate]]. This is not indispensable, but the next point sometimes fails otherwise
# Use [[Draft Draft2Sketch]] to turn the wire into a sketch. Be warned, this can fail or take a very long time for huge wires. It is best to decompose your object into individual wires as shown above.
# Use [[Draft Draft2Sketch]] to turn the wire into a sketch. Be warned, this can fail or take a very long time for huge wires. It is best to decompose your object into individual wires as shown above.
# If the command above fails, using [[Draft Upgrade]] twice on a wire-like object, to convert it to a Face then to a [[Draft Wire]], before using [[Draft Draft2Sketch]], usually works better, because the Draft Wire keeps a better track of the order of vertices inside a wire.
# If the command above fails, using [[Draft_Upgrade|Draft Upgrade]] twice on a wire-like object, to convert it to a Face then to a [[Draft_Wire|Draft Wire]], before using [[Draft_Draft2Sketch|Draft Draft2Sketch]], usually works better, because the Draft Wire keeps a better track of the order of vertices inside a wire.
# Curves are made of several small segments. They can be left as is, but they introduce a lot of endpoint constraints. It is better to replace them by arcs. It is fairly easy to do, just delete the small segments and replace them by an arc. The arc can then be made tangential to the neighbouring segments, but make sure the position of those segments is locked before doing this, as this operation will make them move.
# Curves are made of several small segments. They can be left as is, but they introduce a lot of endpoint constraints. It is better to replace them by arcs. It is fairly easy to do, just delete the small segments and replace them by an arc. The arc can then be made tangential to the neighbouring segments, but make sure the position of those segments is locked before doing this, as this operation will make them move.
# If you worked with several sketches, make a [[Part_Compound|Part Compound]] of them
# If you worked with several sketches, make a [[Part_Compound|Part Compound]] of them
# Create an [[Arch Panel]] from it
# Create an [[Arch_Panel|Arch Panel]] from it
# Rotate/move it back into position with [[Draft Move]] and [[Draft Rotate]]
# Rotate/move it back into position with [[Draft_Move|Draft Move]] and [[Draft_Rotate|Draft Rotate]]


</translate>
</translate>
[[Image:Arch Wikihouse 12.jpg]]
[[Image:Arch_Wikihouse_12.jpg]]
<translate>
<translate>


== Rebuilding the wikihouse and exporting cut sheets == <!--T:29-->
== Rebuilding the Wikihouse and exporting cut sheets == <!--T:29-->


<!--T:30-->
<!--T:30-->
Also, make sure you don't redo any duplicated part. Instead, select the [[Draft Clone]] tool to duplicate parts based on the same profile, so they will all share one same profile object. Then, since we have the outline at the correct place to use as a guide, it is fairly easy to rotate and move the clone into its correct position with [[Draft Rotate]] and [[Draft Move]].
Also, make sure you don't redo any duplicated part. Instead, select the [[Draft_Clone|Draft Clone]] tool to duplicate parts based on the same profile, so they will all share one same profile object. Then, since we have the outline at the correct place to use as a guide, it is fairly easy to rotate and move the clone into its correct position with [[Draft_Rotate|Draft Rotate]] and [[Draft_Move|Draft Move]].


<!--T:31-->
<!--T:31-->
Line 148: Line 148:


</translate>
</translate>
[[Image:Arch Wikihouse 01.jpg]]
[[Image:Arch_Wikihouse_01.jpg]]
<translate>
<translate>


<!--T:32-->
<!--T:32-->
We can now easily create the cut sheets, which are DXF files that will be sent to the shop that will cut the actual panels. The easiest way to do this is to select everything in your document with Ctrl+A, and then use the [[Arch Panel Cut]] tool. This will produce one Panel Cut object for each Panel object found in the selection. By moving them apart, we get a clear view of all our pieces:
We can now easily create the cut sheets, which are DXF files that will be sent to the shop that will cut the actual panels. The easiest way to do this is to select everything in your document with {{Button|Ctrl}}+{{Button|A}}, and then use the [[Arch_Panel_Cut|Arch Panel Cut]] tool. This will produce one Panel Cut object for each Panel object found in the selection. By moving them apart, we get a clear view of all our pieces:


</translate>
</translate>
[[Image:Arch Wikihouse 02.jpg]]
[[Image:Arch_Wikihouse_02.jpg]]
<translate>
<translate>


Line 162: Line 162:


<!--T:34-->
<!--T:34-->
# To make sure everything will stay in the XY plane, it is advised to set the [[Draft SelectPlane|Workign Plane]] to XY (top)
# To make sure everything will stay in the XY plane, it is advised to set the [[Draft_SelectPlane|Working Plane]] to XY (top)
# Create an [[Arch Panel Sheet]]
# Create an [[Arch_Panel_Sheet|Arch Panel Sheet]]
# Give it the desired width and height values (Wikihouses are typically printed on 122x244cm plywood sheets)
# Give it the desired width and height values (Wikihouses are typically printed on 122x244cm plywood sheets)
# Move it to a convenient place with [[Draft Move]]
# Move it to a convenient place with [[Draft_Move|Draft Move]]
# Optionally, set its margin values to help you position the cut pieces
# Optionally, set its margin values to help you position the cut pieces
# Move and rotate the individual [[Arch Panel Cut]] objects so they fit inside the Panel Sheet
# Move and rotate the individual [[Arch_Panel_Cut|Arch Panel Cut]] objects so they fit inside the Panel Sheet
# When you are more or less ready, select the Panel Sheet, and double click it in the tree view to enter Edit mode
# When you are more or less ready, select the Panel Sheet, and double click it in the [[Tree_view|tree view]] to enter Edit mode
# Select all the Panel Cuts you wish to insert in it (you may want to switch the tree view to the "project" tab to select in the tree)
# Select all the Panel Cuts you wish to insert in it (you may want to switch the tree view to the "project" tab to select in the tree)
# Select the "group" section in the Panel Sheet's Task view
# Select the "group" section in the Panel Sheet's Task view
# Press the "Add" button
# Press the {{Button|Add}} button
# Press the "OK" button
# Press the {{Button|OK}} button


<!--T:35-->
<!--T:35-->
Line 178: Line 178:


</translate>
</translate>
[[Image:Arch Wikihouse 03.jpg]]
[[Image:Arch_Wikihouse_03.jpg]]
<translate>
<translate>


Line 185: Line 185:


</translate>
</translate>
[[Image:Arch Wikihouse 04.jpg]]
[[Image:Arch_Wikihouse_04.jpg]]
<translate>
<translate>


<!--T:37-->
<!--T:37-->
These files are ready to send to the shops that will do the actual cut. It would be possible to generate the G-Code to be sent to the CNC machine directly from FreeCAD too, but that is matter for another tutorial.
These files are ready to send to the shops that will do the actual cut. It would be possible to generate the G-Code to be sent to the CNC machine directly from FreeCAD too, but that is matter for another tutorial.

</translate>
</translate>

Latest revision as of 19:04, 16 January 2022

Tutorial
Topic
Wikihouse porting tutorial
Level
Intermediate/Advanced
Time to complete
60 minutes
Authors
FreeCAD version
Example files
See also
None

Introduction

This tutorial will show you how to convert SketchUp files used by the Wikihouse project to FreeCAD, making use of the Arch Panel tools in FreeCAD. The result is a full copy of the original SketchUp file, except that it has become fully parametric. The level of parametricism of the final file depends on the work you spend on it, as explained below. But it is totally possible to do things step by step, and rebuild the Wikihouse file rather quickly, and leave the more lengthy conversion of base profiles to sketches for later.

This tutorial will require intermediate knowledge of FreeCAD, that is, you are able to find your way between the different workbenches and tools, are already able to model simple objects, and, above all, are comfortable with Draft Move and Draft Rotate. It will use mostly Draft and Arch tools, but knowledge of the Sketcher Workbench will become necessary when converting the base profiles to sketches.

Since the Wikihouse project is open by nature, files are easy to find on the project website, but also on the SketchUp 3D Warehouse or in the project's github repositories. The preferred format used by the project is Sketchup, so most of the files you'll find are in that format.

In the following tutorial we used the Chassis file from Wikihouse's Microhouse subproject.

Preparing the Sketchup file

The first thing you will need to do is to open the file in SketchUp and delete everything you don't want to export. We will only export one section of the Microhouse, so everything else must be deleted.

The Wikihouse elements, in SketchUp, are made in a specific way: By adding small "pieces" together in order to create the different components:

This is not how we will proceed in FreeCAD. Since one of the most powerful features of FreeCAD is Constrained Sketches, we'd better take advantage of this, and base all our Wikihouse elements on Sketches. That way, modifying any part can be done in the Sketcher Workbench, which is much more comfortable.

In order to turn our SketchUp objects into FreeCAD sketches, which can then be used to create Arch Panel objects, we need to extract one, flat face from each Wikihouse piece. The thickness will be re-added later, in FreeCAD, directly in the Arch Panel properties. This way, we will keep it parametric as well. To turn each Wikihouse component into a single, flat face, enter each component by double-clicking it, then select each sub-component, and right-click → Explode, until all sub-components are exploded, and your component is composed only of faces and edges:

Once this is done, select everything in your component, and unselect, by Shift + double-clicking them, each frontal face of your component. Be sure to double-click instead of single-click, because otherwise you will only unselect the face and not its border edges (which we will need to keep as well). After that, we will have unselected everything we want to keep, so we only need to press the delete key. Now our component is only one big flat face.

Repeat this for each component. Since many are duplicated, this is not as huge a task as it looks. Besides, if you are not familiar with the Wikihouse system, this step will give you a pretty good understanding of how it works.

When our piece of house is fully made of flat elements, we can select everything and export it to a .dae file, and then import this file into FreeCAD. Be sure to mark the "triangulate all"

Solving the double faces bug

There is a nasty problem for which I haven't found a better solution: Meshes exported from SketchUp to the .dae format have their faces duplicated. Each face becomes actually two faces. The easiest way I have found so far is to open the exported file in Blender for repair:

  1. Open the dae file in Blender (File → Import → Collada)
  2. Select a component, and hit TAB to enter edit mode
  3. Press A to deselect everything, then A again to select everything
  4. Press W → Remove doubles
  5. Press TAB to exit edit mode
  6. Repeat for all the components
  7. Save a new DAE file (File → Export → Collada)

Normally the above operation shouldn't change the scale, but it is always wise to verify, using the measuring tools, that the imported geometry is at correct scale before going further. You might need to tweak Blender's Collada export settings if needed.

Importing and converting to wires

Note that it might be easier to go by parts and treat + export objects group by group, as we did below, we exported only the first layer, made of yellow elements in SketchUp. These elements will come into FreeCAD as Mesh objects:

The next step is to create wires from each of our meshes. There is a convenient Macro named Macro Extract Wires from Mesh that does just that. Install it (Refer to the Macros page for instructions), then one by one (you can do them all at once, but this macro takes some time), convert all our meshes to wire objects:

We could now already make Arch Panel objects from each of these wire-like objects, simply by selecting them and pressing the Arch Panel button. However, their base shape wouldn't be parametric. We now have several options: We could turn each component into a sketch, using the Draft Draft2Sketch tool, but these will be rather heavy sketches, and might not be very manageable on a slow machine, or we could turn each individual wire (the outline and each hole) of the sketch into a separate sketch. This would allow us, for example, to reuse a typical hole, make it only once, then duplicate it with Draft Clone to make the other holes. This way, you would only need to edit one to edit them all.

The Macro Extract Wires from Mesh also sometimes fails in finding closed wires inside a mesh, which will not produce correct Panels. An easy procedure to recompose the wires of a component is this:

  1. Select the component, optionally hide everything else to see better
  2. Draft Downgrade it. It will be exploded into a series of individual edges
  3. Start selecting the holes with Ctrl or by using Shift + B to box-select
  4. Press Draft Upgrade to turn back each hole into an individual wire
  5. Finally select all the remaining individual edges in the tree, which form the outline, and Draft Upgrade them
  6. Select Part → make Compound to join back all these wires into one object
  7. Select the compound and press the Arch Panel button

There are many possible strategies here, depending on how editable and precise you need the result. The Arch Panel object needs a base object made of wires. It doesn't matter how this object is made, if it is a single sketch, or, like in the example above, a compound of different sketches or Draft object.

Converting to Sketches

It is also possible to do that part later, you could already create Panels from each of the component, but let's see already how to to convert a wire-like object to a sketch:

  1. Create a copy of your wire-like object with Ctrl+C, Ctrl+V. This is so we can modify it but still keep one in its correct location
  2. Move and rotate it so it lies in the XY plane, using Draft Move and Draft Rotate. This is not indispensable, but the next point sometimes fails otherwise
  3. Use Draft Draft2Sketch to turn the wire into a sketch. Be warned, this can fail or take a very long time for huge wires. It is best to decompose your object into individual wires as shown above.
  4. If the command above fails, using Draft Upgrade twice on a wire-like object, to convert it to a Face then to a Draft Wire, before using Draft Draft2Sketch, usually works better, because the Draft Wire keeps a better track of the order of vertices inside a wire.
  5. Curves are made of several small segments. They can be left as is, but they introduce a lot of endpoint constraints. It is better to replace them by arcs. It is fairly easy to do, just delete the small segments and replace them by an arc. The arc can then be made tangential to the neighbouring segments, but make sure the position of those segments is locked before doing this, as this operation will make them move.
  6. If you worked with several sketches, make a Part Compound of them
  7. Create an Arch Panel from it
  8. Rotate/move it back into position with Draft Move and Draft Rotate

Rebuilding the Wikihouse and exporting cut sheets

Also, make sure you don't redo any duplicated part. Instead, select the Draft Clone tool to duplicate parts based on the same profile, so they will all share one same profile object. Then, since we have the outline at the correct place to use as a guide, it is fairly easy to rotate and move the clone into its correct position with Draft Rotate and Draft Move.

After a while, all our Microhouse section is done.

We can now easily create the cut sheets, which are DXF files that will be sent to the shop that will cut the actual panels. The easiest way to do this is to select everything in your document with Ctrl+A, and then use the Arch Panel Cut tool. This will produce one Panel Cut object for each Panel object found in the selection. By moving them apart, we get a clear view of all our pieces:

We must then "nest" our pieces, that is, move and rotate them so they occupy as much as possible to space of a given panel, to generate as little material loss as possible. This operation unfortunately needs to be done by hand, but if you are using a Wikihouse project that already has produced cut sheets, copying them goes pretty fast:

  1. To make sure everything will stay in the XY plane, it is advised to set the Working Plane to XY (top)
  2. Create an Arch Panel Sheet
  3. Give it the desired width and height values (Wikihouses are typically printed on 122x244cm plywood sheets)
  4. Move it to a convenient place with Draft Move
  5. Optionally, set its margin values to help you position the cut pieces
  6. Move and rotate the individual Arch Panel Cut objects so they fit inside the Panel Sheet
  7. When you are more or less ready, select the Panel Sheet, and double click it in the tree view to enter Edit mode
  8. Select all the Panel Cuts you wish to insert in it (you may want to switch the tree view to the "project" tab to select in the tree)
  9. Select the "group" section in the Panel Sheet's Task view
  10. Press the Add button
  11. Press the OK button

In the Panel Sheet's Task view, there is also a button that allows you to move the individual Panel Cuts after they've been inserted inside the sheet. After a while, we have our sheets ready:

The last step is simply to select all the sheets, then export them to DXF from menu File → Export. The sheets contents will be exported separated in different layers, with the same color coding commonly used by the Wikihouse project:

These files are ready to send to the shops that will do the actual cut. It would be possible to generate the G-Code to be sent to the CNC machine directly from FreeCAD too, but that is matter for another tutorial.