1 of 70

RoBIM - Wall Frame Assembly

Tzong-Hann "Richard" Wu

Kuan-Yi "Ian" Chen

�5:30 pm ~ 7:30 pm, May 15, 2023

Lab @ CAECE Technology and Application of BIM

2 of 70

2

Lab overview

Agenda

Task 1 : Wall frame modeling

Task 3 : Robot path planning

Task 2 : Wall frame extraction

3 of 70

3

Lab overview

Task 1 : Wall frame modeling

Task 2 : Wall frame extraction

Task 3 : Robot path planning

Tool

Result

4 of 70

  • Block-based visual programming tool
  • Connect workflows in various software
  • Open-source

4

Dynamo can be downloaded and run in either stand-alone "Sandbox" mode or as a plug-in for BIM software like Revit or 3D modeling software like Maya.

Dynamo : BIM Visual Programing Tool

5 of 70

5

Download resource files

Download Resource

​

1

Note:

All of the files are only applicable in Revit 2023 and Dynamo 2.13 version

Note:

There are 3 folders inside Resource

​

Revit : Example .rvt model

RoBIM : Main program of RoBIM

RoBIMTools : Add-ins in Dynamo

​

​

Unzip and open Resource, there are 3 folders inside

​

2

6 of 70

Task 1

Wall frame modeling

​

Rvt

7 of 70

7

Review

Task 1

Phase 1 - Draw Wall

Phase 2 - Draw Plates & Studs

Phase 3 - Mark the specific parameter

Plates

Studs

8 of 70

8

Open WF_ExampleModel2023_Task1.rvt

Task 1

In Models, click “Open …”,

click Resource,

​

click Revit,

​

open WF_ExampleModel2023_Task1

​

​

​

1

Open Revit 2023

2

9 of 70

9

Create Structural Wall

Task 1

In ribbon, click

​

Structure -> Wall

​

1

In views, double click

​

Floor Plans : Level 1

​

2

1

2

10 of 70

10

1

In views, click Depth

​

turn Depth to Height

​

1

Base Constraint : Level 1

Base Offset = -14 mm

​

Top Constraint : Unconnected

Unconnected Height = 1371 mm

​

2

2

Create Structural Wall

Task 1

11 of 70

11

Create Structural Wall

Task 1

1

Draw a straight line parallel to

North/East/South/West

​

2

1

2

Edit the Wall length to 878 mm

​

12 of 70

12

1

In the ribbon, click

​

Structure -> Beam

​

1

Create Structure Beam [Plate]

Task 1

13 of 70

13

1

Confirm the structure beam :

​

M_WF Plate

LMBR 28x51

​

2

1

2

Draw a straight line

​

From point A to point B

​

Length : 878 mm

​

Create Structure Beam [Plate]

Task 1

B

A

14 of 70

14

1

In views, double click

​

3D Views -> (3D)

​

2

1

2

Click the beam shown below

​

change the properties Cross-Section Rotation : 90

​

Change Cross-Section Rotation

Task 1

15 of 70

15

1

In ribbon, click Modify

​

-> Align

​

2

1

2

In 3D view, click

​

1. the side of the wall

​

2. the same side of the plate

Align Plate to Wall

Task 1

16 of 70

16

Create M_WF Stud LMBR 28x51 by Brace

Task 1

In properties, select

​

M_WF Stud

LMBR 28x51

​

​

1

In ribbon, click

​

Structure -> Brace

2

1

2

17 of 70

17

Create Stud by Brace

Task 1

1

Turn the 3D view to North view

​

​

B

A

2

Draw a straight line

​

From point A to point B

which perpendicular to plate

​

Length : 1329 mm

​

​

18 of 70

18

Adjust the position of stud

Task 1

1

In views, double click

​

3D Views -> (3D)

​

2

1

2

In 3D view, select the stud

​

Adjust the distance : 0 mm

​

19 of 70

19

Align stud to wall

Task 1

1

In ribbon, click Modify

​

-> Align

​

Select the side of wall near stud

​

2

1

2

Select the closest side of stud relative to the side of wall

​

3

3

Completed

​

20 of 70

20

Copy stud to move specific distance

Task 1

1

In views, double click

​

Elevations (West)

​

2

1

3

Click the stud

​

​

​

3

In ribbon, click Modify

​

-> Copy

​

​

4

Move the stud to the right side and input

​

distance : 130 mm

​

​

2

21 of 70

21

Copy stud to specific distance

Task 1

1

In views, double click

​

Elevations (West)

​

2

1

2

In ribbon, click Modify

​

-> Copy

​

Distance : 577 mm

​

​

​

22 of 70

22

1

In views, double click

​

Elevations (West)

​

2

1

2

In ribbon, click Modify

​

-> Copy

​

Distance : 850 mm

​

​

​

Copy stud to specific distance

Task 1

23 of 70

23

Copy plate at the same place

Task 1

1

In ribbon, click Modify

​

-> Copy

​

​

Double click the origin to ensure that the new plate at the same place

​

​

1

Note:

You will receive a Warning after

copy element at the same place.

2

2

24 of 70

24

Edit the Start & End Level Offset of the bottom plate

Task 1

1

Click the plate

​

Edit Start Level Offset : 1357

​

Edit End Level Offset : 1357

​

1

25 of 70

25

1

In ribbon, click Modify

​

-> Copy

​

Double click the origin to ensure that the new plate at the same place

​

there will be a warning, it is fine as we will move the plate to particluar place

​

1

2

Copy the top of plate

Task 1

Note:

You will receive a Warning after

copy element at the same place.

2

26 of 70

26

1

Click the plate [419 mm]

​

Edit Start Level Offset : 1056.5

​

Edit End Level Offset : 1056.5

​

1

Edit the Start & End Level Offset of plate [419 mm]

Task 1

27 of 70

27

Align the plate to specific position

Task 1

1

In ribbon, click Modify

​

-> Align

​

2

1

2

In 3D view, select

​

the side of stud which boxed by the red circle

​

​

Select the side of plate [419 mm] near to the side of the stud

​

3

3

Result :

28 of 70

28

Modify parameters of wall

Task 1

1

In 3D view, select the wall

​

2

1

2

In properties, modify the parameter

​

Mark : W-111

​

P.S. The number must be the same as the parameter of studs and plates.

​

29 of 70

29

Modify parameters of studs

Task 1

1

In views, press control button and select all the studs in view

​

or click one stud then right click

“Select All Instance”

-> In Entire Project

​

2

1

2

In properties, modify the parameters:

​

FM Module Mark: W-111

Framing Member Type: Stud

FM HostMemberSortMark: W-111

​

30 of 70

30

Modify parameters of plates

Task 1

1

In views, press control button and select all the plates in view

​

or click one stud then right click

“Select All Instance”

-> In Entire Project

​

2

1

2

In properties, modify the parameters:

FM Module Mark: W-111

Framing Member Type: Plate

FM HostMemberSortMark: W-111

​

31 of 70

31

Check Point

Task 1

Stud 28 x 51 - 1329 mm

Plate 28 x 51 - 878 mm

Plate 28 x 51- 419 mm

Wall - 878 mm * 1385 mm * 51 mm

32 of 70

Task 2

Wall frame extraction

​

.Wall

33 of 70

33

Open Dynamo

Task 2

Click Manage

​

​

Click Visual Programming

​

​

Click Dynamo

1

Result :

​

2

3

1

2

3

34 of 70

34

Copy RoBIMTools file to specified location

Task 2

Copy RoBIMTools which locate inside the Resource Folder

Paste file to the following location:

​

C:\Users\[User Name]\AppData\Roaming\Dynamo\Dynamo Revit\[2.13]\packages

1

2

Note:

If AppData is hidden, select the view tab and, in advanced settings, click “Hidden items”.

​

Close Revit & Dynamo and open Revit & Dynamo again

3

User Name

​

35 of 70

35

Open a new workspace

Task 2

Click File

​

​

​

​

​

​

​

​

1

2

1

2

Click New -> Home Workspace

Note:

If you follow the previous slide, you will see a RoBIMTools here without icon when you open Dynamo.

​

Check RoBIMTools whether it is existed

