Direkt zum Inhalt

Wooden roof (m150)

Tekla Structures - Not version-specific
Not version-specific
Tekla Structures
Environment
Construsoft European
Netherlands

Tekla Structures includes plug-in Wooden roof (m150) with which you can model roofs.
 

General

Definitions

M150The entire group of plug-ins starting with m15*
Custom componentCC, also named detail
Coordinate systemCS
Element Coordinate systemECS
World Coordinate systemWCS
Direct modificationDM

M150 structure

M150 works in the traditional Tekla Structures mode, however, in order to use all the potential of M150 it is necessary to activate "Direct Modification". Default shortkey for this is "D".

M150 consists of the following plugins:
    • m150 → this is the base plugin with its general parameters for the element, including activation and settings for the underlying plugins.
    • m151 → call for CC wirth it's parameters for the details on the edge
    • m152 → parameters for the rafters
    • m153 → 4 tabs:
        ○ Support profiles : call for CC and it's parameters for the support profiles
        ○ Contour plates : parameters for the applied plates
        ○ Plate area offsets : the general applies offsets for the plates
        ○ Foil : parameters for the applied foil
    • m154 → 2 tabs:
        ○ General : parameters for the applied tile battens
        ○ Counter battens : parameters for the applied counter battens
    • m155 → parameters that determine how beams are connect to each other
    • m156 → call for CC and it's parameters for opening details

The general rule is that the plugins call each other in order, m150 → m151 → m152 → etc. Some feedbacks have been made to make the plugins work correctly. As a result, it is sometimes necessary to save the desired parameters as a setting and then call this setting from a higher position.
 
The approach of M150 is therefore that the user sets the parameters for the various plugins and CC based on 1 element and then saves them in settings. These settings can next be applied from m150 to the desired roof elements. We should therefore try to set up the working method in such a way that this chain of linked plugins with their settings is maintained as long as possible. So only start making manual changes until it is ensured that no structural changes will occur.

Modeling

Setting work plane / Coordinate system

M150 works in the traditional Tekla Structures mode, however, in order to use all the potential of M150 it is necessary to activate "Direct Modification". Default shortkey for this is "D".

Set the work plane to the XY-work plane for a proper working of  M150.

  

Image
Werkvlak_lint.png



  

Image
Werkvlak_dialoogvenster.png



  

Image
Werkvlak_model.png



With this we set up the basic coordinate system (WCS) that M150 uses. Namely, the Z coordinate of this WCS is given by M150

Application of M150

M150 needs a contour plate as an input object, a beam which looks like a plate in the model and which has been created with prefix PL in the profile definition cannot be used as an input object.
The direction in which the contour plate has been modelled, determines the direction of the element. Basis in Tekla Structures is the right-handed CS, which means that if we model a contour plate in the XY plane counterclockwise, the Z vector of the plate points upwards.

  

Image
Plaat CS.png


 
This Z-vector (blue) in combination with the X-vector (red) and the Y-vector (green) is the CS of the plate. And this CS forms the basis of the ECS, so ensures that the tile battens are at the top. By modeling a plate clockwise, we can ensure that the tile battens are at the bottom.
 
We can now use m072 (m024 is also possible) to create a roof, which we then provide with the element distribution using m025.

  

Image
m072.png



  

Image
m025.png



After this we can of course equip all roof plates with M150 by choosing this option in m025.

  

Image
m025 - componentinstellingen.png



  

Image
m025 - componentinstellingen - m150.png


But our advice is to first select 1 roof plate to position M150 to set all settings properly.

Positioning M150

To position M150, select the desired contour plate and next select the desired origin and direction of the element.
 
Click here for an instruction video.
 
  

Image
M150 - Element.png


 
  

Image
M150 - Element 90 gedraaid.png



The selectes origin and direction determine the direction of the rafters, but also the direction of the element, the ECS of the element. It is therefore possible to create a rafter roof crowl but also a purlin roof crowl and to create the gutter instead of a ridge and vice versa.

Openings in M150

In order to process openings in M150, it is necessary that these are in the plate (s) as a rectangular or round / oval opening.
 
Rectangular openings will be automatically linked to m156 by M150. And m156 which has many similarities with m151 you can use to assign the details.

  

Image
m156 - opening definitie.png



  

Image
m156 - opening negatief volume.png



  

Image
m156 - rond negatief volume.png



For rectangular openings, a detail can be assigned on each side. With round and oval openings, 1 detail is possible which is oriented towards the center point of the opening.

Plug-in - DM

M150 - General

M150 works in the traditional Tekla Structures mode, however, in order to use all the potential of M150 it is necessary to activate "Direct Modification". Default shortkey for this is "D". This is mandatory for the use of the panel and the mini toolbar.
 
  

Image
m15x - Aan-Uit slider.png


 
The M150 plugins use the "on / off slider" to enable or disable plugins.
So if you see this button then it is to enable or disable the appropriate plugin. Blue is turned on, Gray is turned off.

m150 - Wooden roof

m150 - Wooden roof → Base plug-in

  

Image
m150.png



Assembly
    • Prefix → the prefix assigned to the element
    • Start number → the start number assigned to the element
    • Name → the name assigned to the element
Offset
    • Offset on → options:
        ○ Local Z axis → see picture, vector a in the image below
        ○ Global Z axis →  see picture vector c in the image below

  

Image
m150 - element offset.png


    
When an element is offset, the element must only move vertically. In the image above, point A is a point on an element without offset. After applying the offset, the element is located in A. So whatever offset is selected, the displacement is always in the direction of the Z vector of the WCS.

General
    • Wooden roof Frame  (m151) → call settings for this plug-in
    • Wooden roof Rafters (m152) → call settings for this plug-in
    • Wooden roof Support profiles (m153) → call settings for this plug-in
    • Wooden roof Tile battens (m154) → call settings for this plug-in
    • Wooden roof Openings (m156) → call settings for this plug-in

Contextual toobar when inserting

  

Image
m150 - mini werkbalk invoer.png



    • Button 1 → regular CS option when inserting m150
    • Button 2 → inverted CS option when inserting m150, in case the left / bottom angle is not normally selectable
    • Button 3 → free CS option, in case both previous options do not offer a solution

Contextual toolbar when modifying

  

Image
m150 - mini werkbalk edit.png



    • Button 1 → Set Frame to DM mode
    • Button 2 → Set Opening to DM mode
    • Button 3 → Set Rafters to DM mode
    • Button 4 → Set Support profiles to DM mode
    • Button 5 → Set Tile battens to DM mode
    • Button 6 → Tile batten synchronisation → this allows us to equalize the tile batten distribution between elements.
Other functions are not yet active.

MIND THE FOLLOWING:
    • When choosing the buttons above, the buttons of that plug-in are added to this mini toolbar. For an explanation of those mini toolbars, please take a look at the respective plug-ins.
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D).

m151 - Wooden roof Frame

m151 - Wooden roof Frame

  

Image
m151.png



General
    • Name (Custom) component → name for the detail to call
    • Configuration file (attributes) → detail setting to be applied
    • Coordinate system (Rotation) → CS to be applied for the detail
    • Offset → offset to be applied in the XY plane for the element
    • Angle → angle rotation to be applied in degrees of the ECS relative to the XY plane of the WCS, the options are:
        ○ 

Image
M150 - ECS.png


        → ECS
        ○ 

Image
M150 - WCS.png


        → WCS
    • 

Image
M150 - knop plus.png


    → add the data entered above to the group selected below
    • 

Image
M150 - knop min.png


    →  delete the line selected below
    • 

Image
M150 - knop pijl omhoog.png


    → move up the selected line
    • 

Image
M150 - knop pijl omlaag.png


    → move down the selected line
    • 

Image
M150 - mark rood.png


    → the edge of the element in the most negative Y direction of the element (usually the gutter)
    • 

Image
M150 - mark groen.png


    → the edge of the element in the most negative X direction of the element (usually the left side)
    • 

Image
M150 - mark magenta.png


    → the edge of the element in the most positive Y direction of the element (usually the ridge)
    • 

Image
M150 - mark geel.png


    → the edge of the element in the most negative Y direction of the element (usually the right side)
    • If there are more edges on the element (mostly hip and/or valley rafters), they will be displayed clockwise with a number.

Borders can contain multiple details, this is to combine an ECS and WCS detail into 1 detail


Contextual toolbar

  

Image
m151 - mini werkbalk.png



There are no active DM methods for this plug-in yet.

MIND THE FOLLOWING:
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D).

Direct Modification

  

Image
m150 - dm.png



    • By clicking on the text it enters the edit mode and the name of the detail can be changed. After leaving the field, the changes are made.

m152 - Wooden roof Rafters

m152 - Wooden roof Rafters

  

Image
m152.png



Parameter
    • Pitch type → the options are:
        ○ Center to center  → sizes in divided pattern are calculated center to center
        ○ Face to face → sizes in divided pattern are calculated from the outer planes of the rafters
    • Pitch direction → the options are:
        ○ Left to right → dividing rafters starts from left (in the positive direction of the X vector of the ECS)
        ○ Right to left → dividing rafters starts from right (in the negative direction of the X vector of the ECS)
    • Pitch pattern → the pattern with which the tracks are positioned, the last distance is always the residual size and depends on the selected dividing direction
    • Profile 1st → profile for the first rafter
    • Profile → profile for the intermediate rafters
    • Profile last → profile for the last rafter
    • Profile list → the list with the profiles for the rafters to be applied
    • Prefix → prefix for part- and assembly numbering
    • Start No → start number for part- and assembly numbering
    • Class → colour for the rafters
    • Name → name for the rafters
    • Material → material for the rafters
    • Rotation 1st → rotation for the first rafter
    • Rotation → rotation for the intermediate rafters
    • Rotation last → rotation for the last rafter
    • Finish → finish for the rafters
    • Zone → zone for the rafters
    • 

Image
M150 - knop plus.png


    → add the selected profile to the profile list
    • 

Image
M150 - knop min.png


    → delete the selected profile from the profile list
    • 

Image
M150 - knop pijl omhoog.png


    → move up the selected profile in the profile list
    • 

Image
M150 - knop pijl omlaag.png


    → move down the selected profile in the profile list

Contextual Toolbar

  

Image
m152 - mini werkbalk.png



    • Option 1 → Option from "f2f" and "c2c" (Pitch type)
    • Option 2 → Option from "l2r" and "r2l" (Pitch direction)
    • Field 3 → Modify the rafter profile
    • Button 4 → Add a rafter on the left
    • Button 5 → Add a rafter on the right

MIND THE FOLLOWING:
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D)


Direct Modification

  

Image
m151 - dm.png



    • Adding rafter by clicking on the blue dot
    • Change the rafter distances by modifying the numbers or by selecting and dragging the rafters

m153 - Wooden roof Support profiles

m153 - Wooden roof Support profiles - Support profiles

  

Image
m153 - support profielen.png



Support profiles
    • Support profile → name of the detail to be called
    • Configuration file → setting of the detail to be applied
    • Placing type → the options are:
        ○ From gutter → the detail is positioned at the distance measured along the element from the gutter position
        ○ From apex → the detail is positioned at the distance measured along the element from the apex position
        ○ From first in group → the detail is positioned at the distance measured along the element from the position of the first detail in this group
    • Distance → offset to be applied in the Y direction of the element
    • Group → by placing details in groups, the plug-in "knows" that they are one and they are considered as one object while dragging in the model by using "direct modification".
    • Angle → angle rotation to be applied in degrees of the ECS relative to the XY plane of the WCS
    • Rotation → to be applied CS for the detail, the options are:
        ○ 

Image
M150 - afsteunregel ECS.png


        → ECS
        ○ 

Image
M150 - afsteunregel WCS.png


        → WCS
    • 

Image
M150 - knop plus.png


    → add the data entered above to the group selected below
    • 

Image
M150 - knop min.png


    →  delete the line selected below
    • 

Image
M150 - knop pijl omhoog.png


    → move up the selected line
    • 

Image
M150 - knop pijl omlaag.png


    → move up the selected line


m153 - Wooden roof Support profiles - Contour plates

  

Image
m153 - willekeurige plaat.png



Contour plate
    • 2nd layer (top) → the options are : "Not" or a number for the definition of the plate in the list below
    • 1st layer (top) → the options are : "Not" or a number for the definition of the plate in the list below
    • 1st layer (bottom) → the options are : "Not" or a number for the definition of the plate in the list below
    • 2nd layer (bottom) → the options are : "Not" or a number for the definition of the plate in the list below
    • 3rd layer (bottom) → the options are : "Not" or a number for the definition of the plate in the list below

    • Thickness → thickness of the plate
    • Width → width of the plate
    • Length → length of the plate
    • Part pos → numbering data for the plate:
        ○ Prefix part
        ○ Start number part
        ○ Prefix assembly
        ○ Start number assembly
    • Class → colour of the plate
    • Material → material of the plate
    • Name → name of the plate
    • Comment → comment of the plate
    • Zone → zone of the plate
    • Finish → finish of the plate
    • 

Image
M150 - knop plus.png


    → add the data entered above to the list below
    • 

Image
M150 - knop min.png


    →  delete the selected line below
    

m153 - Wooden roof Support profiles - Plate area offsets

  

Image
m153 - plaat offsets.png



Offsets Plate
    • Top offset → clearance between the edge of the element in the most positive Y direction of the element (usually the ridge) and start plate
    • Right offset →  clearance between the edge of the element in the most negative X direction of the element (usually the right side) and start plate
    • Bottom offset → clearance between the edge of the element in the most negative Y direction of the element (usually the gutter) and start plate
    • Left offset → clearance between the edge of the element in the most positive X direction of the element (usually the left side) and start plate
    • Vertical gap → the seam to be applied between the plates vertically, in other words in the Y direction of the element
    • Horizontal gap → the seam to be applied between the plates horizontally, in other words in the X direction of the element

m153 - Wooden roof Support profiles - Foil

  

Image
m153 - folie.png



Foil
Foil inside / outside:
    • Create → the options are:
        ○ Create
        ○ Don't create foil
    • Prefix → prefix of the foil, mostly PL
    • Thickness → thickness of the foil
    • Pos.num. → numbering data of the foil:
        ○ Prefix part
        ○ Start number part
        ○ Prefix assembly
        ○ Start number assembly
    • Class → colour of the foil
    • Material → material of the foil
    • Name → name of the foil
    • Comment → comment of the foil
    • Zone → zone of the foil
    • Finish → finish of the foil
    • Fields around the image are the offsets to be applied relative to the outer side of the element


Contextual toolbar

  

Image
m153 - mini werkbalk.png



    • Button 1 → Activate DM mode support profile
    • Button 2 → Activate DM mode plate
    • Button 3 → Activate DM mode foil

MIND THE FOLLOWING :
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D)


Direct Modification

  

Image
m153 - dm.png



    • By clicking the text, the edit mode opens and the name of the detail can be changed. After leaving the field, changes are made.
    • By clicking a number, the edit mode opens and the number can be changed. After leaving the field, changes are made.
    • By clicking arrow points or lines, you can drag and edit these.

m154 - Wooden roof Tile Battens

m154 - Wooden roof Tile Battens

  

Image
m154_General.png



General
    • Creation type → the options are:
        ○ Exact spacing (A)
        ○ Exact first and last spacing (B)
    • Number of battons → maximum number of tile battens to be used
    • Prefix → prefix for part- and assembly numbering
    • Start number → start number for part- and assembly numbering
    • Profile → profile of the tile battern
    • Name → name of the tile battern
    • Material → material of the tile battern
    • Class → colour of the tile battern
    • Finish → finish of the tile battern
    • Zone → zone of the tile battern
    • 

Image
m154 - offset panlat center.png


    → offset left and right of the tile batten measured relative to the centerline
    • 

Image
m154 - offset panlat boven.png


    • → offset left and right of the tile batten measured from the top


A)

  

Image
m154 - afstanden gelijk.png



    • Spacing between the tile battens
    • Spacing between the 2nd and the 1st tile batten
    • Spacing between start tile batten and the 1st tile batten (can be overruled in detail)
    
B)

  

Image
m154 - eerste en laatste afstand gelijk.png



    • Spacing between end tile batten and the last tile batten (can be overruled in detail)
    • Minimum and maximum spacing between the tile battens → this depends on the number of tile battens and the available space. The optimal spacing is calculated and determined depending on this minimum and maximum space
    • Spacing between start tile batten and 1st tile batten (can be overruled in detail)


m154 - Wooden roof Tile battens - Counter battens

  

Image
m154_Counter_Battens.png



Counter battens
    • Create → the options are:
        ○ Create counter battens
        ○ Dont create counter battens
    • End offset → Offset between the edge of the element and the end of the counter batten (can be overruled in detail)
    • Max length → Maximum length of the counter battens, measured from the gutter, a new counter batten will be created after this value
    • Start offset → Offset between the edge of the element and the start of the counter batten (can be overruled in detail)
    • Prefix → prefix for part- and assembly numbering
    • Start No → start number for part- and assembly numbering
    • Profile → profile of the tile battern
    • Name → name of the tile battern
    • Material → material of the tile batten
    • Class → colour of the tile batten
    • Finish → finish of the tile batten
    • Zone → zone of the tile batten
    • Alignment of outer counter battens → possibility to align the outer counter battens on the outside of the outer rafters, otherwise they will also be centered.


Contextual toolbar

  

Image
m154 - mini werkbalk.png



    • Button 1 → Activate DM mode tile battens
    • Button 2 → Activate DM mode counter battens
    • Field 3 → Modify tile battens
    • Field 4 → Modify offset tile batten left
    • Field 5 → Modify offset tile batten right
    • Field 6 → Modify number of tile battens

MIND THE FOLLOWING :
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D)


Direct Modification
Tile battens:

  

Image
m154 - dm panlatten.png



• By clicking a number, the edit mode opens and the number can be changed. After leaving the field, changes are made.
• By clicking arrow points or lines, you can drag and edit these.

Counter battens:

  

Image
m154 - dm tengels.png



• By clicking a number, the edit mode opens and the number can be changed. After leaving the field, changes are made.
• By clicking arrow points or lines, you can drag and edit these.

m155 - Wooden roof Frame connection

m155 - Wooden roof Frame connection

  

Image
m155.png



m155 is a "hidden" plug-in. If a connection is defined between two beams from a detail, they are connected by m155. The plug-in will then be shown in the panel of M150 as a sub plug-in under the plug-in from which it was activated.

General
    • Direction → the options are:
        ○ 

Image
m155 - loopdoor X.png


        → beam in x direction from element continues
        ○ 

Image
m155 - loopdoor Y.png


        → beam in y direction from element continues
    • Type → the options are:
        ○ 

Image
m155 - haaks.png


        → right angle connection
        ○ 

Image
m155 - verstek.png


         → bevel connection


Contextual toolbar

  

Image
m155 - mini werkbalk.png



    • Option 1 → beam continues in x direction from element
    • Option 2 → beam continues in y direction from element

MIND THE FOLLOWING :
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D)

m156 - Wooden roof Openings

m156 - Wooden roof Openings

  

Image
m156.png



An instance of m156 is added for each opening present in an element. These will therefore be shown separately in the panel of M150.

General
    • Name (Custom)component → name of the detail to be called or the cross section dimensions of the desired beam
    • Settings (attributes) → setting of the detail to be applied
    • Coördinate system (Rotation) → to be applied CS for the detail
    • Offset → offset to be applied in the XY plane of the element
    • Angle → angle rotation to be applied in degrees of the ECS relative to the XY plane of the WCS, the options are:
        ○ 

Image
M150 - ECS.png


        → ECS
        ○ 

Image
M150 - WCS.png


        → WCS
        ○ 

Image
m156 - ACS.png


        ○ → The CS of the negative volume that created the opening is used.
    • 

Image
M150 - knop plus.png


    → add the data entered above to the group selected below
    • 

Image
M150 - knop min.png


    →  delete the line selected below
    • 

Image
M150 - knop pijl omhoog.png


    → move up the selected line
    • 

Image
M150 - knop pijl omlaag.png


    → move down the selected line
    • 

Image
M150 - mark rood.png


    → the edge of the element in the most negative Y direction of the element (usually the gutter)
    • 

Image
M150 - mark groen.png


    → the edge of the element in the most negative X direction of the element (usually the left side)
    • 

Image
M150 - mark magenta.png


    → the edge of the element in the most positive Y direction of the element (usually the ridge)
    • 

Image
M150 - mark geel.png


    → the edge of the element in the most negative Y direction of the element (usually the right side)
    • If there are more edges on the element, they will be displayed clockwise with a number.


Borders can contain multiple details, this is to combine an ECS and WCS detail into 1 detail


Contextual toolbar

  

Image
m156 - mini werkbalk.png



There are no active DM methodes for this plug-in yet.

MIND THE FOLLOWING :
    • Contextual toolbars are only visible when "Direct Modification" is switched on (shortkey D)


Direct modification

  

Image
m156 - dm.png



    • By clicking the text, the edit mode opens and the name of the detail can be changed. After leaving the field, changes are made.

Panel

M150 Panel

M150 works in the traditional Tekla Structures mode, however, in order to use all the potential of M150 it is necessary to activate "Direct Modification". Default shortkey for this is "D". For the panel functionality it is necessary to activate "Direct Modification".

After using M150, the following button appears in side pane:

  

Image
M150 - panel knop.png



With this button we can make the panel for M150 visible. If the panel is visible then it will become visible as soon as an instance of M150 is selected.

If you use a floating pane, it may happen that by disconnecting a screen, the panel is no longer visible. In that case you can make the context menu of the panel visible by right clicking on the button. The following appears:

  

Image
M150 - panel knop contextmenu.png



You can then choose whether you want the panels to be displayed single or stacked. (this applies to all panels, not just those of M150). You can also select "Attach to side pane" here. This causes the M150 panel to be placed back in the side pane. By dragging it out again, you can make it floating again in the new desired position.

Verschillende weergaves van het M150 panel:

  

Image
M150 - panel.png



De basis weergave, er vanuit gaande dat er 2 openingen in het element zijn.
Door de knop eigenschappen te kiezen krijgt u het eigenschappen venster van de desbetreffende plug-in te zien.
Door een andere instelling voor een plug-in te kiezen en daarna op de knop "wijzigen" te klikken worden de gekozen instellingen aan die plug-in toegewezen en uitgevoerd.

  

Image
M150 - panel m151.png



Als er voor een "regel" in het panel een zwart driehoekje verschijnt dan betekend dat er onderliggende gegevens beschikbaar zijn. In het geval van m151 zullen dit de toegepaste details zijn. Als we dan op een detail klikken klapt deze open zodat we ook hier weer wijzigingen kunnen doorvoeren.

  

Image
M150 - panel m151 - detail.png



We kunnen hier dus het detail wijzigen en de bijbehorende instellingen. Door op de knop "Wijzigen" te klikken worden deze doorgevoerd.

  

Image
M150 - panel m152 - m155.png



Bij m152 zien we de m155 verschijnen, deze zit niet direct onder m151 waar de details worden ingegeven omdat de details natuurlijk ook nog een interactie hebben met de sporen uit m152. We kunnen de m155 ook nog aantreffen bij m153 en m156.

  

Image
M150 - panel m153.png



Bij m153 zien we net als bij m151 de toegepast details. Echter deze kunnen hier niet gewijzigd worden omdat deze details gegroepeerd kunnen zijn. Eventuele wijzigingen in m153 moeten dus altijd via de eigenschappen van de plug-in worden aangepast.

  

Image
M150 - panel m156.png



Ook bij m156 zien we de toegepaste details. Als we op een detail klikken klapt deze open zodat we hier wijzigingen kunnen doorvoeren.

  

Image
M150 - panel m156 - detail.png



We kunnen hier dus het detail wijzigen en de bijbehorende instellingen. Door op de knop "Wijzigen" te klikken worden deze doorgevoerd.

Advanced

Coördinate systems

In order to properly set up and apply the roof plug-ins, it is important to know which coordinate systems play a role and how they are defined.
 
All coordinate systems used are orthogonal and right-handed:

  

Image
coordinatensysteem.png



Orthogonal means that the coordinate axes (x; y; z) are perpendicular to each other.
 
Right turning means when:
the x axis is rotated by the smallest angle to the y axis, the positive z axis is obtained.
the y axis is rotated by the smallest angle to the z-axis, the positive x axis is obtained.
the z axis is rotated by the smallest angle to the x axis, the positive y-axis is obtained.
 
Consider driving a screw with the screwdriver perpendicular to the xy plane.
When the screwdriver is rotated the smallest angle from the x axis to the y axis, the screw will move in the positive z direction.

The following coordinate systems play a role when applying the plug-ins:
 
The global coordinate system of the world, indicated with WCS (xw, yw, zw)
The local coordinate system of the element, indicated with ECS (xe, ye, ze)

  

Image
lokaal_assenstelsel.png


 
In addition to WCS and ECS, two more coordinate systems play a role in the development of custom components:
 
The local coordinate system of a part (xp ; yp ; zp).

  

Image
lokale_assenstelsel_onderdeel.png



The coordinate system of the component (xc ; yc ; zc)

  

Image
assenstelsel_component.png



This coordinate system is important in the development of a custom component of the Connection type.
There applies:
 
The origin is in point P1 (specified in the definition of the CC)
xc axis is defined by the line from P1 to P2 (specified in the definition of the CC)
yc axis is defined by the xp axis of the main part
zc-as = xc X yc.

Orientation of a part

In addition to a position, each part also has an orientation in space.
 
The orientation of a part can be described with two angles.
These angles can be queried with CS_Dist (ML030):

  

Image
CS_distance.png



In particular, the angle out of the plane (OOP) of the rafters will play a role in the development of custom components for roof elements. After all, the custom components must be defined in the situation where the roof pitch is zero but they must be applied to situations where the roof pitch will not be zero.

The standard functionality of the Custom component editor does not have the option to request and use the orientation of a part. Construsoft has written a piece of software (customproperties.dll) that allows the IP (angle in the xy plane) and the OOP (angle out of the xy plane) run-time to be retrieved and called from the Custom component editor:

CUSTOM.IP_ANGLE ; Angle in the xy plane in degrees [0, 360]
CUSTOM.OOP_ANGLE ; Angle from the xy plane in degrees [0, 360]
CUSTOM.IP_ANGLE_RAD ; Angle in the xy plane in radians [0, 2π]
CUSTOM.OOP_ANGLE_RAD ; Angle from the xy plane in radians [0, 2π]
Since this is not standard functionality, the call to this function must be typed in.
The most convenient is to request the width of the desired part and then replace Width with the desired value:
  

Image
oop.jpg

Conversion from degrees to radians

When calculating with angles, it is important to know whether the angle is given in degrees or in radians. If the angle is given in degrees but must be in radians in the calculation, then the angle must first be converted from degrees to radians.
 
Conversion of angle α in degrees to radians:

  

Image
conversie_hoek_radialen.png


 
Conversion of angle α in radians to degrees:

  

Image
conversie_hoek_graden.png


 
Example: α=60 [deg]⇒

  

Image
conversie_vb_1.png


 
Example: α=π/6  [rad]⇒
  

Image
conversie_vb_2.png

Trigonometry

Since the custom components have to work at an angle, the CC will have to contain trigonometric formulas.
 
The trigonometric formulas sin (), cos (), and tan () give the relationship between the length of the sides and the angles of a triangle.
 
If the triangle contains a right angle (90 degrees) then Pythagoras holds:

  

Image
Pythagoras.png


 
If there is no right angle, the general formulas will have to be applied:  

  

Image
Geen_rechte_hoek.png


 
Example:
In the ridge detail below are given:
a = the roof slope
b = the height of the rafter
h = the thickness of the ridge batten

  

Image
nokdetail.png


 
Required:
The distances AB and OD
 
Solution:
1 . Distance AB
 
  

Image
afstand_AB.png



2. Distance OD
  

Image
afstand_OD.png

Create details

Introduction

M150 uses CC as a detail, we use three types of custom components for this:
1. Detail : for details in the length direction of a rafter.
2. Seam : for details between the two rafters on the outside
3. Part : for the other details
 
Notes : 
• It is (certainly in the beginning) better to create several similar details with few parameters than to directly create complex details with many parameters.
• The angular displacement of parts in a CC cannot be changed by means of a parameter.
    So if a detail consists of a part that has the same direction as the ECS (such as the support profile) and a part that has the same direction as the WCS (such as the wall plate) then these must be created as two separate CCs. 
 
A detail for the M150 should always be created in the XY plane.

  

Image
platte_X_Y_vlak.png



  

Image
platte_X_Y_vlak_onderdeel.png



For a detail we start with 1 beam which will form the main part of our detail. We always place this beam in the Y direction of our plane.
For a Connection detail we start with 2 beams, the first one will form the main part of our detail and the second one with which the connection is made. We also always place these beams in the Y direction of our plane.
The beams do not have to correspond in size to the beams of our final timber element. The two points we select form the end of our component.

To be applied setting CC

1. Detail -> Zij-details

  

Image
toe_te_passen_instelling_gc.png



  

Image
toe_te_passen_instelling_gc2.png



  

Image
toe_te_passen_instelling_gc3.png



  

Image
toe_te_passen_instelling_gc4.png



2. Verbinding detail -> Goot-, Nok-details

  

Image
toe_te_passen_instelling_gc5.png



  

Image
toe_te_passen_instelling_gc6.png



  

Image
toe_te_passen_instelling_gc7.png



3. Onderdeel : Kilkeper-, Hoekkeper- en opening-details

  

Image
toe_te_passen_instelling_gc8.png



  

Image
toe_te_passen_instelling_gc9.png



  

Image
toe_te_passen_instelling_gc10.png



Het te selecteren punt in het tabblad Geavanceerd hangt samen met de positie van het detail t.o.v. het element. Dus onder detail -> punt onder, rechter detail -> punt rechts onder

Onderdelen in GC

Richting situaties onderdelen:

1. Hoofdonderdeel ligt links, aansluitende onderdeel rechts, alle onderdelen liggen van links naar rechts (x+) of van onder naar boven (y+) Punten liggen van links naar rechts (x+)
2. Onderdelen liggen ClockWise
3. geredeneerd vanuit hoofdonderdeel

  

Image
Onderdelen in GC.jpg



Positionering en opbouw van onderdelen in het detail
Voor details welke in het ECS liggen gelden geen bijzondere uitgangspunten, behalve de hiervoor genoemde. Voor details welke in het WCS liggen gelden wel een aantal bijzondere uitgangspunten, dit omdat er bij de rotatie van GC’s fouten kunnen optreden waardoor onderdelen niet op de positie komen waar ze verwacht worden.
Aandacht punten zijn:
• Relateer afstanden in het GC aan de grensvlakken van het GC, niet aan vlakken van onderdelen. Deze vlakken liggen aan de uiterste onder-, linker- en rechterkant van het detail
• Gebruik het “constructie vlak” met de functie magnetisch om onderdelen te corrigeren op de rotatie richting.

  

Image
koppel aan GC-vlak.jpg



 

Interactie tussen GC-onderdelen en niet-GC onderdelen

Op een element zullen, met name langs de randen, details worden gemodelleerd. Deze details zijn gebruikerscomponenten. Deze GC’s genereren onderdelen en zullen daar waar zij bestaande onderdelen die niet in die GC zitten tegenkomen, interactie moeten hebben met die bestaande onderdelen. In deze context is een bestaand onderdeel een onderdeel dat door een andere GC is gegenereerd of een onderdeel dat door een M150-plugin is gegenereerd. Een GC kent alleen van het bestaan van de invoerobjecten en de door die GC gegenereerde onderdelen af, niet die in andere GC of zelfs het element. 
 
Om in een GC ook niet-GC onderdelen kenbaar te maken is het volgende concept ontwikkeld: 
 
Via de naam van een constructievlak of onderdeel kan aan een GC worden doorgegeven welk niet-GC onderdeel, welke interactie heeft met een GC-onderdeel.  
 
De naam moet voldoen aan de volgende syntaxis.  
[BEW]|[CODE BEAM] [ CODE BEAM] … [CODE BEAM] 
  
Hierin is: 
[BEW]:Dit is het type interactie  
| :Dit is een scheidingsteken 
[CODE BEAM]:Dit is de waarde van een UDA op een niet-GC onderdeel. 
 
