MoI discussion forum
MoI discussion forum

Full Version: Booleano

Show messages: All  1  2-6

From: Michael Gibson
29 Jan   [#2] In reply to [#1]
Hi Booleano, the sweep is trying to do mitered corners by extending and trimming. This can be difficult to do well when there are sharp corners in the path especially if they are only a few degrees off from being smooth.

I'll fix that up for you a bit later today.

- Michael
From: Phiro
29 Jan   [#3]
Hi Booleano,

You have several simple options to achieve your goal.

One could be to rebuild the path curve. Use the reconstructcurve script or the Rebuild command, specifying a large number of points.
Next your sweep will be possible without problem.
Why this method is a solution? Because your path is made with several small curves assembled. Rebuild and ReconstructCurve will recreate a single and continuous curve which is more simple to use by MoI.

A second option would be to extrude your shape.
Then, draw a line from the center of both ends of your extrusion.
Finally, use Transform/Deform/Flow, selecting your extrusion as the object, your line (the center line of the extrusion) as the source curve, and your desired path as the target curve.
Don't forget to check the "Stretch" box.

A small warning, those two possible methods will give you different results. Here the flowfunction will give you and object very large (with huge number of construct points).
Don't know why. No doubt, Michael could explain it.

Have fun with MoI modeling...
From: Michael Gibson
29 Jan   [#4] In reply to [#1]
Hi Booleano, so there are a couple of other ways to make the path curve to be smooth. One is to cut away some space where 2 segments meet up and then use Construct > Blend to put in a smooth connecting curve.

Another way is by control point editing - 2 curves will be smooth where they touch if the end point and first interior control points are all on one common line.

The control point editing method looks like this - if you have 2 curve pieces meeting up like this:



If you turn on control points (Edit > Show pts), for the curves to be smooth these points must be all on the same line:



An easy way (particularly with non-planar curves) to do that is to draw a line between the first inside points:



And then move the end points onto that line:



The curves will then be smooth where they touch:



When the segments are smooth to each other then sweep will not try to generate mitered corners.

I've attached an edited version of your file where I've done this process on each curve segment (using Edit > Separate to break your original curve into individual segments) and it should now sweep ok.

= Michael

Attachments:
Cable2.3dm

Image Attachments:
booleano_smooth1.jpg  booleano_smooth2.jpg  booleano_smooth3.jpg  booleano_smooth4.jpg  booleano_smooth5.jpg 


From: Booleano
30 Jan   [#5] In reply to [#3]
Thank you so much Phiro
From: Booleano
30 Jan   [#6] In reply to [#4]
Thank you very much, Michael

Show messages: All  1  2-6