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

Make Section View only show cutted geometry on the cutting plane

Martin Walter
Newcomer
I'm using a 3D geometry made up from EXTRUDE commands for the section view.
But the section always shows a lot of lines that are not directy cut by the cutting plane. These lines are from geometry behind the cutting plane.
I already played with the masks of the EXTRUDE command. But I can not see any difference using different masks.

Is there a way to only show the cutted geometry that is on the cutting plane?
(left is the actual section view - right the desired view)
AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD
1 ACCEPTED SOLUTION

Solution
Lingwisyer
Virtuoso
You could include in your 3D script some situational Cutplanes to create a clean sliver, though I am not sure if you would be able to isolate when the actual object is cut by the section line rather than being just beyond?



Ling.
AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

View solution in original post

11 REPLIES 11

Braza
Newcomer
Are you using CUTPLANE or CUTPOLYA?
If you want to see just the cut profile, then CUTPLANE won't help you. Instead you will need CUTPOLYA.
CUTPOLYA n, status, d,
        x1, y1, mask1, ..., xn, yn, maskn [,
        x, y, z]
[statement1
statement2
...
statementn]
CUTEND
status: controls the treatment of the generated cut polygons.
1: use the attributes of the body for the generated polygons and edges,
2: generated cut polygons will be treated as normal polygons.
d: the distance between the local origin and the end of the half-infinite tube.
0: means a cut with an infinite tube.
maski: similar to the PRISM_ command.
maski = j1 + 2*j2 + 4*j3 + 64*j7, where each j can be 0 or 1.
Instead of d=0, use a very small distance, like 1 mm.
You can find more information here.
Hope this helps.
Paulo Henrique Santos, Architect
AC24_INT#3008 / I7 / 16Gb / 512Mb SSD / Windows 10

Braza
Newcomer
Martin Walter wrote:
Is there a way to only show the cutted geometry that is on the cutting plane?
Ok. I realize CUTPOLYA wont do the job.
Perhaps if you tell us what do you want to achieve we can better help you.
Paulo Henrique Santos, Architect
AC24_INT#3008 / I7 / 16Gb / 512Mb SSD / Windows 10

Solution
Lingwisyer
Virtuoso
You could include in your 3D script some situational Cutplanes to create a clean sliver, though I am not sure if you would be able to isolate when the actual object is cut by the section line rather than being just beyond?



Ling.
AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

View solution in original post

Martin Walter
Newcomer
Sorry, if I did not explain clearly what I want to do.
I'm creating a library part for a window. The 3D is made up of 2D profiles for frame and sash, which are extruded and cut with the commands EXTRUDE and CUTPLANE.


Simplified the 3D script looks like this:

XFORM 0, 0, -1, 1230,
0, 1, 0, 0,
1, 0, 0, 0
CUTPLANE 225
ADDZ 1230
CUTPLANE -45
DEL 1
EXTRUDE 5, 0, 0, 1230, 1+2+4+16+32,
0,0,0,
82,0,0,
82,73,0,
0,73,0,
0,0,0
DEL 1
CUTEND
CUTEND

The 3D looks like this:


Then I create a Building Section (a section view)


But the section view does not look like I want it to be. I only want to see the cutted profile geometry, not all the lines behind the cutting plane of the view.

(left is the actual section view - right the desired view)
AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD

Barry Kelly
Moderator
You need to control the depth of the section itself by limiting it so it does not show the vertical part of the frame.
But that may affect other parts of the section - for example you won't see the vertical wall lines either.

Otherwise you would have to use GLOB_VIEW_TYPE to determine when the window is being viewed in a section.
And then script it so it either doesn't show the side frames at all when in section or model much simpler versions of the side frames with less detail.
This may however cause problems if ever you see this window in another section view as I don't think you can determine if the window is actually cut by the section - just that it is in a section window.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Martin Walter
Newcomer
The vertical wall lines are not so important to show.
So how can I control the depth of the section?
AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD

Barry Kelly
Moderator
Martin wrote:
The vertical wall lines are not so important to show.
So how can I control the depth of the section?

The section you place on plan has an option to limit the depth or it can be just a cut with no depth at all.
I will limit the depth for everything in the section - not just the window frame.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Barry Kelly
Moderator
Barry wrote:
Martin wrote:
The vertical wall lines are not so important to show.
So how can I control the depth of the section?
The section you place on plan has an option to limit the depth or it can be just a cut with no depth at all.
It will limit the depth for everything in the section - not just the window frame.


Barry.

By limiting the section depth I mean the section you place on plan has an option to limit the depth or it can be just a cut with no depth at all.
I will limit the depth for everything in the section - not just the window frame.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Martin Walter
Newcomer
Barry wrote:
Martin wrote:
The vertical wall lines are not so important to show.
So how can I control the depth of the section?

The section you place on plan has an option to limit the depth or it can be just a cut with no depth at all.
It will limit the depth for everything in the section - not just the window frame.


Barry.

Thanks for this idea! This would help too very well. But I don't want to tell all customers that they have to change their section view options.
AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD

Lingwisyer
Virtuoso
Change your line Status to 1 in the Extrude to hide lateral edges?
AC18-23 AUS 7000
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200

Martin Walter
Newcomer
Lingwisyer wrote:
Change your line Status to 1 in the Extrude to hide lateral edges?
Yes that is the solution of course!
AC23, Windows 10, i7-6700HQ, 8Gb RAM, 500Gb SSD

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!