Skip to main content
Solved

3D View from CAD to .svg


freddy17
Contributor
Forum|alt.badge.img+8

Good day, I am just looking if someone can point me in the right direction.

 

Goal

Ifc/Cad File to .svg

 

The goal is to create .svg for PowerBi. By taking a view from a 3d File and saving the view to turn into a .svg file. Below a few screenshots how I have done it before.

 

A .svg is imported into powerbi.

 

 

When clicking the .svg graphic in PowerBi, the PowerBi table changes to filter only that Column

 

In this example the .svg has the following ID:

<polygon id="M1" description="M1"

 

If this ID is found in the PowerBi Data, the column for "M1" is called. ( I have added an example of such an .svg file that I work with: SvgPowerBiExample.txt(saved as .txt file)

 

FME Question

Is it possible to save a "view" of an .ifc file or Cad file such as .dwg in 3d? Then Vectorize that View and save the internal surfaces as the polygon id needed for an .svg file.

 

For Example, a view in FME that I would like to save as .svg file:

 

 

My current Workflow

The workflow is to take a 3d Model, flatten it as a 2d Vector line model (In Rhino called Make2d). Create polygon surfaces / meshes and write them to different layers in Rhino. With the Grasshopper plugin, I would then create a .svg which saves the surfaces with the Layernames from Rhino.

I am trying to improve the efficiency of this workflow as it takes a few hours to do.

 

I hope my question is clear, and I am just looking for interesting approaches for how to do this or perhaps if there is anyone else who have managed to get this done with FME.

 

Regards

Fred

 

Best answer by daveatsafe

Hi @freddy17,

The SurfaceFootprintReplacer transformer can be used to convert the IFC or CAD solid and surface geometries to a 2D footprint polygon, while retaining all the original attributes of the feature.

The IFC with Data Views reader will do this for you automatically, if you choose the Floorplan data view.

View original
Did this help you find an answer to your question?

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • March 2, 2020

Hi @freddy17,

The SurfaceFootprintReplacer transformer can be used to convert the IFC or CAD solid and surface geometries to a 2D footprint polygon, while retaining all the original attributes of the feature.

The IFC with Data Views reader will do this for you automatically, if you choose the Floorplan data view.


freddy17
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • March 4, 2020

Hi Dave,

great I will give it a go. Is it at all possible to save the view settings that is used in the FME inspector?

 

Regards

Fred


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 4, 2020
freddy17 wrote:

Hi Dave,

great I will give it a go. Is it at all possible to save the view settings that is used in the FME inspector?

 

Regards

Fred

I'm sorry, but no. The Data Inspector is a very lightweight viewer, meant only to give you a visual snapshot of the data as seen by FME.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings