页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

  1. 将“ Start_2.ghx”代码添加到Grasshopper画布上。
    • 为此,您可以下载此页面底部的zip文件并提取其内容。
    • 然后,通过在Grasshopper窗口中转到“文件” >“打开文档...”,打开“ Start_2.ghx”文件。
    • 现在,您可以通过键盘上的Ctrl + A来选择所有Grasshopper代码,并使用Ctrl + C复制它。
    • 然后转到Grasshopper窗口的右上角,然后单击当前文档的标题(Start_2),以切换回上一步中正在处理的文档。
    • 然后,您会获得所有活动的Grasshopper脚本的下拉列表,因此请打开“ End_1.ghx ”。
    • 现在单击画布,然后按Ctrl + V粘贴“ Start_2.ghx”代码。
  2. 将“拉伸屋顶”组的末端组件链接到“选择屋顶的顶面”组的“解构Brep”组件的Brep输入中。



  3. 该脚本执行以下操作:
    • “选择屋顶的顶面”组将选择屋顶的顶面。
    • 剩下的脚本将采用该面孔并将其用作栏杆的基线。
    • 那么T将使得支撑立柱和横梁的轴。
    • 它还将计算光束轮廓高度的一半。
    • There is still a profile required, however, to complete this step and the following one. We will, therefore, create a profile from step 6 onward.
    • With that profile and the axes, the beams and supporting columns are made as extrusions.
  4. The intermediate result is found in the 'Intermediate_2.ghx' and 'Intermediate_2.dwg' files. (Located in the zip file at the bottom of this page.)
  5. (Optional) Skip the 'Select top face of roof'-group and replace it with a THCAD > Input geometry > Face component. Set to the top face of the roof slab in your THCAD baked building. (Do this by right-clicking on the component, click on 'Set one THCAD face' and select the face in the THCAD drawing). Connect this Face component with a Params > Geometry > Surface component and connect this surface to the correct inputs.
  6. Go to THCAD > BIM Data.
    Drag the Profile Names and the Profile Sizes components onto the canvas.
  7. Select 'HEA' from the dropdown in Profile Names. This dropdown displays all the names of the profiles in the Profile Library of THCAD.
  8. Link the component to the input ProfileName of the Profile Sizes component.



  9. Link the Profile Sizes component to the input node 'List' in a Sets > List > List Item component, where i is set to '4' (right-click on the i input and 'Set integer' to 4). This List Item lets you pick one size from the list with all available profile sizes for the Profile Name linked to it.
    Note: If you link a Params > Input > Panel component to the Profile Sizes output, you will see that the index 4 stands for size 160.


    Link the Profile Names and List Item components to the THCAD > Information > Library Profile component, to get an HEA 160 profile as an output.



  10. To get the curves that make up this profile, attach a THCAD > Information > Profile Info component to the Library Profile. One of the outputs created is the Profile Curves as tree.
  11. Attach a Surface > Freeform > Boundary Surfaces component to the Profile Curves output node. This is to later extrude the surface as a solid, instead of the lines as a surface.



  12. To group together the components just created, select them (with a selection box) and right-click on 'Group'.
  13. (Optional) To rename the group, right-click on the purple rectangle. Rename the group in the upper text box, e.g. to 'Make profile'.



  14. The Boundary Surfaces component should now be linked to the Content input of the Bounding Box component of the 'Calculate half of height of beam'-group. The Boundary Surfaces component should also be linked to the two Profile inputs of the Extrude components in the groups 'Make supporting columns' and 'Make beams'. The extrusions should now show you a railing with HEA 160 beams and columns.
    Image RemovedImage Added

  15. To bake those beams and columns into THCAD attach two THCAD > Building Elements > Bake Building Element components to the Grasshopper canvas.
  16. Do 758pxDo the following:
    • Set the Geometry input to the extrusions.
    • Set the Element Type input to a THCAD > BIM Data > BIM Types component, which is set to BimColumn for the column extrusions and to BimBeam for the beam extrusions.
    • Set the Spatial Location input to the same as the roof.
    • Set the Profiles input to the Library Profiles component from the 'Make profile'-group.
  17. You now successfully created a railing on top of your building. (The full script to do this is in the 'End_2.ghx' file at the bottom of this page, which is linked to the 'End_2.dwg'.)
  18. Bake into THCAD. The profiles are now set to the one in the Grasshopper script. You can still modify the connections of the beams in the corners by using L-Connect in THCAD. (To see the finished building with the railing on top of it, check out the 'End_2_baked.dwg' file at the bottom of this page.)

...