​

​

3

36 of 70

36

1

2

Turn “Automatic” mode to “Manual” mode

Task 2

Click the lower left corner “Automatic” button

​

​

1

Click “Manual” button

2

37 of 70

37

Creat a ExportWallFile node

Task 2

Click “RoBIMTools” under the Add-ons

​

​

1

Click “Output”

2

3

Click “ExportWallFile”

1

2

3

Result :

38 of 70

38

Add 3 String nodes

Task 2

Result :

Enter “String” in the white search block

​

​

1

Click “String”, repeat 3 times

2

1

2

Arrange three “String” nodes

3

39 of 70

39

3 String nodes connect to the input of ExportWallFile

Task 2

First String : C:\Users\[User Name]\Desktop

​

​

1

Click the “ > ” of the first string node, and connect it into WallFilePath

​

Click the “ > ” of the second string node, and connect it into WallFileName, and so on

4

Second String : Wall-20230515

2

3

Third String : W-111

Note:

[User Name] can be found in File Explorer C:\Users\[User Name]

1

2

3

4

40 of 70

40

Save your file

Task 2

Result :

Click the Save figure

​

​

1

Enter “RoBIM_Lab_20230515”

2

3

Click “Save” button

1

2

3

41 of 70

41

Run the file

Task 2

Click the “Run” button

​

​

1

1

Result :

42 of 70

42

Check in RoBIM

Task 2

Open RoBIM_Lab.exe

​

1

Find the location of .wall file, then click .wall file and click “Open”

​

3

3

Click the top left corner button - Wall

2

1

2

Wall-20230515.wall

Wall-20230515.wall

43 of 70

43

Result in RoBIM

Task 2

Note:

All Studs & Plates

​

Information includes :

- Position (x, y, z)

- Rotation Direction (Rx, Ry, Rz)

- Dimension (l, w, h)

​

Note:

All Studs & Plates can be selected

in the right list

44 of 70

Task 3

Robot path planning

45 of 70

Robot path planning

Task 3

Virtual Environment

Robot Control

Robot Motion

Pick & Place

Collision Avoidence

Nailing

46 of 70

Virtual Environment

Task 3

6-axis robot arm:

KR-60

End effectors:

Gripper and Nailer

2-axis positioner:

DKP-400

NTUST Department of Architecture

47 of 70

Robot Control - FK

Task 3

Forward Kinematic

Control

“Given a set of joint angles, the forward kinematic problem is to compute the position and orientation of the tool frame relative to the base frame. “

https://en.wikipedia.org/wiki/Forward_kinematics

𝜽1, 𝜽2, 𝜽3, 𝜽4, 𝜽5, 𝜽6

X, Y, Z, Rx, Ry, Rz

48 of 70

Robot Control - IK

Task 3

Inverse Kinematic

Control - Move

Inverse Kinematic

Control - Rotate

“Given the position and orientation of the end-effector, calculate all possible sets of joint angles that could be used to attain this given position and orientation. “

https://en.wikipedia.org/wiki/Inverse_kinematics

49 of 70

Robot Motion - PTP

Task 3

  1. Select the 3rd stud from the left on the pad or press the “StudPrefab 5 (Material)” in the right Grip Objects Panel
  1. Open the end effector orientation panel
  2. Press the "Up" button in the end effector orientation panel

1

2

3

50 of 70

Detail information of current motion

Robot Motion - PTP

Task 3

  1. Click the “PTP” button to generate a approaching motion to the stud

​

  • Select robot motion and review its information in the detail panel

1

2

Note:

​

PTP (point-to-point) motion is the most efficient way in the robotics motion to move to a certain configuration.

51 of 70

Robot Motion - Grip

Task 3

  • Select the target again

​

  • Click the “Grip” button to generate a grip motion

​

3

4

Note:

​

Grip action only work if a stud is selected (the orange outline on the stud), or it will grip nothing

52 of 70

Robot Motion - LIN

Task 3

  • Press “IK - Move” button

​

  • Drag the red axis to move up the end effector to a new position

​

  • Click the “LIN” button to generate a linear movement motion

4

6

5

53 of 70

