cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.

Filleted Detail Marker Clipp Polygon

easyDoesIt
Booster

When creating a detail marker object. There is a parameter called AC_ClippCoord which contains all the coordinates of the detail box/polygon. If the polygon is filleted on all corners then the AC_ClippCoord will contain all the end/start of each line and fillet. However I can't see anything which will tell me which coordinates are filleted.

 

So I am unable to draw the polygon correctly (I could assume the user fillets all corners but that could be disastrous if only some corners were filleted). Interestingly I notice the built-in detail marker by ArchiCAD object doesn't show fillets also?

 

easyDoesIt_0-1706138593843.png

 

Cheers,
Mark
Brisbane, Australia
3 REPLIES 3
Barry Kelly
Moderator

I don't think you need to worry about it.

The polygon is defined by the user when they place the detail marker.

It can be any shape or size depending on the detail you need it for.

Then the polygon can be adjusted buy the user once it has been placed.

That array just stores the co-ordinates of that polygon.

Place a rectangular shape and then fillet/chamfer the corners you want or place it as a free-form polygon.

 

There should be no need for you to manipulate those co-ordinates.

And you wouldn't want to pre-set those values as you don't know the size of the detail.

Besides, when placing the detail, it will probably reset those values as you draw the detail polygon anyway.

 

You can' t pre-set the polygon shape or size before you place it.

The process of placing the detail marker is to draw the polygon on screen.

 

Barry.

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
easyDoesIt
Booster

Hey Barry,

 

I don't need to change the values after drawn by the user but want to know how to draw the polygon with its fillets in the code. Also want to know about the fillets to join the leader correctly on the filleted corners.

 

easyDoesIt_0-1706146931654.png

 

Cheers,
Mark
Brisbane, Australia

You can't draw the polygon with fillets.

You have 4 choices when you place a detail marker.

 

BarryKelly_0-1706147223253.png

 

You place the detail and then fillet the corners.

That array just stores the values of the polygon nodes and will update as the polygon is adjusted.

You won't want to try setting values there yourself - that is why it is hidden from the user.

It is all automatic.

The leader is also automatically joined to the polygon no matter what shape you make it.

So again you won't want to try to control this.

 

All you can control in GDL is the shape of the marker itself and its content.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!