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.

Basic Object "Shell"... Can u help us edit it in G

Anonymous
Not applicable
In the Basic Librbay of Archicad 8.1, there is an object called SHELL. It can be tilted, but we want to be able to rotate it through each axis to use it as a fully flexible curved structure.

We added some lines (experimentally!) to the 3D script to make it rotate in each axis. It seemed to work, in section the object looks ok, but the 2D plan view is all over the place.

(We are not experienced in GDL scripting)

If anyone can help us modify this object to that the 2D plan view is correct with the 3D object, it would be appreciated.

Otherwise, if there is an object out there which we can use, can you give us the link?

Thanks!

tim&lochie
4 REPLIES 4
Anonymous
Not applicable
There is a way to make the 2D view be accurate.
It is a crude work around but it works.
Unfortunately, you loose all hotspots
except the bounding box hotspots.

I am making the following assumptions
about what you have done to edit
the "shell" object so far.

1- You want to have rotation about
the "Y" axis of the object (the only rotation missing).
2- You have created an "angle" type parameter
in the parameter list named "yrot" or something like it.
3- You have issued the command ROTY yrot
in the 3D script.

The work-around is to issue a PROJECT2 command
at the beginning of the 2D script and disable
the rest of the script when yrot is not zero.

At the very beginning of the 2D script
type the following.

If yrot<>0 then
PROJECT2 3,270,2
END
endif

You have three choices for how the 2D symbol
appears with the PROJECT2 command
If the 3rd parameter in the command is set to 1
the symbol will be a wireframe top projection
of the 3D model.
If set to 2 the symbol will be a hidden line top projection
of the 3D model.
if set to 3 the symbol will be a shaded top projection
of the 3D model.

Please let us know how it works out.
Peter Devlin
Anonymous
Not applicable
Thanks Peter!
After trying a few times, we got it working.
When the parameter yrot is set to 1,2,3 etc, the plan view is displayed in hidden line (no wire frame or shaded view).
cheers again,
lochie+tim
Anonymous
Not applicable
lochie+tim,
I am confused.
You have apparently made yrot an "integer" type parameter
rather than an "angle" type parameter.
Ah, now I see what you mean.
You mean the PROJECT2 command not the yrot parameter.
If the third parameter of the PROJECT2 command is set to 1
as in:
PROJECT2 3,270,1
The form displays in wire frame mode

if set to 2 as in:
PROJECT2 3,270,2
The form displays in hidden line mode

if set to 3 as in:
PROJECT2 3,270,3
the form displays in shaded mode

HTH,
Peter Devlin
Anonymous
Not applicable
You are right,
we had the project2 command set to 2 in the script (exactly as you posted). I just substituted it with a variable, and created a new linked interface, so we can change the appearance from the object settings window. It all works well now.
cheers