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.

CUTPLANE Problem

Anonymous
Not applicable
I tried make this object (please see picture) by CONE,SPHERE and used CUTPLANE. But I can't cut it in correct position.
How I can make this object in GDL. Please suggest

3Dobj.jpg
2 REPLIES 2
Vitruvius
Booster
Try the following: Draw a cylinder and add an ellipse at the top of the cylinder to form the object. The CUTPLANE command comes before the above object creation and you locate it's origin with the ADD x,y,z (for cutplane) then enter the angle of the cut (which I'd guess you want to be between 0 and 90 degrees from your drawing).

Please note that the brackets are my comments, don't include them in the script.

MATERIAL material
PEN pen

ADD x,y,z (for cutplane origin)
CUTPLANE angle
DEL 1
CYLIND h1,r1
ADDz h1
ELLIPS h2,r1 (h2 = r1 if this is sphere rather than ellipse)
DEL 1
CUTEND

The above will do the basic object, you'll need to add any other transformation statements needed to rotate the overall object. Also, in the 2D Script you'll need to add PROJECT2 3,270,2 for the 2D symbol.

If you're confused about the cutplane, add CIRCLE r after CUTPLANE to help you visualize the cutplane location and angle. Don't forget to put "!" in front of CUTPLANE, CUTEND whilst you're doing this.

Cheers, Cameron
Cameron Hestler, Architect
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
Anonymous
Not applicable
This helpfulness for me, Thank.