● [BEW] 
   De interactie kan een Fit- of Trimbewerking of een uitsnijding zijn. Een Fit- of Trimbewerking kan via een GC-constructievlak worden aangestuurd. Een uitsnijding kan via een GC-onderdeel worden aangestuurd:  
   ○ F 
   Voert een Fit-bewerking uit op het onderdeel met aangegeven [CODE BEAM] 
   ○ T 
   Voert een Trim-bewerking uit op het onderdeel met aangeven [CODE BEAM] 
   ○ CUTBEAM 
   Snijdt het onderdeel met  aangegeven [CODE BEAM] uit 
 
● [CODE BEAM] 
   Een GC kent alleen van het bestaan van de invoerobjecten en door die GC gegenereerde onderdelen af. Deze UDA  wordt op een onderdeel gedefinieerd en kan zowel een gereserveerde als niet-gereserveerde waarde hebben: 
   [CODE BEAM] = [leeg]Gereserveerd voor sporen
   [CODE BEAM] = RAFTERSGereserveerd voor sporen
   [CODE BEAM] = COUNTER_BATTENSGereserveerd voor tengels
   [CODE BEAM] = TILE_BATTENSGereserveerd voor panlatten
   [CODE BEAM] = PLATE Gereserveerd voor platen
 
Speciaal voor de Fit-bewerking is er nog een uitzondering, als er voor [CODE BEAM] een * geplaatst wordt, dan worden alle balken die dit constructievlak kruisen en nog niet van een fit-bewerking zijn voorzien, op die positie van een fit-bewerkig voorzien. 
 
Enkele toepassingen:  
  
Fit de sporen ter plaatse van de nok via een constructievlak met naam = F|RAFTERS

  

Image
fit_sporen.png



Snijd de sporen ter plaatse van de goot uit ten opzichte van een onderdeel met naam = CUTBEAM 

  

Image
snijd_sporen.png



Fit rafters ; cutout rafters and cutout part with Code beam = ER
  

Image
fit_rafters.png

Bewerkingen

Negatief volume definiëren:

Om een negatief volume te laten genereren in de balken van het HSB element maken we een normaal onderdeel aan (een ligger of een plaat) met de naam “CUTBEAM” en het materiaal “Misc_Undefined”. Let op dat het veld Zone leeg is en dat het onderdeel altijd iets oversized is. In het veld afwerking kunnen we de feitelijke machine benaming doorgeven (Lap, Slot, Housing,…). Als de bewerking alleen op de sporen toegepast moet worden volstaat “CUTBEAM”. Willen we de bewerking ook op ander balken toepassen dan wordt de naam “CUTBEAM|RAFTERS A B”, waarbij de waarde's A B staan voor BeamCodes van balken die voorzien moeten worden van deze bewerking.

  

Image
Details - Cutbeam - model.png



  

Image
Details - Cutbeam - parameters.png



Dit onderdeel zal dan door M150 geconverteerd worden naar een negatief volume welke dan toegepast wordt op de aangewezen balken.


Platen splitsen met een CC:

Voor het splitsen van platen vanuit de afsteunregel gebruikerscomponenten zijn de volgende parameternamen beschikbaar (Let op hoofdletter gebruik!):
 

NaamType
cut_layer1Number 0 - 3 ¹
cut_layer2Number 0 - 3 ¹
cut_layer3Number 0 - 3 ¹
layer1TopDistance
layer1BottomDistance
layer2TopDistance
layer2BottomDistance
layer3TopDistance
layer3BottomDistance


¹ 0 = Niet splitsen
  1 = Splitsen 
  2 = splitsen, daarna de plaat niet naar boven laten doorlopen
  3 = splitsen, daarna de plaat niet naar onder laten doorlopen
 
layer1/2/3 : het activeren van de plaat splitsing op het systeempunt
layer1/2/3Top : de offset van de plaat vanaf het systeempunt naar boven 2)
layer1/2/3Bottom : de offset van de plaat vanaf het systeempunt naar onderen 2)
2) negatief getal gaat andere kant uit.

  

Image
Details - Platen Splitsen.png



layer1Top beweegt de plaatrand vanaf het systeempunt van het detail in de Y richting van het ECS, meestal richting top.
layer1Bottom gaat de andere kant uit. Als cut_layer1 == 2 dan hoeft layer1Top niet aangemaakt te worden en bij cut_layer1 == 3 kan layer1Bottom achterwege blijven.

Boorgaten definiëren:

De afsteunregel details kunnen een boor definitie bevatten. Deze boor definitie moet worden weergegeven met een rond profiel. Dit profiel moet dan de naam “DRILLING” hebben. Hierbij hoort dan ook de parameter "boltGap", deze parameter definieert de afstand waarmee de tengel wordt uitgesneden. Dit gebeurt vanuit het hart van het drilling profiel. Het drilling profiel moet alleen in het hoofdonderdeel van het detail geplaatst worden, dan wordt deze door gekopieerd naar alle sporen in het element. Wordt het drilling profiel op het aansluitende onderdeel geplaatst dan zal deze ook alleen daar gemaakt worden.

  

Image
Details - Drilling - model.png



  

Image
Details - Drilling - parameters.png



  

Image
Details - boring.png



Constructie Vlak (Construction Plane = CP)

  

Image
Details - ConstructionPlane - button.png



  

Image
Details - ConstructionPlane - model.png



  

Image
Details - ConstructionPlane - parameters.png



Een constructie vlak wordt in de details voor meerdere doeleinden gebruikt. De naam is daarbij het sturende middel.
De functie magnetisch heeft geen invloed op de werking van M150, maar kan zeer effectief zijn om onderdelen bij elkaar te houden. Een CP moet altijd opgezet worden door drie punten te kiezen. Deze moeten gezamenlijk een vlak vormen. De functies die dit constructie vlak gebruiken staan hieronder.
 
Balken beëindigen op specifieke locatie:

Om een balk in het ene detail (Detail_2) vanuit ander detail (Detail_1) te beëindigen, kunt u een constructievlak toevoegen. In Detail_1 plaatst u een constructievlak dat het einde van de balk definieert. De naam van dit bouwvlak moet beginnen met F| voor een fit commando en T| voor een trimcommando.  Dan moet deze F| of T| gevolgd worden door de BeamCode die is toegewezen aan de balk in Detail_2. U kunt meerdere BeamCode's gebruiken door ze van elkaar te scheiden met een spatie. Voorbeeld: "F|A B D". Voor sporen is de code "F|RAFTERS".
Voor dit vlak is het niet nodig dat de onderdelen het vlak raken aangezien deze als een ongelimiteerd vlak wordt verwerkt.

Platen beëindigen op specifiek locatie:

Om de platen een specifieke start en/of eindpositie mee te geven vanuit de details kunt u een constructievlak toevoegen. De format van de naam van dit constructievlak is dan als volgt:
[Y-locatie]|PLATE_[]Z-locatie][Layer-index]
Voorbeeld:
S|PLATE_B1 → S = start (goot), Platen Onder layer 1 => Layer -1
E|PLATE_T2 → E = eind (nok), Platen Boven layer 1 => Layer 1
 

Panlatten beëindigen op specifiek locatie:

Om panlatten een specifieke start en/of eindpositie mee te geven vanuit de details kunt u een constructievlak toevoegen.
Met de naam "S|TILE_BATTENS" wordt de start positie voor de berekening van de panlatten bepaald.
Met de naam "E|TILE_BATTENS" wordt de eind positie voor de berekening van de panlatten bepaald.

De lengte van Tengels en Panlatten bepalen:

Om de lengte van de tengels en panlatten te regelen, kunt u een constructievlak toevoegen. In het detail plaats je een constructievlak dat het einde van de lat definieert. De naam van dit constructievlak moet "F|COUNTER_BATTENS" zijn voor tengels en "F|TILE_BATTENS" voor panlatten. Voor dit vlak is het niet nodig dat de onderdelen het vlak raken aangezien deze als een ongelimiteerd vlak wordt verwerkt. Standaard wordt het start en eindpunt van de tengels door de plugin bepaald, echter het is ook mogelijk om deze vanuit de details te bepalen. Ook dit gebeurt met een constructievlak en dan met de naam "S|TILE_BATTENS" voor de start positie (meestal in het goot detail) en "E|TILE_BATTENS" voor de eind positie (meestal in het nok detail).

Lockout Tengels en Panlatten:

Om te voorkomen dat tengels of panlatten in een bepaald gebied van een element worden gemaakt, kunt u een constructievlak definiëren. In de eindeloze richting van het vlak, maar alleen tussen de twee punten van het vlak, worden tengels of panlatten die dit gebied kruisen, niet gegenereerd. Om op te geven wat moet worden geblokkeerd moet de naam van dit constructievlak voor tengels "Lock_M152" en voor panlatten "Lock_M154" zijn.

Losse onderdelen

Alle onderdelen uit een GC worden automatisch toegekend aan het merk. In bepaalde gevallen willen we echter dat onderdelen uit een GC niet aan het merk worden toegevoegd. 
Hiervoor is sinds Tekla Structures 2020 SP5 en hoger de UDA “ExcludeFromAssembly” beschikbaar, in het nederlands “Uitsluiten van Merk”. Deze kent de waarden “Ja” en “Nee” waarbij “Nee” de default is. Als in een GC deze waarde op “Ja” wordt ingesteld, dan zal dit onderdeel niet worden toegevoegd aan het merk en dus als een zogenoemd los onderdeel worden uitgevoerd.
  

Image
Details - losonderdeel eigenschappen.png

  

Image
Details - losonderdeel merk.png

Tip Hoek berekening

Hoek berekening in Gebruikerscomponent:
Lees voor meer gedetailleerde kennis het hoofdstuk "Geavanceerd"

In bepaalde situaties zal het nodig zijn om de hoek van het element te weten. Deze is binnen de GC op te vragen middels een template waarde die de propertie.dll aanroept om de actuele helling van het element te verkrijgen. Hiervoor is de volgende parameter in de GC nodig:
 
=fTpl("CUSTOM.OOP_ANGLE","7e037583-c3a9-4bae-9774-0c4fbd33f7f1")

De beschikbare properties zijn:

NameDatatypeLengthDecimalsUnit typeUnit value
CUSTOM.IP_ANGLEFLOAT82AngleDegrees
CUSTOM.IP_ANGLE_RAD 82AngleRadians
CUSTOM.OOP_ANGLE 82AngleDegrees
CUSTOM.OOP_ANGLE_RAD 82AngleRadians

 
Sommige functie in de GC vereisen graden andere radialen, let hier goed op.
De guid is de referentie naar het hoofdonderdeel van de GC.

Voorbeelden:

Stel dat er een GC moet worden ontworpen waarin:
● De sporen worden aangeschuind met een Fitvlak (F|RAFTERS)
● Op de sporen nog een onderdeel (nokbalk) wordt gegenereerd
● De verticale positie (offset) van de nokbalk door de gebruiker instelbaar is.
 
In de ontwerpsituatie van een GC in M150 is de hellingshoek nul.
Wanneer de GC vervolgens in een situatie waarbij de hellingshoek ongelijk aan nul is, wordt toegepast en de GC bevat een fitvlak (F|RAFTERS) dan zullen aanvullende onderdelen ten gevolge van de rotatie een verschuiving ten opzichte van onderkant spoor ondergaan. Deze verschuiving is een functie van de hellingshoek.

  

Image
verschuiving.png



De hellingshoek kan met het volgende statement worden opgehaald:
fTpl("CUSTOM.OOP_ANGLE_RAD","cb373666-e5fa-4b0b-b0d1-4b442f4622bf")

De formule voor de verschuiving wordt dan:
h*tan(fTpl("CUSTOM.OOP_ANGLE_RAD","cb373666-e5fa-4b0b-b0d1-4b442f4622bf"))

Merk op dat in bovenstaande formule de nokplankdikte al in de GC bekend is als h.
 
Nu deze verschuiving in formulevorm bekend is kan een formule voor de offset worden bepaald.
 
Merk op dat bij de definitie van de offset, behalve de naam, type en defaultwaarde, nog twee aspecten moeten worden vastgelegd:
● Referentiepunt van de offset.
● Positieve richting van de offset.
 
Tip: Het is verstandig deze definitie in een document vast te leggen.
 
Hieronder staan twee mogelijke definities voor de offset. De naam van de offset is a.

  

Image
offset.png

   

Image
offset_2.png



                  a is vanuit onderkant spoor gedefinieerd                                      a is vanuit bovenkant spoor gedefinieerd
                  a is de vector van A tot D’                                                                  a is de vector van B tot E’

Beide afbeeldingen tonen de situatie waarbij a = 0. De benodigde correctie is de vector DA (=z).   

De waarde van a is een functie van een aantal parameters. Welke parameters dat zijn hangt af van de gekozen definitie:

a ten opzichte van ok spoor:  a= a(α,h)
a ten opzichte van bk spoor:  a=a(α,h, b, bs)

Hierin is:

α=hellingshoek
h=dikte van de nokbalk
b=hoogte van de nokbalk
bs=spoorhoogte
 

DefinitieReferentiepuntAfstandRichtingOffset functie van
1eOnderkant spoor (A)Ref. pt. tot ok nokbalk (AD’)Positieve Zw-richtingα, h
2eBovenkant spoor (B)Ref. pt. tot bk nokbalk (BE’)Negatieve Zw-richtingα, h, b, bs

 
Stel dat:
DD’ als afstand D1 is gedefinieerd
P1 de waarde van de nokbalkdikte (h) is.
a volgens de eerste definitie is.

Dan kan de verticale positie van de nokbalk in de GC als volgt worden bepaald:
D1 = -P1*tan(fTpl("CUSTOM.OOP_ANGLE_RAD","cb373666-e5fa-4b0b-b0d1-4b442f4622bf"))+a

Stel dat:
BE’ als afstand D2 is gedefinieerd.
P1 de waarde van de nokbalkdikte (h) is.
P2 de waarde van de spoorhoogte (bs) is.
P3 de waarde van de nokbalkhoogte (b) is.
a volgens de tweede definitie is.

Dan kan de verticale positie van de nokbalk in de GC als volgt worden bepaald:

D2 = -P1*tan(fTpl("CUSTOM.OOP_ANGLE_RAD","cb373666-e5fa-4b0b-b0d1-4b442f4622bf"))+
         +P2/cos(fTpl("CUSTOM.OOP_ANGLE_RAD","cb373666-e5fa-4b0b-b0d1-4b442f4622bf"))-P3-a

Tip Afstand bepaling

Bij een afstand waarvan de waarde via een parameter in een GC zal worden bestuurd, is het raadzaam om de positieve richting al in het ontwerp vast te leggen. 
 
Toelichting

Wanneer in een GC een punt aan een vlak wordt gekoppeld dan wordt er een GC-afstand gedefinieerd.
Een dergelijke afstand heeft behalve een grootte ook een richting:

  

Image
Afstand_Bepaling_1.png


 
Welke richting positief is, wordt bepaald door het ontwerp: 

  

Image
Afstand_Bepaling_2.png


 
Bij definitie van een GC hebben de onderdelen al een bepaald ontwerp voor wat betreft geometrie en onderlinge ligging . 
Wanneer er vervolgens GC-afstand wordt gedefinieerd dan bepaalt het ontwerp de positieve richting daarvan. 
 
Als  de afstand in het ontwerp gelijk is nul dan zal Tekla de positieve richting zelf kiezen. De kans bestaat dan dat Tekla de verkeerde richting kiest met als gevolg dat wanneer de GC-afstand via een parameter wordt bestuurd dat die parameter niet reageert zoals verwacht. 
 
Om dit probleem te voorkomen is het bij GC-afstanden waarvan de waarde via een parameter kan worden bestuurd, raadzaam om het ontwerp al de positieve afstand te laten bevatten.

Course material

Ridge detail

We start by setting up two beams which will form our main and secondary part.

  

Image
Course-Ridge-00



Pay attention to the correct work plane and the direction of the beams.

Next we add the ridge beam, with an overlap of more than 1 mm so that we can later change this beam in length from the detail.

  

Image
Course-Ridge-01



Next we select the following button in the Applications and components database.

  

Image
Course-Ridge-02



After that we select "Define custom component" in the pop-up menu

  

Image
Course-Ridge-03



From now on use the setting in the images. PLEASE NOTE the black framed settings, this can only be set when creating a detail and cannot be adjusted afterwards.

  

Image
Course-Ridge-04



  

Image
Course-Ridge-05



  

Image
Course-Ridge-06



  

Image
Course-Ridge-07



  

Image
Course-Ridge-08



  

