2010-11-19 03:43 PM - last edited on 2023-05-23 02:53 PM by Rubia Torres
2010-11-20 10:10 AM
2010-11-20 02:56 PM
!if hor = 0 then do extrude 5,0,0,gesamt,48, sumw,0,0, sumw+wl/4,h,0, sumw+wl/2,h,0, sumw+wl*3/4,0,0, sumw+wl,0,0 sumw=sumw+wl while sumw<v !else ! rotx 90 ! roty 90 ! do ! extrude 5,0,0,v,48, ! 0,sumw,0, ! h,sumw+wl/4,0, ! h,sumw+wl/2,0, ! 0,sumw+wl*3/4,0, ! 0,sumw+wl,0 ! ! sumw=sumw+wl ! ! while sumw<gesamt !endifThis is an if/then statement for the direction of the corrugations in the sheet. The simplest solution is to reverse the commented out sections so the code reads like this:
!if hor = 0 then ! do ! extrude 5,0,0,gesamt,48, ! sumw,0,0, ! sumw+wl/4,h,0, ! sumw+wl/2,h,0, ! sumw+wl*3/4,0,0, ! sumw+wl,0,0 ! ! sumw=sumw+wl ! ! while sumw<v !else rotx 90 roty 90 do extrude 5,0,0,v,48, 0,sumw,0, h,sumw+wl/4,0, h,sumw+wl/2,0, 0,sumw+wl*3/4,0, 0,sumw+wl,0 sumw=sumw+wl while sumw<gesamt !endifThis object will only do the horizontal corrugations, like the original only does vertical. If you want to spend more time, you could uncomment all the code and add a parameter hor that controls whether the corrugations are horizontal or vertical.
2010-11-20 03:34 PM
Dave wrote:Try OBJECTiVE. It adds tools to easily cut/rotate objects in 3D. With your roof, for example:
I tried to draw it by the object 'Profiled Sheet Inc 13' from the archicad library 2010. The problem I have is the direction of the slope. I want the sheets to lay in the other direction put I can't find how to do this?
2010-11-20 10:55 PM
2013-12-02 01:51 PM