cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

odd display of object when viewed in section

SeaGeoff
Ace
Howdy,
I have a 3D joist object, based on one of the joists from the library. My goal is an object that can be placed in plan and show the proper 2D representation for dimensional lumber, blocking, etc. when viewed in section. The object looks fine when first placed but when the S/E window is rebuilt the infill lines, generated from flat planes within the BRICK that defines the joist outline, display a second black line, behind and thicker than the line defined in the parameters. Interestingly this does not happen with the zero depth section option. I’ve included the 3D script below. Any clue? Thanks.

Geoff Briggs
AC 9, Mac


IF gs_shadow=0 THEN SHADOW OFF
IF gs_shadow=1 THEN SHADOW ON

PEN gs_cont_pen

C=ZZYZX
addy -b/2
!addz -c

BRICK A,B,C

SECT_FILL 1, 1,1, Si ! Si = infill pen parameter

D=0
IF InStyle='None' THEN D=0
IF InStyle='Blocking' THEN D=1
IF InStyle='Dimensional' THEN D=2
IF InStyle='GLB' THEN D=3
IF InStyle='Microlam' THEN D=4

GOsub 50-(D*10)

50: del top
END

10: rotx 90
for t = 1 to (b/1/4")-1
addz -1/4"
rect a,c
next t
END

20: for t = 1 to c/1 1/2"
addz 1 1/2"
rect a,b
next t
del top
END

30:
PLANE 4,
0,B,0,
A,B,0,
A,0,C,
0,0,C

40:
PLANE 4,
0,0,0,
A,0,0,
A,B,C,
0,B,C
END

cut joists_good.png
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
4 REPLIES 4
SeaGeoff
Ace
Here’s an image of the joist after an S/E window rebuild.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Anonymous
Not applicable
That is a wish I have for the beam tool. If the column tool can do it in plan view, why can't the beam tool do it in a section view. Pretty soon we will all be doing it.
Anonymous
Not applicable
.... cut ....


BRICK A,B,C

SECT_FILL 1, 1,1, Si ! Si = infill pen parameter
PEN Si ! or ! IF GLOB_CONTEXT = 4 THEN PEN Si

....cut ...

(because there is the projection of the PLANE --> with PEN gs_cont_pen)

CU mirco
www.cad3d.it
SeaGeoff
Ace
As simple as that! Thank you. I'm posting the object for anyone who's interested. There's plenty of room for improvement like getting the microlam infill looking right, adding scale sensitivity, etc. but it works well as is.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x