Test batch script modification of BooleanDifference command

Next
 From:  bemfarmer
8443.1 
This is a test script modification of the BooleanDifference command, which permits the user to select a Chunk number,
to do the subtractions in batches. Tested with the BottleFeedArray2 script, the Booleans go slower and slower with increased bottle count.

Similar slowing occurs with batches, but with a chunk size of 1 or 2 or 5 or 10, some activity may be seen, and a problem area located,
or worked around. For a rotating oval bottle, some orientations seem to be harder to BooleanDifference.
Selection order seems to be a factor, as well as the number of bottles, with smaller slivers.

Please backup .3dm before testing.

With Barry's screw and oval bottle specs, for 160 bottle station, the BooleanDiff subtraction was accomplished, with ChunkSide of 1 or 2 or 3,
with sequential selection of a few bottles. Occasionally I was able to crash MoI, but most of the time the test script worked ok.

- Brian

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
8443.2 In reply to 8443.1 
Hi Brian,
thanks for the script will try it over the weekend.
I have produced a screw using the variable pitch helix and had
the odd Boolean problem that I resolved by subtracting in the
reverse direction. This maybe an option you could add to the
Script?
Anyway many thanks have good weekend.
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
8443.3 
Facet smoothing the result of the BottleFeedArray2 script:
For a bottle which has had its profile rebuilt, to remove end points from the cutting section, each facet appears as a long twisted ribbon with 4 sides, which curves in 3d space. The "bottom" of each facet is assumed to be the maximum cutout, and it is further assumed that the bottom is an unidentified curve, in the middle of the ribbon, equidistant from the two long sides. These assumptions may not be 100% accurate, but if all of these nearly bottom center curves could be lofted, The result should be smooth and be near to the theoretical cutout.
The existing iso's of a facet are at various non-centered angles.

Rough outline of a possible facet smoothing algorithm:
Separate the faceted screw.
Select all of the facets in order from left to right, or right to left.
Turn the 4 edges into 4 curves, and array a centerpoint on one of the short edge curves. Sweep the two short curves along the two long curves, to create a new facet. Discard the old facet. For the new facet, identify the new iso passing through the centerpoint. Loft all of the new iso curves, and reform the screw.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All