cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Lingwisyer
Guru

Complex Profiles

Hi all,

How do you go about pulling Complex Profile information then creating an extrusion from said information?



Ling.

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
9 Replies 9
David Maudlin
Rockstar
Ling:

Here is an example part from Graphisoft.

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC29 USA Perpetual • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro OSX14 | 36 gb ram
Lingwisyer
Guru
Coolios. So I was looking at the right thing. Just need to figure out how to incorporate it.


Can you pull the profiles height?

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
Lingwisyer wrote:
Can you pull the profiles height?
Profiles are just a shape, they don't have a height or length.
When you extrude, tube, revolve, etc., the shape, that is when you give it a length or height.

Unless I am misunderstanding what you mean.

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
Lingwisyer
Guru
_cprism does not define a height. I just have a buffer of nodes and an extrusion length. Is there a way to find the difference between the highest and lowest value of Y within the buffer?

The aim is to shift the profile above zero.


Ling.

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
CPRISM_ is just the same as a PRISM_, but with materials for top, bottom and side surfaces.
The height can be what ever you want to make it - no need to know the max y value in the profile.

To move the profile above zero just 'ADDz' before the CPRISM_

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
Lingwisyer
Guru
Ok, my bad wording... I probably should not use the word "height" as I am not talking about the extrusion amount which is defined as height within the operation...

The extrusion is being use parallel to to another face, hence I am wanting a way to compensate for the Profile Origin. So more accurately, I am wanting the distance from the Profile Origin to it's lowest point.


Ling.

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
Barry Kelly
Moderator
Ah, you want to allow for the size of the profile.

I know in the railing tool when you choose a profile, it will tell you the 'height' and width of the profile.
It will be in the code for the profile railing somewhere.

I will see if I can dig it out - unless you beat me to it.

It may well be a request for the profile height and width - not sure yet.

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
Barry Kelly
Moderator
Found it.
reqComp	= REQUEST ("Profile_default_boundingbox",  ac_railProfileID, _xMin, _yMin, _xMax, _yMax)

_profileWidth	= abs(_xMax - _xMin)

_profileHeight	= abs(_yMax - _yMin)

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
Lingwisyer
Guru
Ah. Have not used a Profiled Rail before so I did not notice that and hence did not think to look there...

Thanks Barry,



Ling.

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

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!