Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

simple 3D complex 2D

Anonymous
Not applicable
Hello all.

I was wondering. Is it possible to create a very simple (let's say a cube) 3D object that produces a complex 2D representation in sections and elevations, not produced by the projection of the model itself?


thank you111.1
5 REPLIES 5
Barry Kelly
Moderator
You can use GLOB_CONTEXT = 4 to determine if you are viewing the object in section or elevation.
The only problem is you can't determine which direction you are looking from (which side of the cube you are looking at) so it will appear exactly the same in all sections and elevations.
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
Anonymous
Not applicable
yes,

but how can it be produced by 2D lines and not a projection of the 3D model?
Do I use the line2 for example in 3D script?


is it possible with the request command to find the angle of the section or elevation?
Ralph Wessel
Mentor
Fotis wrote:
but how can it be produced by 2D lines and not a projection of the 3D model?
Do I use the line2 for example in 3D script?
2D primitives, e.g. line2, won't appear in the elevations. You could use the 3D equivalent, _lin, but you don't know the orientation of the elevation view.
Ralph Wessel BArch
Software Engineer Speckle Systems
Dave Seabury
Advocate
Fotis

I explored this once for an object that i did not want to model.
I got around the orientation issue by producing 3 elevations of the
object and then settign up 3 views in the parameter script. ie if view
1 then............etc. in the elevation i would select the view that matched
the elevation orientation.

it's a pain, but it works.

David
AC 19-26 Windows 10 64 bit, Dell Prercision 7820, Xeon Silver 2414R ( 12 Cores), 64 GB Ram, Quadro RTX 4000 8GB
Barry Kelly
Moderator
Why not model the complex geometry in the 3D script so that it looks correct in any section or elevation.
And then use ...
IF GLOB_CONTEXT = 3 THEN
script simple cube
ENDIF


This way you will only have the simple geometry in 3D (not sure why unless there are an awfull lot of polygons).

Or is there a reason why you don't want to / can't model the complex 3D geometry?

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