We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Bad Hatching with cutplane

Anonymous
Not applicable
Hy all

We don't understand why when we put transformations beetween a boolean CUTPLANE and CUTEND, the vectorial hatchings move and are not the same in the different cases. When we active the cutplane the 3D model is good but bad for the original.

If somebody have a explanation idea or solution ? Thanks a lot.

We join the 3D script and a image in the 3D window
******3D script ****************
IF coupe THEN ! boolean
MATERIAL mat_coup ! material section plan
ADDZ h_coupe
CUTPLANE a_coupe
DEL 1
ENDIF

MATERIAL mat_box !vecto hatch material
BLOCK A, B, ZZYZX !Box 1

ADDX A+A*.5 !transfo 1
rotz 10 !transfo 2
BLOCK B, A*1.5, ZZYZX !Box 2
del 1 !del transfo 2

ADDX A+A*.5 !transfo 3
rotz -10 !transfo 4
BLOCK A, B, ZZYZX !Box 3
del 1 !del transfo 4

ADDX A+A*.5 !transfo 5
roty 30 !transfo 6
BLOCK A, B, ZZYZX !Box 4

IF coupe THEN CUTEND
DEL TOP


1 REPLY 1
Anonymous
Not applicable
here a solution but I don't like it and it's not really clean

MATERIAL mat_coup ! material section plan

IF coupe THEN ! boolean
ADDZ h_coupe ! high of the cut plan section
CUTPLANE a_coupe
DEL 1
else
ADDy -10*A ! we put the cut plane away from the objet
CUTPLANE 90
DEL 1
ENDIF

MATERIAL mat_box !vecto hatch material
BLOCK A, B, ZZYZX !Box 1

ADDX A+A*.5 !transfo 1
rotz 10 !transfo 2
BLOCK B, A*1.5, ZZYZX !Box 2
del 1 !del transfo 2

ADDX A+A*.5 !transfo 3
rotz -10 !transfo 4
BLOCK A, B, ZZYZX !Box 3
del 1 !del transfo 4

ADDX A+A*.5 !transfo 5
roty 30 !transfo 6
BLOCK A, B, ZZYZX !Box 4

CUTEND
DEL TOP