Itoo Software Forum

Author Topic: Non x or y clipping area  (Read 1772 times)

Morne

  • Full Member
  • ***
  • Posts: 163
Non x or y clipping area
« on: November 26, 2018, 11:03:32 AM »
Hi

So for the clipping area, that only works if the projection is on either X or Y (or Z). Basically I'm cutting holes in walls for windows, but this seems to only work on walls lining up 100% in lan with either X or Y axiz. What if I havean angled wall at say7 15 or 10 degrees in plan? How do I solve the clipping projection for that? My clippiong splines line up perfectly with the wall on its angle, but the holes are being cut "straight" and not perpendicualr to the wall

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Non x or y clipping area
« Reply #1 on: November 26, 2018, 12:55:46 PM »
Hi Morne,

For this kind of tasks, the "Auto Align" option of the Array Generator > Extend X/Y Size mode should do the job. This option creates array aligned automatically with each sub-spline. This mode is very suitable for roof and panels. Two modes are available. For both modes Z axis is always perpendicular to the plane formed by the spline. a) "X --> XY": X axis is parallel to the RailClone XY plane (considering local axis of the object). b) "to Spline": X axis is aligned with first Spline's segment (you can use "Make first" vertex and "Reverse" spline to modify alignment).

Hope that helps.

Best regards,

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #2 on: November 27, 2018, 09:39:13 AM »
Thanks but I'm still missing something. I cant get this to work yet.

I have a segment (a box for the wall) 3 splines (1 for path, 1 for wall height, 1 for window cutouts), and feeding those into an Array 2s

I stick the segment (box) into the Default of the Array. Works sort of as expected. The wall scales along the path, but vertically the box repeats to fill the height. OK well ok(ish) so far.
The window holes are cutout, not perpendicular, but same as before when I had the Linear 1S.

OK so:
1) Using the trick you mention with Extend XY and Auto Align, results in the wall dissappearing. No matter what mode I enter for Auto Align: None, X--XY, Spline all result in same thing. As soon as Extend XY is ticked, the wall vanishes.
2) Can I also scale the "box" vertically like it does across the path? (for now I'm cheating by just making the box larger)

« Last Edit: November 27, 2018, 09:42:15 AM by Morne »

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Non x or y clipping area
« Reply #3 on: November 27, 2018, 10:03:21 AM »
I would suggest using separate clipping splines for each of the facade (No X spline no Y spline)

Or You can re-project Your windows splines as well. Up to You which is easier in Your case.
Rokas

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #4 on: November 27, 2018, 10:14:43 AM »
I already have seperate clipping splines for each facade but its not working when using extend XY (works fine, although angles when NOT using extend XY)

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #5 on: November 27, 2018, 10:31:01 AM »
Here's a Max 2019 of what I have so far. As you can see, as soon as extend XY is ticked, the wall vanishes

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Non x or y clipping area
« Reply #6 on: November 27, 2018, 11:43:27 AM »
Thanks for file. From the situation I would say it would be easiest to create reprojected window holes.
Rokas

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #7 on: November 27, 2018, 12:06:21 PM »
Not sure what you mean by that?

This is a very stripped down version. The building obviously has more walls and storys

Could you modify my example with what you mean please?

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Non x or y clipping area
« Reply #8 on: November 27, 2018, 02:15:54 PM »
I don't really understand what is not working for You. You don't need to extended if it works for You without extending.
Rokas

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #9 on: November 27, 2018, 02:30:50 PM »
it doesnt work like it is suppose to. If you look in the top viewm you'll notice the wall is not on X and not on Y. When NOT extending XY, then the holes are cut NOT PERPENDICULAR to the wall, but in line with X. This is obviously wrong, therefore Michal Karmazín suggestion of using the extend XY, but as I said that isnt working.

In other words, the holes are cut out of the walls currently at an angle, and not 90 degrees like you would expect

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Non x or y clipping area
« Reply #10 on: November 27, 2018, 03:04:57 PM »
Oh now I understand, thanks for explanation.

I attach file to show that this is possible- though I do not recommend this workflow.

I would recommend using not Box but Plane object as default segment and add Shell Modifier on top. That would save a lot of time for You.
Rokas

Morne

  • Full Member
  • ***
  • Posts: 163
Re: Non x or y clipping area
« Reply #11 on: November 27, 2018, 03:27:56 PM »
1) I see what you did there, but that doesnt really solve the issue. What about the rest of the walls on the spline?
In my example, the walls are currently only on a short section of the path, because that part has an ID assigned to it. The rest of the R build will user the other ids to build the rest of the wall. With this solution in the file, you have a full wall inluding cutout in 1 thing, which is a major pain

2) With the plane solution, are you saying stick a shell on top of the RC object, or on the plane?


Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Non x or y clipping area
« Reply #12 on: November 27, 2018, 03:29:05 PM »
Shell on RC object
Rokas