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

Tree Trunk Object

Red
Enthusiast
I'm looking around for an object that would look like the picture I attached. I need for the trunk to flare out at the bottom. I would like to be able to change the diameter to 10", 12", 14", & 16". And it would be nice for the flare to be consistent.

Does anyone here know of an object like this, or is anyone interested in helping me out?

Model (75)JPG.jpg
Thanks,
Red

i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
16 REPLIES 16

Dwight
Newcomer
no problem:

In a GDL object, you put a cone together with a poofy cloud shape. You SWEEP the cloud shape to taper/flare the root form into the trunk.

I made one years ago but am told it doesn't work in V10.
Pioneer element sample.jpg
Dwight Atkinson

Laszlo Nagy
Community Admin
Community Admin
I think the RULED or RULED {2} commands can be used in GDL. You would have to define two curves that would be located on two parallel planes.
Maybe the Column should be modeled using two pieces: the upper piece is a round column, and the lower pieces is the one that would flare out.
....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Dwight
Newcomer
No time to figure it out further.
Attached is embarassing code fragment to do the trick.



CONE hgt, brad/2, trad/2, 90, 90


MULX A/1.125
MULY B/1.177


SWEEP 25, 5,10, stmpflr, 62,
-0.407499, -0.322288, 1,
-0.258684, -0.382795, 900,
0.0, 167.2016, 4001,
-0.126969, -0.474765, 1,
0.106316, -0.375139, 900,
0.0, 164.996, 4001,
0.357439, -0.339304, 1,
0.271734, -0.030916, 900,
0.0, 119.2651, 4001,
0.498865, 0.194606, 1,
0.133436, 0.210387, 900,
0.0, 103.0921, 4001,
0.06603, 0.569892, 1,
-0.055944, 0.482556, 900,
0.0, 120.5257, 4001,
-0.193129, 0.543264, 1,
-0.260393, 0.40047, 900,
0.0, 120.4189, 4001,
-0.417588, 0.386176, 1,
-0.242902, 0.128576, 900,
0.0, 71.6359, 4001,
-0.542418, 0.043944, 1,
-0.369185, -0.100205, 900,
0.0, 119.9755, 4001,
-0.407499, -0.322288, -1,

0,0,0,
0,0,.2*stmpht,
0,0,.5*stmpht,
0,0,.8*stmpht,
0,0, stmpht
LOG COLUMN ANALYSIS.jpg
Dwight Atkinson

Red
Enthusiast
Thanks Dwight that was VERY helpful. I've already added to my drawing. Thanks again for the help that was beyond my GDL abilities.
Thanks,
Red

i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz

Dwight
Newcomer
bill in mail.

The problem is NOT GDL.
That is an easy object to make - five variable, one object call (CONE), one command (SWEEP).
It was no challenge for you to place the code and create the variables in the script.
The problem is that do this you need to visualize the possibilities of such a limiting Geometric language and understand that objects can be inside another (cheating, to a purist) without blowing up the system. You also need to know that 2D shapes can be turned into 3D path instructions by subverting a script.
Dwight Atkinson

David Collins
Enthusiast
Dwight wrote:
The problem is NOT GDL.
I can't resist the opening here to amplify a bit.
Dammit-Jim-I'm-an-architect types can ignore.

GDL gurus raise the bar way to high for the rest of us. There is no shame in learning just a few simple tricks in GDL and ignoring anything that defies comprehension.

Learn: How to move and rotate the origin. How to think in x,y,z space. How to auto-script slabs and fills and then to transform them to more complex objects. The basics of organizing a script with subroutines. How to create parameters for key dimensions and materials.

Cheerfully Ignore: Loops, put-get, complicated drop down lists and graphic interfaces, 2d fragments, status codes, cutplanes, property lists, scripts for text and material definitions, curves in polylines. Call. Special hotspots. All this can become clear when you need it. If ever.

GDL scripting is simple and easy. And you can do anything.
FstP angel.jpg
David Collins
Win10 64bit Intel i7 6700 3.40 Ghz 32 Gb RAM
AC 24.0 (3022 INT FULL)

Dwight
Newcomer
With all respect due a beloved colleague who we will look up when we come over to mooch off Constantine, problem-solving for objects is a distinctly different skill than making the universal parametric object in GDL.

Take the tree trunk object… please.

You can't make an irregular shape like that without understanding what GDL's Prescribed Commands can achieve, but it still requires imagination to put these seriously-limited form tools to work.

Another issue is finding a form generator. I used a cloud shape - a series of connected arcs - to make the bulbous roots - drawing them in 2D and converting the 2D fill code into a path. Just try doing that with polygon nodes!

My point is that while I only have ordinary GDL skills, it is exploiting the simple things that make my objects sing. Or grunt. Take your pick.
Dwight Atkinson

