FreeCad, Blender, and SweetHome3D

This topic has been viewed 7810 times and has 3 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
marcin_ose
Posts: 4
Joined: Mon Sep 07, 2020 6:30 am
Country: United States

FreeCad, Blender, and SweetHome3D

Post by marcin_ose »

We are using FreeCAD, Blender BIM, and SweetHome3D to take advantage of each tool in an architecture workflow. FreeCAD is good for technical design and part trees that can be exported automatically into Bills of Materials. Blender has BIM functionality for export in a universally readable open source architecture format. And SweetHome is great for ease of use and visualization, for both concept and technically-correct design.

This means that if we can interoperate seamlessly between the 3 open source tools, we can establish a robust, scalable, open source and collaborative workflow.

I observed that direct export from SweetHome3D to FreeCAD results in objects 10-20x smaller - see Google Presentation page at https://wiki.opensourceecology.org/wiki ... perability. So it is useful to use Blender for scaling the mesh file, then importing to FreeCAD, and turning back into a solid . Blender is good at scaling through its properties dialog, which allow numerical input. Does anyone else use SweetHome3D exports in FreeCAD, and know the correct scaling factor?

Marcin
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: FreeCad, Blender, and SweetHome3D

Post by Puybaret »

Thanks for explaining your workflow.

As lengths and coordinates in Sweet Home 3D are internally expressed in centimeters, these values are exported to OBJ format in the same unit. Unfortunately that file format doesn’t specify the unit of the coordinates it contains (DAE format has a [font=courier new]unit[/font] element to specify that), and that leads to variable interpretations of these numbers according to each software.
If you want to work in meters in Blender, you should scale imported OBJ files exported from Sweet Home 3D to 0.01. If you prefer inches you should scale them to 0,393701.
But isn’t FreeCAD able to directly scale imported OBJ files? That would avoid using Blender just to rescale them.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: FreeCad, Blender, and SweetHome3D

Post by UbuntuBirdy »

In FreeCADs Draft-Workbench you can scale any imported object.
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
User avatar
marcin_ose
Posts: 4
Joined: Mon Sep 07, 2020 6:30 am
Country: United States

Re: FreeCad, Blender, and SweetHome3D

Post by marcin_ose »

In FreeCAD, one would first need to first Create shape from mesh..., and then scale it in Draft Workbench. For details of how to do this, see Lesson 1 and Tutorial 24 at https://wiki.opensourceecology.org/wiki ... Tutorial_1.

For the scale factor, I found that the scale factor from SweetHome3D to FreeCAD is exactly 10x by taking the box in SweetHome3D (3'x3'x3'), which appeared as 3.6" in FreeCAD. This result is consistent for other objects.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest