Boolean Subtraction or ???
-
You might want to check out 2DBoolean by Joel G. Just the thing for this operation.
-
Edge tool 2 split faces tool can also give you some clues.
-
@unknownuser said:
You might want to check out 2DBoolean by Joel G. Just the thing for this operation.
I thought so to at a first glance. But then I looked closer at the Picture and it does look like the metal-net is inside the volume meaning a 3D boolean is needed. 2D-boolean plugin only have algorithms for working with planar (face) intersections.
I don't think you have any other alternatives then winding up your own intersection formula using Groups and sorting out geometry if you are not going to use PRO version boolean.
-
One option is to detect whether the user has Pro or Make. If Make - then skip the rebar. If Pro then use the available boolean functions.
-
@medeek said:
Currently the rebar or mesh is created so that it extends to the full extent of the bounding box of the slab. I would like to use the boolean subtraction that is built into SketchUp to trim the reinforcement so that it is properly contained within the slab.
What should the distance be from the end of the rebar to edge of the slab?
-
@sdmitch said:
What should the distance be from the end of the rebar to edge of the slab?
50mm or 2 inch
-
I have sent you a PM with a code snippet.
select the face of the slab and run the code and you will have construction points offset by 50 mm.Adjust the code to fit your needs.
-
Not that difficult.
-
@Sdmitch: I'm testing your Subtract tool you sent me a while back and it almost works! However when the subtraction breaks the solid group into more than one physical solid then the process seems to break down slightly.
In a nutshell I need to be able to do this sort of thing:
Where I am subtracting the odd shaped polygonic solid from the cylinder.
This last week has been challenging working on the polygon tool for the foundation plugin, I've made some real progress, thanks in a large degree to the continual help and encouragement from Sdmitch, Garry K, TIG and Facer. I'll readily admit my actual SketchUp programming skills are very weak whereas my ideas are very big, it sometimes amazes me I've gotten as far as I have with these two plugins. The fact that I am able to lean on others for some help on occasion has made all the difference.
-
@medeek said:
@Sdmitch: I'm testing your Subtract tool you sent me a while back and it almost works! However when the subtraction breaks the solid group into more than one physical solid then the process seems to break down slightly.
Yes, I see where it would since it the opposite of what you are trying to accomplish with the slab and rebars. I will PM you the interactive tool version of the plugin I demonstrated in my previous post.
-
I'm still digging through the code you sent me. It may take a week but I will attempt to figure out how this actually works. Its amazing how much you are able to compress into such a small body of code.
Advertisement