Image
Course-Ridge-09



  

Image
Course-Ridge-10



  

Image
Course-Ridge-11



To finish creating the detail click "Finish".

  

Image
Course-Ridge-12



Congratulations, you have created your first detail, recognizable by the green symbol.

  

Image
Course-Ridge-13



If we now apply this detail in the WCS we see the following:

  

Image
Course-Ridge-14



So we still have to make some changes.

You can now continue working on detail N1, for educational reasons the detail name in the examples is always increased by 1.

Now select the detail and click right mouse button, next select "Edit Custom Component" in the pop-up menu.

  

Image
Course-Ridge-15



Now we can edit the detail

  

Image
Course-Ridge-16



First, we are going to connect the points of the ridge beam to the sides of the main and secondary part.
We do this by selecting the beam and then selecting the point and clicking the right mouse button. Next select "Bind to Plane". 
NOTE: In the dialog box "Custom component editor " the list box must be set to "Boundary planes".

  

Image
Course-Ridge-17



When selecting, the planes will highlight and they are selected by clicking.

  

Image
Course-Ridge-18



Next we select the following button:

  

Image
Course-Ridge-19



To open the following dialog, here we can see two lines that we have created when binding.

  

Image
Course-Ridge-20



We will modify these two lines, in column "Formule" we change the value in "0", if it is already set to "0" then you must delete the bindings, extend the beam and bind the points again. We also change the text in the column "Label in dialog box".

  

Image
Course-Ridge-21



We now see that the model has also been modified, the beams now connect to the main and secondary part.
Additional we also make the profile permanently adjustable:

  

Image
Course-Ridge-22


Next we close the Custom component editor by clicking the following button.
  

Image
Course-Ridge-23



After applying the detail we see that the ridge beam is now adapted to the width of the element.

  

Image
Course-Ridge-24



And our detail now includes parameters to enter the desired values.

  

Image
Course-Ridge-25



The next step is that we will provide the rafters with a fit plane, for this we open our detail again in the Custom component editor and hide the main and secondary part and choose the following button in the dialog, create a Construction Plane (CP).

  

Image
Course-Ridge-26



We next select the first point at the bottom left of the ridge beam, then bottom right, then top right and then close with the middle mouse button. The result should then look something like this.

  

Image
Course-Ridge-27



We select the CP and we modify the properties below

  

Image
Course-Ridge-28



  

Image
Course-Ridge-29



We make the CP magnetic because this prevents problems with the steeper roof slopes.
We will also link the points to their respective sides of the main and secondary part, next set the variables to invisible because we do not have to affect them anymore.

  

Image
Course-Ridge-30



OK, we'll close the Custom component editor and check our result.

  

Image
Course-Ridge-31



However, if we adjust the profile thickness, it will not work properly, this is because it is not yet linked to the correct plane. It is also possible that the points of the ridge beam are not properly positioned.
So we are going to adjust it first.

  

Image
Course-Ridge-32



  

Image
Course-Ridge-33



  

Image
Course-Ridge-34



Now we are going to bind the ridge beam to the extremes of the component, for this we select the option "Component planes" in the list box.

  

Image
Course-Ridge-35



We select both points of the beam and bind them to the vertical plane of the component. Next we switch to outline planes again and bind the CP at once (without selecting the points) to the inside of the ridge beam.

  

Image
Course-Ridge-36



Now that the constraints are in place, the next step is to make the position of the ridge beam adjustable. To do this, we move the ridge beam upwards by, say, 10 mm in the detail and constrain the points to the underlying component planes.

  

Image
Course-Ridge-37



We then add a parameter called ‘Ridge beam offset’ and adjust the parameters created by linking the ridge beam points to the XY plane, as shown in the figure below.

  

Image
Course-Ridge-38



The ridge beam is now exactly 25 mm above the bottom edge of the rafters, but if it were supposed to be 25 mm from the bottom corner of the rafter, we’ll need to make some adjustments.

  

Image
Course-Ridge-39



This requires a few parameters and formulas:

  

Image
Course-Ridge-40



V1 = Roof pitch in radians

V2 = Width of the ridge board

P2 = The height correction due to the ridge board’s thickness displacing the center of the rafters

 

Formula for determining the correction distance:

P5=P3*(tan(fTpl(“CUSTOM.OOP_ANGLE_RAD”,”Reference to RAFTER”)))

When we incorporate this into the variables of our detail, it looks like this:



  

Image
Course-Ridge-41



In P3, we create a reference to the height of our ridge beam.
In P4, we create a reference to the width of our main component; not that we need to know this, but we require the GUID for the next parameter.
In P5, we then enter this formula, which includes the GUID of the main component.
PLEASE NOTE: the GUID changes every time you open a user component, so it is not a fixed value.
We then adjust the formula used to control the height of the ridge beam with this new value, D9=P2-P5 and D10=P2-P5.
(You may receive a message regarding the calculation; in this case, it can be ignored)


  

Image
Course-Ridge-42



If we want to determine the position of the ridge beam from the top of the rafter, this value must be adjusted by the vertical height of the rafter.
P6 = the height of the Rafter in WCS
Formula to calculate the vertical dimension of the rafter:
P6=fP(Width,”reference to Rafter “)/(cos(fTpl(“CUSTOM.OOP_ANGLE_RAD”,” reference to Ridge beam”)))

And, of course, adjust the formula for the offset, D9=P6-(P2-P5) and D10=P6-(P2-P5).
  

Image
Course-Ridge-43
Image
Course-Ridge-44

Goot detail

We start by setting up the beams.

  

Image
Course_gutter_00



Because our gutter detail includes components that lie both in the world coordinate system (WCS) and the element coordinate system (ECS), we create two sets: one for the WCS detail and one for the ECS detail.

For the WCS detail, we assign the end beam. For the ECS detail, we assign a beam for the future notch (keep), a batten for supporting the last roof batten, and the roof batten itself.

Make sure to correctly fill in the Zones so the components appear properly in, among other things, the working drawings.

 

Next, we follow the procedure below twice: once for the WCS detail. We make this clear by using the extension _W.
 

Image
Course_gutter_01

 

Image
Course_gutter_02

 

Image
Course_gutter_03

 

Image
Course_gutter_04

 

Image
Course_gutter_05

 

Image
Course_gutter_06

 

Image
Course_gutter_07

 

Image
Course_gutter_08


Then repeat once more for the ECS detail, using the extension _E.
 

Image
Course_gutter_09


See the previous images.

Once both details have been created, we can link them to a roof element for verification.
  

Image
Course_gutter_10

 
Naturally, it’s not yet correct—we still have static details without connections or parameters.

So, choose “Edit user component,” starting with the WCS detail:

Image
Course_gutter_11


First, connect the end beam to the “outermost rafters.”
Pay attention to your plane settings:

Image
Course_gutter_12

 

Image
Course_gutter_13

 

Image
Course_gutter_14


For more detailed explanation on how to handle this, refer to our training manual on creating user components.

In the WCS detail, we need to define the fit for the rafters, which we do using a construction plane:
 

Image
Course_gutter_15


We use the outer points of the end beam as the position for the construction plane. Then verify that the name of the construction plane is correct:
  

Image
Course_gutter_16


 
In this case: F|RAFTERS, because only the rafters should respond to it.

Because we want to be able to move this beam later, and the end dimension (profile) will most likely not match the rafters, we perform these steps:

  • Adjust the end dimension

  • Move the reference points upward so the beam offset is determined from the top of the rafters

  • Move the end beam in the Z-direction so we can move it from top to bottom using a positive parameter value
      

Image
Course_gutter_17


Now we create some parameters:

Image
Course_gutter_18

 

  • P1 to control the profile of the end beam
  • P2 for the offset of the end beam

Assign P1 directly to the beam profile.

 

Before assigning P2, more steps are needed.
In the WCS detail, we cannot simply link P2 to the top of the rafters. To maintain correct calculations, we must measure from the bottom of the detail. Therefore, we link the beam points to the bottom of the component.
  

Image
Course_gutter_19



Now we create a series of parameters to determine the position of the end beam. This requires some geometry knowledge:

  • Sine(angle) = opposite / hypotenuse

  • Cosine(angle) = adjacent / hypotenuse

  • Tangent(angle) = opposite / adjacent

      

Image
Course_gutter_20


