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

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.

I'm trying to make an extrude of a quarter of a circle. What should I do?

LeeJaeYoung
Virtuoso

LeeJaeYoung_0-1686287357099.png

I'm trying to make an extrude of a quarter of a circle.
What should I do?

I'm trying to make an extrude of a quarter of a circle.
What should I do?
Are prism and extrude the same way?

AC27 on window 11
5 REPLIES 5
Barry Kelly
Moderator

If you want it as shown in your image then I would just use one of the PRISM commands.

EXTRUDE is similar, but allows you to move the top and bottom surfaces so they are not directly opposite each other - basically a slanting or leaning prism.

 

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
LeeJaeYoung
Virtuoso

I can draw a circle, but I can't do it because I don't have a concept yet. It doesn't work well at 3000, 4000, etc.

AC27 on window 11
LeeJaeYoung
Virtuoso

wait a minute
It seems to have been made. ^^
It seems to make some sense.

You seem to bring me happiness.
Until I heard your answer, I was struggling with the manual book.
I was thinking about the concept while reading your article... ^^

AC27 on window 11

Do what I do if you don't want to figure out the code for a polygon/prism - cheat.

 

Draw the fill you want in an object 2D Symbol window (minimise that window so it is floating).

Select the fill and drag (CTRL+D) it into the 2D script.

 

This will give you the script for that fill.

It may give you 2 polygon scripts (one is the perimeter with no fill and one is the fill with no perimeter).

It doesn't matter, you just want the code for the nodes.

Copy them and use them for your PRISM command in 3D script.

Just change the mask codes to 15 instead of 1, so you can see the PRISM edges.

Or better still 15+64, so you see the edge of the curved surface from any angle.

 

BarryKelly_0-1686291071548.png

 

You should end up with something like this.

 

BarryKelly_1-1686291393588.png

 

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

ah!
You can do it like this.
Knowing what you know and knowing how to use it are very different. ^^
I didn't know how to use it like this. ^^
I've never used it in 2D... ^^

thank you
When I write to you, there are many cases where you can see a new way out of an unsolved problem. ^^

Today you don't give me meat, you teach me how to fish. thank you. ^^

AC27 on window 11