David Collins
Enthusiast
Dwight wrote:
problem-solving for objects is a distinctly different skill than making the universal parametric object in GDL.
Ah. I seemed to have stepped on your point just the tiniest little bit.
I do that sometimes. Sincerest apologies.
David Collins
Win10 64bit Intel i7 6700 3.40 Ghz 32 Gb RAM
AC 24.0 (3022 INT FULL)

Steve Jepson
Advisor
I would like to underscore Dwights point.

I know noting at all about GLD programing.
I can make anything I want with Archicad.
roof thing.jpg

ArchiCAD 25 4013 USA - Windows 10 Pro 64x - Dell 7720 64 GB 2400MHz ECC - Xeon E3 1535M v6 4.20GHz - (2) 1TB M.2 PCIe Class 50 SSD's - 17.3" UHD IPS (3840x2160) - Nvidia Quadro P5000 16GB GDDR5 - Maxwell Studio/Render 5.2.1.49- Multilight 2 - Adobe Acrobat Pro

Dwight
Newcomer
No offense at all taken.

The topic does bring another thing forward to mind: I think that architects HATE code. I would NEVER go close to GDL if writing it wasn't an exquisite puzzle. You seem to have discovered this in your other work, and the fantastic angel. In Canada we have the moose head object. Somebody had a project. Making fine objcts can be fun, but doing so reveals how difficult realism can be - subtle realistic geometry cannot be captured by crude cylinders and blocks as the library from Archicad 6.0 attests.

Most architects, like my avatar does, want to merely wave their arms and make something happen - attesting to the popularity of the wall tool.

Code? What code? As powerful as GDL is, or isn't, the time it takes to solve, form, code and then debug a script is outrageous. Not to mention deriving the user interface and the property data issues.

I fell in love with the puzzle-solving aspect of GDL back before we could draw curved walls. You needed to save a wall and then tweak the code with _BWALL. Yikes. 1994. Our current GDL tools would be helped by color-coding and text formatting in the script, and quicker 3D orienting, but the process is still not architectural and does not service the architectural mind.

But it still isn't architectural rates. All of these delightful games: GDL, rendering, whatever, can't be made to pay what a focused architect can earn. And so it goes. And the commercial object makers see their meticulous work shared all over. Just sell one thing to Russia and "poof."
In St. Petersburg, six guys got together to buy my book. I wonder how the photocopied edition looks.
Dwight Atkinson

Dwight
Newcomer
Steve is on to something: Most architects should simply model their objects with visual tools and save them. This is just one step away from waving the arms. ("Waving" the fingertips).

GDL is only necessary when making parametric objects, where individual parameters adjust formulas that generate object code. The most basic example is that parametric code makes the multi-shelf bookcase possible in just one script. Instead of a different model-turned-object for every possible bookcase variation, the code will execute the script to generate the number of shelves you request.

[jest/taunt] Do that with slabs.
Dwight Atkinson

Rakela Raul
Participant
know noting at all about GLD programing.
I can make anything I want with Archicad.
brave man
MACBKPro /32GiG / 240SSD
AC V6 to V18 - RVT V11 to V16

David Collins
Enthusiast
Dwight wrote:
GDL is only necessary when making parametric objects, where individual parameters adjust formulas that generate object code
There's no doubt that the power and glory of GDL lies in the ability to create parametric variables, but it is also essential for simple object problem solving like the tree trunk. That SWEEP trick is a quick viola with a relatively simple bit of GDL. Why limit yourself to the ArchiCAD interface and remain a lifetime at the mercy of third-party developers?
David Collins
Win10 64bit Intel i7 6700 3.40 Ghz 32 Gb RAM
AC 24.0 (3022 INT FULL)

Dwight
Newcomer
I've seen your fine cathedral window and you are indeed a master coder!

The reason one is at the mercy of third party developers is that one makes money as an architect and to purchase fine objects IS cost efficient regardless of any upcoming storms in that realm. Altho i did buy a $5.00 chair from a certain Russian member to discover that it was not very good close up. (Getwhatyoupayfor.)

It comes down to where you put your problem-solving priorities. I've made many complex GDL objects that cost hundreds of dollars and STILL did not feel well compensated for the time and last minute requests. But it IS so much fun to get a script to work out.

And to make a GDL joke:

When the figure object Woman in Red Dress 65 was not distributed in the more modest parts of the world because she was not covered, i suggested a new "woman" object that would serve to preserve modesty but still provide a scale element in a rendering:

Block 0.4,0.5,1.6
Material "Black"

haha. see?
Dwight Atkinson

David Collins
Enthusiast
No fair talking about profitability!
I wasn't making any money at this before computers, either.

Good GDL joke, though
Try this:

IF adultery = 1 THEN
ADDz 1.40
CUTPLANE
Block 0.4,0.5,1.6
Material "Black"
DEL 2
CUTEND
ENDIF
David Collins
Win10 64bit Intel i7 6700 3.40 Ghz 32 Gb RAM
AC 24.0 (3022 INT FULL)

Dwight
Newcomer
Hahahaha.
Building, like that, on my material.
I don't feel so alone in the GDL humor game.
Dwight Atkinson

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!