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

Project2{4} Usage

Lingwisyer
Guru
Hi all,

When using Project2{4}, is the second set of definitions the infinite cut plane settings as in the guide it says "...(numCutplanes+1)"? Anyway, I am trying to get a projection at a defined height through my object, but I seem to only get the uncut projection...

PROJECT2{4} 5, 90,					!projection_code, angle,
	0, 1+2,								!useTransparency, statusParts,		
	1,									!numCutplanes,
	b/2 + gs_fw_lower - gs_fw_upper,		!cutplaneHeight1, ..., cutplaneHeightn,

	2, 1+2+4+8+64,						!method1, parts1,
	gs_fill_type,							!cutFillIndex1,
	gs_fill_pen, gs_back_pen,				!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,								!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	1,						!cutLinePen1, cutLineType1,
	65,									!projectedFillIndex1,
	19, 19,								!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,								!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 1,						!projectedLinePen1, projectedLineType1

	2, 1+2+4+8+64,						!method1, parts1,
	gs_fill_type,							!cutFillIndex1,
	gs_fill_pen, gs_back_pen,				!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,								!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	4,						!cutLinePen1, cutLineType1,
	65,									!projectedFillIndex1,
	19, 19,								!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,								!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 4						!projectedLinePen1, projectedLineType1

Also, how do I go about defining the wall closure? Even just simple closing lines matching the wall cut lines.


Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
20 REPLIES 20
Lingwisyer
Guru
I suspect that the cutplane function in this command is purely to create contours, and not actually cut anything...

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Lingwisyer
Guru
There is also the wall beyond which appears to get excluded from the cut...

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Lingwisyer
Guru
Using WALL_SECT_PEN and WALL_VIEW_PEN I figured I could manually draw the wall but it would appear that that lines drawn do not follow the pens lineweight. Also, the earlier Project2 does not use fills, so the wall line below is not hidden by projections beyond the face of the wall... Though this might be due to the workaround to getting a plan section through the object.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Lingwisyer
Guru
Hm. The wall beyond does not show in section either... So I am guessing that the default windows draws a plane around each of the wallhole sides which can be chosen to match the wall side or wall edge material, and it is this that is seen beyond in plan and section.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Barry Kelly
Moderator
If we leave you long enough, it looks like you might work it all out.

What is the 3D part that you are trying to project?
I have never used Project2{4} but if we know what you are trying to project and what you are expecting it to look like, then maybe someone can offer some advice.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
It is the same object I was previously working on. Creates horizontal or vertical user defined battens or louvres within a frame. It was initially only used as a custom door leaf or a window sash, but I thought I might try to make it into an actual window. I decided to not try and add it into the door script itself, rather than a custom leaf, as though that would allow per instance modification, it would require a lot of digging through the macros and the need to rework the Interface Script at some unknown stage in the macros...

So now I have run into all the issues with it's 2D display. I could possibly draw the plan manually ignoring any custom profiles which would probably be easier. I have gotten the section working minus the wall beyond.

Project2{4} does not work how I initially thought it would. The result for my object is the same as using Project2... At the current time, I have created my plan view using the method in thread. This might be the cause of the lack of cut fills...


The Section with the vertical option looks how I want the Plan with the horizontal option to look like short the wall beyond.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
Barry Kelly
Moderator
I just had a look at PROJECT2{4} - good luck.

Maybe this will help.
It is the best example I can find so far.

http://gdl.graphisoft.com/tips-and-tricks/using-project24-command

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Barry Kelly
Moderator
Is it the opening lines that you are worried about?
The PROJECT2 should be able to have a fill that hides those lines.
I think even the PROJECT2{2} would work with a SET FILL before it.

Those lines can be turned off in the window plan settings, but you probably don't want to do that as it wouldn't be a correct representation of the brickwork below.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
Those lines are drawn manually in 2D. Project2 does not seem to show the edges of the Wallhole. I have manage to get a workable display of the Wallhole edges using a set of Planes to case the hole. They also allow me to set the material of the Wallhole. The down side of this is that these planes conflict with the wall itself in 3D...

In plan, the frame does not use the Cut Pen nor does it show a Cut Fill.

Project2{4} has been used as a Project2 as the features of {4} are not needed. Thread topic is no longer accurate...



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 

Start a new conversation!

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!