For a more detailed explanation, see “Advanced – Trigonometry/Geometry”

  

Image
Course_gutter_21


 
Parameters:

  • P3 = final combined formula

  • P4 = fP(height, reference to EB)

  • P5 = tan(fTpl("CUSTOM.OOP_ANGLE_RAD", reference to rafter))

  • P6 = P4 * P5

  • P7 = fP(width, reference to rafter)

  • P8 = cos(fTpl("CUSTOM.OOP_ANGLE_RAD", reference to rafter))

  • P9 = P7 / P8

 

Explanation of tangent calculation:

 

Tangent (angle) = Opposite side / Adjacent side

→ T(h) = O/A → 2 = 6/3 → 6 = 2*3 → O = T(h)*A

Cosine (angle) = Adjacent side / Hypotenuse

→ C(h) = A/S → 2 = 6/3 → 3 = 6/2 → S = A/C(h)

 

And because a user component cannot process this as separate parameters, we ultimately combine these formulas in P3. We must do this in, for example, Notepad, because the copy-paste actions cannot be executed in steps in the Variables window.

 

P3 = P9 + P6 – P2

P3 = (P7/P8) + (P4*P5) – P2

P3 = (fP(Width,"reference to RAFTER") / cos(fTpl("CUSTOM.OOP_ANGLE_RAD","reference to RAFTER"))) + (fP(Height,"reference to EB") * tan(fTpl("CUSTOM.OOP_ANGLE_RAD","reference to RAFTER"))) – P2

 

Now we could remove parameters P4 through P9, but just leave them as they are so that you can easily adjust them if you need to make changes later. Furthermore, we do not want to see these parameters in the user properties of the detail, so we make them invisible. And if we have entered P3 for D3 and D4, we make those invisible as well.

  

Image
Course_gutter_22


Next, link the construction plane to the main and secondary parts.

Image
Course_gutter_23


Do not forget to set the visibility of these linked values to invisible.

Continue with the ECS detail:

Image
Course_gutter_24


Link points to the outer rafters.

Image
Course_gutter_25


Create parameters for positioning the roof batten:

  

Image
Course_gutter_26
  • P1 = desired offset from element end (e.g., 150 mm)
  • P2 = final combined parameter

  • P3 = fP(width, reference to RAFTER)

  • P4 = tan(fTpl("CUSTOM.OOP_ANGLE_RAD","reference to RAFTER"))

  • P5 = P3 * P4

Explanation of tangent calculation:

Tangent(angle) = Opposite side / Adjacent side

→ T(h) = O/A → 2 = 6/3 → 6 = 3*2 → O = A* T(h)

And because a user component cannot process this as separate parameters, we ultimately combine these formulas in P3. We must do this in, for example, Notepad, because the copy-paste actions cannot be executed in steps in the Variables window.

P2 = P5 + P1

P2 = (P3*P4) + P1

P2 = (fP(width,"reference to RAFTER") * tan(fTpl("CUSTOM.OOP_ANGLE_RAD","reference to RAFTER"))) + P1

We will link the points of the counter batten to the outermost component plane.
 

Image
Course_gutter_27



And at D7 and D8, we enter =P2 to process the position.

 

Now we could remove parameters P3 through P5, but just leave them as they are so that you can easily adjust this if you need to make changes later. Furthermore, we do not want to see these parameters in the detail's user properties, so we make them invisible. And if we have entered P2 at D7 and D8, we make these invisible as well.
  

Image
Course_gutter_27



Now we are going to link the top of the beam to the top of the tile batten.

To do this, we create parameter P6 with the value 25 and link it to the top surface of the tile batten.

  

Image
Course_gutter_28


After which we assign the value of P6 to D9 and D10, and don't forget to set them to invisible.

  

Image
Course_gutter_30



If we can determine the position of the beam and the tile batten, it is useful to also be able to determine the starting position of the counter battens to the tile battens.

For this, we use a construction plane:
  

Image
Course_gutter_31


This is a plane defined by 3 points; please note that once you have selected the three points, a plane is always created that is larger than the plane of the 3 selected points.

We define two: 1 for the battens and 1 for the counter battens.

Image
Course_gutter_32


For the construction plane (CP) for the battens, we enter “F|TILE_BATTENS” in the name field under the properties, and “F|COUNTER_BATTENS” for the counter battens.

Image
Course_gutter_33


We then link the CP of the battens to the top of our batten and that of the purlins to the top of the batten rail. We can do this by selecting the points and linking them to a beam plane, but for a CP you can also simply select the CP and then choose “link to plane” directly.

  

Image
Course_gutter_34



The result is then that, instead of 3 points per area that we need to check, we now have only 1:

  

Image
Course_gutter_35


And because there is only one per face, we don't need to create a parameter either, but can use it directly in our detail and immediately set the default value to 0.

Image
Course_gutter_36


Next, we will create a notch; this can be done with a beam or a plate. If we use a beam, we “control” the notch position using the points and the notch dimension using the beam's profile size. With a plate, we can “control” the notch dimension using the points, but for the position, we must work with the plate thickness. Since our detail consists of two parts, we will use both.

In our E detail, the plate, and in our W detail, the beam.

Placing and controlling a plate as a notch;

  

Image
Course_gutter_37


We assign the plate points to the underside of the tracks at the location of the already placed notch line. Note: the points must lie at least 1 mm outside the planes to be cut. We also shift the points on the “underside” so that they lie well outside the detail. This ensures that this notch can also work on the beam in our W detail.

 

We make the following changes in the plate properties:

Image
Course_gutter_38



First, the position. By assigning an offset of -1 mm in this case to the depth position, we ensure that the notch is positioned 1 mm below the tracks. Naturally, we must compensate for this in the thickness of the plate used as the depth of the notch.

We change the name to “CUTBEAM|RAFTERS EB”, where CUTBEAM stands for the machining operation, RAFTERS indicates that the tracks must be notched, and EB indicates that our end line in the W detail—which we will assign the Beam code EB—must also be milled.

Additionally, under Finishing, we can enter the name of the negative volume, in this case “LAP”.

Note: The milling on our end line will also be named “LAP” as a result. If we want to be able to send this operation to a sawing machine, we will need to create two of these operations: one for the tracks with the finish “LAP” and a second for the beam with the Beam code EB and the name “LONGITUDINAL CUT”.

Time for the parameters:
 

Image
Course_gutter_39


And then attach the points to the sides of the tracks, the back surface of the notch line, and the underside of the tracks, and make them invisible immediately.
 

Image
Course_gutter_40



We link parameters D19 and D20 to the track height value so that it is essentially always large enough. And we create an extra parameter P9 to control the plate thickness. (Note: We must also increase the thickness here by 1 mm due to oversizing).

  

Image
Course_gutter_41



And to finish everything off neatly, we also connect the milling to the bottom of the detail.

  

Image
Course_gutter_42



The final step is now to link the notch rule to the bottom surface of the detail and to make those parameters controllable with parameter P7, Notch length.

  

Image
Course_gutter_43



  

Image
Course_gutter_44


Our detail interface should now look (approximately) like this:
  

Image
Course_gutter_45


(I have already adjusted a few values ​​for testing).

To finalize our tie rod, we now need to correct the plates and be able to change the tie rod header size; in this situation, we will manage this from our ECS detail.

First, we are going to make the tie rod header size adjustable. We do this using 3 variables: “Height” and “Width,” which are visible, and one additional profile, with which we implement this change. We could do this immediately, but we will need the profile later, so it is more convenient to do this in two variables.
 

Image
Course_gutter_46


Now return the bottom plate of the element to the Keep line.

We do this again using a construction plane, which we place 10 mm away from the Keep line. Connect the outermost points to the tracks and then connect the construction plane to the front face of the Keep line. The parameters then look as follows:
 

Image
Course_gutter_47


Since D27 is all we need to determine the starting point of the plate, it is not necessary to define it as a separate P parameter.

The format of the name of this construction plane is then as follows: [Y-location]|PLATE_[]Z-location][Layer-index]. Where Y can have the value “S” = start” or “E” = end, followed by “PLATE_”. Then the position relative to the element “T” = top or “B” = bottom, followed by the plate layer number. This makes the name of this construction plane “S|PLATE_B1“.
  

Image
Course_gutter_48


 

Absenden