Finding center curve of a tube like solid
 1-10  11-30  31-36

Previous
Next
 From:  Michael Gibson
10098.31 In reply to 10098.29 
Hi Hans,

re:
> Even though I still don't think I understand why there is no surface like you stated?

I meant that in your post you showed this:


Were those meant to be planar cross-section surfaces? Those are the ones you don't have in your .3dm file. But it sounds like there is a Grasshopper method to generate those for you automatically?


> For a calculation of the center curve I am thinking of first slicing the tube/solid/shape in little pieces.
> Then find the midpoint for each piece by integration. Then connect the midpoints to a single center
> curve and finally smooth out the edges if need by some smooth algorithm.

Sounds good - I thought that you were asking for a fully automated calculation.


> Yes exactly - well a bit of both. My idea is that I can cut out an interesting shape and then change the surface on that shape

Ok, but to get a tube like that another approach that would be simpler could be to project just one curve onto your solid and then sweep with that rather than cutting out a channel with 2 curves:

For example, just one profile curve:



Construct > Curve >Project to project it onto the solid:



Construct > Sweep using the projected curve as the rail curve for a one-rail sweep:



- Michael

  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:  Michael Gibson
10098.32 In reply to 10098.30 
Or another method for making a type of groove is to use boolean difference with one profile curve to cut a chunk out and then fillet those edges:











- Michael

  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:  Phiro
10098.33 In reply to 10098.26 
@HansChristian

Sorry, I think I have made more steps and forget explaining.
It's a reverse thinking from result to conditions.
The first question was to do a "middle curve" and my solution is based on doing an Iso curve from a surface.
This surface is done with initial conditions given, the "squared tubular cutting".

To do an iso curve, I need a surface and only one surface, not a joined surface.
To have an only one surface constuction, lofting need to have "soft curves" (no angular point on the curves).
So I use a "reconstruct curve" with many points to have these two soft curves.

The middle curve is not an ofset, it's an iso (V iso I think).
Iso permit to have the center curve of the surface even if the distance between the 2 initial curves is not regular.

Next I use the iso curve to do the sweeping.



But I think, the initial question was to do a circular border.
The easier way for this (I think it, but perhaps I'm wrong) was the first method explained, with a "Curve/Project" to have a curve and to sweep a circle with this projected curve.
This method is in my file too.
I used "reconstructcurve", but it's optional here.
  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:  HansChristian
10098.34 In reply to 10098.31 
Hi Michael

First of all. Im sorry for the late reply. I had a very busy day yesterday and today.


<Were those meant to be planar cross-section surfaces? Those are the ones you don't have in your .3dm file. But it sounds like there is a Grasshopper method to generate those for you automatically?

Yes excactly you don't have those surfaces. But by slicing a solid tube into small pieces you could find the cross section midpoints for each and then connect them all.




<Ok, but to get a tube like that another approach that would be simpler could be to project just one curve onto your solid and then sweep with that rather than cutting out a channel with 2 curves:

<For example, just one profile curve:


Thank you very much for your reply. The suggestion of projecting the curve alle around the solid was a brilliant idea and much easier. I think thats the solution :-).

I really appreciate all the response and kindness here.
Attachments:

  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:  HansChristian
10098.35 In reply to 10098.32 
Hi Michael
That's an interesting option too with filleting. I have to experiment with that also. Thanks for taking all the time to help!
  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:  HansChristian
10098.36 In reply to 10098.33 
Hi Phiro

Thanks for that detailed explanation. Im sorry the answer took so long. I have to try it myself and dig into it. I will try making that isocurve and so on and report back :-). Thanks.
  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

 

 
 
Show messages:  1-10  11-30  31-36