53

  • Click the target of stud (StudPrefab 5)
  • Press the “IK - Reach Target” button
  • Press the “Up” button

1

Robot Motion

Task 3

2

3

54 of 70

54

5

Robot Motion

Task 3

4

6

  • Click the “IK - Move” Button

​

  • Drag the red axis to move up the end effector to a new position

​

  • Click the “PTP” button

55 of 70

55

  • Click the target of stud again

7

Robot Motion

Task 3

8

  • Click “LIN” button

56 of 70

56

  • Click the “Release” button to generate a release block

Robot Motion

Task 3

  • Click “IK - Move” button
  • Drag the red axis to move up the end effector
  • Click the “LIN” button

9

10

11

12

57 of 70

PTP vs LIN

PTP (point-to-point) motion considers the speeds of robot joints in joint space. It is the most efficient way to move to a certain configuration.

LIN (linear) motion considers trajectory in 3D space. It follows the shortest way (straight line) in real world space.

KR C2 / KR C3 Expert Programming. (2003). Retrieved from https://forum.robotsinarchitecture.org/index.php?action=dlattach;topic=20.0;attach=11

58 of 70

58

  1. Switch to “Physics” panel

​

  • Click "Collision check" button to start a collision checking thread

​

  • The motion item with collision occuring will turn pink to alert users

​

1

2

3

Collision Avoidence

Task 3

59 of 70

59

Solution A (insert motion):

  • Select the LIN motion before the collided PTP. (*To make sure inserting a new motion before it*)
  • Press “IK - Move”
  • Move the end effector to a higher floating position
  • Click “PTP” button

​

​

1

2

Collision Avoidance - Solution A

Task 3

4

3

Note:

​

Press the collision check button again to get new result. If the collision avoidance action is successful, the item will change back to white

60 of 70

60

Solution B (edit motion):

  • Select the collided motion
  • Click the “z position” of motion

​

​

1

2

Collision Avoidance - Solution B

Task 3

3

  • Change it to 1000 cm

61 of 70

61

  1. Select the target: StudPrefab 5
  1. Click the “Pick&Place Stud” button to generate a group of robot actions

1

2

Pick & Place Stud

Task 3

62 of 70

62

  • Select the target: MagneticBase (5)
  • Click the “Pick & Place Magnet Right” button

1

2

Pick & Place Magnet

Task 3

63 of 70

63

  • Select the PTP motion
  • Change the L offset to -13 cm

Pick & Place Magnet

Task 3

3

4

Note:

This LIN motion places the magnet against the stud vertically downwards which may cause collision in real test.

64 of 70

64

2. Change the E1 angle to -35 degree and press “Return”

3. Click the “PTP” button

1

3

FK Control of DKP-400

Task 3

Note:

Please make sure that the IK button is not pressed

1.Click this button

2

65 of 70

65

Pick & place studs and magnets of the “H” shape

Task 3

1

2

3

4

5

6

7

8

9

10

11

12

13

Note:

Pick and place stud for stud

Pick and place magnet right for magnet

66 of 70

66

  • Select the target: StudPrefab 7
  • Click the Nailer (KR90) to change current using tool
  • Click the “Nail Right” button
  • Click the “Nail Left" button

1

3

Nailing

Task 3

4

2

67 of 70

67

Assembly Sequence

Task 3

1

2

4

5

6

7

9

10

11

12

13

14

15

16

18

17

20

21

22

23

24

25

26

27

30

29

31

32

33

34

36

37

38

39

Note:

  • Red: pick and place (stud, magnet left or magent right)
  • Green: nailing (left or right)
  • Blue: you need to adjust the angle of DKP-400 for robot to do the following steps
  • The numbers are reference sequence, you may be able to find a faster sequence

3 (E1 = -35 degree)

19 (E1 = -15 degree)

28 (E1 = -45 degree)

35 (E1 = 5 degree)

8

68 of 70

68

Complete the frame without collision

Task 3

69 of 70

69

Export robot script

Task 3

  • Click the export button

1

Note:

The script can be run by KUKA Controller

70 of 70

Thanks for

participating!

robim.info@gmail.com�www.robim.net